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. */ /* 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 { .item-title {
margin: 1px 0 0; margin: 1px 0 0;
margin-inline-end: 6px; margin-inline-end: 6px;
} }
.search-box { .search-box {
-moz-appearance: textfield; -moz-appearance: textfield;
cursor: text; cursor: text;

View File

@ -11,10 +11,6 @@
-moz-font-smoothing-background-color: -moz-mac-source-list; -moz-font-smoothing-background-color: -moz-mac-source-list;
} }
.item {
color: -moz-DialogText;
}
.item-title-container { .item-title-container {
box-sizing: border-box; box-sizing: border-box;
align-items: center; align-items: center;
@ -22,11 +18,6 @@
font-size: 12px; font-size: 12px;
} }
.item.selected > .item-title-container {
color: HighlightText;
font-weight: bold;
}
.item.selected > .item-title-container { .item.selected > .item-title-container {
-moz-appearance: -moz-mac-source-list-selection; -moz-appearance: -moz-mac-source-list-selection;
-moz-font-smoothing-background-color: -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; -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 { .item.selected > .item-title-container {
color: -moz-dialogtext;
font-weight: 500;
}
.item.selected:focus > .item-title-container {
color: #fff; color: #fff;
font-weight: bold;
} }
} }

View File

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

View File

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