Caret/css/palette.less

58 lines
976 B
Text
Raw Normal View History

2013-09-10 16:19:14 +00:00
.palette {
display: none;
width: 300px;
position: fixed;
top: 20px;
left: ~"calc(50% - 150px)";
background: lighten(@background, 10%);
2013-09-13 22:57:57 +00:00
color: darken(@foreground, 30%);
2013-09-10 16:19:14 +00:00
z-index: 999;
padding: 4px 0px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, .5);
border-radius: 8px;
font-size: 16px;
2013-09-10 16:19:14 +00:00
&.active {
display: block;
}
h1 {
font-size: 12px;
padding: 0;
margin: 0 12px;
2013-09-10 16:19:14 +00:00
}
input {
width: 90%;
display: block;
2013-09-10 16:19:14 +00:00
border: 2px solid #555;
border-radius: 4px;
padding: 8px;
margin: 8px auto;
2013-09-10 16:19:14 +00:00
background: transparent;
color: @foreground;
2013-09-10 16:19:14 +00:00
font-weight: bold;
font-size: 18px;
&:focus {
outline: 1px solid @background;
}
2013-09-10 16:19:14 +00:00
}
.results {
padding: 0;
margin: 0;
list-style-type: none;
li {
border-top: 1px solid @faded;
2013-09-10 16:19:14 +00:00
display: block;
padding: 8px;
&.current {
background: @faded;
font-weight: bold;
}
2013-09-10 16:19:14 +00:00
}
}
}