cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

search.css (4361B)


      1/*---------------- Search Box */
      2
      3#MSearchBox {
      4    white-space : nowrap;
      5    background: white;
      6    border-radius: 0.65em;
      7    box-shadow: inset 0.5px 0.5px 3px 0px #555;
      8    z-index: 102;
      9}
     10
     11#MSearchBox .left {
     12    display: inline-block;
     13    vertical-align: middle;
     14    height: 1.4em;
     15}
     16
     17#MSearchSelect {
     18    display: inline-block;
     19    vertical-align: middle;
     20    height: 1.4em;
     21    padding: 0 0 0 0.3em;
     22    margin: 0;
     23}
     24
     25#MSearchField {
     26    display: inline-block;
     27    vertical-align: middle;
     28    width: 7.5em;
     29    height: 1.1em;
     30    margin: 0 0.15em;
     31    padding: 0;
     32    line-height: 1em;
     33    border:none;
     34    color: #909090;
     35    outline: none;
     36    font-family: Arial, Verdana, sans-serif;
     37    -webkit-border-radius: 0px;
     38    border-radius: 0px;
     39    background: none;
     40}
     41
     42
     43#MSearchBox .right {
     44    display: inline-block;
     45    vertical-align: middle;
     46    width: 1.4em;
     47    height: 1.4em;
     48}
     49
     50#MSearchClose {
     51    display: none;
     52    font-size: inherit;
     53    background : none;
     54    border: none;
     55    margin: 0;
     56    padding: 0;
     57    outline: none;
     58
     59}
     60
     61#MSearchCloseImg {
     62    height: 1.4em;
     63    padding: 0.3em;
     64    margin: 0;
     65}
     66
     67.MSearchBoxActive #MSearchField {
     68    color: #000000;
     69}
     70
     71#main-menu > li:last-child {
     72    /* This <li> object is the parent of the search bar */
     73    display: flex;
     74    justify-content: center;
     75    align-items: center;
     76    height: 36px;
     77    margin-right: 1em;
     78}
     79
     80/*---------------- Search filter selection */
     81
     82#MSearchSelectWindow {
     83    display: none;
     84    position: absolute;
     85    left: 0; top: 0;
     86    border: 1px solid #90A5CE;
     87    background-color: #F9FAFC;
     88    z-index: 10001;
     89    padding-top: 4px;
     90    padding-bottom: 4px;
     91    -moz-border-radius: 4px;
     92    -webkit-border-top-left-radius: 4px;
     93    -webkit-border-top-right-radius: 4px;
     94    -webkit-border-bottom-left-radius: 4px;
     95    -webkit-border-bottom-right-radius: 4px;
     96    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
     97}
     98
     99.SelectItem {
    100    font: 8pt Arial, Verdana, sans-serif;
    101    padding-left:  2px;
    102    padding-right: 12px;
    103    border: 0px;
    104}
    105
    106span.SelectionMark {
    107    margin-right: 4px;
    108    font-family: monospace;
    109    outline-style: none;
    110    text-decoration: none;
    111}
    112
    113a.SelectItem {
    114    display: block;
    115    outline-style: none;
    116    color: #000000; 
    117    text-decoration: none;
    118    padding-left:   6px;
    119    padding-right: 12px;
    120}
    121
    122a.SelectItem:focus,
    123a.SelectItem:active {
    124    color: #000000; 
    125    outline-style: none;
    126    text-decoration: none;
    127}
    128
    129a.SelectItem:hover {
    130    color: #FFFFFF;
    131    background-color: #3D578C;
    132    outline-style: none;
    133    text-decoration: none;
    134    cursor: pointer;
    135    display: block;
    136}
    137
    138/*---------------- Search results window */
    139
    140iframe#MSearchResults {
    141    width: 60ex;
    142    height: 15em;
    143}
    144
    145#MSearchResultsWindow {
    146    display: none;
    147    position: absolute;
    148    left: 0; top: 0;
    149    border: 1px solid #000;
    150    background-color: #EEF1F7;
    151    z-index:10000;
    152}
    153
    154/* ----------------------------------- */
    155
    156
    157#SRIndex {
    158    clear:both; 
    159    padding-bottom: 15px;
    160}
    161
    162.SREntry {
    163    font-size: 10pt;
    164    padding-left: 1ex;
    165}
    166
    167.SRPage .SREntry {
    168    font-size: 8pt;
    169    padding: 1px 5px;
    170}
    171
    172body.SRPage {
    173    margin: 5px 2px;
    174}
    175
    176.SRChildren {
    177    padding-left: 3ex; padding-bottom: .5em 
    178}
    179
    180.SRPage .SRChildren {
    181    display: none;
    182}
    183
    184.SRSymbol {
    185    font-weight: bold; 
    186    color: #425E97;
    187    font-family: Arial, Verdana, sans-serif;
    188    text-decoration: none;
    189    outline: none;
    190}
    191
    192a.SRScope {
    193    display: block;
    194    color: #425E97; 
    195    font-family: Arial, Verdana, sans-serif;
    196    text-decoration: none;
    197    outline: none;
    198}
    199
    200a.SRSymbol:focus, a.SRSymbol:active,
    201a.SRScope:focus, a.SRScope:active {
    202    text-decoration: underline;
    203}
    204
    205span.SRScope {
    206    padding-left: 4px;
    207}
    208
    209.SRPage .SRStatus {
    210    padding: 2px 5px;
    211    font-size: 8pt;
    212    font-style: italic;
    213}
    214
    215.SRResult {
    216    display: none;
    217}
    218
    219DIV.searchresults {
    220    margin-left: 10px;
    221    margin-right: 10px;
    222}
    223
    224/*---------------- External search page results */
    225
    226.searchresult {
    227    background-color: #F0F3F8;
    228}
    229
    230.pages b {
    231   color: white;
    232   padding: 5px 5px 3px 5px;
    233   background-image: url("../tab_a.png");
    234   background-repeat: repeat-x;
    235   text-shadow: 0 1px 1px #000000;
    236}
    237
    238.pages {
    239    line-height: 17px;
    240    margin-left: 4px;
    241    text-decoration: none;
    242}
    243
    244.hl {
    245    font-weight: bold;
    246}
    247
    248#searchresults {
    249    margin-bottom: 20px;
    250}
    251
    252.searchpages {
    253    margin-top: 10px;
    254}
    255