11/* ============================================================
2- * SimpleLang v1.00 在线 IDE 样式 —— 浅色液态玻璃风格
2+ * SimpleLang v3.88 在线 IDE 样式 —— 浅色液态玻璃风格
33 * ============================================================ */
44: root {
55 --bg : # 0a0a0c ;
@@ -130,23 +130,23 @@ button { font-family: inherit; cursor: pointer; border: none; background: none;
130130 background : # 0f0f12 ; color : # f5ecdd ; outline : none;
131131}
132132.codearea : focus { border-color : var (--accent ); box-shadow : 0 0 0 3px var (--accent-soft ); }
133- .codearea .src { flex : none; height : 100% ; white-space : pre; width : 100% ; font-family : "Cascadia Code" , Consolas, "Courier New" , monospace; font-size : 12.5px ; line-height : 1.6 ; color : # f5ecdd ; background : # 0f0f12 ; border : 1px solid var (--line ); border-radius : var (--radius ); padding : 12px ; }
133+ .codearea .src { flex : none; height : 100% ; white-space : pre; width : 100% ; font-family : "Cascadia Code" , Consolas, "Courier New" , monospace; font-size : 12.5px ; line-height : 1.6 ; color : # ffffff ; background : # 0f0f12 ; border : 1px solid var (--line ); border-radius : var (--radius ); padding : 12px ; }
134134.preview-tools { display : inline-flex; gap : 8px ; }
135135
136136/* ---- 轻量编辑器:高亮层 + 行号 ---- */
137137.editor-wrap { --gutter : 52px ; position : relative; flex : 1 ; min-height : 0 ; background : # 0f0f12 ; border : 1px solid var (--line ); border-radius : var (--radius ); overflow : hidden; }
138138.editor-wrap textarea .codearea {
139139 position : relative; z-index : 4 ; width : 100% ; height : 100% ;
140140 padding-left : calc (var (--gutter ) + 13px );
141- background : transparent; color : transparent; caret-color : # f5ecdd ;
141+ background : transparent; color : transparent; caret-color : # ffffff ;
142142 -webkit-text-fill-color : transparent; white-space : pre; overflow : auto; tab-size : 4 ;
143143}
144144.editor-highlight {
145145 position : absolute; left : 0 ; top : 0 ; right : 0 ; bottom : 0 ; z-index : 1 ;
146146 margin : 0 ; padding : 16px 16px 16px calc (var (--gutter ) + 13px );
147147 pointer-events : none; overflow : hidden; white-space : pre; tab-size : 4 ;
148148 font-family : "Cascadia Code" , Consolas, "Courier New" , monospace; font-size : 14px ; line-height : 1.65 ;
149- color : # f5ecdd ; background : # 0f0f12 ;
149+ color : # ffffff ; background : # 0f0f12 ;
150150}
151151.editor-gutter {
152152 position : absolute; left : 0 ; top : 0 ; bottom : 0 ; width : var (--gutter ); z-index : 3 ;
@@ -155,20 +155,20 @@ button { font-family: inherit; cursor: pointer; border: none; background: none;
155155 color : rgba (255 , 255 , 255 , .30 ); border-right : 1px solid var (--line ); background : # 141418 ;
156156}
157157.editor-mark { position : absolute; left : var (--gutter ); top : 0 ; right : 0 ; bottom : 0 ; z-index : 2 ; pointer-events : none; overflow : hidden; }
158- .ed-diag { position : absolute; height : 0 ; border-bottom : 2 px solid transparent; border-radius : 2 px ; }
159- .ed-diag-err { border-color : # e07a7a ; animation : diaFade .3 s ; }
160- .ed-diag-warn { border-bottom-style : dashed; border-color : # e0b85a ; }
158+ .ed-diag { display : none !important ; }
159+ .ed-diag-err { display : none !important ; }
160+ .ed-diag-warn { display : none !important ; }
161161@keyframes diaFade { from { opacity : 0 ; } to { opacity : 1 ; } }
162162/* 高亮配色 */
163- .editor-highlight .tk .kw { color : # d9ae6b ; font-weight : 700 ; }
164- .editor-highlight .tk .interp { color : # e0a96b ; font-weight : 700 ; }
165- .editor-highlight .tk .ty { color : # 8bc4d9 ; }
166- .editor-highlight .tk .id { color : # c7a56b ; }
167- .editor-highlight .tk .str { color : # a8c88a ; }
168- .editor-highlight .tk .num { color : # e0a96b ; }
169- .editor-highlight .tk .op { color : # 9a9589 ; }
170- .editor-highlight .tk .bl { color : # e07a7a ; font-weight : 800 ; letter-spacing : .3px ; }
171- .editor-highlight .tk .cm { color : rgba (255 , 255 , 255 , .35 ); font-style : italic; }
163+ .editor-highlight .tk .kw { color : # ffffff ; font-weight : 700 ; }
164+ .editor-highlight .tk .interp { color : # ffffff ; font-weight : 700 ; }
165+ .editor-highlight .tk .ty { color : # ffffff ; }
166+ .editor-highlight .tk .id { color : # ffffff ; }
167+ .editor-highlight .tk .str { color : # ffffff ; }
168+ .editor-highlight .tk .num { color : # ffffff ; }
169+ .editor-highlight .tk .op { color : # ffffff ; }
170+ .editor-highlight .tk .bl { color : # ffffff ; font-weight : 800 ; letter-spacing : .3px ; }
171+ .editor-highlight .tk .cm { color : rgba (255 , 255 , 255 , .55 ); font-style : italic; }
172172/* ---- 状态栏(专业 IDE 风格:左右分段) ---- */
173173.statusbar {
174174 display : flex; align-items : center; justify-content : space-between; gap : 16px ;
@@ -546,4 +546,7 @@ body.drawer-open { overflow: hidden; }
546546 .home-card h1 { font-size : 23px ; }
547547 .menu { left : 8px ; right : 8px ; top : 50px ; }
548548 .graph-canvas { min-height : 50vh ; }
549- }
549+ }
550+ /* ---- v3.88: 真实图片品牌图标 ---- */
551+ .brand-img { width : 26px ; height : 26px ; border-radius : 8px ; object-fit : cover; box-shadow : 0 4px 12px rgba (199 , 165 , 107 , .25 ); }
552+ .home-logo-img { width : 56px ; height : 56px ; border-radius : 14px ; object-fit : cover; box-shadow : 0 8px 22px rgba (199 , 165 , 107 , .35 ); }
0 commit comments