Changeset 98d0960 in github
- Timestamp:
- Jul 6, 2012 6:53:07 AM (11 months ago)
- Children:
- 3efc746
- Parents:
- 30eb9ee
- Location:
- skins/larry
- Files:
-
- 1 added
- 10 edited
-
images/overflowshadow.png (added)
-
styles.css (modified) (4 diffs)
-
templates/addressbook.html (modified) (1 diff)
-
templates/contactedit.html (modified) (2 diffs)
-
templates/folderedit.html (modified) (2 diffs)
-
templates/folders.html (modified) (1 diff)
-
templates/identities.html (modified) (1 diff)
-
templates/identityedit.html (modified) (1 diff)
-
templates/settings.html (modified) (1 diff)
-
templates/settingsedit.html (modified) (1 diff)
-
ui.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
skins/larry/styles.css
r14ee44e r98d0960 1037 1037 } 1038 1038 1039 body.iframe.f ooterbuttons {1040 margin-bottom: 4 2px;1039 body.iframe.floatingbuttons { 1040 margin-bottom: 40px; 1041 1041 } 1042 1042 … … 1065 1065 } 1066 1066 1067 body.iframe .footer buttons{1067 body.iframe .footerleft.floating { 1068 1068 position: fixed; 1069 1069 left: 0; … … 1072 1072 z-index: 110; 1073 1073 background: #fff; 1074 padding: 8px; 1074 padding-top: 8px; 1075 padding-bottom: 12px; 1076 } 1077 1078 body.iframe .footerleft.floating:before { 1079 content: " "; 1080 position: absolute; 1081 top: -6px; 1082 left: 0; 1083 width: 100%; 1084 height: 6px; 1085 background: url(images/overflowshadow.png) top center no-repeat; 1075 1086 } 1076 1087 … … 1088 1099 } 1089 1100 1101 .iframebox { 1102 position: absolute; 1103 top: 0; 1104 left: 0; 1105 right: 0; 1106 bottom: 28px; 1107 } 1108 1090 1109 .footerleft { 1091 padding: 0 12px 10px 12px;1110 padding: 0 12px 4px 12px; 1092 1111 } 1093 1112 -
skins/larry/templates/addressbook.html
r77fad16 r98d0960 68 68 69 69 <div id="contacts-box" class="uibox"> 70 <roundcube:object name="addressframe" id="contact-frame" style="width:100%; height:96%" frameborder="0" src="/watermark.html" /> 70 <div class="iframebox"> 71 <roundcube:object name="addressframe" id="contact-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> 72 </div> 71 73 <roundcube:object name="message" id="message" class="statusbar" /> 72 74 </div> -
skins/larry/templates/contactedit.html
r0be8bd1 r98d0960 5 5 <roundcube:include file="/includes/links.html" /> 6 6 </head> 7 <body class="iframe footerbuttons">7 <body class="iframe"> 8 8 9 9 <h1 class="boxtitle"> … … 37 37 </form> 38 38 39 <div class="footer buttonsformbuttons">39 <div class="footerleft formbuttons"> 40 40 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 41 41 <roundcube:button command="show" type="input" class="button" label="cancel" condition="env:action=='edit'" /> -
skins/larry/templates/folderedit.html
rb540ed1 r98d0960 13 13 </div> 14 14 15 <div id="formfooter">16 15 <div class="footerleft formbuttons"> 17 16 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> … … 20 19 <roundcube:endif /> 21 20 </div> 22 </div>23 21 24 22 <roundcube:include file="/includes/footer.html" /> -
skins/larry/templates/folders.html
refaf2e0 r98d0960 29 29 30 30 <div id="folder-details" class="uibox contentbox"> 31 <roundcube:object name="folderframe" id="preferences-frame" style="width:100%; height:96%" frameborder="0" src="/watermark.html" /> 31 <div class="iframebox"> 32 <roundcube:object name="folderframe" id="preferences-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> 33 </div> 32 34 <roundcube:object name="message" id="message" class="statusbar" /> 33 35 </div> -
skins/larry/templates/identities.html
rd5fedc3 r98d0960 26 26 27 27 <div id="identity-details" class="uibox contentbox"> 28 <roundcube:object name="identityframe" id="preferences-frame" style="width:100%; height:96%" frameborder="0" src="/watermark.html" /> 28 <div class="iframebox"> 29 <roundcube:object name="identityframe" id="preferences-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> 30 </div> 29 31 <roundcube:object name="message" id="message" class="statusbar" /> 30 32 </div> -
skins/larry/templates/identityedit.html
r223ae9d r98d0960 13 13 </div> 14 14 15 <div id="formfooter">16 15 <div class="footerleft formbuttons"> 17 16 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 18 </div>19 17 </div> 20 18 -
skins/larry/templates/settings.html
rd5fedc3 r98d0960 22 22 23 23 <div id="preferences-box" class="uibox contentbox"> 24 <roundcube:object name="prefsframe" id="preferences-frame" style="width:100%; height:96%" frameborder="0" src="/watermark.html" /> 25 <roundcube:object name="message" id="message" class="statusbar" /> 24 <div class="iframebox"> 25 <roundcube:object name="prefsframe" id="preferences-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> 26 </div> 27 <roundcube:object name="message" id="message" class="statusbar" /> 26 28 </div> 27 29 -
skins/larry/templates/settingsedit.html
r28e18c7 r98d0960 13 13 </div> 14 14 15 <div id="formfooter">16 15 <div class="footerleft formbuttons"> 17 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 18 </div> 16 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 19 17 </div> 20 18 -
skins/larry/ui.js
r30eb9ee r98d0960 219 219 // don't use $(window).resize() due to some unwanted side-effects 220 220 window.onresize = resize; 221 resize(); 221 222 } 222 223 … … 256 257 layout_composeview(); 257 258 } 259 260 // make iframe footer buttons float if scrolling is active 261 $('body.iframe .footerleft').each(function(){ 262 var footer = $(this), 263 body = $(document.body), 264 floating = footer.hasClass('floating'), 265 overflow = body.outerHeight(true) > $(window).height(); 266 if (overflow != floating) { 267 var action = overflow ? 'addClass' : 'removeClass'; 268 footer[action]('floating'); 269 body[action]('floatingbuttons'); 270 } 271 }) 272 258 273 } 259 274
Note: See TracChangeset
for help on using the changeset viewer.
