forked from platypush/platypush
[UI] Added default styles for monospace content and draggable elements.
This commit is contained in:
parent
68e3cc51e4
commit
d623b3d1b8
1 changed files with 18 additions and 2 deletions
|
@ -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 {
|
||||
border: $default-border-3;
|
||||
cursor: pointer;
|
||||
|
@ -11,8 +14,9 @@ button, .btn, .btn-default {
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background: $hover-bg;
|
||||
border: 1px solid $default-hover-fg;
|
||||
color: $default-hover-fg;
|
||||
// background: $hover-bg;
|
||||
// border: 1px solid $default-hover-fg;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
@ -27,6 +31,14 @@ button, .btn, .btn-default {
|
|||
}
|
||||
}
|
||||
|
||||
[draggable] {
|
||||
cursor: grab !important;
|
||||
}
|
||||
|
||||
.dragged {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
input[type=text], input[type=password] {
|
||||
border: $default-border-3;
|
||||
border-radius: 1em;
|
||||
|
@ -125,5 +137,9 @@ $nav-height: 2.5em;
|
|||
}
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: $monospace-font;
|
||||
}
|
||||
|
||||
// Tabs
|
||||
$tab-height: 3.5em;
|
||||
|
|
Loading…
Reference in a new issue