X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fextensions%2Fextensions.css;h=8b770335b78565d0462a4b6ca6da10cf7cabd07d;hp=c11da816066ed83ca42503b9ebdc3d866501995f;hb=569543b3d2d5099d602cc6644b026ee2adf3e00a;hpb=f0c3317fc33ea1c50127a9f77d81659861a8e9e1 diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index c11da816..8b770335 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -35,32 +35,73 @@ * * ***** END LICENSE BLOCK ***** */ - -.pane-splitter { - -moz-appearance: none; - border: none; - -moz-border-start: 1px solid #666699; - background-color: transparent; - background-image: none; - min-width: 1px; +#addons-page { + background-color: #CCD0DD; + margin: 20px; } -.view-pane { +#view-port { background-color: #FFFFFF; + border: 1px solid #666699; } +/*** global warnings ***/ + +.global-warning { + -moz-box-align: center; + padding: 0 8px; + color: #000000; + font-weight: bold; +} + +#addons-page[warning] .global-warning-container { + background-color: #FFFFCC; +} + +#detail-view .global-warning { + padding: 4px 12px; + border-bottom: 1px solid #9999CC; +} + +/*** 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-appearance: none; + border-width: 1px; + -moz-border-end-width: 0; + border-style: solid; + border-color: transparent; padding: 10px 4px; -moz-box-align: center; overflow: hidden; @@ -81,8 +122,9 @@ } .category[selected] { - background-color: #9999CC; + background-color: #FFFFFF; color: #000000; + border-color: #666699; } .category-name { @@ -94,7 +136,6 @@ padding: 2px 8px; margin: 6px 0px; border: 1px outset #666699; - /* -moz-border-radius: 100%; */ color: #FFFFFF; font-weight: bold; text-align: center; @@ -136,12 +177,8 @@ /*** header ***/ #header { - background-color: #666699; - border: 1px inset #666699; - padding: 8px; - margin: 0px; - -moz-box-align: center; - height: 4.5em; + margin-bottom: 20px; + height: 2em; } #header-name, #header-link { @@ -165,8 +202,11 @@ -moz-margin-end: 6px; } +#header-searching { + list-style-image: url("chrome://global/skin/icons/loading.gif"); +} + .view-header { - background: #9999CC; padding: 4px; margin: 0px; border-bottom: 1px solid #666699; @@ -183,7 +223,6 @@ -moz-appearance: none; border: none; background-color: transparent; - /* -moz-border-radius: 100%; */ padding: 0px 6px; margin: 0px 6px; min-width: 12px !important; @@ -222,163 +261,102 @@ /*** list ***/ .list { - -moz-appearance: none; margin: 0px; border: none; + background-color: transparent; } -.addon[status="installed"], .addon[status="installing"] { - background-color: #CCD0DD; - /* -moz-border-radius: 10px; */ - border: 1px solid #9999CC; - padding: 6px 7px; - margin: 3px 8px; +.addon { + border-bottom: 1px solid #9999CC; + padding: 5px; } .addon[status="installing"] { -moz-box-align: center; - border-color: #336699; -} - -.addon[selected]:not([status="uninstalled"]) { - background: #DDDDDD; - border-style: inset; - color: inherit; -} - -.addon[status="installed"][selected]:not([pending="true"]) { - border: none; - padding: 8px 9px; -} - -.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 { - /* -moz-border-radius: 100%; */ - 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: #CCD0DD; - border: 1px outset #CCD0DD; -} - -.addon[selected] .toggle-more:hover { - background-color: #CCD0DD; - border: 1px outset #CCD0DD; -} - -.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: #808000; +} + +.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: #33FF33; } -.addon[selected] .warning-icon { - opacity: 1; +.addon-view[notification="warning"] { + background-color : #FFFFCC; } -.addon .details-container { - -moz-box-align: end; - -moz-margin-start: 20px; +.addon-view[notification="error"] { + background-color: #FFD0DD; } -.addon .control-container { - -moz-box-align: center; - -moz-box-pack: end; - margin-top: 6px; +.addon-view[notification="info"] { + background-color: #9999CC; } -.addon[selected] .details-container { - border-color: #9999CC; +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + background-color: #CCFFDD; } +.addon-view[pending="disable"], +.addon-view[pending="uninstall"] { + background-color: #808080; +} /*** item - uninstalled ***/ @@ -390,7 +368,7 @@ -moz-box-align: center; padding: 4px 20px; background-color: #808080; - -moz-border-radius: 8px; + border-radius: 8px; font-size: 120%; } @@ -399,16 +377,39 @@ } - /*** search view ***/ -.search-filter { - padding: 20px; +#search-filter { + padding: 5px 20px; -moz-box-align: center; background-color: #FFFFFF; font-size: 120%; } +#search-filter-label { + font-weight: bold; + color: #808080; +} + +.search-filter-radio { + -moz-appearance: none; + padding: 0px 6px; + margin: 0px 3px; + border-radius: 10000px; +} + +.search-filter-radio[selected] { + background-color: #3366699; + color: #000000; +} + +.search-filter-radio .radio-check-box1 { + display: none; +} + +.search-filter-radio .radio-icon { + display: none; +} /*** detail view ***/ @@ -416,15 +417,15 @@ 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; @@ -432,76 +433,92 @@ -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; + padding: 2em; + font-size: 110%; } -.detail-basicinfo { - padding: 10px 0px; - -moz-box-align: center; +#detail-notifications { + margin-bottom: 2em; } -.detail-extra { - margin-top: 20px; -} - -#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: blue; - 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 #666699; + margin-bottom: 2em; + padding: 1em; + background: #FFFFCC; } -.meta-label { - font-weight: bold; +#detail-contrib-description { + font-style: italic; + margin-bottom: 1em; +} + +#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-notification { +.detail-row, +.detail-row-complex { + border-bottom: 1px solid #808080; -moz-box-align: center; - -moz-box-pack: center; - margin: 0px 50px; - padding: 4px 20px; - background-color: #FFFFCC; - /* -moz-border-radius: 8px; */ - font-size: 120%; - border: 1px solid #666699; +} + +.detail-row-value { + -moz-margin-start: 0; } @@ -547,7 +564,6 @@ .download-progress { background-color: #CCD0DD; - /* -moz-border-radius: 100%; */ border: 1px solid #808080; width: 200px; height: 24px; @@ -568,12 +584,14 @@ 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 { @@ -587,10 +605,10 @@ -moz-appearance: none; background-color: #CCD0DD; border-width: 1px 0px 0px 1px; + padding-right: 1px; border-style: solid; -moz-border-top-colors: #FFFFFF; -moz-border-left-colors: #FFFFFF; - /* -moz-border-radius: 100%; */ min-width: 16px; width: 16px; height: 16px; @@ -628,27 +646,18 @@ 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; border: none; text-decoration: underline; - color: blue; + color: #CCCCFF; cursor: pointer; min-width: 0; + margin: 0 6px; }