[Bps-public-commit] rt-extension-repeatticket branch, master, updated. 297f31a3aa10956d02e83ea995b65c1257aa226c
Wallace Reis
wreis at bestpractical.com
Thu Feb 13 09:20:40 EST 2014
The branch, master has been updated
via 297f31a3aa10956d02e83ea995b65c1257aa226c (commit)
from d3f099a17690837c44458c953c1431d7467c12de (commit)
Summary of changes:
lib/RT/Extension/RepeatTicket.pm | 2 ++
static/css/repeat-ticket.css | 33 +++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 static/css/repeat-ticket.css
- Log -----------------------------------------------------------------
commit 297f31a3aa10956d02e83ea995b65c1257aa226c
Author: Wallace Reis <wreis at bestpractical.com>
Date: Thu Feb 13 12:18:33 2014 -0200
Bug #92787: It needs some CSS for RT-4.2
Add custom style for recurrence boxes.
diff --git a/lib/RT/Extension/RepeatTicket.pm b/lib/RT/Extension/RepeatTicket.pm
index 84db228..d5edcb1 100644
--- a/lib/RT/Extension/RepeatTicket.pm
+++ b/lib/RT/Extension/RepeatTicket.pm
@@ -11,6 +11,8 @@ use RT::Date;
use List::MoreUtils qw/after/;
use DateTime::Event::ICal;
+RT->AddStyleSheets('repeat-ticket.css');
+
my $old_create_ticket = \&HTML::Mason::Commands::CreateTicket;
{
no warnings 'redefine';
diff --git a/static/css/repeat-ticket.css b/static/css/repeat-ticket.css
new file mode 100644
index 0000000..505522e
--- /dev/null
+++ b/static/css/repeat-ticket.css
@@ -0,0 +1,33 @@
+body.aileron .ticket-info-repeat-recurrence .titlebox
+ .titlebox-title .widget a {
+ background-position: center -7px;
+}
+body.rudder .ticket-info-repeat-recurrence .titlebox
+ .titlebox-title .left {
+ background-color: #ccc;
+ color: #fff;
+}
+body.rudder .ticket-info-repeat-recurrence .titlebox-title {
+ margin-left: 1em
+}
+body.rudder .ticket-info-repeat-recurrence .titlebox-title
+ .left {
+ padding-left: 2.25em;
+ margin-left: 0;
+ padding-bottom: 4px;
+ margin-bottom: 8px;
+ -webkit-border-top-left-radius: 0.3em;
+ -webkit-border-top-right-radius: 0.3em;
+ -moz-border-radius-topleft: 0.3em;
+ -moz-border-radius-topright: 0.3em;
+ border-radius: 0.3em 0.3em 0 0;
+}
+body.web2 .ticket-info-repeat-recurrence .titlebox
+ .titlebox-title .left,
+ body.aileron .ticket-info-repeat-recurrence .titlebox
+ .titlebox-title .left, body.ballard
+ .ticket-info-repeat-recurrence .titlebox .titlebox-title
+ .left {
+ background-color: #4488CC;
+ color: #FFFFFF;
+}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list