X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=dda0cce41c81ab984825379170c305b607363ea4;hp=9d59e47844d51fcb1e6ec3a27a6376016d5c6664;hb=0de0775005cca76dd0cfe92d4f905109a9227092;hpb=f0c3317fc33ea1c50127a9f77d81659861a8e9e1 diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 9d59e478..dda0cce4 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -35,38 +35,115 @@ * * ***** 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; +.nav-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + min-width: 0; + -moz-margin-end: 0; +} + +#back-btn:-moz-locale-dir(ltr), +#forward-btn:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 25px 63px 0px); +} + +#back-btn[disabled="true"]:-moz-locale-dir(ltr), +#forward-btn[disabled="true"]:-moz-locale-dir(rtl) { + -moz-image-region: rect(42px 50px 63px 25px); } +#back-btn:-moz-locale-dir(rtl), +#forward-btn:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 25px 84px 0px); +} + +#back-btn[disabled="true"]:-moz-locale-dir(rtl), +#forward-btn[disabled="true"]:-moz-locale-dir(ltr) { + -moz-image-region: rect(63px 50px 84px 25px); +} + +/*** 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; @@ -81,8 +158,8 @@ } .category[selected] { - background-color: #008484; - color: #FFCF00; + color: FFCF00; + border-color: #9C9CFF; } .category-name { @@ -93,7 +170,7 @@ background-color: #E7ADE7; padding: 2px 8px; margin: 6px 0px; - -moz-border-radius: 100%; + border-radius: 10000px; color: #000000; font-weight: bold; text-align: center; @@ -130,17 +207,19 @@ #category-plugins > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); } +#category-availableUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-available.png"); +} +#category-recentUpdates > .category-icon { + list-style-image: url("chrome://mozapps/skin/extensions/category-recent.png"); +} /*** 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 { @@ -164,10 +243,21 @@ -moz-margin-end: 6px; } +#header-searching { + list-style-image: url("chrome://global/skin/icons/loading.gif"); +} + +#header-utils-btn { + min-width: 4.5em; + list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); +} + +#header-utils-btn:-moz-focusring > .button-box { + border: none; +} + .view-header { - background-color: #9C9CFF; - color: #000000; - -moz-border-radius: 8px; + border-radius: 8px; padding: 0px 4em; margin: 3px; } @@ -185,7 +275,7 @@ 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; @@ -226,159 +316,141 @@ /*** 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; +.details { + cursor: pointer; + margin: 0; + -moz-margin-start: 10px; } -.addon[status="installed"][pending="true"] { - border-color: red; +.icon-container { + width: 48px; + height: 48px; + margin: 7px; } -.addon[selected] { - /* color: -moz-dialogtext; */ +.icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 48px; + max-height: 48px; } -.addon[selected] .text-link { - /* color: -moz-nativehyperlinktext; */ +.addon-view[type="theme"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } -.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; */ - cursor: pointer; +.addon-view[type="locale"] .icon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); } -.addon .toggle-more > .button-box > .button-icon { - -moz-padding-start: 4px; +.addon-view[type="plugin"] .icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } -.addon[show-extra] .toggle-more { - list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +.name-container { + font-size: 150%; + margin-bottom: 0px; } -.addon .toggle-more:hover { - /* background-color: #FFCF00; - color: #FFCF00; */ +.description-container { + margin-top: 8px; + -moz-margin-start: 6px; } -.addon[selected] .toggle-more:hover { - /* background-color: #FFCF00; - color: #FFCF00; */ +.description { + margin: 0; } -.addon .extra-details { - height: 0px; - overflow: hidden; - opacity: 0; - text-align: end; - -moz-transition-property: height, opacity; - -moz-transition-duration: 0.5s, 0.5s; +.warning, .pending, .error, .info { + -moz-margin-start: 48px; } -.addon[show-extra] .extra-details { - opacity: 1; - -moz-transition-property: height, opacity; - -moz-transition-duration: 0.5s, 0.5s; -} - -.addon .icon { - margin: 7px 5px; - width: 32px; - height: 32px; - list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); +.addon-view:not([selected]) .warning { + color: #FFCF00; } -.addon[type="theme"] .icon { - list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +.addon-view:not([selected]) .error { + color: #FF0000; } -.addon[type="locale"] .icon { - list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +.addon-view:not([selected]) .pending { + color: #008484; } -.addon[type="plugin"] .icon { - list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +.addon-view[notification="warning"] { + background-color : #FFCF00; + color: #000000; } -.addon .name-container { - -moz-box-align: end; +.addon-view[notification="error"] { + background-color: #FF0000; + color: #000000; } -.addon .name, -.addon .version { - font-size: 150%; - margin-bottom: 0px; +.addon-view[notification="info"] { + background-color: #9C9CFF; + color: #000000; } -.addon .disabled-postfix { - font-size: 130%; +.addon-view[pending="enable"], +.addon-view[pending="upgrade"], +.addon-view[pending="install"] { + background-color: #008484; } -.addon .description { - margin-top: 8px; - -moz-margin-start: 6px; +.addon-view[pending="disable"], +.addon-view[pending="uninstall"] { + color: #8050B0; } -.addon .warning { - color: #FF0000; +.addon .relnotes-container { -moz-box-align: start; + height: 0px; + overflow: hidden; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; } -.addon .warning-icon { - opacity: 0.7; - list-style-image: url("chrome://global/skin/icons/warning-16.png"); +.addon[show-relnotes] .relnotes-container { + opacity: 1; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; } -.addon[selected] .warning-icon { - opacity: 1; +.addon .relnotes-header { + font-weight: bold; + margin: 10px 0px; } -.addon .details-container { - -moz-box-align: end; - -moz-margin-start: 20px; +.addon .relnotes-toggle { + border: none; + background: transparent; + font-weight: bold; + -moz-box-direction: reverse; + cursor: pointer; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.addon .control-container { - -moz-box-align: center; - -moz-box-pack: end; - margin-top: 6px; +.addon .relnotes-toggle > .button-box > .button-icon { + -moz-padding-start: 4px; } -.addon[selected] .details-container { - border-color: #FFCF00; +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); } @@ -392,7 +464,7 @@ -moz-box-align: center; padding: 4px 20px; background-color: #8050B0; - -moz-border-radius: 8px; + border-radius: 8px; font-size: 120%; } @@ -401,16 +473,43 @@ } - /*** 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; +} + +#search-allresults-link { + margin-top: 1em; + margin-bottom: 2em; +} /*** detail view ***/ @@ -418,15 +517,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; @@ -434,75 +533,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: #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; } @@ -548,7 +664,7 @@ .download-progress { background-color: #000000; - -moz-border-radius: 100%; + border-radius: 10000px; border: 1px solid #FF9F00; width: 200px; height: 24px; @@ -569,12 +685,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 { @@ -588,8 +706,9 @@ -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; @@ -627,22 +746,16 @@ font-weight: bold; } +#update-selected { + margin: 12px; +} /*** buttons ***/ -.addon-control { - padding: 0px 5px; -} - .addon-control[disabled="true"] { display: none; } -.contribute { - -moz-padding-start: 20px; - -moz-padding-end: 4px; -} - .button-link { background: transparent; border: none; @@ -650,4 +763,5 @@ color: blue; cursor: pointer; min-width: 0; + margin: 0 6px; }