mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix sandbox
This commit is contained in:
@@ -5,22 +5,22 @@ $primary: #021720;
|
|||||||
$secondary: #95d52a;
|
$secondary: #95d52a;
|
||||||
$background: #262626;
|
$background: #262626;
|
||||||
|
|
||||||
$primary-style: $text on $background;
|
|
||||||
$animation-speed: 500ms;
|
$animation-speed: 500ms;
|
||||||
$animation: offset $animation-speed in_out_cubic;
|
$animation: offset $animation-speed in_out_cubic;
|
||||||
|
|
||||||
App > View {
|
App > View {
|
||||||
docks: side=left/1;
|
docks: side=left/1;
|
||||||
text: on $background;
|
background: $background;
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget:hover {
|
Widget:hover {
|
||||||
outline: heavy;
|
outline: heavy;
|
||||||
text: bold !important;
|
text-style: bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
text: $primary-style;
|
color: $text;
|
||||||
|
background: $background;
|
||||||
dock: side;
|
dock: side;
|
||||||
width: 30;
|
width: 30;
|
||||||
offset-x: -100%;
|
offset-x: -100%;
|
||||||
@@ -33,7 +33,8 @@ Widget:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#header {
|
#header {
|
||||||
text: $text on $primary;
|
color: $text;
|
||||||
|
background: $primary;
|
||||||
height: 3;
|
height: 3;
|
||||||
border-bottom: hkey $secondary;
|
border-bottom: hkey $secondary;
|
||||||
}
|
}
|
||||||
@@ -43,7 +44,8 @@ Widget:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
text: $text on $background;
|
color: $text;
|
||||||
|
background: $background;
|
||||||
offset-y: -3;
|
offset-y: -3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,7 +55,8 @@ Widget:hover {
|
|||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
text: $text on $primary;
|
color: $text;
|
||||||
|
background: $background;
|
||||||
height: 3;
|
height: 3;
|
||||||
border-top: hkey $secondary;
|
border-top: hkey $secondary;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user