mobile/android/themes/core/aboutBase.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 %filter substitution
michael@0 6 %include defines.inc
michael@0 7
michael@0 8 html {
michael@0 9 font-family: "Clear Sans",sans-serif;
michael@0 10 font-size: 14px;
michael@0 11 background-color: @color_about_background@;
michael@0 12 -moz-text-size-adjust: none;
michael@0 13 }
michael@0 14
michael@0 15 body {
michael@0 16 margin: 0;
michael@0 17 }
michael@0 18
michael@0 19 .header {
michael@0 20 color: black;
michael@0 21 font-size: 1.1em;
michael@0 22 font-weight: bold;
michael@0 23 border-bottom: 2px solid;
michael@0 24 -moz-border-bottom-colors: #ff9100 #f27900;
michael@0 25 display: flex;
michael@0 26 flex-direction: row;
michael@0 27 align-items: center;
michael@0 28 }
michael@0 29
michael@0 30 .header > div {
michael@0 31 flex: 1;
michael@0 32 padding: 1em;
michael@0 33 -moz-padding-start: 1.5em;
michael@0 34 }
michael@0 35
michael@0 36 #header-button {
michael@0 37 background-repeat: no-repeat;
michael@0 38 background-position: center center;
michael@0 39 background-size: 33px 33px;
michael@0 40 flex: 0;
michael@0 41 height: 100%;
michael@0 42 }
michael@0 43
michael@0 44 .list {
michael@0 45 padding: 0px;
michael@0 46 margin: 0px;
michael@0 47 width: 100%;
michael@0 48 }
michael@0 49
michael@0 50 .list-item {
michael@0 51 color: black;
michael@0 52 background-color: @color_about_item@;
michael@0 53 border-bottom: 2px solid;
michael@0 54 -moz-border-bottom-colors: #ffffff #bac2ac;
michael@0 55 position: relative;
michael@0 56 list-style-type: none;
michael@0 57 list-style-image: none;
michael@0 58 margin: 0px;
michael@0 59 padding: 0px;
michael@0 60 }
michael@0 61
michael@0 62 .list-item[isDisabled="true"] {
michael@0 63 color: #999999;
michael@0 64 }
michael@0 65
michael@0 66 .list-item:active,
michael@0 67 .list-item:active > .inner {
michael@0 68 background-image: none;
michael@0 69 }
michael@0 70
michael@0 71 .inner {
michael@0 72 background-color: @color_about_item_inner@;
michael@0 73 padding: 1em;
michael@0 74
michael@0 75 /* make room for the favicon */
michael@0 76 -moz-margin-start: 4.5em;
michael@0 77 }
michael@0 78
michael@0 79 /* Icons */
michael@0 80 body[dir="ltr"] .icon {
michael@0 81 left: 1.35em;
michael@0 82 }
michael@0 83
michael@0 84 body[dir="ltr"] .icon {
michael@0 85 right: 1.35em;
michael@0 86 }
michael@0 87
michael@0 88 .icon {
michael@0 89 border: none;
michael@0 90 top: 1.35em;
michael@0 91 width: 1.8em;
michael@0 92 height: 1.8em;
michael@0 93 position: absolute;
michael@0 94 pointer-events: none;
michael@0 95 }
michael@0 96
michael@0 97 .list-item[isDisabled="true"] .favicon {
michael@0 98 opacity: 0.3;
michael@0 99 }
michael@0 100
michael@0 101 /* Buttons */
michael@0 102 .buttons {
michael@0 103 display: flex;
michael@0 104 flex-direction: row;
michael@0 105 width: 100%;
michael@0 106 }
michael@0 107
michael@0 108 .buttons > button {
michael@0 109 -moz-appearance: none;
michael@0 110 color: black;
michael@0 111 font-size: 1em !important;
michael@0 112 border: 1px solid transparent;
michael@0 113 border-top-color: #bac2ac;
michael@0 114 -moz-border-start-color: #bac2ac;
michael@0 115 background-image: none;
michael@0 116 background-color: @color_about_item_inner@;
michael@0 117 border-radius: 0px !important;
michael@0 118 flex: 1;
michael@0 119 padding: 0.75em 0.5em;
michael@0 120 }
michael@0 121
michael@0 122 .buttons > button[disabled="true"] {
michael@0 123 color: #b5b5b5;
michael@0 124 }
michael@0 125
michael@0 126 .buttons > button[hidden="true"] {
michael@0 127 display: none;
michael@0 128 }
michael@0 129
michael@0 130 .buttons:first-child {
michael@0 131 -moz-border-start-color: transparent;
michael@0 132 }
michael@0 133
michael@0 134 .row {
michael@0 135 display: flex;
michael@0 136 width: 100%;
michael@0 137 }
michael@0 138
michael@0 139 .title {
michael@0 140 font-weight: bold;
michael@0 141 overflow: hidden;
michael@0 142 flex: 1;
michael@0 143 }
michael@0 144
michael@0 145 #browse-title {
michael@0 146 margin: 0.5em 0;
michael@0 147 background-image: url("chrome://browser/skin/images/chevron.png");
michael@0 148 background-size: 8px 20px;
michael@0 149 background-position: right;
michael@0 150 background-repeat: no-repeat;
michael@0 151 }

mercurial