Bug 1172240 - Add win10 media queries. r=bwinton

This commit is contained in:
Richard Marti 2015-06-10 15:11:00 +02:00
Родитель 370a7f4705
Коммит 2fba06b156
12 изменённых файлов: 51 добавлений и 26 удалений

Просмотреть файл

@ -100,8 +100,8 @@
}
}
/* Win8 and beyond. */
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
#unifinder-search-field:not(:-moz-lwtheme),
#view-task-edit-field:not(:-moz-lwtheme),
#task-text-filter-field:not(:-moz-lwtheme),

Просмотреть файл

@ -75,7 +75,8 @@
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
button,
#addressbookList {
background-color: hsla(210, 4%, 10%, .08);

Просмотреть файл

@ -155,7 +155,8 @@ toolbox[labelalign="end"] .toolbarbutton-menubutton-button {
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
.toolbarbutton-1:not([type="menu-button"]),
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
@ -385,8 +386,8 @@ toolbox[labelalign="end"] > toolbar[mode="full"] .toolbarbutton-1
}
}
/* Win8 and beyond. */
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
#peopleSearchInput:not(:-moz-lwtheme) {
background-color: hsla(0, 0%, 100%, .9);
border: 1px solid transparent;

Просмотреть файл

@ -127,7 +127,8 @@
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
attachmentitem {
padding: 1px;
border-width: 1px;

Просмотреть файл

@ -212,7 +212,8 @@
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
.statusMessageToolbarItem {
border-radius: 0;
}

Просмотреть файл

@ -248,7 +248,8 @@ toolbox[labelalign="end"] .toolbarbutton-menubutton-button {
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
.findbar-button,
.toolbarbutton-1:not([type="menu-button"]),
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
@ -817,7 +818,8 @@ treechildren::-moz-tree-image(subscribed-news) {
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
.aw-menulist {
margin: 1px;
-moz-margin-end: 4px;

Просмотреть файл

@ -16,9 +16,20 @@
-moz-margin-end: 3px;
}
#messengerWindow {
-moz-appearance: -moz-win-borderless-glass;
background: transparent;
@media (-moz-os-version: windows-vista),
(-moz-os-version: windows-win7) {
#messengerWindow {
-moz-appearance: -moz-win-borderless-glass;
background-color: transparent;
}
}
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
#messengerWindow {
-moz-appearance: -moz-win-glass;
background-color: transparent;
}
}
/* Artificially draw window borders that are covered by lwtheme,
@ -269,7 +280,8 @@ treechildren::-moz-tree-image(junkStatusCol) {
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
menulist {
background-color: hsla(210, 4%, 10%, .08);
border-color: hsla(210, 4%, 10%, .1);
@ -338,13 +350,16 @@ treechildren::-moz-tree-image(junkStatusCol) {
}
}
@media (-moz-os-version: windows-win8) {
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
#folderTree {
background-color: -moz-Dialog;
}
}
@media (-moz-windows-default-theme) and (-moz-windows-compositor) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
(-moz-windows-default-theme) and (-moz-os-version: windows-win7),
(-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
#messengerWindow[sizemode=normal] #tabpanelcontainer {
border: 1px solid rgba(10%, 10%, 10%, .4);
border-top: none;

Просмотреть файл

@ -232,7 +232,8 @@
}
}
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
.toolbarbutton-1.msgHeaderView-button,
.toolbarbutton-1.msgHeaderView-button > .toolbarbutton-menubutton-button,
.toolbarbutton-1.msgHeaderView-button > .toolbarbutton-menubutton-dropmarker {

Просмотреть файл

@ -108,8 +108,8 @@ treechildren::-moz-tree-cell-text {
}
}
/* Win8 and beyond. */
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
#searchInput:not(:-moz-lwtheme),
#IMSearchInput:not(:-moz-lwtheme),
.remote-gloda-search:not(:-moz-lwtheme) {

Просмотреть файл

@ -145,7 +145,8 @@
}
}
@media (-moz-os-version: windows-win8) {
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
.findbar-button,
.toolbarbutton-1:not([type="menu-button"]),
.toolbarbutton-1 > .toolbarbutton-menubutton-button,
@ -456,7 +457,8 @@ toolbox[labelalign="end"] > toolbar[mode="full"] .toolbarbutton-1 .toolbarbutton
}
}
@media (-moz-os-version: windows-win8) {
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
@media not all and (-moz-windows-default-theme) {
#messengerWindow:not([tabsintitlebar]) #tabs-toolbar:not(:-moz-lwtheme),
#messengerWindow:not([tabsintitlebar]) #mail-menubar >
@ -723,7 +725,8 @@ toolbar[iconsize="large"]:not([mode="text"]) .badgeButton-badge {
-moz-padding-end: 0.5em;
}
@media (-moz-os-version: windows-win8) {
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
#appmenuSecondaryPane {
--appMenu-bg-color: -moz-dialog;
--appMenu-bg-box-shadow: ThreeDShadow;

Просмотреть файл

@ -223,8 +223,8 @@
}
}
/* Win8 and beyond. */
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
(-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
#qfb-qs-textbox:not(:-moz-lwtheme) {
background-color: hsla(0, 0%, 100%, .9);
border: 1px solid transparent;

Просмотреть файл

@ -14,7 +14,8 @@
}
}
@media (-moz-os-version: windows-win8) {
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
@media not all and (-moz-windows-default-theme) {
#tabs-toolbar:not(:-moz-lwtheme) {
color: CaptionText;
@ -61,7 +62,6 @@
list-style-image: url(chrome://messenger/skin/icons/mainwindow-dropdown-arrow-inverted.png);
}
/* Apply only on Win8 */
@media (-moz-windows-default-theme) and (-moz-os-version: windows-win8) {
#messengerWindow[darkwindowframe="true"]
#tabs-toolbar:not(:-moz-lwtheme):not(:-moz-window-inactive),