*
* ***** END LICENSE BLOCK ***** */
+#addons-page {
+ background-color: #000000;
+ margin: 20px;
+}
-.pane-splitter {
- -moz-appearance: none;
- border: none;
- -moz-border-start: 1px solid #9C9CFF;
- background-color: transparent;
- background-image: none;
- min-width: 1px;
+#view-port {
+ border: 1px solid #9C9CFF;
+ border-radius: 5px;
}
-.view-pane {
- background-color: #000000;
+/*** global warnings ***/
+
+.global-warning {
+ -moz-box-align: center;
+ padding: 0 8px;
+ color: #000000;
+ font-weight: bold;
}
+#addons-page[warning] .global-warning-container {
+ background-color: #FFCF00;
+}
+
+#detail-view .global-warning {
+ padding: 4px 12px;
+ border-bottom: 3px solid #000000;
+}
+
+/*** notification icons ***/
+
+.warning-icon {
+ list-style-image: url("chrome://global/skin/icons/warning-16.png");
+ width: 16px;
+ height: 16px;
+ margin: 3px 0;
+}
+
+.error-icon {
+ list-style-image: url("chrome://global/skin/icons/error-16.png");
+ width: 16px;
+ height: 16px;
+ margin: 3px 0;
+}
+
+.pending-icon,
+.info-icon {
+ list-style-image: url("chrome://global/skin/icons/information-16.png");
+ width: 16px;
+ height: 16px;
+ margin: 3px 0;
+}
/*** category selector ***/
#categories {
-moz-appearance: none;
border: none;
- margin: 0px;
+ -moz-margin-end: -1px;
+ background-color: transparent;
+ position: relative;
}
.category {
- border: none;
- -moz-border-radius: 8px;
+ border-width: 1px;
+ -moz-border-end-width: 0;
+ border-style: solid;
+ border-color: transparent;
padding: 10px 4px;
-moz-box-align: center;
overflow: hidden;
min-height: 0px;
}
+.category:-moz-locale-dir(ltr) {
+ border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+}
+
+.category:-moz-locale-dir(rtl) {
+ border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
.category[disabled] {
height: 0px;
opacity: 0;
}
.category[selected] {
- background-color: #008484;
- color: #FFCF00;
+ color: FFCF00;
+ border-color: #9C9CFF;
}
.category-name {
background-color: #E7ADE7;
padding: 2px 8px;
margin: 6px 0px;
- -moz-border-radius: 100%;
+ border-radius: 10000px;
color: #000000;
font-weight: bold;
text-align: center;
/*** header ***/
#header {
- background-color: #FF9F00;
- -moz-border-radius: 8px;
- padding: 2px 4em;
- margin: 3px;
- -moz-box-align: center;
- height: 4.5em;
+ margin-bottom: 20px;
+ height: 2em;
}
#header-name, #header-link {
-moz-margin-end: 6px;
}
+#header-searching {
+ list-style-image: url("chrome://global/skin/icons/loading.gif");
+}
+
.view-header {
- background-color: #9C9CFF;
- color: #000000;
- -moz-border-radius: 8px;
+ border-radius: 8px;
padding: 0px 4em;
margin: 3px;
}
border-left: 3px solid #000000;
border-right: 3px solid #000000;
background-color: transparent;
- -moz-border-radius: 0;
+ border-radius: 0;
padding: 0px 6px;
margin: 0px 6px;
min-width: 12px !important;
/*** list ***/
.list {
- -moz-appearance: none;
margin: 0px;
border: none;
+ background-color: transparent;
}
-.addon[status="installed"], .addon[status="installing"] {
- background-color: #000000;
- -moz-border-radius: 10px;
- border: 1px solid #9C9CFF;
- padding: 6px 7px;
- margin: 3px;
+.addon {
+ border-bottom: 1px solid #9C9CFF;
+ padding: 5px;
}
.addon[status="installing"] {
-moz-box-align: center;
- border-color: #FF9F00;
-}
-
-.addon[selected]:not([status="uninstalled"]) {
- background-color: #008484;
- color: #FFCF00;
-}
-
-.addon[status="installed"][selected]:not([pending="true"]) {
- border: none;
- padding: 7px 8px;
}
-.addon[status="installed"][active="false"] .fade {
- opacity: 0.5;
-}
-
-.addon[status="installed"][pending="true"] {
- border-color: red;
-}
-
-.addon[selected] {
- /* color: -moz-dialogtext; */
-}
-
-.addon[selected] .text-link {
- /* color: -moz-nativehyperlinktext; */
-}
-
-.addon .toggle-more {
- padding: 0px 6px;
- margin: 0px 6px;
- min-width: 12px !important;
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
- -moz-box-direction: reverse;
- /* border: 1px solid transparent;
- background: transparent; */
+.details {
cursor: pointer;
+ margin: 0;
+ -moz-margin-start: 10px;
}
-.addon .toggle-more > .button-box > .button-icon {
- -moz-padding-start: 4px;
-}
-
-.addon[show-extra] .toggle-more {
- list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
-}
-
-.addon .toggle-more:hover {
- /* background-color: #FFCF00;
- color: #FFCF00; */
-}
-
-.addon[selected] .toggle-more:hover {
- /* background-color: #FFCF00;
- color: #FFCF00; */
-}
-
-.addon .extra-details {
- height: 0px;
- overflow: hidden;
- opacity: 0;
- text-align: end;
- -moz-transition-property: height, opacity;
- -moz-transition-duration: 0.5s, 0.5s;
-}
-
-.addon[show-extra] .extra-details {
- opacity: 1;
- -moz-transition-property: height, opacity;
- -moz-transition-duration: 0.5s, 0.5s;
+.icon-container {
+ width: 48px;
+ height: 48px;
+ margin: 7px;
}
-.addon .icon {
- margin: 7px 5px;
- width: 32px;
- height: 32px;
+.icon {
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
+ max-width: 48px;
+ max-height: 48px;
}
-.addon[type="theme"] .icon {
+.addon-view[type="theme"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
-.addon[type="locale"] .icon {
+.addon-view[type="locale"] .icon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
-.addon[type="plugin"] .icon {
+.addon-view[type="plugin"] .icon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
-.addon .name-container {
- -moz-box-align: end;
-}
-
-.addon .name,
-.addon .version {
+.name-container {
font-size: 150%;
margin-bottom: 0px;
}
-.addon .disabled-postfix {
- font-size: 130%;
-}
-
-.addon .description {
+.description-container {
margin-top: 8px;
-moz-margin-start: 6px;
}
-.addon .warning {
+.description {
+ margin: 0;
+}
+
+.warning, .pending, .error, .info {
+ -moz-margin-start: 48px;
+}
+
+.addon-view:not([selected]) .warning {
+ color: #FFCF00;
+}
+
+.addon-view:not([selected]) .error {
color: #FF0000;
- -moz-box-align: start;
}
-.addon .warning-icon {
- opacity: 0.7;
- list-style-image: url("chrome://global/skin/icons/warning-16.png");
+.addon-view:not([selected]) .pending {
+ color: #008484;
}
-.addon[selected] .warning-icon {
- opacity: 1;
+.addon-view[notification="warning"] {
+ background-color : #FFCF00;
+ color: #000000;
}
-.addon .details-container {
- -moz-box-align: end;
- -moz-margin-start: 20px;
+.addon-view[notification="error"] {
+ background-color: #FF0000;
+ color: #000000;
}
-.addon .control-container {
- -moz-box-align: center;
- -moz-box-pack: end;
- margin-top: 6px;
+.addon-view[notification="info"] {
+ background-color: #9C9CFF;
+ color: #000000;
}
-.addon[selected] .details-container {
- border-color: #FFCF00;
+.addon-view[pending="enable"],
+.addon-view[pending="upgrade"],
+.addon-view[pending="install"] {
+ background-color: #008484;
}
+.addon-view[pending="disable"],
+.addon-view[pending="uninstall"] {
+ color: #8050B0;
+}
/*** item - uninstalled ***/
-moz-box-align: center;
padding: 4px 20px;
background-color: #8050B0;
- -moz-border-radius: 8px;
+ border-radius: 8px;
font-size: 120%;
}
}
-
/*** search view ***/
-.search-filter {
- padding: 20px;
+#search-filter {
+ padding: 5px 20px;
-moz-box-align: center;
background-color: #000000;
font-size: 120%;
}
+#search-filter-label {
+ font-weight: bold;
+ color: #FFCF00;
+}
+
+.search-filter-radio {
+ padding: 0px 6px;
+ margin: 0px 3px;
+ border-radius: 10000px;
+}
+
+.search-filter-radio[selected] {
+ background-color: #008484;
+ color: #000000;
+}
+
+.search-filter-radio .radio-check-box1 {
+ display: none;
+}
+
+.search-filter-radio .radio-icon {
+ display: none;
+}
/*** detail view ***/
opacity: 0.5;
}
-#detail-view > .loading {
+#detail-view .loading {
opacity: 0;
}
-#detail-view:not([loading]) > .loading {
+#detail-view:not([loading]) .loading {
visibility: collapse;
}
-#detail-view[loading-extended] > .loading {
+#detail-view[loading-extended] .loading {
-moz-box-align: center;
-moz-box-pack: center;
opacity: 1;
-moz-transition-duration: 1s;
}
-#detail-view > .loading > image {
+#detail-view .loading > image {
list-style-image: url("chrome://global/skin/icons/loading.gif");
}
.detail-view-container {
overflow: auto;
- padding: 10px 20px;
-}
-
-.detail-basicinfo {
- padding: 10px 0px;
- -moz-box-align: center;
+ padding: 2em;
+ font-size: 110%;
}
-.detail-extra {
- margin-top: 20px;
+#detail-notifications {
+ margin-bottom: 2em;
}
-#detail-desc {
- min-height: 40px;
- margin-bottom: 20px;
+#detail-notifications .warning,
+#detail-notifications .pending,
+#detail-notifications .error,
+#detail-notifications .info {
+ -moz-margin-start: 0;
}
#detail-icon {
- width: 32px;
- height: 32px;
-moz-margin-end: 10px;
- list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
}
-#detail-view[type="theme"] #detail-icon {
- list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
+#detail-summary {
+ margin-bottom: 2em;
}
-#detail-view[type="locale"] #detail-icon {
- list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
+#detail-name-container {
+ font-size: 200%;
}
-#detail-view[type="plugin"] #detail-icon {
- list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
+#detail-screenshot {
+ -moz-margin-end: 2em;
}
-#detail-name {
- font-size: 200%;
+#detail-desc-container {
+ margin-bottom: 2em;
+ /* This is necessary to fix layout issues with multi-line descriptions, see
+ bug 592712*/
+ outline: solid transparent;
}
-#detail-screenshot {
- width: 140px;
- height: 140px;
- background-color: #9C9CFF;
- margin: 0px 10px 0px 0px;
+#detail-desc {
+ -moz-margin-start: 6px;
+ white-space: pre-wrap;
}
-.detail-prefs {
- -moz-box-align: start;
+#detail-contributions {
+ border-radius: 5px;
+ border: 1px solid #9C9CFF;
+ margin-bottom: 2em;
+ padding: 1em;
+ background: #FFCF00;
}
-.meta-label {
- font-weight: bold;
+#detail-contrib-description {
+ font-style: italic;
+ margin-bottom: 1em;
}
-#detail-notification {
+#detail-contrib-suggested {
+ color: grey;
+}
+
+#detail-contrib-button {
+ list-style-image: url("chrome://mozapps/skin/extensions/heart.png");
+}
+
+#detail-contrib-button .button-icon {
+ -moz-margin-end: 3px;
+}
+
+#detail-grid {
+ margin-bottom: 2em;
+}
+
+.detail-row,
+.detail-row-complex {
+ border-bottom: 1px solid #9C9CFF;
-moz-box-align: center;
- -moz-box-pack: center;
- margin: 0px 50px;
- padding: 4px 20px;
- background-color: #FFCF00;
- -moz-border-radius: 8px;
- font-size: 120%;
+}
+
+.detail-row-value {
+ -moz-margin-start: 0;
}
.download-progress {
background-color: #000000;
- -moz-border-radius: 100%;
+ border-radius: 10000px;
border: 1px solid #FF9F00;
width: 200px;
height: 24px;
width: 12px;
}
-.download-progress .start-cap {
- -moz-border-radius: 100% 0 0 100%;
+.download-progress .start-cap:-moz-locale-dir(ltr),
+.download-progress .end-cap:-moz-locale-dir(rtl) {
+ border-radius: 10000px 0 0 10000px;
}
-.download-progress .end-cap {
- -moz-border-radius: 0 100% 100% 0;
+.download-progress .end-cap:-moz-locale-dir(ltr),
+.download-progress .start-cap:-moz-locale-dir(rtl) {
+ border-radius: 0 10000px 10000px 0;
}
.download-progress .progress {
-moz-appearance: none;
background-color: #8050B0;
border-width: 1px 0px 0px 1px;
+ padding-right: 1px;
border-style: solid;
- -moz-border-radius: 100%;
+ border-radius: 10000px;
min-width: 16px;
width: 16px;
height: 16px;
font-weight: bold;
}
-
-/*** buttons ***/
-
-.addon-control {
- padding: 0px 5px;
-}
-
-.addon-control[disabled="true"] {
- display: none;
+#update-selected {
+ margin: 12px;
}
-.contribute {
- -moz-padding-start: 20px;
- -moz-padding-end: 4px;
-}
+/*** buttons ***/
.button-link {
background: transparent;
color: blue;
cursor: pointer;
min-width: 0;
+ margin: 0 6px;
}