notes/.config/chromium/Default/Extensions/dbepggeogbaibhgnhhndojpepiihcmeb/1.67_0/pages/vomnibar.css

205 lines
3.8 KiB
CSS

/* Vomnibar CSS */
#vomnibar ol, #vomnibar ul {
list-style: none;
display: none;
}
#vomnibar {
display: block;
position: fixed;
width: calc(100% - 20px); /* adjusted to keep border radius and box-shadow visible*/
/*min-width: 400px;
top: 70px;
left: 50%;*/
top: 8px;
left: 8px;
/*margin: 0 0 0 -40%;*/
font-family: sans-serif;
background: #F1F1F1;
text-align: left;
border-radius: 4px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
border: 1px solid #aaa;
z-index: 2139999999; /* One less than hint markers and the help dialog (see ../content_scripts/vimium.css). */
}
#vomnibar input {
color: #000;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 20px;
height: 34px;
margin-bottom: 0;
padding: 4px;
background-color: white;
border-radius: 3px;
border: 1px solid #E8E8E8;
box-shadow: #444 0px 0px 1px;
width: 100%;
outline: none;
box-sizing: border-box;
}
#vomnibar .vomnibarSearchArea {
display: block;
padding: 10px;
background-color: #F1F1F1;
border-radius: 4px 4px 0 0;
border-bottom: 1px solid #C6C9CE;
}
#vomnibar ul {
background-color: white;
border-radius: 0 0 4px 4px;
list-style: none;
padding: 10px 0;
padding-top: 0;
}
#vomnibar li {
border-bottom: 1px solid #ddd;
line-height: 1.1em;
padding: 7px 10px;
font-size: 16px;
color: black;
position: relative;
display: list-item;
margin: auto;
}
#vomnibar li:last-of-type {
border-bottom: none;
}
#vomnibar li .vomnibarTopHalf, #vomnibar li .vomnibarBottomHalf {
display: block;
overflow: hidden;
}
#vomnibar li .vomnibarBottomHalf {
font-size: 15px;
margin-top: 3px;
padding: 2px 0;
}
#vomnibar li .vomnibarIcon {
padding: 0 13px 0 6px;
vertical-align: bottom;
}
#vomnibar li .vomnibarSource {
color: #777;
margin-right: 4px;
}
#vomnibar li .vomnibarRelevancy {
position: absolute;
right: 0;
top: 0;
padding: 5px;
background-color: white;
color: black;
font-family: monospace;
width: 100px;
overflow: hidden;
}
#vomnibar li .vomnibarUrl {
white-space: nowrap;
color: #224684;
}
#vomnibar li .vomnibarMatch {
font-weight: bold;
color: black;
}
#vomnibar li em, #vomnibar li .vomnibarTitle {
color: black;
margin-left: 4px;
font-weight: normal;
}
#vomnibar li em { font-style: italic; }
#vomnibar li em .vomnibarMatch, #vomnibar li .vomnibarTitle .vomnibarMatch {
color: #333;
}
#vomnibar li.vomnibarSelected {
background-color: #BBCEE9;
font-weight: normal;
}
#vomnibarInput::selection {
/* This is the light grey color of the vomnibar border. */
/* background-color: #F1F1F1; */
/* This is the light blue color of the vomnibar selected item. */
/* background-color: #BBCEE9; */
/* This is a considerably lighter blue than Vimium blue, which seems softer
* on the eye for this purpose. */
background-color: #E6EEFB;
}
.vomnibarInsertText {
}
.vomnibarNoInsertText {
visibility: hidden;
}
/* Dark Vomnibar */
@media (prefers-color-scheme: dark) {
#vomnibar {
border: 1px solid rgba(0, 0, 0, 0.7);
border-radius: 6px;
}
#vomnibar .vomnibarSearchArea, #vomnibar {
background-color: #35363a;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#vomnibar input {
background-color: #202124;
color: white;
border: none;
}
#vomnibar ul {
background-color: #202124;
}
#vomnibar li {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#vomnibar li.vomnibarSelected {
background-color: #37383a;
}
#vomnibar li .vomnibarUrl {
white-space: nowrap;
color: #5ca1f7;
}
#vomnibar li em,
#vomnibar li .vomnibarTitle {
color: white;
}
#vomnibar li .vomnibarSource {
color: #9aa0a6;
}
#vomnibar li .vomnibarMatch {
color: white;
}
#vomnibar li em .vomnibarMatch,
#vomnibar li .vomnibarTitle .vomnibarMatch {
color: white;
}
}