Changeset 3d122f0 in github
- Timestamp:
- Jun 29, 2012 5:44:47 AM (11 months ago)
- Children:
- 8ba01c0
- Parents:
- e154154
- Location:
- skins/larry
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
skins/larry/mail.css
rbe72a0f9 r3d122f0 68 68 #messagelistcontainer { 69 69 top: 0; 70 bottom: 32px;70 bottom: 28px; 71 71 overflow: auto; 72 72 } … … 77 77 left: 0; 78 78 right: 0; 79 height: 2 6px;80 padding: 2px ;79 height: 22px; 80 padding: 2px 4px; 81 81 } 82 82 … … 93 93 display: inline-block; 94 94 margin-right: 2em; 95 vertical-align: middle; 95 96 } 96 97 … … 303 304 #searchfilter { 304 305 width: 16em; 306 top: 8px; 307 position: absolute; 308 } 309 310 #searchfilter select { 311 height: 24px; 305 312 } 306 313 … … 332 339 position: absolute; 333 340 top: 4px; 334 right: 2px;341 right: 0; 335 342 width: 20px; 336 343 height: 18px; -
skins/larry/styles.css
r7dad594 r3d122f0 42 42 textarea { 43 43 margin: 0; /* Safari by default adds a margin */ 44 padding: 4px;44 padding: 3px; 45 45 border: 1px solid #b2b2b2; 46 46 border-radius: 4px; … … 267 267 height: 16px; 268 268 vertical-align: middle; 269 margin-bottom: 1px; 269 270 } 270 271 … … 323 324 .pagenavbuttons { 324 325 position: relative; 325 top: -2px;326 326 } 327 327 … … 1282 1282 width: 176px; 1283 1283 margin: 0; 1284 padding: 5px 26px 2px 38px; 1284 margin-top: 8px; 1285 padding: 2px 30px 2px 34px; 1285 1286 height: 18px; 1286 1287 background: #f1f1f1; 1287 border-color: #a 3a3a3;1288 border-color: #ababab; 1288 1289 font-weight: bold; 1290 font-size: 11px; 1289 1291 } 1290 1292 1291 1293 #quicksearchbar #searchmenulink { 1292 1294 position: absolute; 1293 top: 5px;1294 left: 8px;1295 top: 12px; 1296 left: 6px; 1295 1297 } 1296 1298 1297 1299 #quicksearchbar #searchreset { 1298 1300 position: absolute; 1299 top: 4px;1301 top: 11px; 1300 1302 right: 1px; 1301 1303 } … … 1457 1459 text-decoration: none; 1458 1460 color: #333; 1461 cursor: pointer; 1459 1462 } 1460 1463 1461 1464 a.menuselector .handle { 1462 1465 display: inline-block; 1463 padding: 3px 32px 0 8px; 1464 min-height: 18px; 1466 padding: 0 32px 0 6px; 1467 height: 20px; 1468 line-height: 19px; 1465 1469 text-shadow: 0px 1px 1px #fff; 1466 1470 background: url(images/selector.png) right center no-repeat; … … 1476 1480 background: linear-gradient(top, #dddddd 0%, #f8f8f8 100%); 1477 1481 text-decoration: none; 1478 }1479 1480 a.dropdownselector {1481 position: absolute;1482 padding: 1px 0;1483 z-index: 1;1484 }1485 1486 a.dropdownselector .handle {1487 margin: -1px 0;1488 padding-top: 5px;1489 min-height: 20px;1490 white-space: nowrap;1491 overflow: hidden;1492 text-overflow: ellipsis;1493 1482 } 1494 1483 … … 1506 1495 html.opera select.decorated { 1507 1496 opacity: 1; 1508 height: auto;1509 1497 } 1510 1498 … … 1516 1504 border-bottom: 1px solid #333; 1517 1505 text-shadow: 0px 1px 1px #333; 1518 padding: 6px 10px;1506 padding: 4px 6px; 1519 1507 outline: none; 1520 1508 } -
skins/larry/ui.js
r7dad594 r3d122f0 109 109 110 110 mailviewsplit = new rcube_splitter({ id:'mailviewsplitter', p1:'#mailview-top', p2:'#mailview-bottom', 111 orientation:'h', relative:true, start:310, min:150, size:0, offset:- 22});111 orientation:'h', relative:true, start:310, min:150, size:0, offset:-18 }); 112 112 if (previewframe) 113 113 mailviewsplit.init(); … … 171 171 } 172 172 173 var title = $('option', this).first().text(); 173 var select = $(this), 174 height = Math.max(select.height(), 24) - 2, 175 width = select.width() - 22, 176 title = $('option', this).first().text(); 177 174 178 if ($('option:selected', this).val() != '') 175 179 title = $('option:selected', this).text(); 176 180 177 var select = $(this) 178 .change(function(){ 181 var new_select = $('<a class="menuselector"><span class="handle">' + title + '</span></a>') 182 .css('position', 'absolute') 183 .offset(select.position()) 184 .insertAfter(select); 185 186 new_select.children().width(width).height(height).css('line-height', (height - 1) + 'px'); 187 188 select.change(function() { 179 189 var val = $('option:selected', this).text(); 180 190 $(this).next().children().html(val); 181 }); 182 183 $('<a class="menuselector dropdownselector"><span class="handle">' + title + '</span></a>') 184 .css('position', 'absolute') 185 .offset(select.position()) 186 .insertAfter(select) 187 .children().width(select.outerWidth() - 10); 188 189 select.parent().css('position', 'relative'); 191 }) 192 .parent().css('position', 'relative'); 193 194 // re-set original select width to fix click action and options width in Chrome 195 if (bw.chrome) 196 select.width(new_select.width()); 190 197 }); 191 198 … … 335 342 function update_quota(p) 336 343 { 337 var y = p.total ? Math.ceil(p.percent / 100 * 20) * 24 : 0; 344 var step = 24, step_count = 20, 345 y = p.total ? Math.ceil(p.percent / 100 * step_count) * step : 0; 346 347 // never show full-circle if quota is close to 100% but below. 348 if (p.total && y == step * step_count && p.percent < 100) 349 y -= step; 350 338 351 $('#quotadisplay').css('background-position', '0 -'+y+'px'); 339 352 }
Note: See TracChangeset
for help on using the changeset viewer.
