| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * This file is part of Adblock Plus <http://adblockplus.org/>, | |
| 3 * Copyright (C) 2006-2014 Eyeo GmbH | |
| 4 * | |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | |
| 6 * it under the terms of the GNU General Public License version 3 as | |
| 7 * published by the Free Software Foundation. | |
| 8 * | |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 * GNU General Public License for more details. | |
| 13 * | |
| 14 * You should have received a copy of the GNU General Public License | |
| 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
| 16 */ | |
| 17 | |
| 18 body | |
| 19 { | |
| 20 margin: 0px; | |
| 21 font-family: Segoe UI, Arial, sans-serif; | |
| 22 font-size: 13px; | |
| 23 color: #545454; | |
| 24 background-color: #f8f6f2; | |
| 25 background-image: url(background.png); | |
| 26 } | |
| 27 | |
| 28 #clickhide-instructions, | |
| 29 #clickhide-cancel, | |
| 30 body.clickhide-active li | |
| 31 { | |
| 32 display: none; | |
| 33 } | |
| 34 | |
| 35 body.clickhide-active #clickhide-instructions, | |
| 36 body.clickhide-active #clickhide-cancel | |
| 37 { | |
| 38 display: block; | |
| 39 } | |
| 40 | |
| 41 body.local #clickhide | |
| 42 { | |
| 43 display: none; | |
| 44 } | |
| 45 | |
| 46 header | |
| 47 { | |
| 48 height: 45px; | |
| 49 margin-bottom: 40px; | |
| 50 border-bottom: 1px solid #e1ddd8; | |
| 51 background-image: url(background-main.png); | |
| 52 } | |
| 53 | |
| 54 #logo | |
| 55 { | |
| 56 position: relative; | |
| 57 top: 20px; | |
| 58 width: 55px; | |
| 59 height: 55px; | |
| 60 margin: 0px auto; | |
| 61 background-image: url(abp-icon-big.png); | |
| 62 background-size: 100%; | |
| 63 } | |
| 64 | |
| 65 #wrapper | |
| 66 { | |
| 67 padding: 0px 20px; | |
| 68 } | |
| 69 | |
| 70 footer | |
| 71 { | |
| 72 min-width: 150px; | |
| 73 cursor: pointer; | |
| 74 padding: 10px 35px; | |
| 75 border-top: 1px solid #e1ddd8; | |
| 76 background-image: url(background-main.png); | |
| 77 } | |
| 78 | |
| 79 footer:hover | |
| 80 { | |
| 81 background: linear-gradient(to bottom, rgba(70, 50, 0, 0.1), rgba(70, 50, 0, 0 .1)), | |
| 82 url(background-main.png); | |
| 83 } | |
| 84 | |
| 85 footer .icon | |
| 86 { | |
| 87 background-position: -50px -65px; | |
| 88 } | |
| 89 | |
| 90 ul | |
| 91 { | |
| 92 margin: 0px; | |
| 93 padding: 0px; | |
| 94 } | |
| 95 | |
| 96 li | |
| 97 { | |
| 98 cursor: pointer; | |
| 99 list-style-type: none; | |
| 100 white-space: nowrap; | |
| 101 border-top: 1px dashed #a5a4a1; | |
| 102 } | |
| 103 | |
| 104 li span | |
| 105 { | |
| 106 padding-right: 70px; | |
| 107 padding-left: 3px; | |
| 108 } | |
| 109 | |
| 110 li .collapse span | |
| 111 { | |
| 112 padding-right: 120px; | |
| 113 } | |
| 114 | |
| 115 li ul | |
| 116 { | |
| 117 margin-left: 35px; | |
| 118 } | |
| 119 | |
| 120 li li | |
| 121 { | |
| 122 cursor: default; | |
| 123 padding: 10px 15px; | |
| 124 } | |
| 125 | |
| 126 .menu-item | |
| 127 { | |
| 128 padding: 10px 0px 10px 15px; | |
| 129 } | |
| 130 | |
| 131 .menu-item:hover | |
| 132 { | |
| 133 background-color: #ece7df; | |
| 134 } | |
| 135 | |
| 136 .checkbox-item, .checkbox-item label | |
| 137 { | |
| 138 cursor: pointer; | |
| 139 } | |
| 140 | |
| 141 .icon | |
| 142 { | |
| 143 display: inline-block; | |
| 144 width: 15px; | |
| 145 height: 15px; | |
| 146 margin: 1px 15px 0 0; | |
| 147 vertical-align: top; | |
| 148 background-image: url(popup.png); | |
| 149 } | |
| 150 | |
| 151 #clickhide .icon, | |
| 152 #clickhide-cancel .icon | |
| 153 { | |
| 154 background-position: -50px -33px; | |
| 155 } | |
| 156 | |
| 157 #clickhide-instructions | |
| 158 { | |
| 159 margin: 10px 15px; | |
| 160 } | |
| 161 | |
| 162 #blockable .icon | |
| 163 { | |
| 164 background-position: -66px -17px; | |
| 165 } | |
| 166 | |
| 167 #blockable .i18n_close_blockable_items, | |
|
saroyanm
2014/10/16 11:26:15
What you think, can we use i18n related class name
Thomas Greiner
2014/10/16 13:39:44
Good point, let's better keep them separated. One
saroyanm
2014/10/17 11:42:15
good point.
| |
| 168 #blockable.open .i18n_blockable_items | |
|
Thomas Greiner
2014/10/16 13:39:44
By using the :not() pseudo-class you could merge t
saroyanm
2014/10/17 11:42:15
Should have implemented, great!
| |
| 169 { | |
| 170 display: none; | |
| 171 } | |
| 172 | |
| 173 #blockable.open .i18n_close_blockable_items | |
| 174 { | |
| 175 display: inline; | |
| 176 } | |
| 177 | |
| 178 #report-issue .icon | |
| 179 { | |
| 180 background-position: -50px -81px; | |
| 181 } | |
| 182 | |
| 183 label | |
| 184 { | |
| 185 vertical-align: middle; | |
| 186 } | |
| OLD | NEW |