static-cms/src/containers/FindBar.css

99 lines
1.6 KiB
CSS
Raw Normal View History

2016-07-07 19:21:10 -03:00
:root {
2016-07-08 14:11:53 -03:00
--foregroundColor: #555;
2016-07-08 05:58:06 -03:00
--backgroundColor: rgba(245, 245, 245, 0.98);
--textFieldBorderColor: #e7e7e7;
2016-07-08 14:11:53 -03:00
--highlightFGColor: #444;
2016-07-07 19:21:10 -03:00
--highlightBGColor: #d2dee4;
2016-07-06 18:10:13 -03:00
}
2016-07-08 05:58:06 -03:00
.root {
position: relative;
background-color: var(--backgroundColor);
padding: 1px 0;
}
2016-07-06 18:10:13 -03:00
.inputArea {
display: table;
2016-07-08 05:58:06 -03:00
width: calc(100% - 10px);
margin: 5px;
2016-07-07 19:21:10 -03:00
color: var(--foregroundColor);
2016-07-08 05:58:06 -03:00
background-color: #fff;
border: 1px solid var(--textFieldBorderColor);
2016-07-06 18:10:13 -03:00
}
2016-07-06 18:10:13 -03:00
.inputScope {
display: table-cell;
width: 1%;
2016-07-08 05:58:06 -03:00
padding: 0 6px 0 8px;
2016-07-06 18:10:13 -03:00
color: #767676;
2016-07-07 19:21:10 -03:00
font-size: 16px;
2016-07-06 18:10:13 -03:00
white-space: nowrap;
vertical-align: middle;
2016-07-08 05:58:06 -03:00
border-right: 1px solid var(--textFieldBorderColor);
}
2016-07-06 18:10:13 -03:00
.inputField {
display: table-cell;
width: 99%;
2016-07-07 19:21:10 -03:00
padding: 6px;
font-size: 16px;
background: none transparent;
border: 0 none;
2016-07-06 18:10:13 -03:00
box-shadow: none;
outline: none;
2016-07-06 18:10:13 -03:00
font-size: inherit;
}
.menu {
2016-07-08 05:58:06 -03:00
position: absolute;
top: 44px;
left: 0;
z-index: 9999;
2016-07-07 19:21:10 -03:00
display: table;
width: 100%;
background: var(--backgroundColor);
font-size: 13px;
2016-07-08 05:58:06 -03:00
font-weight: 400;
padding: 5px;
2016-07-06 18:10:13 -03:00
height: 100%;
}
2016-07-07 19:21:10 -03:00
.suggestions {
display: table-cell;
width: 50%;
padding-right: 10px;
}
2016-07-07 19:23:39 -03:00
.history {
2016-07-07 19:21:10 -03:00
display: table-cell;
width: 50%;
2016-07-07 19:22:07 -03:00
padding-left: 10px;
2016-07-07 19:21:10 -03:00
}
.command {
2016-07-07 19:21:10 -03:00
padding: 6px;
cursor: default;
2016-07-08 14:11:53 -03:00
color: var(--foregroundColor);
}
.command strong, .highlightedCommand strong {
color: #000;
}
.command .faded {
2016-07-08 05:58:06 -03:00
font-weight: 300;
2016-07-08 14:11:53 -03:00
color: #888;
}
.highlightedCommand {
2016-07-07 19:21:10 -03:00
color: var(--highlightFGColor);
background: var(--highlightBGColor);
padding: 6px;
cursor: default;
}
.highlightedCommand .faded {
2016-07-08 05:58:06 -03:00
font-weight: 300;
2016-07-07 19:21:10 -03:00
color: #282c34;
}