default styles

This commit is contained in:
Will McGugan
2022-02-03 11:56:12 +00:00
parent c90cdd4ec8
commit b2974aad6e
13 changed files with 82 additions and 48 deletions

View File

@@ -1,15 +1,11 @@
/* CSS file for basic.py */
App > View {
layout: dock;
docks: side=left/1;
text: on #20639b;
}
Widget:hover {
outline: heavy;
text: bold !important;
}
#sidebar {
text: #09312e on #3caea3;
dock: side;
@@ -29,10 +25,6 @@ Widget:hover {
border: hkey;
}
#header.-visible {
visibility: hidden;
}
#content {
text: white on #20639b;
border-bottom: hkey #0f2b41;

View File

@@ -8,7 +8,6 @@ class BasicApp(App):
def on_load(self):
"""Bind keys here."""
self.bind("tab", "toggle_class('#sidebar', '-active')")
self.bind("a", "toggle_class('#header', '-visible')")
def on_mount(self):
"""Build layout here."""