elbaitemoon

Elbaite theme for Pale Moon
Log | Files | Refs

abouthome.css (4833B)


      1 html {
      2   font: message-box;
      3   font-size: 100%;
      4   background-color: rgb(64, 64, 64);
      5   color: #000;
      6   height: 100%;
      7 }
      8 
      9 body {
     10   margin: 0;
     11   display: -moz-box;
     12   -moz-box-orient: vertical;
     13   width: 100%;
     14   height: 100%;
     15 }
     16 
     17 input,
     18 button {
     19   font-size: inherit;
     20   font-family: inherit;
     21 }
     22 
     23 a {
     24   color: #bfbbb6;
     25   text-decoration: none;
     26 }
     27 
     28 .spacer {
     29   -moz-box-flex: 1;
     30 }
     31 
     32 #topSection {
     33   text-align: center;
     34 }
     35 
     36 #brandLogo {
     37   height: 192px;
     38   width: 192px;
     39   margin: 22px auto 31px;
     40   background-image: url("chrome://branding/content/about-logo.png");
     41   background-size: 192px auto;
     42   background-position: center center;
     43   background-repeat: no-repeat;
     44   filter: grayscale(1);
     45 }
     46 
     47 #searchForm {
     48   width: 470px;
     49 }
     50 
     51 #searchForm {
     52   display: -moz-box;
     53 }
     54 
     55 #searchLogoContainer {
     56   display: -moz-box;
     57   -moz-box-align: center;
     58   padding-top: 2px;
     59   padding-inline-end: 8px;
     60 }
     61 
     62 #searchLogoContainer[hidden] {
     63   display: none;
     64 }
     65 
     66 #searchEngineLogo {
     67   display: inline-block;
     68   filter: saturate(65%);
     69   height: 28px;
     70   width: 70px;
     71   min-width: 70px;
     72 }
     73 
     74 #searchText {
     75   -moz-box-flex: 1;
     76   color: #bfbbb6;
     77   padding: 6px 8px;
     78   background-color: #181411;
     79   border: 1px solid;
     80   border-color: rgb(64, 64, 64);
     81   border-radius: 5px 0 0 5px;
     82 }
     83 
     84 #searchText:-moz-dir(rtl) {
     85   border-radius: 0 5px 5px 0;
     86 }
     87 
     88 #searchText:focus,
     89 #searchText[autofocus] {
     90   border-color: rgb(128, 128, 128);
     91 }
     92 
     93 #searchSubmit {
     94   margin-inline-start: -1px;
     95   padding: 0 9px;
     96   color: #bfbbb6;
     97   background-color: #181411;
     98   border: 1px solid;
     99   border-color: rgb(64, 64, 64);
    100   border-radius: 0 5px 5px 0;
    101   cursor: pointer;
    102   transition-property: background-color, border-color, box-shadow;
    103   transition-duration: 150ms;
    104 }
    105 
    106 #searchSubmit:-moz-dir(rtl) {
    107   border-radius: 5px 0 0 5px;
    108 }
    109 
    110 #searchText:focus + #searchSubmit,
    111 #searchText + #searchSubmit:hover,
    112 #searchText[autofocus] + #searchSubmit {
    113   border-color: rgb(128, 128, 128);
    114   background-color: #181411;
    115 }
    116 
    117 #searchText + #searchSubmit:hover:active {
    118   border-color: rgb(64, 64, 64);
    119   background-color: #181411;
    120 }
    121 
    122 #launcher {
    123   display: -moz-box;
    124   -moz-box-align: center;
    125   -moz-box-pack: center;
    126   width: 100%;
    127   background-color: #181411;
    128   border-top: 1px solid rgb(64, 64, 64);
    129 }
    130 
    131 #launcher:not([session]),
    132 body[narrow] #launcher[session] {
    133   display: block; /* display separator and restore button on separate lines */
    134   text-align: center;
    135   white-space: nowrap; /* prevent navigational buttons from wrapping */
    136 }
    137 
    138 .launchButton {
    139   display: -moz-box;
    140   -moz-box-orient: vertical;
    141   margin: 16px 1px;
    142   padding: 14px 6px;
    143   min-width: 88px;
    144   max-width: 176px;
    145   max-height: 85px;
    146   vertical-align: top;
    147   white-space: normal;
    148   background: transparent padding-box;
    149   border: 1px solid transparent;
    150   border-radius: 2.5px;
    151   color: #bfbbb6;
    152   font-size: 75%;
    153   cursor: pointer;
    154 }
    155 
    156 body[narrow] #launcher[session] > .launchButton {
    157   margin: 4px 1px;
    158 }
    159 
    160 .launchButton:hover {
    161   background-color: #181411;
    162 }
    163 
    164 .launchButton:hover:active {
    165   background-color: #181411;
    166   border-color: rgb(64, 64, 64);
    167 }
    168 
    169 .launchButton[hidden],
    170 #launcher:not([session]) > #restorePreviousSessionSeparator,
    171 #launcher:not([session]) > #restorePreviousSession {
    172   display: none;
    173 }
    174 
    175 #restorePreviousSessionSeparator {
    176   width: 1px;
    177   height: 100px;
    178   margin: 0 10px;
    179   border-left: 1px solid;
    180   border-left-color: rgb(64, 64, 64);
    181 }
    182 
    183 body[narrow] #restorePreviousSessionSeparator {
    184   margin: 0 auto;
    185   width: 512px;
    186   height: 3px;
    187 }
    188 
    189 #restorePreviousSession {
    190   max-width: none;
    191   font-size: 90%;
    192 }
    193 
    194 body[narrow] #restorePreviousSession {
    195   font-size: 80%;
    196 }
    197 
    198 .launchButton::before {
    199   display: block;
    200   width: 32px;
    201   height: 32px;
    202   margin: 0 auto 6px;
    203   line-height: 0; /* remove extra vertical space due to non-zero font-size */
    204 }
    205 
    206 #downloads::before {
    207   content: url("chrome://abouthome/skin/downloads.svg");
    208 }
    209 
    210 #bookmarks::before {
    211   content: url("chrome://abouthome/skin/bookmarks.svg");
    212 }
    213 
    214 #history::before {
    215   content: url("chrome://abouthome/skin/history.svg");
    216 }
    217 
    218 #addons::before {
    219   content: url("chrome://abouthome/skin/addons.svg");
    220 }
    221 
    222 #sync::before {
    223   content: url("chrome://abouthome/skin/sync.svg");
    224 }
    225 
    226 #settings::before {
    227   content: url("chrome://abouthome/skin/settings.svg");
    228 }
    229 
    230 #restorePreviousSession::before {
    231   content: url("chrome://abouthome/skin/restore.svg");
    232   height: 32px;
    233   width: 32px;
    234   display: inline-block; /* display on same line as text label */
    235   vertical-align: middle;
    236   margin-bottom: 0;
    237   margin-inline-end: 8px;
    238 }
    239 
    240 #restorePreviousSession:-moz-dir(rtl)::before {
    241   transform: scaleX(-1);
    242 }
    243 
    244 /* [HiDPI]
    245  * At resolutions above 1dppx, prefer downscaling the 2x Retina graphics
    246  * rather than upscaling the original-size ones (bug 818940).
    247  */
    248 @media not all and (max-resolution: 1dppx) {
    249   #brandLogo {
    250    background-image: url("chrome://branding/content/about-logo@2x.png");
    251   }
    252 }
    253