diff options
| author | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 22:57:22 +0100 |
|---|---|---|
| committer | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 22:57:22 +0100 |
| commit | 036174b6420464474280f3e0877bbd7ff35d6743 (patch) | |
| tree | 53017796551154e46ea5a2bd0b065ad9a3200878 /src/chrome/browser/browser.css | |
| parent | e2ebd64bfcf1de349fb90ab6b9f40e1cb79c67b3 (diff) | |
Use more SVGs in /browser
Diffstat (limited to 'src/chrome/browser/browser.css')
| -rw-r--r-- | src/chrome/browser/browser.css | 55 |
1 files changed, 20 insertions, 35 deletions
diff --git a/src/chrome/browser/browser.css b/src/chrome/browser/browser.css index 6b949da..088061b 100644 --- a/src/chrome/browser/browser.css +++ b/src/chrome/browser/browser.css | |||
| @@ -235,7 +235,7 @@ | |||
| 235 | 235 | ||
| 236 | #appmenu_bookmarks { | 236 | #appmenu_bookmarks { |
| 237 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | 237 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 238 | -moz-image-region: rect(0px 48px 16px 32px); | 238 | -moz-image-region: rect(0px 32px 16px 16px); |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | #appmenu_privateBrowsing, | 241 | #appmenu_privateBrowsing, |
| @@ -864,17 +864,16 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, | |||
| 864 | background-color: transparent; | 864 | background-color: transparent; |
| 865 | border: none; | 865 | border: none; |
| 866 | width: auto; | 866 | width: auto; |
| 867 | list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.png"); | 867 | list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.svg#closed"); |
| 868 | -moz-image-region: rect(0px, 11px, 14px, 0px); | ||
| 869 | } | 868 | } |
| 870 | 869 | ||
| 871 | .urlbar-history-dropmarker:hover { | 870 | .urlbar-history-dropmarker:not(:hover):not(:active):not([open="true"]) { |
| 872 | -moz-image-region: rect(0px, 22px, 14px, 11px); | 871 | opacity: 0.15; |
| 873 | } | 872 | } |
| 874 | 873 | ||
| 875 | .urlbar-history-dropmarker:hover:active, | 874 | .urlbar-history-dropmarker:active, |
| 876 | .urlbar-history-dropmarker[open="true"] { | 875 | .urlbar-history-dropmarker[open="true"] { |
| 877 | -moz-image-region: rect(0px, 33px, 14px, 22px); | 876 | list-style-image: url("chrome://browser/skin/urlbar-history-dropmarker.svg#open"); |
| 878 | } | 877 | } |
| 879 | 878 | ||
| 880 | 879 | ||
| @@ -962,15 +961,14 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon | |||
| 962 | .ac-result-type-bookmark, | 961 | .ac-result-type-bookmark, |
| 963 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | 962 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { |
| 964 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | 963 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); |
| 965 | -moz-image-region: rect(0px 48px 16px 32px); | 964 | -moz-image-region: rect(0px 32px 16px 16px); |
| 966 | width: 16px; | 965 | width: 16px; |
| 967 | height: 16px; | 966 | height: 16px; |
| 968 | } | 967 | } |
| 969 | 968 | ||
| 970 | .ac-result-type-keyword, | 969 | .ac-result-type-keyword, |
| 971 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | 970 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { |
| 972 | list-style-image: url(chrome://global/skin/icons/Search-glass.png); | 971 | list-style-image: url(chrome://global/skin/icons/Search-glass.svg); |
| 973 | -moz-image-region: rect(0px 32px 16px 16px); | ||
| 974 | width: 16px; | 972 | width: 16px; |
| 975 | height: 16px; | 973 | height: 16px; |
| 976 | } | 974 | } |
| @@ -1016,15 +1014,12 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- | |||
| 1016 | border-top: 1px solid GrayText; | 1014 | border-top: 1px solid GrayText; |
| 1017 | } | 1015 | } |
| 1018 | 1016 | ||
| 1019 | |||
| 1020 | |||
| 1021 | #go-button, | 1017 | #go-button, |
| 1022 | #urlbar > toolbarbutton { | 1018 | #urlbar > toolbarbutton { |
| 1023 | -moz-appearance: none; | 1019 | -moz-appearance: none; |
| 1024 | padding: 0 2px; | 1020 | padding: 0 2px; |
| 1025 | background-origin: border-box; | 1021 | background-origin: border-box; |
| 1026 | border: none; | 1022 | border: none; |
| 1027 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | ||
| 1028 | } | 1023 | } |
| 1029 | 1024 | ||
| 1030 | #go-button { | 1025 | #go-button { |
| @@ -1032,15 +1027,11 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- | |||
| 1032 | } | 1027 | } |
| 1033 | 1028 | ||
| 1034 | #urlbar-reload-button { | 1029 | #urlbar-reload-button { |
| 1035 | -moz-image-region: rect(0, 14px, 14px, 0); | 1030 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#reload"); |
| 1036 | } | ||
| 1037 | |||
| 1038 | #urlbar-reload-button:not([disabled]):hover { | ||
| 1039 | -moz-image-region: rect(14px, 14px, 28px, 0); | ||
| 1040 | } | 1031 | } |
| 1041 | 1032 | ||
| 1042 | #urlbar-reload-button:not([disabled]):hover:active { | 1033 | #urlbar-reload-button:not([disabled]):hover:active { |
| 1043 | -moz-image-region: rect(28px, 14px, 42px, 0); | 1034 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#reload-active"); |
| 1044 | } | 1035 | } |
| 1045 | 1036 | ||
| 1046 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { | 1037 | #urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
| @@ -1049,17 +1040,12 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- | |||
| 1049 | 1040 | ||
| 1050 | #go-button, | 1041 | #go-button, |
| 1051 | #urlbar-go-button { | 1042 | #urlbar-go-button { |
| 1052 | -moz-image-region: rect(0, 42px, 14px, 28px); | 1043 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#go"); |
| 1053 | } | ||
| 1054 | |||
| 1055 | #go-button:hover, | ||
| 1056 | #urlbar-go-button:hover { | ||
| 1057 | -moz-image-region: rect(14px, 42px, 28px, 28px); | ||
| 1058 | } | 1044 | } |
| 1059 | 1045 | ||
| 1060 | #go-button:hover:active, | 1046 | #go-button:hover:active, |
| 1061 | #urlbar-go-button:hover:active { | 1047 | #urlbar-go-button:hover:active { |
| 1062 | -moz-image-region: rect(28px, 42px, 42px, 28px); | 1048 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#go-active"); |
| 1063 | } | 1049 | } |
| 1064 | 1050 | ||
| 1065 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, | 1051 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
| @@ -1068,18 +1054,20 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- | |||
| 1068 | } | 1054 | } |
| 1069 | 1055 | ||
| 1070 | #urlbar-stop-button { | 1056 | #urlbar-stop-button { |
| 1071 | -moz-image-region: rect(0, 28px, 14px, 14px); | 1057 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#stop"); |
| 1072 | } | 1058 | } |
| 1073 | 1059 | ||
| 1074 | #urlbar-stop-button:not([disabled]):hover { | ||
| 1075 | -moz-image-region: rect(14px, 28px, 28px, 14px); | ||
| 1076 | } | ||
| 1077 | 1060 | ||
| 1078 | #urlbar-stop-button:hover:active { | 1061 | #urlbar-stop-button:hover:active { |
| 1079 | -moz-image-region: rect(28px, 28px, 42px, 14px); | 1062 | list-style-image: url("chrome://browser/skin/reload-stop-go.svg#stop-active"); |
| 1080 | } | 1063 | } |
| 1081 | 1064 | ||
| 1082 | 1065 | #urlbar-reload-button:not(:hover):not(:active), | |
| 1066 | #urlbar-stop-button:not(:hover):not(:active), | ||
| 1067 | #urlbar-go-button:not(:hover):not(:active), | ||
| 1068 | #go-button:not(:hover):not(:active) { | ||
| 1069 | opacity: .6; | ||
| 1070 | } | ||
| 1083 | 1071 | ||
| 1084 | #page-report-button { | 1072 | #page-report-button { |
| 1085 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | 1073 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); |
| @@ -1095,9 +1083,6 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- | |||
| 1095 | -moz-image-region: rect(0, 48px, 16px, 32px); | 1083 | -moz-image-region: rect(0, 48px, 16px, 32px); |
| 1096 | } | 1084 | } |
| 1097 | 1085 | ||
| 1098 | |||
| 1099 | |||
| 1100 | |||
| 1101 | #social-share-panel > iframe { | 1086 | #social-share-panel > iframe { |
| 1102 | background: linear-gradient(to bottom, #f0f4f7, #fafbfc); | 1087 | background: linear-gradient(to bottom, #f0f4f7, #fafbfc); |
| 1103 | width: 300px; | 1088 | width: 300px; |
