Bug 1400165 - Increase padding of sidebar search container, adjust sidebar font-size on MacOS. r=dao

MozReview-Commit-ID: 1c1s9eqt1Ri

--HG--
extra : rebase_source : 42dba87eae997ebd7f81572e459960e7facdda2d
This commit is contained in:
Nihanth Subramanya 2017-09-21 05:52:37 +05:30
parent ae55f5a197
commit 0778b363e6
4 changed files with 10 additions and 4 deletions

View File

@ -11,7 +11,7 @@
}
#sidebar-search-container {
padding: 4px;
padding: 8px;
}
#search-box {

View File

@ -730,11 +730,11 @@ html|span.ac-emphasize-text-url {
#sidebar-box {
-moz-appearance: -moz-mac-source-list;
-moz-font-smoothing-background-color: -moz-mac-source-list;
/* Default font size is 11px on mac, so this is 12px */
font-size: 1.0909rem;
}
#sidebar-header {
/* system font size is a bit smaller in mac, so need more ems. */
font-size: 1.4545em;
border-bottom: 1px solid hsla(240, 5%, 5%, .1);
background-color: transparent;
}

View File

@ -56,6 +56,12 @@
display: none;
}
#sidebar-search-container {
/* Native searchbar styling already adds 4px margin on Mac, so
* adding 4px padding results in 8px of total whitespace. */
padding: 4px;
}
.sidebar-placesTreechildren::-moz-tree-twisty {
-moz-appearance: none;
padding: 0 2px;

View File

@ -10,7 +10,7 @@
}
#sidebar-search-container {
padding: 4px;
padding: 8px;
}
.sidebar-placesTree {