From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- skins/classic/common.css | 381 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 363 insertions(+), 18 deletions(-) diff --git a/skins/classic/common.css b/skins/classic/common.css index c0d0a26..c163240 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -20,10 +20,14 @@ margin: 10px; } -select, input, textarea +select, input, textarea, button { - font-size: 12px; + font-size: inherit; font-family: inherit; +} + +html.mozilla select { + padding: 2px 1px; } th @@ -152,6 +156,11 @@ color: #999999; } +.voice +{ + display: none; +} + /* fixes vertical alignment of checkboxes and labels */ label input, label span @@ -251,6 +260,7 @@ body > #message div.notice, body > #messagebody .part-notice, +body > #mainscreen #messagebody .part-notice, #message-objects div.notice { background: url(images/display/icons.png) 6px 3px no-repeat; @@ -277,11 +287,19 @@ } body > #message div.loading, +body > #message div.uploading, #message-objects div.loading { background: url(images/display/loading.gif) 6px 3px no-repeat; background-color: #EBEBEB; border: 1px solid #CCCCCC; +} + +body > #message div.voice +{ + position: absolute; + top: -1000px; + clip: rect(0 0 0 0); } body > #message a @@ -336,6 +354,16 @@ { padding: 15px 10px 10px 10px; background-color: #F2F2F2; +} + +.boxcontent .boxwarning +{ + margin: 0 0 10px; + display: block; + min-height: 22px; + background: url(images/display/icons.png) #EF9398 6px -95px no-repeat; + border: 1px solid #DC5757; + padding: 8px 10px 8px 46px; } .boxcontent table td.title @@ -463,6 +491,22 @@ background-position: -33px -11px; } +#rcmcountdisplay +{ + float: left; + margin-right: 10px; +} + +#countcontrols #pagejumper +{ + margin: 0 5px; + float: right; + text-align: center; + padding: 0; + cursor: default; + font-size: 10px; +} + .splitter { user-select: none; @@ -546,6 +590,7 @@ .popupmenu li a.active:visited { color: #333; + cursor: pointer; } .popupmenu li a.active:hover, @@ -605,6 +650,10 @@ height: 16px; } +.popup label > input { + margin-left: 10px; +} + /***** common table settings ******/ table.records-table thead tr th, @@ -630,7 +679,7 @@ border-bottom: 1px solid #EBEBEB; overflow: hidden; text-align: left; - outline: none; + outline: none; } table.records-table tr @@ -662,18 +711,21 @@ ul.treelist li div.treetoggle { position: absolute; - left: 8px !important; - left: -16px; - top: 1px; + left: 8px; + top: 2px; width: 14px; height: 16px; cursor: pointer; } -ul.treelist li ul li div.treetoggle +ul.treelist ul li div.treetoggle { - left: 28px !important; - left: 4px; + left: 25px; +} + +ul.treelist ul ul li div.treetoggle +{ + left: 42px; } ul.treelist li div.collapsed @@ -685,7 +737,6 @@ { background: url(images/icons/expanded.png) bottom right no-repeat; } - ul.treelist, ul.treelist li ul @@ -707,6 +758,7 @@ font-size: 11px; border-bottom: 1px solid #EBEBEB; white-space: nowrap; + overflow: hidden; } ul.treelist li a @@ -717,6 +769,7 @@ padding-top: 2px; padding-bottom: 2px; height: 16px; + line-height: 16px; text-decoration: none; white-space: nowrap; } @@ -736,7 +789,8 @@ border-bottom: 0; } -ul.treelist li.selected > a +ul.treelist li.selected > a, +ul.treelist li.selected > div a { color: #FFF; font-weight: bold; @@ -748,21 +802,176 @@ background-color: #FFFFA6; } +/***** folders list *****/ + +.folderlist li ul li:last-child +{ + border-bottom: 0 none; +} + +.folderlist li.inbox a +{ + background-position: 5px -18px; +} + +.folderlist li.drafts a +{ + background-position: 5px -36px; +} + +.folderlist li.sent a +{ + background-position: 5px -53px; +} + +.folderlist li.junk a +{ + background-position: 5px -72px; +} + +.folderlist li.trash a +{ + background-position: 5px -180px; +} + +.folderlist li.trash.empty a +{ + background-position: 5px -90px; +} + +.folderlist li a +{ + cursor: default; + display: block; + position: relative; + padding-left: 25px; + padding-top: 2px; + padding-bottom: 2px; + text-decoration: none; + height: 15px; + background: url(images/icons/folders.png) 5px 1px no-repeat; +} + +.folderlist li.virtual > a +{ + color: #666; +} + +.folderlist li.selected, +.folderlist li.droptarget li.selected +{ + background-color: #929292; +} + +.folderlist li.selected > a, +.folderlist li.droptarget li.selected a +{ + color: #FFF; + font-weight: bold; +} + +.folderlist li.droptarget +{ + background-color: #FFFFA6; +} + +/* styles for nested folders */ +.folderlist ul { + list-style: none; + padding: 0; + margin: 0; + border-top: 1px solid #EBEBEB; + background-color: #FFF; + font-weight: normal; +} + +.folderlist li.mailbox ul li a { + padding-left: 40px; /* 24 + 1 x 16 */ + background-position: 20px 1px; /* 4 + 1 x 16 */ +} +.folderlist li.mailbox ul li div.treetoggle { + left: 23px !important; +} + +.folderlist li.mailbox ul ul li.mailbox a { + padding-left: 56px; /* 2x */ + background-position: 36px 1px; +} +.folderlist li.mailbox ul ul li div.treetoggle { + left: 39px !important; +} + +.folderlist li.mailbox ul ul ul li.mailbox a { + padding-left: 72px; /* 3x */ + background-position: 52px 1px; +} +.folderlist li.mailbox ul ul ul li div.treetoggle { + left: 55px !important; +} + +.folderlist li.mailbox ul ul ul ul li.mailbox a { + padding-left: 88px; /* 4x */ + background-position: 68px 1px; +} +.folderlist li.mailbox ul ul ul ul li div.treetoggle { + left: 71px !important; +} + +/* indent folders on levels > 4 */ +.folderlist li.mailbox ul ul ul ul ul li { + padding-left: 16px; +} +.folderlist li.mailbox ul ul ul ul ul li div.treetoggle { + left: 87px !important; +} + +.folderlist li.mailbox ul li.drafts a +{ + background-position: 21px -36px; +} + +.folderlist li.mailbox ul li.sent a +{ + background-position: 21px -53px; +} + +.folderlist li.mailbox ul li.junk a +{ + background-position: 21px -72px; +} + +.folderlist li.mailbox ul li.trash a +{ + background-position: 21px -180px; +} + +.folderlist li.mailbox ul li.trash.empty a +{ + background-position: 21px -90px; +} + /***** mac-style quicksearch field *****/ +div.searchbox, #quicksearchbar { - position: absolute; - top: 55px; - right: 10px; + position: relative; width: 190px; height: 20px; text-align: right; background: url(images/searchfield.gif) top left no-repeat; } -#searchreset +#quicksearchbar +{ + position: absolute; + top: 55px; + right: 10px; +} + +#searchreset, +div.searchbox a.searchreset { position: absolute; top: 3px; @@ -770,11 +979,33 @@ text-decoration: none; } -#searchmenulink +#searchmenulink, +div.searchbox a.searchmenu, +div.searchbox a.searchicon { position: absolute; top: 3px; right: 168px; +} + +div.searchbox a.searchreset +{ + display: block; + width: 14px; + height: 14px; + overflow: hidden; + white-space: nowrap; + text-indent: 50000px; + background: url(images/icons/reset.gif) top left no-repeat; +} + +div.searchbox a.searchicon +{ + display: inline-block; + width: 16px; + height: 16px; + overflow: hidden; + background: url(images/icons/glass.png) top left no-repeat; } #quicksearchbar img @@ -782,7 +1013,8 @@ vertical-align: middle; } -#quicksearchbox +#quicksearchbox, +div.searchbox > input { position: absolute; top: 2px; @@ -812,6 +1044,25 @@ width: 97%; } +.listsearchbox +{ + border-bottom: solid 1px #ddd; + padding: 2px 4px 1px; + display: none; + background-color: #f2f2f2; +} + +.listsearchbox a.iconbutton.reset +{ + background: url(images/icons/reset.gif) no-repeat 0 0; + width: 13px; + height: 13px; + text-indent: 50000px; + position: absolute; + top: 3px; + left: 165px; + overflow: hidden; +} /***** roundcube webmail pre-defined classes *****/ @@ -895,7 +1146,8 @@ cursor: pointer; } -#rcmKSearchpane ul li.selected +#rcmKSearchpane ul li.selected, +#pagejump-selector ul li.selected { color: #ffffff; background-color: #CC3333; @@ -1041,6 +1293,30 @@ #searchmenu ul.toolbarmenu li { margin: 1px 4px 1px; +} + +#searchmenu ul.toolbarmenu li label +{ + padding: 2px 0; + color: black; +} + +#searchmenu ul.toolbarmenu li label.comment +{ + color: #999; +} + +#pagejump-selector +{ + max-height: 250px; + overflow-x: hidden; +} + +#pagejump-selector ul li +{ + min-width: 45px; + padding: 2px 5px; + cursor: default; } @@ -1192,3 +1468,72 @@ .quota_text_high { color: white; } .quota_text_mid { color: #666; } .quota_text_low { color: #666; } + +table.quota-info { + border-spacing: 0; + border-collapse: collapse; + table-layout: fixed; + margin: 2px; +} + +table.quota-info td, +table.quota-info th { + border: 1px solid #999; + padding: 2px 3px; + text-align: center; + min-width: 80px; + color: #333; + font-size: 11px; +} + +table.quota-info th { + font-weight: bold; + background-color: #ddd; +} + +table.quota-info td.name { + text-align: left; +} + +table.quota-info td.root { + font-style: italic; +} + +/********** TinyMCE styles **********/ +.mce-btn-small button +{ + height: 22px; +} + +.mce-btn-small i +{ + line-height: 16px !important; + vertical-align: text-top !important; +} + +.mce-combobox button +{ + padding: 6px 8px !important; +} + +.mce-tinymce +{ + border-radius: 0 !important; +{ + +.mce-panel.mce-toolbar-grp +{ + border: 0 !important; +} + +#image-selector-form.droptarget { + background: url(images/filedrop.png) center bottom no-repeat; +} + +#image-selector-form.droptarget.hover +{ + background-color: #F0F0EE; + box-shadow: 0 0 5px 0 #999; + -moz-box-shadow: 0 0 5px 0 #999; + -o-box-shadow: 0 0 5px 0 #999; +} -- Gitblit v1.9.1