ffmpeg-kit/docs/linux/html/search/search.css

292 lines
5.4 KiB
CSS
Raw Permalink Normal View History

2023-08-22 23:00:49 +03:00
/*---------------- Search Box positioning */
#main-menu > li:last-child {
/* This <li> object is the parent of the search bar */
display: flex;
justify-content: center;
align-items: center;
height: 36px;
margin-right: 1em;
}
/*---------------- Search box styling */
.SRPage * {
font-weight: normal;
line-height: normal;
}
dark-mode-toggle {
margin-left: 5px;
display: flex;
float: right;
}
2022-08-02 21:48:54 +03:00
#MSearchBox {
2023-08-22 23:00:49 +03:00
display: inline-block;
2022-08-02 21:48:54 +03:00
white-space : nowrap;
2023-08-22 23:00:49 +03:00
background: var(--search-background-color);
2022-09-17 20:29:42 +03:00
border-radius: 0.65em;
2023-08-22 23:00:49 +03:00
box-shadow: var(--search-box-shadow);
2022-08-02 21:48:54 +03:00
z-index: 102;
}
2022-09-17 20:29:42 +03:00
#MSearchBox .left {
display: inline-block;
vertical-align: middle;
height: 1.4em;
2022-08-02 21:48:54 +03:00
}
#MSearchSelect {
2022-09-17 20:29:42 +03:00
display: inline-block;
vertical-align: middle;
2023-08-22 23:00:49 +03:00
width: 20px;
2022-09-17 20:29:42 +03:00
height: 19px;
2023-08-22 23:00:49 +03:00
background-image: var(--search-magnification-select-image);
margin: 0 0 0 0.3em;
padding: 0;
2022-08-02 21:48:54 +03:00
}
2023-08-22 23:00:49 +03:00
#MSearchSelectExt {
display: inline-block;
vertical-align: middle;
width: 10px;
height: 19px;
background-image: var(--search-magnification-image);
margin: 0 0 0 0.5em;
padding: 0;
}
2022-08-02 21:48:54 +03:00
#MSearchField {
2022-09-17 20:29:42 +03:00
display: inline-block;
vertical-align: middle;
width: 7.5em;
height: 19px;
margin: 0 0.15em;
padding: 0;
line-height: 1em;
2022-08-02 21:48:54 +03:00
border:none;
2023-08-22 23:00:49 +03:00
color: var(--search-foreground-color);
2022-08-02 21:48:54 +03:00
outline: none;
2023-08-22 23:00:49 +03:00
font-family: var(--font-family-search);
2022-08-02 21:48:54 +03:00
-webkit-border-radius: 0px;
2022-09-17 20:29:42 +03:00
border-radius: 0px;
background: none;
2022-08-02 21:48:54 +03:00
}
2022-09-17 20:29:42 +03:00
@media(hover: none) {
/* to avoid zooming on iOS */
#MSearchField {
font-size: 16px;
}
2022-08-02 21:48:54 +03:00
}
#MSearchBox .right {
2022-09-17 20:29:42 +03:00
display: inline-block;
vertical-align: middle;
width: 1.4em;
height: 1.4em;
2022-08-02 21:48:54 +03:00
}
#MSearchClose {
display: none;
2022-09-17 20:29:42 +03:00
font-size: inherit;
2022-08-02 21:48:54 +03:00
background : none;
border: none;
2022-09-17 20:29:42 +03:00
margin: 0;
padding: 0;
2022-08-02 21:48:54 +03:00
outline: none;
}
2022-09-17 20:29:42 +03:00
#MSearchCloseImg {
padding: 0.3em;
margin: 0;
2022-08-02 21:48:54 +03:00
}
.MSearchBoxActive #MSearchField {
2023-08-22 23:00:49 +03:00
color: var(--search-active-color);
2022-08-02 21:48:54 +03:00
}
2023-08-22 23:00:49 +03:00
2022-09-17 20:29:42 +03:00
2022-08-02 21:48:54 +03:00
/*---------------- Search filter selection */
#MSearchSelectWindow {
display: none;
position: absolute;
left: 0; top: 0;
2023-08-22 23:00:49 +03:00
border: 1px solid var(--search-filter-border-color);
background-color: var(--search-filter-background-color);
2022-08-02 21:48:54 +03:00
z-index: 10001;
padding-top: 4px;
padding-bottom: 4px;
-moz-border-radius: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}
.SelectItem {
2023-08-22 23:00:49 +03:00
font: 8pt var(--font-family-search);
2022-08-02 21:48:54 +03:00
padding-left: 2px;
padding-right: 12px;
border: 0px;
}
span.SelectionMark {
margin-right: 4px;
2023-08-22 23:00:49 +03:00
font-family: var(--font-family-monospace);
2022-08-02 21:48:54 +03:00
outline-style: none;
text-decoration: none;
}
a.SelectItem {
display: block;
outline-style: none;
2023-08-22 23:00:49 +03:00
color: var(--search-filter-foreground-color);
2022-08-02 21:48:54 +03:00
text-decoration: none;
padding-left: 6px;
padding-right: 12px;
}
a.SelectItem:focus,
a.SelectItem:active {
2023-08-22 23:00:49 +03:00
color: var(--search-filter-foreground-color);
2022-08-02 21:48:54 +03:00
outline-style: none;
text-decoration: none;
}
a.SelectItem:hover {
2023-08-22 23:00:49 +03:00
color: var(--search-filter-highlight-text-color);
background-color: var(--search-filter-highlight-bg-color);
2022-08-02 21:48:54 +03:00
outline-style: none;
text-decoration: none;
cursor: pointer;
display: block;
}
/*---------------- Search results window */
iframe#MSearchResults {
2022-09-17 20:29:42 +03:00
/*width: 60ex;*/
2022-08-02 21:48:54 +03:00
height: 15em;
}
#MSearchResultsWindow {
display: none;
position: absolute;
left: 0; top: 0;
2023-08-22 23:00:49 +03:00
border: 1px solid var(--search-results-border-color);
background-color: var(--search-results-background-color);
2022-08-02 21:48:54 +03:00
z-index:10000;
2023-08-22 23:00:49 +03:00
width: 300px;
height: 400px;
overflow: auto;
2022-08-02 21:48:54 +03:00
}
/* ----------------------------------- */
#SRIndex {
clear:both;
}
.SREntry {
font-size: 10pt;
padding-left: 1ex;
}
.SRPage .SREntry {
font-size: 8pt;
padding: 1px 5px;
}
2023-08-22 23:00:49 +03:00
div.SRPage {
2022-08-02 21:48:54 +03:00
margin: 5px 2px;
2023-08-22 23:00:49 +03:00
background-color: var(--search-results-background-color);
2022-08-02 21:48:54 +03:00
}
.SRChildren {
padding-left: 3ex; padding-bottom: .5em
}
.SRPage .SRChildren {
display: none;
}
.SRSymbol {
2023-08-22 23:00:49 +03:00
font-weight: bold;
color: var(--search-results-foreground-color);
font-family: var(--font-family-search);
2022-08-02 21:48:54 +03:00
text-decoration: none;
outline: none;
}
a.SRScope {
display: block;
2023-08-22 23:00:49 +03:00
color: var(--search-results-foreground-color);
font-family: var(--font-family-search);
font-size: 8pt;
2022-08-02 21:48:54 +03:00
text-decoration: none;
outline: none;
}
a.SRSymbol:focus, a.SRSymbol:active,
a.SRScope:focus, a.SRScope:active {
text-decoration: underline;
}
span.SRScope {
padding-left: 4px;
2023-08-22 23:00:49 +03:00
font-family: var(--font-family-search);
2022-08-02 21:48:54 +03:00
}
.SRPage .SRStatus {
padding: 2px 5px;
font-size: 8pt;
font-style: italic;
2023-08-22 23:00:49 +03:00
font-family: var(--font-family-search);
2022-08-02 21:48:54 +03:00
}
.SRResult {
display: none;
}
2022-09-17 20:29:42 +03:00
div.searchresults {
2022-08-02 21:48:54 +03:00
margin-left: 10px;
margin-right: 10px;
}
/*---------------- External search page results */
.pages b {
color: white;
padding: 5px 5px 3px 5px;
2023-08-22 23:00:49 +03:00
background-image: var(--nav-gradient-active-image-parent);
2022-08-02 21:48:54 +03:00
background-repeat: repeat-x;
text-shadow: 0 1px 1px #000000;
}
.pages {
line-height: 17px;
margin-left: 4px;
text-decoration: none;
}
.hl {
font-weight: bold;
}
#searchresults {
margin-bottom: 20px;
}
.searchpages {
margin-top: 10px;
}