royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: Need help with CSS class selector (font-family is always Arial)
Date Tue, 02 Jan 2018 22:50:16 GMT
I haven't looked at his ACEEditor class, but it is also possible that the
following would work.

.ACEEditor {
font-family: monospace;
}


And that should be a goal as well: to have the defaults.css for the
ACEEditor class to use an "ACEEditor" selector (instead of lowercase
"aceEditor").  If the ACEEditor class uses the typeNames property from
UIBase properly, it would pick it up.  We don't want folks to have to use
".aceEditor *" to set defaults

My 2 cents,
-Alex


On 1/2/18, 2:29 PM, "Gabe Harbs" <harbs.lists@gmail.com> wrote:

>Did you try this?
>.aceEditor * {
>   font-family: monospace;
>}
>
>> On Jan 2, 2018, at 5:28 PM, Olaf Krueger <mail@olafkrueger.net> wrote:
>> 
>> Hi Alex,
>> 
>>> The key piece, I think, is that inherited properties in CSS have a
>>>lower
>>> importance that *...
>> 
>> Yes, I think that's the problem:
>> 
>> /* Generated by Apache Royale Compiler */
>> * {
>>        font-family: Arial;
>>        border-width: 1px;
>>        font-size: 12px;
>> }
>> 
>>> IMO, that should be
>> the goal, and that would provide you a "type selector"
>> 
>> I'll give it a try!
>> 
>> Thanks for help,
>> Olaf
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>>yale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
>>%7Ce5a12ce075994045e87e08d5523066bd%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>>0%7C0%7C636505290225906131&sdata=1317juJwOVHYUu0mu0158YRYXgKICk8vKoQJYqzs
>>S2A%3D&reserved=0
>

Mime
View raw message