1/* 2 * Extension plugin styles 3 * 4 * @author Christopher Smith <chris@jalakai.co.uk> 5 * @author Piyush Mishra <me@piyushmishra.com> 6 * @author Håkan Sandell <sandell.hakan@gmail.com> 7 * @author Anika Henke <anika@selfthinker.org> 8 */ 9 10/** 11 * very simple lightbox 12 * @link http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/super-simple-lightbox-with-css-and-jquery/ 13 */ 14#plugin__extensionlightbox { 15 position: fixed; 16 top: 0; 17 left: 0; 18 width: 100%; 19 height: 100%; 20 background: url(images/overlay.png) repeat; 21 text-align: center; 22 cursor: pointer; 23 z-index: 9999; 24 25 p { 26 text-align: right; 27 color: #fff; 28 margin-right: 20px; 29 font-size: 12px; 30 } 31 32 img { 33 box-shadow: 0 0 25px #111; 34 -webkit-box-shadow: 0 0 25px #111; 35 -moz-box-shadow: 0 0 25px #111; 36 max-width: 90%; 37 max-height: 90%; 38 } 39} 40 41/** 42 * general styles 43 */ 44#extension__manager { 45 // tab layout - most of it is in the main template 46 ul.tabs li.active a { 47 background-color: @ini_background_alt; 48 border-bottom: solid 1px @ini_background_alt; 49 z-index: 2; 50 } 51 .panelHeader { 52 background-color: @ini_background_alt; 53 margin: 0 0 10px 0; 54 padding: 10px 10px 8px; 55 text-align: left; 56 overflow: hidden; 57 } 58 59 // message spacing 60 div.msg { 61 margin: 0.4em 0 0 0; 62 } 63} 64 65/* 66 * extensions table 67 */ 68#extension__list { 69 ul.extensionList { 70 margin-left: 0; 71 margin-right: 0; 72 padding: 0; 73 list-style: none; 74 } 75 76 ul.extensionList li { 77 margin: 0 0 .5em; 78 padding: 0 0 .5em; 79 color: @ini_text; 80 border-bottom: 1px solid @ini_border; 81 overflow: hidden; 82 } 83 84 input.button { 85 margin: 0 .3em .3em 0; 86 } 87} 88 89/** 90 * extension table left column 91 */ 92#extension__list .legend { 93 position: relative; 94 width: 75%; 95 float: left; 96 97 // padding 98 > div { 99 padding: 0 .5em 0 132px; 100 border-right: 1px solid @ini_background_alt; 101 overflow: hidden; 102 } 103 104 // screenshot 105 div.screenshot { 106 margin-top: 4px; 107 margin-left: -132px; 108 max-width: 120px; 109 float: left; 110 position: relative; 111 112 img { 113 width: 120px; 114 height: 70px; 115 border-radius: 5px; 116 box-shadow: 2px 2px 2px #666; 117 } 118 119 span { 120 min-height: 24px; 121 min-width: 24px; 122 position: absolute; 123 left: 0px; 124 top: 0px; 125 } 126 } 127 128 // plugin headline 129 h2 { 130 width: 100%; 131 float: right; 132 margin: 0.2em 0 0.5em; 133 font-size: 100%; 134 font-weight: normal; 135 border: none; 136 137 strong { 138 font-size: 120%; 139 font-weight: bold; 140 vertical-align: baseline; 141 } 142 } 143 144 // description 145 p { 146 margin: 0 0 0.6em 0; 147 } 148 149 // popularity bar 150 div.popularity { 151 background-color: @ini_background; 152 border: 1px solid silver; 153 height: .4em; 154 margin: 0 auto; 155 padding: 1px; 156 width: 5.5em; 157 position: absolute; 158 right: .5em; 159 top: 0.2em; 160 161 div { 162 background-color: @ini_border; 163 height: 100%; 164 165 span { 166 display: none;// @todo: hide accessibly 167 } 168 } 169 } 170 171 // Docs, Bugs, Tags 172 span.linkbar { 173 font-size: 85%; 174 175 span.tags { 176 padding-left: 18px; 177 background: transparent url(images/tag.png) no-repeat 0 0; 178 } 179 } 180 181 // more info button 182 a.info { 183 background: transparent url(images/up.png) no-repeat 0 0; 184 border-width: 0; 185 height: 13px; 186 width: 13px; 187 text-indent: -9999px; 188 float: right; 189 margin: .5em 0 0; 190 overflow: hidden; 191 192 &.close { 193 background: transparent url(images/down.png) no-repeat 0 0; 194 } 195 } 196 197 // detailed info box 198 dl.details { 199 margin: 0.4em 0 0 0; 200 font-size: 85%; 201 border-top: 1px solid @ini_background_alt; 202 clear: both; 203 204 dt { 205 clear: left; 206 float: left; 207 width: 25%; 208 margin: 0; 209 text-align: right; 210 font-weight: normal; 211 padding: 0.2em 5px 0 0; 212 font-weight: bold; 213 } 214 215 dd { 216 margin-left: 25%; 217 padding: 0.2em 0 0 5px; 218 219 a.donate { 220 padding-left: 18px; 221 background: transparent url(images/donate.png) left center no-repeat; 222 } 223 } 224 } 225} 226 227/* 228 * Enabled/Disabled overrides 229 */ 230#extension__list { 231 .enabled div.screenshot span { 232 background: transparent url(images/enabled.png) no-repeat 2px 2px; 233 } 234 235 .disabled div.screenshot span { 236 background: transparent url(images/disabled.png) no-repeat 2px 2px; 237 } 238 239 .disabled .legend { 240 opacity: 0.7; 241 } 242} 243 244/** 245 * extension table right column 246 */ 247#extension__manager .actions { 248 padding: 0; 249 font-size: 95%; 250 width: 25%; 251 float: right; 252 text-align: right; 253 254 .version { 255 display: block; 256 } 257 258 p { 259 margin: 0.2em 0; 260 text-align: center; 261 } 262 263 p.permerror { 264 margin-left: 0.4em; 265 text-align: left; 266 padding-left: 19px; 267 background: transparent url(images/warning.png) center left no-repeat; 268 line-height: 18px; 269 font-size: 12px; 270 } 271} 272 273/** 274 * Search form 275 */ 276#extension__manager form.search { 277 display: block; 278 margin-bottom: 2em; 279 280 span { 281 font-weight: bold; 282 } 283 284 input.edit { 285 width: 25em; 286 } 287} 288 289/** 290 * Install form 291 */ 292#extension__manager form.install { 293 text-align: center; 294 display: block; 295 width: 60%; 296} 297