Changeset 7a32e9c in github
- Timestamp:
- Feb 29, 2012 3:44:16 AM (15 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- 38dc510
- Parents:
- 2fdc7cd
- Location:
- skins/larry
- Files:
-
- 3 edited
-
styles.css (modified) (2 diffs)
-
templates/mail.html (modified) (1 diff)
-
ui.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skins/larry/styles.css
r186d6e0 r7a32e9c 65 65 textarea.placeholder { 66 66 color: #aaa; 67 }68 69 select.selector {70 padding: 2px 4px;71 67 } 72 68 … … 1447 1443 } 1448 1444 1445 a.dropdownselector { 1446 position: absolute; 1447 z-index: 1; 1448 } 1449 1450 select.decorated { 1451 position: relative; 1452 z-index: 10; 1453 opacity: 0; 1454 -khtml-appearance: none; 1455 padding: 2px 4px; 1456 cursor: pointer; 1457 } 1458 1459 html.opera select.decorated { 1460 opacity: 1; 1461 } 1462 1449 1463 1450 1464 /*** popup menus ***/ -
skins/larry/templates/mail.html
raf5995d r7a32e9c 46 46 <!-- search filter --> 47 47 <div id="searchfilter"> 48 <roundcube:object name="searchfilter" class="searchfilter selector" />48 <roundcube:object name="searchfilter" class="searchfilter decorated" /> 49 49 </div> 50 50 -
skins/larry/ui.js
r9bd97cc r7a32e9c 174 174 $('.tabbed').each(function(idx, elem){ init_tabs(elem); }) 175 175 176 $(document.body).bind('mouseup', body_mouseup) 177 .bind('keyup', function(e){ 178 if (e.keyCode == 27) { 179 for (var id in popups) { 180 if (popups[id].is(':visible')) 181 show_popup(id, false); 176 // decorate select elements 177 if (!bw.opera) { 178 $('select.decorated').each(function(){ 179 var title = $('option', this).first().text(); 180 if ($('option:selected', this).val() != '') 181 title = $('option:selected', this).text(); 182 var select = $(this) 183 .change(function(){ 184 var val = $('option:selected', this).text(); 185 $(this).next().children().html(val); 186 }); 187 188 $('<a class="menuselector dropdownselector"><span class="handle">' + title + '</span></a>') 189 .offset(select.position()) 190 .insertAfter(select) 191 .children().width(select.width() - 5); 192 193 select.parent().css('position', 'relative'); 194 }); 195 } 196 197 $(document.body) 198 .bind('mouseup', body_mouseup) 199 .bind('keyup', function(e){ 200 if (e.keyCode == 27) { 201 for (var id in popups) { 202 if (popups[id].is(':visible')) 203 show_popup(id, false); 204 } 182 205 } 183 } 184 }); 206 }); 185 207 186 208 $('iframe').load(function(e){
Note: See TracChangeset
for help on using the changeset viewer.
