diff options
Diffstat (limited to 'apps/system/style/update_manager/update_manager.css')
-rw-r--r-- | apps/system/style/update_manager/update_manager.css | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/apps/system/style/update_manager/update_manager.css b/apps/system/style/update_manager/update_manager.css new file mode 100644 index 0000000..39f37d6 --- /dev/null +++ b/apps/system/style/update_manager/update_manager.css @@ -0,0 +1,253 @@ +html, body { + font-family: 'MozTT', sans-serif; + font-size: 10px; +} + +#update-manager-container { + display: none; +} + +#update-manager-container.displayed { + display: block; +} + +#update-manager-container > .activity { + display: none; + float: left; + width: 32px; + height: 30px; + margin: 14px 10px; + background-image: url(images/loader.png); + background-position: center center; + background-repeat: no-repeat; + animation: 0.9s fn-rotate infinite linear; +} + +@keyframes fn-rotate { + from { + transform: rotate(1deg); + } + + to { + transform: rotate(360deg); + } +} + +#update-manager-container.downloading > .activity { + display: block; +} + +#update-manager-container > .icon { + float: left; + display: block; + width: 24px; + height: 24px; + margin: 18px 10px; +} + +#update-manager-container > .icon, +#update-manager-toaster > .icon { + background-image: url('images/iconindicator_download_24x24.png'); +} + +#update-manager-container.downloading > .icon { + display: none; +} + +#update-manager-toaster > .icon { + float: left; + display: block; + width: 2.4rem; + height: 2.4rem; + margin: 1.3rem; +} + +#update-manager-toaster > .message { + position: absolute; + left: 50px; + top: 10px; + width: -moz-calc(100% - 55px); + color: #52b8cc; + font-size: 1.5rem; + font-weight: 500; + line-height: 2.8rem; +} + +#update-manager-container > .message { + margin: 10px 0 0 50px; + width: -moz-calc(100% - 55px); + font-size: 1.5rem; + font-weight: 500; + line-height: 1.9rem; + color: #FFFFFF; +} + +#update-manager-container > .message > span { + display: block; + color: #bfbfbf; + font-size: 1.4rem; + line-height: 1.9rem; + font-weight: 400; + text-overflow: ellipsis; +} + +#update-manager-toaster > .message > span { + display: none; +} + +#update-manager-toaster { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 50px; + overflow: hidden; + background-image: url('images/grey-noise-bg.png'); + background-repeat: repeat-x; + -moz-box-sizing: border-box; + border-bottom: 1px #2c2c2c solid; + -moz-transform: translateY(-50px); + -moz-transition: -moz-transform .3s ease-in-out; +} + +#update-manager-toaster.displayed { + -moz-transform: translateY(0); +} + +#updates-viaDataConnection-dialog, +#updates-download-dialog { + padding-bottom: 4.9rem; + padding-top: 0; + display: none; +} + +#updates-viaDataConnection-dialog.visible, +#updates-download-dialog.visible { + display: inline-block; + pointer-events: auto; +} + +#updates-viaDataConnection-dialog h1, +#updates-download-dialog h1 { + font-size: 1.9rem; + color: #fff; + padding: 1.5rem 1rem 1.1rem 1rem; + background: rgba(255, 255, 255, 0.0); +} + +#updates-viaDataConnection-dialog h1 { + padding-left: 2.8rem; + height: 2.4rem; + line-height: 2.4rem; + background: url('images/iconindicator_download_24x24.png') no-repeat scroll 0 50% transparent; + border: none; +} + +#updates-viaDataConnection-dialog section, +#updates-download-dialog section { + height: auto; + line-height: 3.5rem; + overflow-y: scroll; + max-height: -moz-calc(100% - 3.8rem); + color: #ebebeb; + font-size: 2.5rem; +} + +#updates-download-dialog ul { + list-style: none; + margin-top: 0.4rem; + padding-left: 0; +} + +#updates-download-dialog li { + height: 5rem; + margin: 0 1rem; + border-top: solid 1px rgba(255, 255, 255, 0.05); +} + +#updates-download-dialog li:first-child { + margin-top: 0; + border-top: 0; +} + +#updates-download-dialog div { + display: block; + font-weight: 500; + color: #ebebeb; + font-size: 1.4rem; + line-height: 0.6rem; +} + +#updates-download-dialog li .name { + font-size: 1.5rem; + line-height: 3rem; + height: 3rem; + color: white; + font-weight: normal; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +#updates-download-dialog li.nosize .name { + line-height: 5rem; + height: 5rem; +} + +#updates-download-dialog label { + display: inline-block; + height: 5rem; + float: right; + color: #ebebeb; + line-height: 5rem; + font-weight: 300; + font-size: 1.4rem; +} + +#updates-download-dialog label.required { + width: 10rem; + right: 0.5rem; + text-align: right; + text-transform: uppercase; + height: 3rem; + line-height: 2.9rem; +} + +#updates-download-dialog p { + position: absolute; + left: 0; + right: 0; + bottom: 6.8rem; + height: 6.6rem; + padding: 0.5rem 1.8rem; + margin: 0; + + background-color: rgba(0, 0, 0, 0.4); + border-top: solid 1px rgba(255, 255, 255, 0.2); + overflow-y: scroll; + + font-size: 1.6rem; + white-space: normal; +} + +#updates-download-dialog[data-nowifi="true"] section { + /* Fixing at the top of the screen to properly make room for the warning */ + position: absolute; + top: 20px; + max-height: calc(100% - 15rem - 20px); +} + +#updates-download-dialog #updates-download-button[data-online="false"] { + visibility: collapse; +} + +#updates-download-dialog #updates-offline-warning, +#updates-download-dialog #updates-data-connection-warning, +#updates-download-dialog[data-online="false"] #updates-download-button { + visibility: collapse; +} + +#updates-download-dialog[data-online="false"] #updates-offline-warning, +#updates-download-dialog[data-online="true"][data-nowifi="true"][data-data-connection-inline-warning="true"] #updates-data-connection-warning { + visibility: visible; +} |