Caret/css/ui.less

125 lines
2.1 KiB
Text
Raw Normal View History

.toolbar {
padding: 0;
margin: 0;
2013-09-13 22:57:57 +00:00
background: @background;
color: @foreground;
line-height: 30px;
list-style-type: none;
z-index: 99;
box-shadow: inset 3px 3px 16px rgba(0, 0, 0, .1);
hr {
border: none;
border-top: 1px solid rgba(128, 128, 128, .2);
margin: 4px 8px;
}
.shortcut {
2013-09-13 22:57:57 +00:00
color: fade(@foreground, 50%);
margin-left: 1em;
}
//nested menus (default)
li {
transition: opacity .2s;
display: flex;
padding: 4px 8px;
justify-content: space-between;
&:hover, &.active {
2013-09-13 22:57:57 +00:00
background: fade(@foreground, 20%);
}
&.parent:hover, &.active {
& > .menu {
display: block;
}
}
.menu {
display: none;
min-width: 250px;
position: absolute;
margin-left: 80%;
margin-top: -2em;
z-index: 999;
2013-09-13 22:57:57 +00:00
background: @background;
padding: 0;
box-shadow: 4px 8px 16px rgba(0, 0, 0, .2);
}
&.parent::after {
content: "►";
font-family: serif;
position: absolute;
right: 4px;
2013-09-13 22:57:57 +00:00
color: fade(@foreground, 50%);
}
}
//base-level menus
& > li {
display: inline-block;
padding: 4px 8px;
line-height: initial;
& > .menu {
margin-left: -8px;
margin-top: 4px;
}
}
}
.bottom-bar {
margin: 0;
2013-09-15 20:00:16 +00:00
padding: 2px 5px;
2013-09-04 17:01:12 +00:00
.status-text {
2013-09-04 17:01:12 +00:00
display: flex;
flex-flow: column;
justify-content: center;
}
select {
2013-09-04 17:01:12 +00:00
margin: 0;
border: none;
2013-09-15 20:00:16 +00:00
width: 150px;
2013-09-13 22:57:57 +00:00
background: @background;
color: @foreground;
-webkit-appearance: none;
}
2013-12-19 22:52:41 +00:00
}
::-webkit-scrollbar {
width: 15px;
height: 15px;
}
::-webkit-scrollbar-button {
height: 0px;
width: 0px;
}
::-webkit-scrollbar-track {
background-color: transparent;
2013-12-19 22:52:41 +00:00
}
::-webkit-scrollbar-thumb {
background-color: mix(@foreground, @background, 30%);
border: 3px solid transparent;
border-radius: 6px;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: mix(@foreground, @background, 35%);
}
::-webkit-scrollbar-corner {
background-color: mix(@foreground, @background, 15%);
}