X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmozapps%2Fextensions%2Fextensions.css;h=03efde1bf7693bc153bdaea3cc862815754a275a;hp=50db5f2e7623c57c6336da0b0321553c87993d38;hb=904e50409e523d61b35bd75ec79c0f34ff107b77;hpb=569543b3d2d5099d602cc6644b026ee2adf3e00a diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index 50db5f2e..03efde1b 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -35,18 +35,45 @@ * * ***** END LICENSE BLOCK ***** */ -#addons-page { - background-color: #000000; - margin: 20px; +@import url("chrome://global/skin/inContentUI.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.nav-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); } -#view-port { - border: 1px solid #9C9CFF; - border-radius: 5px; +#forward-btn { + -moz-border-start: none; +} + +#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-container { + overflow-x: hidden; +} + .global-warning { -moz-box-align: center; padding: 0 8px; @@ -60,23 +87,51 @@ #detail-view .global-warning { padding: 4px 12px; - border-bottom: 3px solid #000000; + border-bottom: 3px solid #000000; } +@media all and (max-width: 600px) { + .global-warning-text { + display: none; + } + + .global-warning .warning-icon { + /* background-color: #FFF; + box-shadow: 0px 0px 2px 5px #FFF; + border-radius: 10px; */ + } +} + +/*** global informations ***/ +#addons-page .global-info-container { + background-color: #9C9CFF; + border-top-right-radius: 5px; + border-top-left-radius: 5px; +} + +/* 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 { list-style-image: url("chrome://global/skin/icons/warning-16.png"); width: 16px; height: 16px; - margin: 3px 0; + margin: 1px 0; } .error-icon { list-style-image: url("chrome://global/skin/icons/error-16.png"); width: 16px; height: 16px; - margin: 3px 0; + margin: 1px 0; } .pending-icon, @@ -84,9 +139,59 @@ list-style-image: url("chrome://global/skin/icons/information-16.png"); width: 16px; height: 16px; + margin: 1px 0; +} + +.addon-view[pending="disable"] .pending-icon, +.addon-view[pending="uninstall"] .pending-icon { + list-style-image: url("chrome://global/skin/icons/warning-16.png"); + width: 16px; + height: 15px; margin: 3px 0; } + +/*** view alert boxes ***/ + +.alert-container { + -moz-box-align: center; +} + +.alert-spacer-before { + -moz-box-flex: 1; +} + +.alert-spacer-after { + -moz-box-flex: 3; +} + +.alert { + -moz-box-align: center; + padding: 10px; + color: #FF9F00; + border: 1px solid #9C9CFF; + border-radius: 8px; + background-color: #000000; + background-clip: padding-box; +} + +.alert .alert-title { + font-weight: bold; + font-size: 200%; + margin-bottom: 15px; +} + +.alert button { + margin: 1em 2em; +} + +.loading { + list-style-image: url("chrome://global/skin/icons/loading.gif"); + padding-left: 20px; + padding-right: 20px; +} + + /*** category selector ***/ #categories { @@ -95,17 +200,19 @@ -moz-margin-end: -1px; background-color: transparent; position: relative; + margin-top: 31px; } .category { + background-color: transparent; + color: #FF9F00; + min-height: 0; + padding: 10px 4px; 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) { @@ -119,7 +226,9 @@ } .category[disabled] { - height: 0px; + border-top: 0; + border-bottom: 0; + height: 0; opacity: 0; -moz-transition-property: height, opacity; -moz-transition-duration: 1s, 0.8s; @@ -132,7 +241,8 @@ } .category[selected] { - color: FFCF00; + background-color: #008484; + color: #FFCF00; border-color: #9C9CFF; } @@ -140,10 +250,17 @@ font-size: 150%; } +/* Maximize the size of the viewport when the window is small */ +@media all and (max-width: 800px) { + .category-name { + display: none; + } +} + .category-badge { background-color: #E7ADE7; padding: 2px 8px; - margin: 6px 0px; + margin: 6px 0; border-radius: 10000px; color: #000000; font-weight: bold; @@ -166,59 +283,80 @@ #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 { + 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 { - margin-bottom: 20px; + margin-bottom: 18px; height: 2em; } -#header-name, #header-link { - color: #000000; +#header-search { + color: #E7ADE7; + border: 1px solid #9C9CFF; + border-radius: 4px; + padding: 3px; + background-color: #000000; + margin: 0; } -#header-name { - font-size: 180%; +#header-search .textbox-input:-moz-placeholder { + color: #8050B0; } -#header-link { - -moz-appearance: none; - border: none; - background: transparent; - font-size: 120%; - cursor: pointer; - list-style-image: url("chrome://mozapps/skin/extensions/go-back.png"); +#header-search[focused] { + border-color: #008484; } -#header-link .button-icon { - -moz-margin-end: 6px; +#header-utils-btn { + list-style-image: url("chrome://mozapps/skin/extensions/utilities.png"); + -moz-margin-end: 16px; } -#header-searching { - list-style-image: url("chrome://global/skin/icons/loading.gif"); +#header-utils-btn:hover, +#header-utils-btn:hover:active, +#header-utils-btn[open="true"] { + list-style-image: url("chrome://mozapps/skin/extensions/utilities-hover.png"); +} + +#header-utils-btn > .button-box > .button-menu-dropmarker { + border: none; + background: transparent; +} + +#header-utils-btn:hover > .button-box > .button-menu-dropmarker { + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); } .view-header { + background-color: #9C9CFF; + color: #000000; border-radius: 8px; - padding: 0px 4em; + padding: 0px 1em; margin: 3px; + min-height: 31px; } @@ -226,21 +364,32 @@ .sort-controls { -moz-appearance: none; + border-right: 3px solid #000000; } .sorter { -moz-appearance: none; border: none; border-left: 3px solid #000000; - border-right: 3px solid #000000; background-color: transparent; + color: #8050B0; border-radius: 0; - padding: 0px 6px; - margin: 0px 6px; + padding: 0 6px; + -moz-padding-start: 6px; + -moz-padding-end: 3px; + margin: 0; min-width: 12px !important; -moz-box-direction: reverse; } +.sorter:hover { + background-color: #FFCF00; + color: #000000; +} +.sorter .button-box { + padding-top: 0; + padding-bottom: 0; +} .sorter[checkState="1"], .sorter[checkState="2"] { @@ -261,21 +410,44 @@ } -/*** empty list notification ***/ +/*** discover view ***/ -.empty-list-notice { - -moz-box-align: center; +.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; } -.empty-list-notice > button { - margin: 20px; +.discover-description { + text-align: justify; + margin: 0 0 15px 0; +} + +.discover-footer { + text-align: justify; } /*** list ***/ .list { - margin: 0px; + margin: 0; border: none; background-color: transparent; } @@ -283,10 +455,7 @@ .addon { border-bottom: 1px solid #9C9CFF; padding: 5px; -} - -.addon[status="installing"] { - -moz-box-align: center; + background-origin: border-box; } .details { @@ -298,7 +467,9 @@ .icon-container { width: 48px; height: 48px; - margin: 7px; + margin: 3px 7px; + -moz-box-align: center; + -moz-box-pack: center; } .icon { @@ -307,6 +478,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"); } @@ -321,44 +496,162 @@ .name-container { font-size: 150%; - margin-bottom: 0px; + font-weight: bold; + color: #9C9CFF; + margin-bottom: 0; + -moz-box-align: end; + -moz-box-flex: 1; +} + +.creator { + font-weight: bold; +} + +.creator .text-link { + /* color: #0066CC; */ } .description-container { - margin-top: 8px; -moz-margin-start: 6px; + -moz-box-align: center; } .description { margin: 0; } -.warning, .pending, .error, .info { +.warning, +.pending, +.error, +.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:not([selected]) .warning { +.addon-view .warning { color: #FFCF00; } -.addon-view:not([selected]) .error { +.addon-view .error { color: #FF0000; } -.addon-view:not([selected]) .pending { +.addon-view .pending { color: #008484; } +.addon-view[pending="disable"] .pending, +.addon-view[pending="uninstall"] .pending { + color: #FF9C00; +} + +.addon .relnotes-container { + -moz-box-align: start; + -moz-margin-start: 6px; + height: 0; + overflow: hidden; + opacity: 0; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; +} + +.addon[show-relnotes] .relnotes-container { + opacity: 1; + -moz-transition-property: height, opacity; + -moz-transition-duration: 0.5s, 0.5s; +} + +.addon .relnotes-header { + font-weight: bold; + margin: 10px 0; +} + +.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 .relnotes-toggle > .button-box > .button-icon { + -moz-padding-start: 4px; +} + +.addon[show-relnotes] .relnotes-toggle { + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); +} + +.addon[active="false"] { + /* background-color: rgba(135, 135, 135, 0.1); */ +} + +.addon-view[active="false"], +.addon-view[active="false"] .name-container { + color: #E7ADE7; +} + .addon-view[notification="warning"] { background-color : #FFCF00; color: #000000; } +.addon-view[notification="warning"] .warning { + color: #000000; +} + +.addon-view[notification="warning"] .name-container { + color: #000000; +} + .addon-view[notification="error"] { background-color: #FF0000; color: #000000; } +.addon-view[notification="error"] .error { + color: #000000; +} + .addon-view[notification="info"] { background-color: #9C9CFF; color: #000000; @@ -370,11 +663,18 @@ background-color: #008484; } +.addon-view[pending="enable"] .pending, +.addon-view[pending="upgrade"] .pending, +.addon-view[pending="install"] .pending { + color: #000000; +} + .addon-view[pending="disable"], .addon-view[pending="uninstall"] { color: #8050B0; } + /*** item - uninstalled ***/ .addon[status="uninstalled"] { @@ -393,6 +693,23 @@ background-color: transparent; } +.addon[selected] { + background-color: #008484; + color: #FF9F00; +} + +.addon[selected] .name-container { + color: #FFCF00; +} + +.addon[active="false"][selected] { + color: #E7ADE7; +} + +.addon[active="false"][selected] .name-container { + color: #E7ADE7; +} + /*** search view ***/ @@ -401,6 +718,8 @@ -moz-box-align: center; background-color: #000000; font-size: 120%; + border-bottom: 1px solid #9C9CFF; + overflow-x: hidden; } #search-filter-label { @@ -409,8 +728,8 @@ } .search-filter-radio { - padding: 0px 6px; - margin: 0px 3px; + padding: 0 6px; + margin: 0 3px; border-radius: 10000px; } @@ -427,51 +746,44 @@ display: none; } -/*** detail view ***/ - -#detail-view[active="false"] .fade { - opacity: 0.5; +#search-allresults-link { + margin-top: 1em; + margin-bottom: 2em; } +/*** detail view ***/ + #detail-view .loading { opacity: 0; } -#detail-view:not([loading]) .loading { - visibility: collapse; -} - #detail-view[loading-extended] .loading { - -moz-box-align: center; - -moz-box-pack: center; opacity: 1; -moz-transition-property: opacity; -moz-transition-duration: 1s; } -#detail-view .loading > image { - list-style-image: url("chrome://global/skin/icons/loading.gif"); -} - .detail-view-container { - overflow: auto; - padding: 2em; + padding: 0 2em 2em 2em; font-size: 110%; } #detail-notifications { + margin-top: 1em; margin-bottom: 2em; } #detail-notifications .warning, #detail-notifications .pending, -#detail-notifications .error, -#detail-notifications .info { +#detail-notifications .error { -moz-margin-start: 0; } #detail-icon { -moz-margin-end: 10px; + margin-top: 6px; + max-width: 64px; + max-height: 64px; } #detail-summary { @@ -484,18 +796,35 @@ #detail-screenshot { -moz-margin-end: 2em; + max-width: 300px; + max-height: 300px; +} + +#detail-screenshot[loading] { + background-image: url("chrome://communicator/skin/brand/throbber-anim.gif"); + background-position: 50% 50%; + background-repeat: no-repeat; +} + +#detail-screenshot[loading="error"] { + background-image: url("chrome://global/skin/icons/alert-error.gif"); } #detail-desc-container { margin-bottom: 2em; +} + +#detail-desc, #detail-fulldesc { + -moz-margin-start: 6px; + white-space: pre-wrap; /* This is necessary to fix layout issues with multi-line descriptions, see bug 592712*/ outline: solid transparent; + min-width: 8em; } -#detail-desc { - -moz-margin-start: 6px; - white-space: pre-wrap; +#detail-fulldesc { + margin-top: 1em; } #detail-contributions { @@ -503,23 +832,25 @@ border: 1px solid #9C9CFF; margin-bottom: 2em; padding: 1em; - background: #FFCF00; + background-color: #FFCF00; } #detail-contrib-description { font-style: italic; margin-bottom: 1em; + color: #000000; } #detail-contrib-suggested { - color: grey; + color: #8050B0; + font-weight: bold; } -#detail-contrib-button { +#detail-contrib-btn { list-style-image: url("chrome://mozapps/skin/extensions/heart.png"); } -#detail-contrib-button .button-icon { +#detail-contrib-btn .button-icon { -moz-margin-end: 3px; } @@ -527,22 +858,59 @@ margin-bottom: 2em; } +#detail-grid > columns > column:first-child { + max-width: 25em; +} + +.detail-row[first-row="true"], +.detail-row-complex[first-row="true"], +setting[first-row="true"] { + border-top: none; +} + .detail-row, -.detail-row-complex { - border-bottom: 1px solid #9C9CFF; +.detail-row-complex, +setting { + border-top: 1px solid #9C9CFF; -moz-box-align: center; + min-height: 30px; } -.detail-row-value { - -moz-margin-start: 0; +#detail-controls { + margin-bottom: 1em; +} + +#detail-view[active="false"]:not([pending]):not([notification]) { + /* background-color: foo; */ } +setting[first-row="true"] { + margin-top: 2em; +} + +.preferences-description { + font-size: 90.9%; + color: #808080; + margin-top: -2px; + -moz-margin-start: 2em; +} + +setting[type="string"] > .setting-input > textbox { + -moz-box-flex: 1; +} + +setting[type="radio"] > radiogroup { + -moz-box-orient: horizontal; +} + +menulist { /* Fixes some styling inconsistencies */ + margin: 1px 5px 2px 5px; +} /*** creator ***/ .creator > label { - -moz-margin-start: 0px; - -moz-margin-end: 0px; + -moz-margin-end: 0; } .creator > .text-link { @@ -554,25 +922,17 @@ /*** rating ***/ .meta-rating { - -moz-margin-start: 0px; - -moz-margin-end: 0px; - vertical-align: text-top; + -moz-margin-end: 0; + padding-top: 2px; } -.meta-rating[showrating="average"] > .star { +.meta-rating > .star { list-style-image: url("chrome://mozapps/skin/extensions/rating-not-won.png"); - padding: 0px 1px; + padding: 0 1px; } -.meta-rating[showrating="user"] > .star { - list-style-image: url("chrome://mozapps/skin/extensions/rating-unrated.png"); - padding: 2px 3px; -} - -.meta-rating > .star[on="true"], -.meta-rating[showrating="user"] > .star[hover] { +.meta-rating > .star[on="true"] { list-style-image: url("chrome://mozapps/skin/extensions/rating-won.png"); - padding: 0px 1px; } @@ -583,18 +943,32 @@ border-radius: 10000px; border: 1px solid #FF9F00; width: 200px; - height: 24px; - margin: 0px 8px; + height: 21px; + 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: #008484; } +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + .download-progress .progress { background-color: transparent; + padding: 0; + margin: 0; + border: none; } .download-progress .start-cap, .download-progress .end-cap { @@ -603,36 +977,35 @@ .download-progress .start-cap:-moz-locale-dir(ltr), .download-progress .end-cap:-moz-locale-dir(rtl) { - border-radius: 10000px 0 0 10000px; + border-radius: 3px 0 0 3px; } .download-progress .end-cap:-moz-locale-dir(ltr), .download-progress .start-cap:-moz-locale-dir(rtl) { - border-radius: 0 10000px 10000px 0; + border-radius: 0 3px 3px 0; } -.download-progress .progress { +.download-progress .cancel { -moz-appearance: none; - padding: 0px; - margin: 0px; + background-color: #8050B0; + border: 1px solid #9C9CFF; + padding: 3px; + border-radius: 3px; + min-width: 0; + margin: 3px; +} + +.download-progress .cancel .button-box { + padding: 0; border: none; } -.download-progress .pause, .download-progress .cancel { - -moz-appearance: none; - background-color: #8050B0; - border-width: 1px 0px 0px 1px; - padding-right: 1px; - border-style: solid; - border-radius: 10000px; - min-width: 16px; - width: 16px; - height: 16px; - margin: 3px; +.download-progress .cancel .button-text { + display: none; } -.download-progress .pause { - list-style-image: url('chrome://mozapps/skin/extensions/pause.png'); +.download-progress .cancel .button-icon { + -moz-margin-start: 0; } .download-progress .cancel { @@ -643,6 +1016,9 @@ -moz-box-align: center; } +.download-progress .status { +/* text-shadow: #FFF 0 0 2px; */ +} /*** install status ***/ @@ -657,7 +1033,12 @@ -moz-box-align: center; } -#updates-installed, #updates-downloaded { +#updates-container .button-link { + font-weight: bold; +} + +#updates-installed, +#updates-downloaded { color: #008484; font-weight: bold; } @@ -668,7 +1049,11 @@ /*** buttons ***/ -.button-link { +.addon-control[disabled="true"] { + display: none; +} + +button.button-link { background: transparent; border: none; text-decoration: underline; @@ -677,3 +1062,7 @@ min-width: 0; margin: 0 6px; } + +/* Needed to override normal button style from inContent.css */ +button.button-link:not([disabled="true"]):active:hover { +}