diff --git a/app/assets/javascripts/app/views/calendar/new.jst.eco b/app/assets/javascripts/app/views/calendar/new.jst.eco index 65755f9b1..92e5a05c9 100644 --- a/app/assets/javascripts/app/views/calendar/new.jst.eco +++ b/app/assets/javascripts/app/views/calendar/new.jst.eco @@ -661,34 +661,71 @@
- - +
+ + + + - - +
<%- @T('Active') %> <%- @T('Date') %> <%- @T('Description') %> <%- @T('Action') %>
+ <%- @Tdate('2015-12-24') %> Some Description - <%- @Icon('diagonal-cross') %> + +
+
+ <%- @Icon('trash') %> <%- @T('Remove') %> +
+
+ <%- @Tdate('2015-12-25') %> Some Description - <%- @Icon('diagonal-cross') %> + +
+
+ <%- @Icon('trash') %> <%- @T('Remove') %> +
+
+ <%- @Tdate('2015-12-26') %> Some Description - ICON FOR ENABLE? -
<%- @T('Add manual hollidays') %>: -
- - <%- @Icon('plus') %> - + +
+
+ <%- @Icon('trash') %> <%- @T('Remove') %> +
+
+
+ + + + + + +
+ <%- @Icon('plus-small') %> Add Date +
diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index 5a2345577..361cd20cd 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -294,6 +294,11 @@ span[data-tooltip]:hover:before { white-space: nowrap; vertical-align: middle; + .icon { + vertical-align: middle; + margin-top: -3px; + } + &:focus { box-shadow: 0 0 0 3px hsl(201,62%,90%); } @@ -619,7 +624,6 @@ table { .radio-replacement { padding: 0; margin: 0; - height: 38px; @extend .u-clickable; display: flex; align-items: center; @@ -635,6 +639,11 @@ table { display: none; } +.table .checkbox-replacement, +.table .radio-replacement { + height: 38px; +} + .table .priority.icon:after { background: #f8f9fa; } @@ -801,6 +810,9 @@ label, display: inline; white-space: nowrap; /* for labels in tables that might get crushed view: calendar_subscriptions */ } +.inline-label .label-text { + margin-left: 3px; +} fieldset { margin: 0 -4px; @@ -1020,6 +1032,7 @@ input[type="checkbox"] { input[type=text], input[type=password], input[type=email], +input[type=date], textarea, .form-control, .checkbox.form-group .checkbox { @@ -1040,8 +1053,7 @@ textarea, appearance: none; &.form-control--small { - padding-top: 0; - padding-bottom: 0; + padding: 0 8px; height: 31px; } } @@ -5823,7 +5835,6 @@ output { } } - th, td { padding: 10px; border: 1px solid hsl(198,18%,86%); @@ -5849,6 +5860,14 @@ output { margin: 0; } + .btn.btn--text:not(.btn--secondary) { + color: hsl(60,1%,61%); + } + + .btn .icon { + fill: hsl(60,1%,61%); + } + th:not(:last-child), td:not(:last-child) { border-right: none; @@ -5858,6 +5877,11 @@ output { border-bottom: none; } + tr.is-inactive td { + color: hsl(199,19%,80%); + text-decoration: line-through; + } + thead th:first-child { border-top-left-radius: 4px; } @@ -5896,6 +5920,12 @@ output { vertical-align: top; } } + + .settings-list-controlRow { + td { + padding: 5px; + } + } }