diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2013-09-12 11:35:26 +0200 |
---|---|---|
committer | Hugues Hiegel <root@paranoid> | 2013-11-08 17:40:16 +0100 |
commit | 31de4bc5ebf9556817554ae9630ca06e92fd7218 (patch) | |
tree | f98afd42b6f4f818b3f4c489b2e6a7b3912dbb93 /plugins/sieverules/skins/larry | |
parent | ef14bd0d8d58ae0f57aa1969e31a5373aa441dba (diff) |
Updates / Plugins
Diffstat (limited to 'plugins/sieverules/skins/larry')
-rw-r--r-- | plugins/sieverules/skins/larry/cross.png | bin | 0 -> 342 bytes | |||
-rw-r--r-- | plugins/sieverules/skins/larry/help.png | bin | 0 -> 475 bytes | |||
-rw-r--r-- | plugins/sieverules/skins/larry/icons.png | bin | 0 -> 1773 bytes | |||
-rw-r--r-- | plugins/sieverules/skins/larry/iehacks.css | 53 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/listicons.png | bin | 0 -> 1345 bytes | |||
-rw-r--r-- | plugins/sieverules/skins/larry/safari.css | 8 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/sieverules.css | 435 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/tabstyles.css | 15 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/templates/advancededitor.html | 60 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/templates/editsieverule.html | 30 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/templates/setupsieverules.html | 27 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/templates/sieverules.html | 78 | ||||
-rw-r--r-- | plugins/sieverules/skins/larry/tick.png | bin | 0 -> 284 bytes |
13 files changed, 706 insertions, 0 deletions
diff --git a/plugins/sieverules/skins/larry/cross.png b/plugins/sieverules/skins/larry/cross.png Binary files differnew file mode 100644 index 000000000..8d8a13f47 --- /dev/null +++ b/plugins/sieverules/skins/larry/cross.png diff --git a/plugins/sieverules/skins/larry/help.png b/plugins/sieverules/skins/larry/help.png Binary files differnew file mode 100644 index 000000000..9f7a6ae44 --- /dev/null +++ b/plugins/sieverules/skins/larry/help.png diff --git a/plugins/sieverules/skins/larry/icons.png b/plugins/sieverules/skins/larry/icons.png Binary files differnew file mode 100644 index 000000000..db84da896 --- /dev/null +++ b/plugins/sieverules/skins/larry/icons.png diff --git a/plugins/sieverules/skins/larry/iehacks.css b/plugins/sieverules/skins/larry/iehacks.css new file mode 100644 index 000000000..e370e9300 --- /dev/null +++ b/plugins/sieverules/skins/larry/iehacks.css @@ -0,0 +1,53 @@ +/** + * SieveRules plugin styles (IE hacks) + */ + +#sieverules-list +{ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +.sieverules-boxcontent +{ + height: expression(parseInt(this.parentNode.offsetHeight)-25+'px'); +} + +#sieverules-list-filters +{ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); + width: expression(parseInt(this.parentNode.offsetWidth)+'px'); +} + +#sieverules-list-examples +{ + width: expression(parseInt(this.parentNode.offsetWidth)+'px'); +} + +#sieverules-details +{ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); + width: expression((parseInt(this.parentNode.offsetWidth)-270)+'px'); +} + +#sieverules-advanced +{ + height: expression((parseInt(document.documentElement.clientHeight)-130)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); +} + +table.records-table td.vacdaysexp +{ + word-wrap: break-word; +} + +#sieverules-advancedbox +{ + height: expression((parseInt(document.documentElement.clientHeight)-177)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-48)+'px'); +} + +#sieverules-advanced textarea +{ + height: expression((parseInt(document.documentElement.clientHeight)-177)+'px'); + width: expression((parseInt(document.documentElement.clientWidth)-48)+'px'); +}
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/listicons.png b/plugins/sieverules/skins/larry/listicons.png Binary files differnew file mode 100644 index 000000000..f6889c4a0 --- /dev/null +++ b/plugins/sieverules/skins/larry/listicons.png diff --git a/plugins/sieverules/skins/larry/safari.css b/plugins/sieverules/skins/larry/safari.css new file mode 100644 index 000000000..0add9e3d2 --- /dev/null +++ b/plugins/sieverules/skins/larry/safari.css @@ -0,0 +1,8 @@ +/** + * SieveRules plugin styles (safari hacks) + */ + +table.records-table td.vacdaysexp +{ + word-wrap: break-word; +}
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/sieverules.css b/plugins/sieverules/skins/larry/sieverules.css new file mode 100644 index 000000000..c726acfed --- /dev/null +++ b/plugins/sieverules/skins/larry/sieverules.css @@ -0,0 +1,435 @@ +/** + * SieveRules plugin styles + */ + +#sieverules-list +{ + position: absolute; + top: 0; + left: 0; + width: 260px; + bottom: 0; +} + +#sieverules-list-filters +{ + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + width: 100%; + overflow: auto; +} + +#sieverules-list-filters thead td +{ + height: 15px; +} + +#sieverules-list-filters thead td span +{ + position: absolute; + top: 10px; + left: 8px; + right: 30px; + overflow: hidden; + text-overflow: ellipsis; +} + + +#sieverules-list-filters thead td img +{ + position: absolute; + top: 9px; + right: 8px; +} + +#sieverules-list-examples +{ + position: absolute; + bottom: 0; + left: 0; + right: 0; + width: 100%; + overflow: auto; +} + +#sieverules-details +{ + position: absolute; + top: 0; + left: 270px; + right: 0; + bottom: 0; +} + +#sieverules-advanced +{ + position: absolute; + top: 0; + left: 232px; + right: 0; + bottom: 0; +} + +span.disableLink +{ + float: right; + width: 200px; + text-align: right; +} + +#sieverules-table, +#sieverules-examples +{ + width: 100%; +} + +#sieverules-table tbody td +{ + cursor: default; +} + +#sieverules-table tbody td.control, +#rules-table tbody td.control, +#actions-table tbody td.control +{ + text-align: right; +} + +#sieverules-table tbody td.control a, +#rules-table tbody td.control a, +#actions-table tbody td.control a +{ + display: block; + float: right; + width: 16px; + height: 16px; + background-image: url(icons.png); +} + +#sieverules-table tbody td.control a.up_arrow +{ + background-position: 0 0; +} + +#sieverules-table tbody td.control a.down_arrow +{ + background-position: 0 -18px; +} + +#rules-table tbody td.control, +#actions-table tbody td.control +{ + vertical-align: top; +} + +#rules-table tbody td.control a.add, +#actions-table tbody td.control a.add +{ + margin-left: 5px; + background-position: 0 -78px; +} + +#rules-table tbody td.control a.delete, +#actions-table tbody td.control a.delete +{ + background-position: 0 -59px; +} + +#rules-table tbody td.control a.delete_act, +#actions-table tbody td.control a.delete_act +{ + background-position: 0 -39px; +} + +#actions-table tbody a.vacsig +{ + display: block; + width: 16px; + height: 16px; + background-image: url(icons.png); + background-position: -1px -126px; +} + +#actions-table tbody a.vacsig_act +{ + display: block; + width: 16px; + height: 16px; + background-image: url(icons.png); + background-position: -1px -102px; +} + +table.records-table +{ + width: auto; + border: 0; +} + +table.records-table tbody td, +table.records-table thead td +{ + border: 0; +} + +#rules-table, +#actions-table +{ + width: 100%; +} + +#rules-table td table.records-table +{ + width: auto; +} + +#rules-table td, +#actions-table td, +#rules-table td table.records-table td +{ + width: auto; +} + +#rules-table td.selheader, +#rules-table td.op +{ + width: 130px; +} + +#rules-table td.header +{ + width: 135px; +} + +#rules-table td.target +{ + width: 180px; +} + +#rules-table input +{ + width: 150px; +} + +#rules-table input.short +{ + width: 100px; +} + +#rules-table select +{ + width: 123px; +} + +#rules-table select.short +{ + width: 45px; +} + +#rules-table select.long +{ + width: 157px; +} + +#rules-table td table.records-table select +{ + width: 432px; +} + +#rules-table td table.records-table input +{ + width: 426px; +} + +#rules-table td table.records-table input.short +{ + width: 406px; +} + +#rules-table td table.records-table input.radio +{ + width: auto; +} + +#actions-table td.action +{ + width: 165px; + vertical-align: top; +} + +#actions-table td.folder +{ + width: 420px; + vertical-align: top; +} + +#actions-table td.action select +{ + width: 160px; +} + +#actions-table td.folder input, +#actions-table td.folder textarea +{ + width: 400px; +} + +#actions-table td.folder select +{ + width: 408px; +} + +#actions-table td.folder table.records-table select +{ + width: 337px; +} + +#actions-table td.folder table.records-table input, +#actions-table td.folder table.records-table textarea +{ + width: 330px; +} + +#actions-table td.folder table.records-table input.short, +#actions-table td.folder table.records-table select.short +{ + width: 310px; +} + +#actions-table td.folder table.records-table input.checkbox, +#actions-table td.folder table.records-table input.radio +{ + width: auto; +} + +table.records-table td.msg +{ + vertical-align: top; +} + +table.records-table td.vacdaysexp +{ + width: 398px; + white-space: -moz-pre-wrap !important; + white-space: pre-wrap !important; + white-space: pre; +} + +#advancedmode +{ + white-space: nowrap; + text-align: right; + position: absolute; + bottom: 30px; + right: 20px; + width: 460px; +} + +#sieverules-advancedbox +{ + position: absolute; + top: 34px; + left: 0; + bottom: 100px; + right: 8px; +} + +#sieverules-advanced textarea +{ + position: absolute; + top: 0; + left: 0; + border: 0; + width: 100%; + height: 100%; +} + +.listing tbody tr.droptarget td +{ + border-top: 2px solid #0e5266; + background-color: #D9ECF4; +} + +.listing tbody tr.droptargetend td +{ + border-bottom: 2px solid #0e5266; + background-color: #D9ECF4; +} + +#sieverulesrsdialog h3 +{ + color: #333; + font-size: medium; + margin-top: 0.5em; + margin-bottom: 1em; +} + +#sieverulesrsdialog table td input +{ + width: 20em; +} + +#sieverulesrsdialog .formbuttons +{ + margin-top: 1.5em; + text-align: center; +} + +input.inputmask +{ + color: #999999; +} + +#sieverulesactionsmenu a.selected +{ + font-weight: bold; +} + +#sieverules-advbuttons +{ + position: absolute; + left: 0; + bottom: 45px; +} + +#sieverules-advanced .boxfooter +{ + position: absolute; + bottom: 0; + left: 0; + right: 0; + height: 27px; + padding-left: 1px; + border-top: 1px solid #ddd; + border-radius: 0 0 4px 4px; + background: #eaeaea; + background: -moz-linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaeaea), color-stop(100%,#c8c8c8)); + background: -o-linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); + background: -ms-linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); + background: linear-gradient(top, #eaeaea 0%, #c8c8c8 100%); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +#sieverules-advanced .boxfooter .listbutton +{ + background: #C4BEBE; +} + +#sieverules-advanced .boxfooter .listbutton .inner +{ + height: 20px; + background-image: url(listicons.png); + background-position: 5px -52px; +} + +#sieverules-advanced .boxfooter #message +{ + position: absolute; + top: 0; + left: 65px; +}
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/tabstyles.css b/plugins/sieverules/skins/larry/tabstyles.css new file mode 100644 index 000000000..a7c988240 --- /dev/null +++ b/plugins/sieverules/skins/larry/tabstyles.css @@ -0,0 +1,15 @@ +/** + * SieveRules plugin styles (tab styles) + */ + +#settings-sections #settingstabpluginsieverules a +{ + background-image: url(listicons.png); + background-position: 6px -2px; +} + +#settings-sections #settingstabpluginsieverules.selected a +{ + background-image: url(listicons.png); + background-position: 6px -25px; +}
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/templates/advancededitor.html b/plugins/sieverules/skins/larry/templates/advancededitor.html new file mode 100644 index 000000000..38186f049 --- /dev/null +++ b/plugins/sieverules/skins/larry/templates/advancededitor.html @@ -0,0 +1,60 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/sieverules.css" /> +<roundcube:if condition="browser:ie" /> +<link rel="stylesheet" type="text/css" href="/this/iehacks.css" /> +<roundcube:endif /> +<roundcube:if condition="browser:safari" /> +<link rel="stylesheet" type="text/css" href="/this/safari.css" /> +<roundcube:endif /> +</head> +<body class="noscroll"> + +<roundcube:include file="/includes/header.html" /> + +<div id="mainscreen" class="offset"> + +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="sieverules-advanced" class="uibox contentbox"> + +<h1 class="boxtitle"><roundcube:object name="steptitle" /></h1> + +<div id="sieverules-advancedbox" class="boxcontent"> +<roundcube:object name="advancededitor" class="propform" /> +</div> + +<div id="sieverules-advbuttons"> +<div class="footerleft formbuttons"> +<roundcube:button command="plugin.sieverules.save" type="input" label="save" class="button mainaction" /> +</div> +</div> + +<div class="boxfooter"> +<roundcube:button name="sieverulesactions" id="sieverulesactionsmenulink" type="link" title="sieverules.moreactions" class="listbutton groupactions" onclick="UI.show_popup('sieverulesactionsmenu', true, {id: 'sieverulesactionsmenu', obj:$('#sieverulesactionsmenu'), above:1}); return false" innerClass="inner" content="⚙" /> +<roundcube:object name="message" id="message" /> +</div> +</div> + +</div> + +<roundcube:include file="/includes/footer.html" /> + +<div id="sieverulesactionsmenu" class="popupmenu"> +<ul class="toolbarmenu"> +<roundcube:if condition="config:sieverules_multiplerules == true" /> +<li class="separator_below"><roundcube:button command="plugin.sieverules.ruleset_dialog" type="link" label="sieverules.newruleset" classAct="active" /></li> +<roundcube:object name="rulelist" type="link" /> +<li class="separator_above"><roundcube:button command="plugin.sieverules.ruleset_dialog" prop="rename_ruleset" type="link" label="sieverules.renameruleset" classAct="active" /></li> +<li><roundcube:button command="plugin.sieverules.del_ruleset" type="link" label="sieverules.delruleset" classAct="active" /></li> +<li><roundcube:button command="plugin.sieverules.activate_ruleset" type="link" label="sieverules.activateruleset" classAct="active" /></li> +<roundcube:endif /> +<li<roundcube:exp expression="config:sieverules_multiplerules == true ? ' class=separator_above' : ''" />><roundcube:button command="plugin.sieverules.sieverules_adveditor" prop="0" type="link" label="sieverules.stdeditor" classAct="active" /></li> +</ul> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/templates/editsieverule.html b/plugins/sieverules/skins/larry/templates/editsieverule.html new file mode 100644 index 000000000..5b7fe285c --- /dev/null +++ b/plugins/sieverules/skins/larry/templates/editsieverule.html @@ -0,0 +1,30 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/sieverules.css" /> +<roundcube:if condition="browser:ie" /> +<link rel="stylesheet" type="text/css" href="/this/iehacks.css" /> +<roundcube:endif /> +<roundcube:if condition="browser:safari" /> +<link rel="stylesheet" type="text/css" href="/this/safari.css" /> +<roundcube:endif /> +</head> +<body class="iframe"> + +<h1 class="boxtitle"><roundcube:object name="steptitle" /></h1> + +<div id="preferences-details" class="boxcontent"> +<roundcube:object name="sieveruleform" class="propform" helpIcon="/this/help.png" /> +</div> + +<div class="footerleft formbuttons"> +<roundcube:button command="plugin.sieverules.save" type="input" class="button mainaction" label="save" /> +<roundcube:button command="plugin.sieverules.copy_rule" type="input" class="button" label="sieverules.copy" condition="env:action=='plugin.sieverules.edit' && config:sieverules_multiplerules == true" /> +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html>
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/templates/setupsieverules.html b/plugins/sieverules/skins/larry/templates/setupsieverules.html new file mode 100644 index 000000000..0b11adbdd --- /dev/null +++ b/plugins/sieverules/skins/larry/templates/setupsieverules.html @@ -0,0 +1,27 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/sieverules.css" /> +<roundcube:if condition="browser:ie" /> +<link rel="stylesheet" type="text/css" href="/this/iehacks.css" /> +<roundcube:endif /> +<roundcube:if condition="browser:safari" /> +<link rel="stylesheet" type="text/css" href="/this/safari.css" /> +<roundcube:endif /> +</head> +<body class="iframe"> + +<h1 class="boxtitle"><roundcube:object name="steptitle" /></h1> + +<div id="preferences-details" class="boxcontent"> +<roundcube:object name="sieverulessetup" class="propform" /> +</div> + +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html>
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/templates/sieverules.html b/plugins/sieverules/skins/larry/templates/sieverules.html new file mode 100644 index 000000000..694152076 --- /dev/null +++ b/plugins/sieverules/skins/larry/templates/sieverules.html @@ -0,0 +1,78 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/sieverules.css" /> +<roundcube:if condition="browser:ie" /> +<link rel="stylesheet" type="text/css" href="/this/iehacks.css" /> +<roundcube:endif /> +<roundcube:if condition="browser:safari" /> +<link rel="stylesheet" type="text/css" href="/this/safari.css" /> +<roundcube:endif /> +</head> +<body class="noscroll"> + +<roundcube:include file="/includes/header.html" /> + +<div id="mainscreen" class="offset"> + +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="settings-right"> + +<div id="sieverules-list" class="uibox listbox"> +<div class="scroller withfooter"> +<roundcube:object name="sieveruleslist" class="listing" cellspacing="0" noheader="true" activeicon="/this/tick.png" inactiveicon="/this/cross.png" /> +<roundcube:object name="sieverulesexamplelist" class="listing" cellspacing="0" noheader="true" /> +</div> +<div class="boxfooter"> +<roundcube:button command="plugin.sieverules.add" type="link" title="sieverules.newfilter" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" /><roundcube:button command="plugin.sieverules.delete" type="link" title="delete" class="listbutton delete disabled" classAct="listbutton delete" innerClass="inner" content="-" /><roundcube:if condition="config:sieverules_multiplerules == true || config:sieverules_adveditor == 1 || config:sieverules_adveditor == 2" /><roundcube:button name="sieverulesactions" id="sieverulesactionsmenulink" type="link" title="sieverules.moreactions" class="listbutton groupactions" onclick="UI.show_popup('sieverulesactionsmenu', true, {id: 'sieverulesactionsmenu', obj:$('#sieverulesactionsmenu'), above:1}); return false" innerClass="inner" content="⚙" /><roundcube:endif /> +</div> +</div> + +<div id="sieverules-details" class="uibox contentbox"> +<div class="iframebox"> + <roundcube:object name="sieverulesframe" id="preferences-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> +</div> +<roundcube:object name="message" id="message" class="statusbar" /> +</div> + +</div> + +</div> + +<roundcube:include file="/includes/footer.html" /> + +<div id="sieverulesactionsmenu" class="popupmenu"> +<ul class="toolbarmenu"> +<roundcube:if condition="config:sieverules_multiplerules == true" /> +<li class="separator_below"><roundcube:button command="plugin.sieverules.ruleset_dialog" type="link" label="sieverules.newruleset" classAct="active" /></li> +<roundcube:object name="rulelist" type="link" /> +<li class="separator_above"><roundcube:button command="plugin.sieverules.ruleset_dialog" prop="rename_ruleset" type="link" label="sieverules.renameruleset" classAct="active" /></li> +<li><roundcube:button command="plugin.sieverules.del_ruleset" type="link" label="sieverules.delruleset" classAct="active" /></li> +<li><roundcube:button command="plugin.sieverules.activate_ruleset" type="link" label="sieverules.activateruleset" classAct="active" /></li> +<roundcube:endif /> +<roundcube:if condition="config:sieverules_adveditor == 1 || config:sieverules_adveditor == 2" /> +<li<roundcube:exp expression="config:sieverules_multiplerules == true ? ' class=separator_above' : ''" />><roundcube:button command="plugin.sieverules.sieverules_adveditor" prop="1" type="link" label="sieverules.adveditor" classAct="active" /></li> +<roundcube:endif /> +</ul> +</div> + +<script type="text/javascript"> +/* <![CDATA[ */ + +$(document).ready(function(){ + new rcube_splitter({id:'sieverulesviewsplitter', p1: '#sieverules-list', p2: '#sieverules-details', orientation: 'v', relative: true, start: 240}).init(); + + if ($('#sieverules-list-examples').length > 0) { + var filtersHeight = parseInt($('#sieverules-list').height() - 210); + new rcube_splitter({id:'sievefiltersviewsplitter', p1: '#sieverules-list-filters', p2: '#sieverules-list-examples', orientation: 'h', relative: true, start: filtersHeight}).init(); + } +}); + +/* ]]> */ +</script> + +</body> +</html>
\ No newline at end of file diff --git a/plugins/sieverules/skins/larry/tick.png b/plugins/sieverules/skins/larry/tick.png Binary files differnew file mode 100644 index 000000000..6a26a6a08 --- /dev/null +++ b/plugins/sieverules/skins/larry/tick.png |