Bug 1485678 - Clean up synced tabs sidebar styling. r=dao

This commit is contained in:
Tim Nguyen 2018-08-23 15:22:22 +01:00
parent 669319bc29
commit 0c4e2828e6
4 changed files with 5 additions and 34 deletions

View File

@ -6,22 +6,11 @@
/* These styles are intended to mimic XUL trees and the XUL search box. */
html {
background-color: -moz-Field;
color: -moz-FieldText;
box-sizing: border-box;
}
.item {
padding-inline-end: 0;
}
.item-title {
margin: 1px 0 0;
margin-inline-end: 6px;
}
.search-box {
-moz-appearance: textfield;
cursor: text;

View File

@ -11,10 +11,6 @@
-moz-font-smoothing-background-color: -moz-mac-source-list;
}
.item {
color: -moz-DialogText;
}
.item-title-container {
box-sizing: border-box;
align-items: center;
@ -22,11 +18,6 @@
font-size: 12px;
}
.item.selected > .item-title-container {
color: HighlightText;
font-weight: bold;
}
.item.selected > .item-title-container {
-moz-appearance: -moz-mac-source-list-selection;
-moz-font-smoothing-background-color: -moz-mac-source-list-selection;
@ -37,14 +28,10 @@
-moz-font-smoothing-background-color: -moz-mac-active-source-list-selection;
}
@media (-moz-mac-yosemite-theme) {
@media (-moz-mac-yosemite-theme: 0) {
.item.selected > .item-title-container {
color: -moz-dialogtext;
font-weight: 500;
}
.item.selected:focus > .item-title-container {
color: #fff;
font-weight: bold;
}
}

View File

@ -6,13 +6,15 @@
html {
height: 100%;
box-sizing: border-box;
}
body {
height: 100%;
margin: 0;
font: message-box;
color: #333333;
background-color: -moz-Field;
color: -moz-FieldText;
-moz-user-select: none;
}

View File

@ -6,15 +6,8 @@
/* These styles are intended to mimic XUL trees and the XUL search box. */
.item {
padding-inline-end: 0;
}
.item-title {
margin: 1px 0 0;
}
.item-title {
margin-inline-end: 6px;
}