/* :::::::::: button :::::::::: */
button {
- border-radius: 3px;
+ border-radius: 300px;
margin: 1px 2px;
min-width: 6.3em;
border: none;
- background-color: #000000;
- color: #FFCF00;
+ background-color: #C09070;
+ color: #000000;
text-shadow: none;
}
.button-box {
- border-radius: 3px;
+ border-radius: 300px;
border: 1px solid transparent;
padding-top: 1px;
padding-bottom: 2px;
- -moz-padding-start: 3px;
- -moz-padding-end: 4px;
+ padding-inline-start: .5em;
+ padding-inline-end: calc(.5em + 1px);
}
.button-icon {
- -moz-margin-end: 2px;
+ margin-inline-end: 2px;
}
.button-text {
/* .......... default state .......... */
-button[default="true"] > .button-box {
- font-weight: bold;
- list-style-image: url("chrome://global/skin/icons/return.gif");
- -moz-box-direction: reverse;
-}
-
-button[default="true"] > .button-box > .button-icon {
- -moz-margin-end: 0px;
- -moz-margin-start: 2px;
-}
-
-button[default="true"]:hover > .button-box,
-button[default="true"]:hover:active > .button-box {
- list-style-image: url("chrome://global/skin/icons/return-hover.gif");
+button[default="true"] {
+ background-color: #A06060;
}
-button[default="true"][disabled="true"] > .button-box {
+button[default="true"] > .button-box {
font-weight: bold;
- list-style-image: url("chrome://global/skin/icons/return-disabled.gif") !important;
}
/* .......... active/open/checked state .......... */
button[checked="true"] > .button-box {
padding-top: 2px;
padding-bottom: 1px;
- -moz-padding-start: 4px;
- -moz-padding-end: 3px;
+ padding-inline-start: calc(.5em + 1px);
+ padding-inline-end: .5em;
}
/* .......... disabled state .......... */
button[disabled="true"],
button[disabled="true"]:hover:active {
border: none;
- background-color: #000000 !important;
- color: #8050B0 !important;
+ background-color: #402858 !important;
+ color: #000000 !important;
}
button[disabled="true"] > .button-box {
padding-top: 1px !important;
padding-bottom: 2px !important;
- -moz-padding-start: 3px !important;
- -moz-padding-end: 4px !important;
+ padding-inline-start: .5em !important;
+ padding-inline-end: calc(.5em + 1px) !important;
}
/* ::::: menu/menu-button buttons ::::: */
button[type="menu-button"][open="true"] > .button-menubutton-button > .button-box {
padding-top: 2px;
padding-bottom: 1px;
- -moz-padding-start: 4px;
- -moz-padding-end: 3px;
+ padding-inline-start: calc(.5em + 1px);
+ padding-inline-end: .5em;
}
button[type="menu-button"]:hover > .button-menubutton-button,
.button-menu-dropmarker,
.button-menubutton-dropmarker {
margin: 2px;
+ margin-inline-end: 5px;
width: 11px;
height: 11px;
background-color: transparent;
border: none;
+ list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
}
+.button-menu-dropmarker,
button[type="menu-button"]:hover > .button-menubutton-dropmarker,
button[type="menu-button"]:hover:active > .button-menubutton-dropmarker,
button[type="menu-button"][open="true"] > .button-menubutton-dropmarker {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
}
/* ::::: plain buttons ::::: */
border: 0px !important;
margin: 0px !important;
padding: 0px !important;
- list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+ list-style-image: url("chrome://global/skin/tree/twisty.svg#clsd");
min-width: 0px !important;
background-color: transparent;
}
button[type="disclosure"][open="true"] {
- list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
+ list-style-image: url("chrome://global/skin/tree/twisty.svg#open");
}
/* ::::: xhtml buttons ::::: */
padding: 0px;
border: 0px none;
}
+
+/* ::::: toolbar buttons (sync look with toolbarbutton) ::::: */
+
+/* The #throbber-box rules are only needed for the SeaMonkey editor,
+ * the toolbaritem ones for buttons in customizable toolbars. */
+toolbaritem > button,
+#throbber-box > button {
+ border-radius: 3px;
+ background-color: #000000;
+ color: #FFCF00;
+}
+
+toolbaritem > button > .button-box,
+#throbber-box > button > .button-box {
+ border-radius: 3px;
+ padding-inline-start: 0;
+ padding-inline-end: 1px;
+}
+
+toolbaritem > button > button:hover:active > .button-box,
+toolbaritem > button > button[open="true"] > .button-box,
+toolbaritem > button > button[checked="true"] > .button-box,
+#throbber-box > button:hover:active > .button-box,
+#throbber-box > button > button[open="true"] > .button-box,
+#throbber-box > button > button[checked="true"] > .button-box {
+ padding-inline-start: 1px;
+ padding-inline-end: 0;
+}
+
+toolbaritem > button > button[disabled="true"] > .button-box,
+#throbber-box > button[disabled="true"] > .button-box {
+ padding-inline-start: 0 !important;
+ padding-inline-end: 1px !important;
+}