[UI] Added default styles for monospace content and draggable elements.

This commit is contained in:
Fabio Manganiello 2024-09-05 01:21:13 +02:00
parent 68e3cc51e4
commit d623b3d1b8
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -1,3 +1,6 @@
$floating-btn-size: 4em;
$monospace-font: 'Hack', 'Fira Code', 'Noto Sans Mono', 'Ubuntu Mono', 'Recursive', 'Inconsolata', 'Consolas', 'Courier New', monospace;
button, .btn, .btn-default { button, .btn, .btn-default {
border: $default-border-3; border: $default-border-3;
cursor: pointer; cursor: pointer;
@ -11,8 +14,9 @@ button, .btn, .btn-default {
} }
&:hover { &:hover {
background: $hover-bg; color: $default-hover-fg;
border: 1px solid $default-hover-fg; // background: $hover-bg;
// border: 1px solid $default-hover-fg;
} }
.icon { .icon {
@ -27,6 +31,14 @@ button, .btn, .btn-default {
} }
} }
[draggable] {
cursor: grab !important;
}
.dragged {
opacity: 0.5 !important;
}
input[type=text], input[type=password] { input[type=text], input[type=password] {
border: $default-border-3; border: $default-border-3;
border-radius: 1em; border-radius: 1em;
@ -125,5 +137,9 @@ $nav-height: 2.5em;
} }
} }
code {
font-family: $monospace-font;
}
// Tabs // Tabs
$tab-height: 3.5em; $tab-height: 3.5em;