Permalink
Browse files

Support border-radius and other CSS3 properties (without -moz-prefix)

  • Loading branch information...
piroor committed Feb 28, 2012
1 parent 6d9d89c commit 0847c2eafb17acf46c8707c4c47c8a51b25e6bc4
@@ -20,14 +20,15 @@
.tabcatalog-thumbnail-toolbar-item,
.tabcatalog-thumbnail-toolbar-item > .toolbarbutton-icon {
- margin: 0 !important;
- padding: 0 !important;
+ appearance: none !important;
+ -moz-appearance: none !important;
border-width: 0 !important;
- min-width: 16px !important;
+ height: 16px !important;
+ margin: 0 !important;
min-height: 16px !important;
+ min-width: 16px !important;
+ padding: 0 !important;
width: 16px !important;
- height: 16px !important;
- -moz-appearance: none !important;
}
.tabcatalog-thumbnail-toolbar-item {
@@ -1,10 +1,12 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#tabcatalog-thumbnail-panel {
- background: rgba(0, 0, 0, 0.45) none;
+ appearance: none;
-moz-appearance: none;
- -moz-border-radius: 16px 16px 16px 16px;
+ background: rgba(0, 0, 0, 0.45) none;
border: 0 none;
+ border-radius: 16px 16px 16px 16px;
+ -moz-border-radius: 16px 16px 16px 16px;
margin: 0;
padding: 0;
}
@@ -157,20 +157,21 @@
.tabcatalog-thumbnail-header-progress {
+ appearance: none;
+ -moz-appearance: none;
+ border: none;
height: 0.4em;
- min-height: 0.4em;
+ margin-bottom: -0.2em;
+ margin-top: 0.2em;
max-height: 0.4em;
+ min-height: 0.4em;
min-width: 0;
- -moz-appearance: none;
- border: none;
outline: none;
-
position: relative;
- margin-top: 0.2em;
- margin-bottom: -0.2em;
}
.tabcatalog-thumbnail-header-progress > .progress-bar,
.tabcatalog-thumbnail-header-progress > .progress-remainder {
+ appearance: none;
-moz-appearance: none;
}
@@ -195,6 +196,7 @@
.tabcatalog-scrollbar-thumb {
background: rgba(255, 255, 255, 0.7);
border: 1px rgba(80, 80, 80, 0.7) solid;
+ box-sizing: border-box;
-moz-box-sizing: border-box;
cursor: -moz-grab;
margin-left: -1px;
@@ -203,6 +205,7 @@
.tabcatalog-scrollbar-slider {
background: rgba(0, 0, 0, 0.2);
+ box-sizing: border-box;
-moz-box-sizing: border-box;
cursor: normal;
margin: 16px 0;
@@ -211,8 +214,10 @@
#tabcatalog-thumbnail-panel:-moz-system-metric(windows-compositor) {
- background: transparent;
+ appearance: -moz-win-glass;
-moz-appearance: -moz-win-glass;
+ background: transparent;
+ border-radius: 0;
-moz-border-radius: 0;
border: none;
}
@@ -21,11 +21,13 @@
/* ::::: 16px primary toolbar buttons ::::: */
.tabcatalog-thumbnail-toolbar-item {
+ box-orient: vertical;
-moz-box-orient: vertical;
min-width: 0;
list-style-image: url("jar:resource:///chrome/classic.jar!/skin/classic/browser/Toolbar-small.png");
}
.tabcatalog-thumbnail-toolbar-item[chromedir="rtl"] {
+ box-orient: vertical;
-moz-box-orient: vertical;
min-width: 0;
list-style-image: url("jar:resource:///chrome/classic.jar!/skin/classic/browser/Toolbar-rtl-small.png");

0 comments on commit 0847c2e

Please sign in to comment.