зеркало из https://github.com/mozilla/gecko-dev.git
Merge m-c to inbound.
This commit is contained in:
Коммит
d2aa363f14
|
@ -43,7 +43,6 @@ a {
|
|||
|
||||
#brandLogo {
|
||||
height: 154px;
|
||||
width: 154px;
|
||||
margin: 22px 0 31px;
|
||||
}
|
||||
|
||||
|
@ -65,8 +64,6 @@ a {
|
|||
|
||||
#searchEngineLogo {
|
||||
display: inline-block;
|
||||
height: 28px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
#searchText {
|
||||
|
@ -85,8 +82,7 @@ body[dir=rtl] #searchText {
|
|||
border-radius: 0 2.5px 2.5px 0;
|
||||
}
|
||||
|
||||
#searchText:focus,
|
||||
#searchText[autofocus] {
|
||||
#searchText:focus {
|
||||
border-color: hsla(206,100%,60%,.6) hsla(206,76%,52%,.6) hsla(204,100%,40%,.6);
|
||||
}
|
||||
|
||||
|
@ -110,14 +106,12 @@ body[dir=rtl] #searchSubmit {
|
|||
}
|
||||
|
||||
#searchText:focus + #searchSubmit,
|
||||
#searchText + #searchSubmit:hover,
|
||||
#searchText[autofocus] + #searchSubmit {
|
||||
#searchText + #searchSubmit:hover {
|
||||
border-color: #59b5fc #45a3e7 #3294d5;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#searchText:focus + #searchSubmit,
|
||||
#searchText[autofocus] + #searchSubmit {
|
||||
#searchText:focus + #searchSubmit {
|
||||
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,
|
||||
|
@ -166,12 +160,6 @@ body[dir=rtl] #defaultSnippet2 {
|
|||
margin: 12px 0;
|
||||
color: #3c3c3c;
|
||||
font-size: 75%;
|
||||
/* 17px is approx. the default line-height as measured on Windows 7 Segoe UI.
|
||||
12px is 75% of approx. the default font-size as measured on Windows 7 Segoe UI.
|
||||
The 17/12 is here to convert em from units of font-size to units of
|
||||
line-height. The goal here is to initialize at the height of a
|
||||
three-line snippet to reduce visual moving/flickering. */
|
||||
min-height: -moz-calc(17/12 * 3em);
|
||||
}
|
||||
|
||||
#launcher {
|
||||
|
@ -268,9 +256,8 @@ body[narrow] #restorePreviousSession {
|
|||
|
||||
.launchButton::before {
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 0 auto 6px;
|
||||
margin-bottom: 6px;
|
||||
line-height: 0; /* remove extra vertical space due to non-zero font-size */
|
||||
}
|
||||
|
||||
|
|
|
@ -165,15 +165,6 @@ function setupSearchEngine()
|
|||
logoElt.alt = gSearchEngine.name;
|
||||
}
|
||||
|
||||
// The "autofocus" attribute doesn't focus the form element
|
||||
// immediately when the element is first drawn, so the
|
||||
// attribute is also used for styling when the page first loads.
|
||||
let searchText = document.getElementById("searchText");
|
||||
searchText.addEventListener("blur", function searchText_onBlur(e) {
|
||||
searchText.removeEventListener("blur", searchText_onBlur);
|
||||
e.target.removeAttribute("autofocus");
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function loadSnippets()
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
href="chrome://branding/content/icon16.png"/>
|
||||
<link rel="stylesheet" type="text/css" media="all"
|
||||
href="chrome://browser/content/abouthome/aboutHome.css"/>
|
||||
|
||||
<script type="text/javascript;version=1.8"
|
||||
src="chrome://browser/content/abouthome/aboutHome.js"/>
|
||||
</head>
|
||||
|
||||
<body dir="&locale.dir;">
|
||||
|
@ -64,8 +67,5 @@
|
|||
</div>
|
||||
|
||||
<a id="aboutMozilla" href="http://www.mozilla.org/about/"/>
|
||||
|
||||
<script type="text/javascript;version=1.8"
|
||||
src="chrome://browser/content/abouthome/aboutHome.js"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче