godot-cpp-utils-docs/html/search/search.css

292 lines
5.0 KiB
CSS
Raw Normal View History

2024-05-29 17:40:11 +00:00
/*---------------- Search Box positioning */
2024-05-30 15:18:28 +00:00
#main-menu > li:last-child {
2024-05-29 17:40:11 +00:00
/* 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;
}
#MSearchBox {
display: inline-block;
white-space : nowrap;
2024-05-29 21:38:31 +00:00
background: white;
2024-05-29 17:40:11 +00:00
border-radius: 0.65em;
2024-05-29 21:38:31 +00:00
box-shadow: inset 0.5px 0.5px 3px 0px #555;
2024-05-29 17:40:11 +00:00
z-index: 102;
}
#MSearchBox .left {
display: inline-block;
vertical-align: middle;
height: 1.4em;
}
#MSearchSelect {
display: inline-block;
vertical-align: middle;
width: 20px;
height: 19px;
2024-05-29 21:38:31 +00:00
background-image: url('mag_sel.svg');
2024-05-29 17:40:11 +00:00
margin: 0 0 0 0.3em;
padding: 0;
}
#MSearchSelectExt {
display: inline-block;
vertical-align: middle;
width: 10px;
height: 19px;
2024-05-29 21:38:31 +00:00
background-image: url('mag.svg');
2024-05-29 17:40:11 +00:00
margin: 0 0 0 0.5em;
padding: 0;
}
#MSearchField {
display: inline-block;
vertical-align: middle;
width: 7.5em;
height: 19px;
margin: 0 0.15em;
padding: 0;
line-height: 1em;
border:none;
2024-05-29 21:38:31 +00:00
color: #909090;
2024-05-29 17:40:11 +00:00
outline: none;
2024-05-29 21:38:31 +00:00
font-family: Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
-webkit-border-radius: 0px;
border-radius: 0px;
background: none;
}
@media(hover: none) {
/* to avoid zooming on iOS */
#MSearchField {
font-size: 16px;
}
}
#MSearchBox .right {
display: inline-block;
vertical-align: middle;
width: 1.4em;
height: 1.4em;
}
#MSearchClose {
display: none;
font-size: inherit;
background : none;
border: none;
margin: 0;
padding: 0;
outline: none;
}
#MSearchCloseImg {
padding: 0.3em;
margin: 0;
}
.MSearchBoxActive #MSearchField {
2024-05-29 21:38:31 +00:00
color: black;
2024-05-29 17:40:11 +00:00
}
/*---------------- Search filter selection */
#MSearchSelectWindow {
display: none;
position: absolute;
left: 0; top: 0;
2024-05-29 21:38:31 +00:00
border: 1px solid #90A5CE;
background-color: #F9FAFC;
2024-05-29 17:40:11 +00: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 {
2024-05-29 21:38:31 +00:00
font: 8pt Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
padding-left: 2px;
padding-right: 12px;
border: 0px;
}
span.SelectionMark {
margin-right: 4px;
2024-05-29 21:38:31 +00:00
font-family: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed;
2024-05-29 17:40:11 +00:00
outline-style: none;
text-decoration: none;
}
a.SelectItem {
display: block;
outline-style: none;
2024-05-29 21:38:31 +00:00
color: black;
2024-05-29 17:40:11 +00:00
text-decoration: none;
padding-left: 6px;
padding-right: 12px;
}
a.SelectItem:focus,
a.SelectItem:active {
2024-05-29 21:38:31 +00:00
color: black;
2024-05-29 17:40:11 +00:00
outline-style: none;
text-decoration: none;
}
a.SelectItem:hover {
2024-05-29 21:38:31 +00:00
color: white;
background-color: #3D578C;
2024-05-29 17:40:11 +00:00
outline-style: none;
text-decoration: none;
cursor: pointer;
display: block;
}
/*---------------- Search results window */
iframe#MSearchResults {
/*width: 60ex;*/
height: 15em;
}
#MSearchResultsWindow {
display: none;
position: absolute;
left: 0; top: 0;
2024-05-29 21:38:31 +00:00
border: 1px solid black;
background-color: #EEF1F7;
2024-05-29 17:40:11 +00:00
z-index:10000;
width: 300px;
height: 400px;
overflow: auto;
}
/* ----------------------------------- */
#SRIndex {
clear:both;
}
.SREntry {
font-size: 10pt;
padding-left: 1ex;
}
.SRPage .SREntry {
font-size: 8pt;
padding: 1px 5px;
}
div.SRPage {
margin: 5px 2px;
2024-05-29 21:38:31 +00:00
background-color: #EEF1F7;
2024-05-29 17:40:11 +00:00
}
.SRChildren {
padding-left: 3ex; padding-bottom: .5em
}
.SRPage .SRChildren {
display: none;
}
.SRSymbol {
font-weight: bold;
2024-05-29 21:38:31 +00:00
color: #425E97;
font-family: Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
text-decoration: none;
outline: none;
}
a.SRScope {
display: block;
2024-05-29 21:38:31 +00:00
color: #425E97;
font-family: Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
font-size: 8pt;
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;
2024-05-29 21:38:31 +00:00
font-family: Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
}
.SRPage .SRStatus {
padding: 2px 5px;
font-size: 8pt;
font-style: italic;
2024-05-29 21:38:31 +00:00
font-family: Arial,Verdana,sans-serif;
2024-05-29 17:40:11 +00:00
}
.SRResult {
display: none;
}
div.searchresults {
margin-left: 10px;
margin-right: 10px;
}
/*---------------- External search page results */
.pages b {
color: white;
padding: 5px 5px 3px 5px;
2024-05-29 21:38:31 +00:00
background-image: url("../tab_a.png");
2024-05-29 17:40:11 +00: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;
}