X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmozapps%2Fextensions%2Fextensions.css;h=f650d2dc994da8db4ae9dbc25b48ee2cb556cf92;hp=3a93bc315b8b953280a685750f87a8fb18a324a0;hb=f993773df903b31f33af331dc3fbd4394beed74d;hpb=72a6fd3905676b14c504bf0532ebd52906c82a4c diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 3a93bc31..f650d2dc 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -35,6 +35,8 @@ * * ***** END LICENSE BLOCK ***** */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + #addons-page { background-color: #CCD0DD; color: #000000; @@ -43,14 +45,15 @@ #view-port-container { /* Needed to allow the radius to clip the inner content, see bug 595656 */ + /* Disabled because of bug 623615 overflow: hidden; + */ background-color: #FFFFFF; border: 1px solid #666699; } .nav-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); - min-width: 0; } #forward-btn { @@ -77,8 +80,9 @@ -moz-image-region: rect(63px 50px 84px 25px); } + /*** global warnings ***/ - + .global-warning-container { overflow-x: hidden; } @@ -96,7 +100,7 @@ #detail-view .global-warning { padding: 4px 12px; - border-bottom: 1px solid #9999CC; + border-bottom: 1px solid #9999CC; } @media all and (max-width: 600px) { @@ -111,6 +115,20 @@ } } +/*** global informations ***/ +#addons-page .global-info-container { + background-color: #9C9CFF; +} + +/* Plugins aren't yet disabled by safemode (bug 342333), + so don't show that warning when viewing plugins. */ +#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, +#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { + background-color: inherit; + background-image: none; +} + + /*** notification icons ***/ .warning-icon { @@ -161,10 +179,11 @@ .alert { -moz-box-align: center; padding: 10px; - color: #FF9F00; - border: 1px solid #9C9CFF; + color: #000000; + border: 1px inset #CCD0DD; border-radius: 8px; - background-color: #000000; + background-color: #CCD0DD; + background-clip: padding-box; } .alert .alert-title { @@ -197,7 +216,7 @@ .category { background-color: transparent; - color: #FF9F00; + color: #404040; min-height: 0; padding: 10px 4px; border-width: 1px; @@ -208,6 +227,8 @@ } .category[disabled] { + border-top: 0; + border-bottom: 0; height: 0; opacity: 0; -moz-transition-property: height, opacity; @@ -223,7 +244,6 @@ .category[selected] { background-color: #FFFFFF; color: #000000; - font-weight: bold; border-color: #666699; } @@ -264,19 +284,19 @@ #category-discover > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-discover.png"); } -#category-languages > .category-icon { +#category-locale > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-languages.png"); } -#category-searchengines > .category-icon { +#category-searchengine > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-searchengines.png"); } -#category-extensions > .category-icon { +#category-extension > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.png"); } -#category-themes > .category-icon { +#category-theme > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-themes.png"); } -#category-plugins > .category-icon { +#category-plugin > .category-icon { list-style-image: url("chrome://mozapps/skin/extensions/category-plugins.png"); } #category-availableUpdates > .category-icon { @@ -306,14 +326,13 @@ color: #808080; } -#header-search[focused="true"] { +#header-search[focused] { background-color: #FFFFFF; } #header-utils-btn { - min-width: 4.5em; list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); - -moz-margin-end: 18px; + -moz-margin-end: 16px; } .view-header { @@ -333,10 +352,10 @@ .sorter { -moz-appearance: none; - border: none; + border: 1px solid transparent; background-color: transparent; color: #000000; - padding: 0 6px; + padding: 0 5px; margin: 0 6px; min-width: 12px !important; -moz-box-direction: reverse; @@ -347,9 +366,15 @@ padding-bottom: 0; } +.sorter:hover { + border: 1px outset #666699; +} + .sorter[checkState="1"], .sorter[checkState="2"] { background-color: #666699; + color: #FFFFFF; + border: 1px inset #666699; } .sorter[checkState="1"] { @@ -365,6 +390,40 @@ } +/*** discover view ***/ + +.discover-spacer-before, +.discover-spacer-after { + -moz-box-flex: 1; +} + +#discover-error .alert { + max-width: 45em; + -moz-box-flex: 1; +} + +.discover-logo { + list-style-image: url("chrome://mozapps/skin/extensions/discover-logo.png"); + -moz-margin-end: 15px; +} + +.discover-title { + font-weight: bold; + font-size: 24px; + /* font-family: MetaWebPro-Book, "Trebuchet MS", sans-serif; */ + margin: 0 0 15px 0; +} + +.discover-description { + text-align: justify; + margin: 0 0 15px 0; +} + +.discover-footer { + text-align: justify; +} + + /*** list ***/ .list { @@ -379,10 +438,6 @@ background-origin: border-box; } -.addon[status="installing"] { - -moz-box-align: center; -} - .details { cursor: pointer; margin: 0; @@ -392,11 +447,9 @@ .icon-container { width: 48px; height: 48px; - margin: 22px 7px 7px 7px; -} - -.addon[active="false"] .icon { -/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ + margin: 3px 7px; + -moz-box-align: center; + -moz-box-pack: center; } .icon { @@ -405,6 +458,10 @@ max-height: 48px; } +.addon[active="false"] .icon { +/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ +} + .addon-view[type="theme"] .icon { list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } @@ -417,12 +474,13 @@ list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); } -.name-container, -.addon[status="installing"] .name { +.name-container { font-size: 150%; font-weight: bold; color: #404040; margin-bottom: 0; + -moz-box-align: end; + -moz-box-flex: 1; } .creator { @@ -434,8 +492,8 @@ } .description-container { - margin-top: 8px; -moz-margin-start: 6px; + -moz-box-align: center; } .description { @@ -448,6 +506,44 @@ .info { -moz-margin-start: 48px; font-weight: bold; + -moz-box-align: center; +} + +.content-container, +.basicinfo-container { + -moz-box-align: start; +} + +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; +} + +.advancedinfo-container, +.update-info-container { + -moz-box-align: center; +} + +.update-available { + -moz-box-align: end; +} + +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; +} + +.name-outer-container { + -moz-box-pack: center; +} + +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; +} + +.status-container, +.control-container { + -moz-box-pack: end; } .addon-view .warning { @@ -515,11 +611,7 @@ } .addon-view[notification="warning"] { - background-color : #FFFFCC; -} - -richlistbox:focus > .addon-view[notification="warning"][selected="true"] { - color: #336699; + background-color: #FFFFCC; } .addon-view[notification="error"] { @@ -549,11 +641,15 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { .addon[selected] { background-color: #336699; - color: #000000; + color: #FFFFFF; } .addon[selected] .name-container { - /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); */ + color: #FFFFFF; +} + +.addon[active="false"][selected] { + color: #000000; } .addon[active="false"][selected] .name-container { @@ -627,10 +723,6 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { opacity: 0; } -#detail-view:not([loading]) .alert-container { - visibility: collapse; -} - #detail-view[loading-extended] .loading { opacity: 1; -moz-transition-property: opacity; @@ -670,13 +762,15 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { #detail-screenshot { -moz-margin-end: 2em; + max-width: 300px; + max-height: 300px; } #detail-desc-container { margin-bottom: 2em; } -#detail-desc { +#detail-desc, #detail-fulldesc { -moz-margin-start: 6px; white-space: pre-wrap; /* This is necessary to fix layout issues with multi-line descriptions, see @@ -685,6 +779,10 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { min-width: 8em; } +#detail-fulldesc { + margin-top: 1em; +} + #detail-contributions { border-radius: 5px; border: 1px solid #666699; @@ -780,12 +878,23 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { margin: 0 8px; } +.download-progress[mode="undetermined"] .status-container { + padding: 0 2px; +} + .download-progress .start-cap, .download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, .download-progress .progress .progress-bar { background-color: #336699; } +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + .download-progress .progress { background-color: transparent; padding: 0; @@ -807,7 +916,6 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { border-radius: 0 3px 3px 0; } -.download-progress .pause, .download-progress .cancel { -moz-appearance: none; background-color: #CCD0DD; @@ -817,26 +925,19 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { margin: 3px; } -.download-progress .pause .button-box, .download-progress .cancel .button-box { padding: 0; border: none; } -.download-progress .pause .button-text, .download-progress .cancel .button-text { display: none; } -.download-progress .pause .button-icon, .download-progress .cancel .button-icon { -moz-margin-start: 0; } -.download-progress .pause { - list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); -} - .download-progress .cancel { list-style-image: url('chrome://mozapps/skin/extensions/cancel.png'); }