Fixed some css inheritence order

This commit is contained in:
斟酌 鵬兄 2022-08-03 00:17:51 +09:00
parent efb4eb0cde
commit cc3ec05fb9
3 changed files with 10 additions and 3 deletions

View File

@ -173,8 +173,9 @@ class BotanClassResolver:
cssFile = os.path.splitext( f )[0] + ".css"
cssGroup = []
if not cdef[ "css" ] == "1":
cssList.append( cdef )
cssGroup.append( cdef )
f = f.split( PY_SEP )
l = len( f )
@ -184,9 +185,13 @@ class BotanClassResolver:
_def = self.resv.locate( key )
if _def and not _def[ "css" ] == "1":
cssList.append( _def )
cssGroup.append( _def )
cssList.sort( key = lambda x : x[ "src" ] )
cssGroup.sort( key = lambda x : x[ "src" ] )
cssList.extend( cssGroup )
for k in cssList:
print( k[ "src" ] )
def getCache( self, fileList, cName, mode ):

View File

@ -1 +1,2 @@
// __namespace( "Astro.Starfall.Element.Header" );
// __import( "Astro.Bootstrap" );

View File

@ -1,4 +1,5 @@
/** @constructor */
SyntaxHighlighter = {};
Libraries.SyntaxHighlighter = function (){};
/** @type {Function} */