2012-03-14 16:10:12 -07:00
|
|
|
%if 0
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2012-03-14 16:10:12 -07:00
|
|
|
%endif
|
|
|
|
|
|
|
|
html {
|
|
|
|
font: message-box;
|
|
|
|
font-size: 100%;
|
|
|
|
background-color: hsl(0,0%,90%);
|
|
|
|
color: #000;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2012-04-20 11:23:24 -07:00
|
|
|
background-image: url(chrome://browser/content/abouthome/noise.png),
|
|
|
|
-moz-linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4));
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
button {
|
|
|
|
font-size: inherit;
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: -moz-nativehyperlinktext;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spacer {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#topSection {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#brandLogo {
|
|
|
|
height: 154px;
|
2012-07-15 04:57:35 -07:00
|
|
|
width: 154px;
|
2012-03-14 16:10:12 -07:00
|
|
|
margin: 22px 0 31px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchForm,
|
|
|
|
#snippets {
|
|
|
|
width: 470px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchForm {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchLogoContainer {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-align: center;
|
|
|
|
padding-top: 2px;
|
|
|
|
-moz-padding-end: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchEngineLogo {
|
|
|
|
display: inline-block;
|
2012-07-15 04:57:35 -07:00
|
|
|
height: 28px;
|
|
|
|
width: 70px;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#searchText {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
padding: 6px 8px;
|
|
|
|
background: hsla(0,0%,100%,.9) padding-box;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
|
|
|
|
box-shadow: 0 1px 0 hsla(210,65%,9%,.02) inset,
|
|
|
|
0 0 2px hsla(210,65%,9%,.1) inset,
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
|
|
|
border-radius: 2.5px 0 0 2.5px;
|
|
|
|
}
|
|
|
|
|
2012-08-21 06:50:55 -07:00
|
|
|
#searchText:dir(rtl) {
|
2012-03-14 16:10:12 -07:00
|
|
|
border-radius: 0 2.5px 2.5px 0;
|
|
|
|
}
|
|
|
|
|
2012-07-15 04:57:35 -07:00
|
|
|
#searchText:focus,
|
|
|
|
#searchText[autofocus] {
|
2012-03-14 16:10:12 -07:00
|
|
|
border-color: hsla(206,100%,60%,.6) hsla(206,76%,52%,.6) hsla(204,100%,40%,.6);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchSubmit {
|
|
|
|
-moz-margin-start: -1px;
|
|
|
|
background: -moz-linear-gradient(hsla(0,0%,100%,.8), hsla(0,0%,100%,.1)) padding-box;
|
|
|
|
padding: 0 9px;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
|
|
|
|
-moz-border-start: 1px solid transparent;
|
|
|
|
border-radius: 0 2.5px 2.5px 0;
|
|
|
|
box-shadow: 0 0 2px hsla(0,0%,100%,.5) inset,
|
|
|
|
0 1px 0 hsla(0,0%,100%,.2);
|
|
|
|
cursor: pointer;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: background-color, border-color, box-shadow;
|
|
|
|
transition-duration: 150ms;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
2012-08-21 06:50:55 -07:00
|
|
|
#searchSubmit:dir(rtl) {
|
2012-03-14 16:10:12 -07:00
|
|
|
border-radius: 2.5px 0 0 2.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchText:focus + #searchSubmit,
|
2012-07-15 04:57:35 -07:00
|
|
|
#searchText + #searchSubmit:hover,
|
|
|
|
#searchText[autofocus] + #searchSubmit {
|
2012-03-14 16:10:12 -07:00
|
|
|
border-color: #59b5fc #45a3e7 #3294d5;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2012-07-15 04:57:35 -07:00
|
|
|
#searchText:focus + #searchSubmit,
|
|
|
|
#searchText[autofocus] + #searchSubmit {
|
2012-03-14 16:10:12 -07:00
|
|
|
background-image: -moz-linear-gradient(#4cb1ff, #1793e5);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset,
|
|
|
|
0 0 0 1px hsla(0,0%,100%,.1) inset,
|
|
|
|
0 1px 0 hsla(210,54%,20%,.03);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchText + #searchSubmit:hover {
|
|
|
|
background-image: -moz-linear-gradient(#66bdff, #0d9eff);
|
|
|
|
box-shadow: 0 1px 0 hsla(0,0%,100%,.2) inset,
|
|
|
|
0 0 0 1px hsla(0,0%,100%,.1) inset,
|
|
|
|
0 1px 0 hsla(210,54%,20%,.03),
|
|
|
|
0 0 4px hsla(206,100%,20%,.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchText + #searchSubmit:hover:active {
|
|
|
|
box-shadow: 0 1px 1px hsla(211,79%,6%,.1) inset,
|
|
|
|
0 0 1px hsla(211,79%,6%,.2) inset;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-duration: 0ms;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#defaultSnippet1,
|
|
|
|
#defaultSnippet2 {
|
|
|
|
display: block;
|
|
|
|
min-height: 38px;
|
|
|
|
background: 30px center no-repeat;
|
|
|
|
padding: 6px 0;
|
|
|
|
-moz-padding-start: 79px;
|
|
|
|
}
|
|
|
|
|
2012-08-21 06:50:55 -07:00
|
|
|
#defaultSnippet1:dir(rtl),
|
|
|
|
#defaultSnippet2:dir(rtl) {
|
2012-03-14 16:10:12 -07:00
|
|
|
background-position: right 30px center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#defaultSnippet1 {
|
|
|
|
background-image: url("chrome://browser/content/abouthome/snippet1.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#defaultSnippet2 {
|
|
|
|
background-image: url("chrome://browser/content/abouthome/snippet2.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#snippets {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: start;
|
|
|
|
margin: 12px 0;
|
|
|
|
color: #3c3c3c;
|
|
|
|
font-size: 75%;
|
2012-07-15 04:57:35 -07:00
|
|
|
/* 12px is the computed font size, 15px the computed line height of the snippets
|
|
|
|
with Segoe UI on a default Windows 7 setup. The 15/12 multiplier approximately
|
|
|
|
converts em from units of font-size to units of line-height. The goal is to
|
|
|
|
preset the height of a three-line snippet to avoid visual moving/flickering as
|
|
|
|
the snippets load. */
|
2012-07-18 17:44:39 -07:00
|
|
|
min-height: calc(15/12 * 3em);
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#launcher {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
width: 100%;
|
|
|
|
background-color: hsla(0,0%,0%,.03);
|
|
|
|
border-top: 1px solid hsla(0,0%,0%,.03);
|
|
|
|
box-shadow: 0 1px 2px hsla(0,0%,0%,.02) inset,
|
|
|
|
0 -1px 0 hsla(0,0%,100%,.25);
|
|
|
|
}
|
|
|
|
|
2012-03-15 15:58:09 -07:00
|
|
|
#launcher:not([session]),
|
2012-03-14 16:10:12 -07:00
|
|
|
body[narrow] #launcher[session] {
|
|
|
|
display: block; /* display separator and restore button on separate lines */
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap; /* prevent navigational buttons from wrapping */
|
|
|
|
}
|
|
|
|
|
|
|
|
.launchButton {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
margin: 16px 1px;
|
|
|
|
padding: 14px 6px;
|
|
|
|
min-width: 88px;
|
|
|
|
max-width: 176px;
|
2012-03-16 10:01:04 -07:00
|
|
|
max-height: 85px;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: normal;
|
2012-03-14 16:10:12 -07:00
|
|
|
background: transparent padding-box;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 2.5px;
|
|
|
|
color: #525c66;
|
|
|
|
font-size: 75%;
|
|
|
|
cursor: pointer;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: background-color, border-color, box-shadow;
|
|
|
|
transition-duration: 150ms;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
body[narrow] #launcher[session] > .launchButton {
|
|
|
|
margin: 4px 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.launchButton:hover {
|
|
|
|
background-color: hsla(211,79%,6%,.03);
|
|
|
|
border-color: hsla(210,54%,20%,.15) hsla(210,54%,20%,.17) hsla(210,54%,20%,.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.launchButton:hover:active {
|
|
|
|
background-image: -moz-linear-gradient(hsla(211,79%,6%,.02), hsla(211,79%,6%,.05));
|
|
|
|
border-color: hsla(210,54%,20%,.2) hsla(210,54%,20%,.23) hsla(210,54%,20%,.25);
|
|
|
|
box-shadow: 0 1px 1px hsla(211,79%,6%,.05) inset,
|
|
|
|
0 0 1px hsla(211,79%,6%,.1) inset;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-duration: 0ms;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
2012-03-23 07:12:34 -07:00
|
|
|
.launchButton[hidden],
|
2012-03-14 16:10:12 -07:00
|
|
|
#launcher:not([session]) > #restorePreviousSessionSeparator,
|
|
|
|
#launcher:not([session]) > #restorePreviousSession {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#restorePreviousSessionSeparator {
|
|
|
|
width: 3px;
|
|
|
|
height: 116px;
|
|
|
|
margin: 0 10px;
|
|
|
|
background-image: -moz-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,.35), hsla(0,0%,100%,0)),
|
|
|
|
-moz-linear-gradient(hsla(211,79%,6%,0), hsla(211,79%,6%,.2), hsla(211,79%,6%,0)),
|
|
|
|
-moz-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,.35), hsla(0,0%,100%,0));
|
|
|
|
background-position: left top, center, right bottom;
|
|
|
|
background-size: 1px auto;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[narrow] #restorePreviousSessionSeparator {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 512px;
|
|
|
|
height: 3px;
|
|
|
|
background-image: -moz-linear-gradient(0, hsla(0,0%,100%,0), hsla(0,0%,100%,.35), hsla(0,0%,100%,0)),
|
|
|
|
-moz-linear-gradient(0, hsla(211,79%,6%,0), hsla(211,79%,6%,.2), hsla(211,79%,6%,0)),
|
|
|
|
-moz-linear-gradient(0, hsla(0,0%,100%,0), hsla(0,0%,100%,.35), hsla(0,0%,100%,0));
|
|
|
|
background-size: auto 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#restorePreviousSession {
|
|
|
|
max-width: none;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body[narrow] #restorePreviousSession {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.launchButton::before {
|
|
|
|
display: block;
|
2012-07-15 04:57:35 -07:00
|
|
|
width: 32px;
|
2012-03-20 02:56:42 -07:00
|
|
|
height: 32px;
|
2012-07-15 04:57:35 -07:00
|
|
|
margin: 0 auto 6px;
|
2012-03-14 16:10:12 -07:00
|
|
|
line-height: 0; /* remove extra vertical space due to non-zero font-size */
|
|
|
|
}
|
|
|
|
|
2012-03-23 07:12:34 -07:00
|
|
|
#downloads::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/downloads.png");
|
|
|
|
}
|
|
|
|
|
2012-03-14 16:10:12 -07:00
|
|
|
#bookmarks::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/bookmarks.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#history::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/history.png");
|
|
|
|
}
|
|
|
|
|
2012-03-23 07:12:34 -07:00
|
|
|
#apps::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/apps.png");
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#addons::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/addons.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#sync::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/sync.png");
|
|
|
|
}
|
|
|
|
|
2012-03-23 07:12:34 -07:00
|
|
|
#settings::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/settings.png");
|
|
|
|
}
|
|
|
|
|
2012-03-14 16:10:12 -07:00
|
|
|
#restorePreviousSession::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/restore-large.png");
|
2012-03-20 02:56:42 -07:00
|
|
|
height: 48px;
|
|
|
|
width: 48px;
|
2012-03-14 16:10:12 -07:00
|
|
|
display: inline-block; /* display on same line as text label */
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: 0;
|
|
|
|
-moz-margin-end: 8px;
|
|
|
|
}
|
|
|
|
|
2012-08-21 06:50:55 -07:00
|
|
|
#restorePreviousSession:dir(rtl)::before {
|
2012-07-16 08:10:27 -07:00
|
|
|
transform: scaleX(-1);
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
body[narrow] #restorePreviousSession::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/restore.png");
|
2012-03-20 02:56:42 -07:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#aboutMozilla {
|
|
|
|
display: block;
|
|
|
|
position: relative; /* pin wordmark to edge of document, not of viewport */
|
|
|
|
-moz-box-ordinal-group: 0;
|
|
|
|
opacity: .5;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: opacity 150ms;
|
2012-03-14 16:10:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#aboutMozilla:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#aboutMozilla::before {
|
|
|
|
content: url("chrome://browser/content/abouthome/mozilla.png");
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 12px;
|
|
|
|
right: 12px;
|
|
|
|
}
|