roundcubemail-plugins-kolab/plugins/libkolab/skins/elastic/include/libcalendaring.less

727 lines
13 KiB
Text
Raw Normal View History

/**
* Kolab core library
*
* This file contains Elastic skin styles for libcalendaring plugin.
*
* @author Aleksander Machniak <machniak@kolabsys.com>
*
* Copyright (C) 2012-2018, Kolab Systems AG <contact@kolabsys.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
.invitebox {
& > i.icon {
position: absolute;
top: 0;
padding-top: .5em;
}
& > span {
padding-left: 2.5em;
}
td {
padding: 2px;
2018-03-30 11:45:53 +02:00
vertical-align: top;
&.ititle {
font-weight: bold;
padding-right: 0.5em;
}
&.label {
color: #666;
padding-right: 1em;
}
&.sensitivity {
font-weight: bold;
}
&.recurrence-id {
text-transform: uppercase;
font-style: italic;
}
&.date.modified {
font-weight: bold;
color: @color-error;
}
em {
font-weight: bold;
}
}
.itip-buttons {
display: flex;
flex-wrap: wrap;
input.button {
margin: 0 .25rem .25rem 0;
}
}
.rsvp-buttons {
width: 100%;
2018-03-25 17:01:38 +00:00
padding-top: .25rem;
}
.itip-reply-controls {
margin-top: .25rem;
width: 100%;
& > label {
display: inline;
2018-03-25 17:01:38 +00:00
label {
line-height: 1;
margin-right: .25rem;
}
}
a {
margin-left: 1em;
white-space: nowrap;
}
}
.rsvp-status {
margin: .5rem 0;
2018-03-22 12:38:43 +00:00
width: 100%;
&.hint {
color: #666;
font-style: italic;
}
}
.folder-select {
white-space: nowrap;
select {
display: initial;
width: auto;
}
}
}
.rsvp-status {
&:before {
line-height: 1.1;
color: lighten(@color-black, 25%);
float: none;
display: inline;
}
&.loading:before {
&:extend(.font-icon-class);
.animated-icon-class;
content: @fa-var-circle-notch;
line-height: 1;
}
&.declined:before {
&:extend(.font-icon-class);
content: @fa-var-ban;
color: @color-error;
}
&.tentative:before {
&:extend(.font-icon-class);
content: @fa-var-check-circle;
color: @color-warning;
}
&.accepted:before {
&:extend(.font-icon-class);
content: @fa-var-check-circle;
color: @color-success;
}
&.delegated:before {
&:extend(.font-icon-class);
content: @fa-var-share;
}
&.needs-action:before {
&:extend(.font-icon-class);
content: @fa-var-question-circle;
}
}
.attendee {
&:before {
&:extend(.font-icon-class);
content: @fa-var-question-circle;
display: inline;
float: none;
font-size: 1em;
2018-03-25 13:15:30 +00:00
color: @color-black-shade-text;
}
&.req-participant:before {
content: @fa-var-user;
}
&.opt-participant:before {
.font-icon-regular(@fa-var-user);
}
&.non-participant:before {
content: @fa-var-user;
color: #ccc;
}
&.chair:before {
content: @fa-var-user; // todo
color: @color-warning;
}
&.completed:before,
&.accepted:before {
content: @fa-var-check-circle;
color: @color-success;
}
&.declined:before {
content: @fa-var-ban;
color: @color-error;
}
&.tentative:before {
content: @fa-var-check-circle;
color: @color-warning;
}
&.delegated:before {
content: @fa-var-share;
}
&.organizer:before {
content: @fa-var-briefcase; // TODO: better icon
}
&.in-process:before {
content: @fa-var-cog;
}
}
2018-03-22 12:38:43 +00:00
.attendees-comentbox {
label {
display: inline;
}
}
.edit-attendees-table {
width: 100%;
2018-03-22 12:38:43 +00:00
th, td {
width: 1%;
text-align: center;
}
td {
border: 0;
padding: 0 .3rem;
2018-03-22 12:38:43 +00:00
}
th {
border-bottom: 1px solid #eee !important;
}
th.name, td.name, th.role, td.role {
width: auto;
text-align: left;
}
th.invite {
input {
display: none;
}
label {
cursor: pointer;
}
2018-03-22 12:38:43 +00:00
label:before {
&:extend(.font-icon-class);
content: @fa-var-envelope;
display: inline;
float: none;
margin-left: .25rem;
}
}
Upgrade to fullCalendar 3.9.0 Squashed commit of the following: commit cd7c726b57edaa7997e0ebed27b5b5ec8ae7fb1e Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 13:52:35 2019 +0000 Remove leftover code Agenda sections and fisheye view. commit 8b2203adfc03746872183e2d211ad1fe1798730e Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 12:23:11 2019 +0000 Fix duplicated requests on using Next/Prev buttons in Agenda view commit 2dff07962566c13ef38703cc23d4f6b234b80303 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 11:34:16 2019 +0000 Increase font-size for .fc-event commit 9bb48ec3fa1d3a4eb255870b1a91ace55dbc5b95 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 12:10:33 2019 +0000 Fix re-fetching updated event in quickview mode commit 841815f5b1a5581f607bd5ee05e15e9c8476f4bc Merge: ffe9c0c7 315079c8 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:43:19 2019 +0000 Merge branch 'master' into dev/fullcalendar-upgrade commit ffe9c0c7f7efd217e01cdcaed23e135058ef65b2 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:41:59 2019 +0000 Fix events re-rendering after "Print descriptions" option change commit bc48cd6639fd50f7e5236945ec9661c11d614595 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:30:38 2019 +0000 Fix event color on hover in print mode commit 0776636fd60258f05aa5f1877c365e040bc1fa7b Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 10:07:41 2019 +0000 Fix including eye.svg commit 7cc525e4e92407069e22a59c9976ded24cabe940 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 09:50:34 2019 +0000 Elastic support for new fullCalendar commit 3efc8d038986859a388dd7653ab00a1f0ee82914 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Thu Jan 17 07:47:59 2019 +0000 Remove now indicator on calendar print commit a1d018875bc0065f372b6483ff3b1be13f4c787c Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 16 13:40:11 2019 +0100 Calendar agenda view and printing Note that agenda's smart sections feature is not implemented (yet) as it does not exist in fullCalendar (it was a Kolab's customization). commit ea873a9589a11a33ee49f27abf9ac30af9a1690b Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 15 12:18:21 2019 +0100 Calendar Agenda and searching fixes commit fb0c3436a34e4507ee454d16cc257be33659e3da Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 11 13:59:29 2019 +0100 Varius calendar fixes and cleanups commit d45f3439b9e41fe4d25e647949b37255ebfc5068 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 13:22:24 2019 +0100 Fix various Larry skin regressions after fullCalendar upgrade commit 3373fff6b3f73a05811efead66c7b5747adb2ba7 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 10:51:16 2019 +0100 Fix .fc-today style commit 5718fd40e34d93b1c57f529bb53544ce156a1913 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 10:31:22 2019 +0100 Fix various date calculation issues after fullCalendar upgrade - allDay flag must be boolean - allDay event's end date must be exclusive commit d08e8a8a3b4f97781cd1980b714886507d129cf5 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 8 11:39:10 2019 +0100 Fix date/time format issies and inconsistencies, remove confusing config commit b0196c7ff1d71149fec5fd619220faf9f5f6a612 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 15:46:51 2019 +0000 Fox some small issues after fullCalendar update commit c7b561f19daacdd72853a300e22fdc025bf3db28 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 13:22:57 2019 +0000 Fix handling 'source' argument in load_events request commit 59fc3c816887a2aa591e4c4237e2f4fff131bbb0 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 12:26:04 2019 +0000 Fix including moment.js commit eb85d762c75cf11fcbe1f40010bef7d4794be23a Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 4 16:12:33 2019 +0000 Upgrade to fullcalendar 3.9.0 - Part I Just started, still many issues, no printing, no elastic, no agenda view
2019-01-30 15:30:11 +01:00
td.invite {
label:before {
line-height: 1.6;
height: 1.5em;
}
}
2018-03-22 12:38:43 +00:00
td.name {
span {
line-height: 2.5;
display: flex;
& > :first-child {
.overflow-ellipsis;
// width and flex is required to make overflow working
flex: 1;
width: 1px;
white-space: nowrap;
}
2018-03-22 12:38:43 +00:00
}
}
td.availability,
td.confirmstate {
span {
margin: 0;
}
span:after,
span:before {
line-height: 2;
margin: 0;
font-size: 1.2em;
height: 2em;
width: 2em;
}
}
td.options {
a {
display: inline-block;
height: 2em;
&:before {
2018-03-25 17:01:38 +00:00
line-height: 1.8;
margin: 0;
2018-03-22 12:38:43 +00:00
}
}
}
a.expandlink {
&:before {
content: @fa-var-plus-square;
line-height: 2;
}
}
2018-03-22 12:38:43 +00:00
.inner {
display: none;
}
html.layout-phone & {
th.availability,
th.confirmstate {
text-indent: -5000px;
}
td.role {
max-width: 7em;
}
select {
Upgrade to fullCalendar 3.9.0 Squashed commit of the following: commit cd7c726b57edaa7997e0ebed27b5b5ec8ae7fb1e Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 13:52:35 2019 +0000 Remove leftover code Agenda sections and fisheye view. commit 8b2203adfc03746872183e2d211ad1fe1798730e Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 12:23:11 2019 +0000 Fix duplicated requests on using Next/Prev buttons in Agenda view commit 2dff07962566c13ef38703cc23d4f6b234b80303 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 22 11:34:16 2019 +0000 Increase font-size for .fc-event commit 9bb48ec3fa1d3a4eb255870b1a91ace55dbc5b95 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 12:10:33 2019 +0000 Fix re-fetching updated event in quickview mode commit 841815f5b1a5581f607bd5ee05e15e9c8476f4bc Merge: ffe9c0c7 315079c8 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:43:19 2019 +0000 Merge branch 'master' into dev/fullcalendar-upgrade commit ffe9c0c7f7efd217e01cdcaed23e135058ef65b2 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:41:59 2019 +0000 Fix events re-rendering after "Print descriptions" option change commit bc48cd6639fd50f7e5236945ec9661c11d614595 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 11:30:38 2019 +0000 Fix event color on hover in print mode commit 0776636fd60258f05aa5f1877c365e040bc1fa7b Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 10:07:41 2019 +0000 Fix including eye.svg commit 7cc525e4e92407069e22a59c9976ded24cabe940 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 18 09:50:34 2019 +0000 Elastic support for new fullCalendar commit 3efc8d038986859a388dd7653ab00a1f0ee82914 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Thu Jan 17 07:47:59 2019 +0000 Remove now indicator on calendar print commit a1d018875bc0065f372b6483ff3b1be13f4c787c Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 16 13:40:11 2019 +0100 Calendar agenda view and printing Note that agenda's smart sections feature is not implemented (yet) as it does not exist in fullCalendar (it was a Kolab's customization). commit ea873a9589a11a33ee49f27abf9ac30af9a1690b Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 15 12:18:21 2019 +0100 Calendar Agenda and searching fixes commit fb0c3436a34e4507ee454d16cc257be33659e3da Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 11 13:59:29 2019 +0100 Varius calendar fixes and cleanups commit d45f3439b9e41fe4d25e647949b37255ebfc5068 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 13:22:24 2019 +0100 Fix various Larry skin regressions after fullCalendar upgrade commit 3373fff6b3f73a05811efead66c7b5747adb2ba7 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 10:51:16 2019 +0100 Fix .fc-today style commit 5718fd40e34d93b1c57f529bb53544ce156a1913 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Wed Jan 9 10:31:22 2019 +0100 Fix various date calculation issues after fullCalendar upgrade - allDay flag must be boolean - allDay event's end date must be exclusive commit d08e8a8a3b4f97781cd1980b714886507d129cf5 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Tue Jan 8 11:39:10 2019 +0100 Fix date/time format issies and inconsistencies, remove confusing config commit b0196c7ff1d71149fec5fd619220faf9f5f6a612 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 15:46:51 2019 +0000 Fox some small issues after fullCalendar update commit c7b561f19daacdd72853a300e22fdc025bf3db28 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 13:22:57 2019 +0000 Fix handling 'source' argument in load_events request commit 59fc3c816887a2aa591e4c4237e2f4fff131bbb0 Author: Aleksander Machniak <machniak@kolabsys.com> Date: Mon Jan 7 12:26:04 2019 +0000 Fix including moment.js commit eb85d762c75cf11fcbe1f40010bef7d4794be23a Author: Aleksander Machniak <machniak@kolabsys.com> Date: Fri Jan 4 16:12:33 2019 +0000 Upgrade to fullcalendar 3.9.0 - Part I Just started, still many issues, no printing, no elastic, no agenda view
2019-01-30 15:30:11 +01:00
padding-left: .5rem;
}
}
2018-03-22 12:38:43 +00:00
}
2018-03-25 17:45:29 +00:00
html.touch {
.edit-attendees-table {
td.invite {
label:before {
line-height: 1.2;
height: 1.2em;
}
}
}
}
.form-searchbar {
display: flex;
margin-bottom: .5rem;
2018-03-25 17:45:29 +00:00
input[type=text] {
flex: 1;
html.layout-phone & {
max-width: 50%;
}
2018-03-25 17:45:29 +00:00
}
input[type=button] {
margin-left: .5em;
2018-03-25 17:45:29 +00:00
.overflow-ellipsis;
}
}
2018-03-22 12:38:43 +00:00
.attachmentslist li.link {
&.message.eml:before {
content: @fa-var-envelope;
}
a.messagelink {
.overflow-ellipsis;
margin-right: .25rem;
}
a.delete .inner {
display: none;
}
}
.attachmentslist li.ics:before,
.attachmentslist li.text.calendar:before,
.messagelist tbody .attachment span.ical:before {
.font-icon-regular(@fa-var-calendar-alt);
}
2018-03-22 12:38:43 +00:00
.alarms-input {
.edit-alarm-item {
display: flex;
& + .edit-alarm-item {
margin-top: .25rem;
}
}
.edit-alarm-buttons {
a {
2018-03-25 13:15:30 +00:00
line-height: 1;
2018-03-22 12:38:43 +00:00
padding: .375em .25em;
margin: 0 .25rem;
&:before {
margin: 0;
width: 1em;
}
}
.inner {
display: none;
}
}
.edit-alarm-item.first .delete-alarm {
display: none;
}
2018-03-25 13:15:30 +00:00
.edit-alarm-item:not(.first) .add-alarm {
display: none;
}
2018-03-22 12:38:43 +00:00
.edit-alarm-type {
flex: 1;
}
.edit-alarm-set {
display: flex;
flex: 1;
}
.edit-alarm-values {
margin-left: .25rem;
flex: 5;
}
.edit-alarm-offset {
flex: 5;
}
.edit-alarm-date,
.edit-alarm-time,
.edit-alarm-related {
flex: 3;
}
}
.recurrence-form {
.recurrence-rdates {
width: 100%;
padding: 0;
list-style-type: none;
&:empty {
margin: 0;
}
a.delete {
margin-left: 2em;
&:before {
display: inline-block;
float: none;
}
}
.inner {
display: none;
}
}
.recurrence-onevery {
select {
width: 40%;
2018-03-22 12:38:43 +00:00
display: inline;
}
}
.inputform {
display: flex;
input.button {
margin-left: .25rem;
}
}
div.line {
width: 100%;
display: flex;
margin-bottom: .25rem;
label {
margin-left: .5em;
min-width: 4em;
line-height: 2.5;
}
}
.month,
.monthday,
.weekday {
display: inline-block;
width: 3.5em;
margin-right: .5rem;
white-space: nowrap;
2018-03-22 12:38:43 +00:00
input {
margin-right: .25rem;
}
}
.monthday {
width: 2.75em;
}
.table td {
border: 0;
padding: 0;
&.label {
white-space: nowrap;
}
2018-03-22 12:38:43 +00:00
&:first-child label {
line-height: 2.5;
}
& label.monthday:first-child {
margin-top: .5rem;
}
}
.input-group-append,
.input-group-prepend {
display: initial; // fixes buggy height of the element
}
}
#event-status-badge {
width: 7rem;
height: 7rem;
position: absolute;
top: 0;
right: 0;
overflow: hidden;
span {
display: none;
text-transform: uppercase;
line-height: 20px;
position: absolute;
left: -2.4rem;
top: 2.4rem;
width: 13.2rem;
text-align: center;
font-weight: bold;
font-size: .85rem;
color: #fff;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
&:before {
&:extend(.font-icon-class);
display: inline;
float: none;
}
.status-cancelled & {
background-color: darken(@color-error, 10%);
display: block;
&:before {
content: @fa-var-times-circle;
}
}
.sensitivity-private & {
background-color: darken(@color-warning, 10%);
display: block;
&:before {
content: @fa-var-lock;
}
}
.sensitivity-confidential & {
background-color: darken(@color-error, 10%);
display: block;
&:before {
content: @fa-var-user-secret;
}
}
}
}
2018-03-26 11:01:57 +02:00
#alarm-display {
h3 {
font-size: 1.2rem;
margin-bottom: .25rem;
&:before {
&:extend(.font-icon-class);
.font-icon-regular(@fa-var-calendar-alt);
font-size: 1em;
}
&.type-task:before {
.font-icon-regular(@fa-var-calendar-check);
}
}
.event-section {
font-size: .9rem;
color: @color-black-shade-text;
white-space: nowrap;
.overflow-ellipsis;
}
.alarm-actions {
text-align: right;
margin-bottom: .25rem;
a {
&:first-child {
margin-right: 1em;
}
&:before {
&:extend(.font-icon-class);
display: inline;
float: none;
}
}
}
a.alarm-action-snooze:before {
content: @fa-var-bell-slash;
}
a.alarm-action-dismiss:before {
content: @fa-var-trash-alt;
}
}
#alarm-snooze-dropdown a:before {
.font-icon-regular(@fa-var-clock);
}
2018-03-25 17:01:38 +00:00
.dialog-message {
margin: 0;
opacity: .95;
width: 100%;
padding: .75em;
margin-top: .25em;
color: @color-message;
background-color: @color-message-warning-box-background;
2018-03-25 17:01:38 +00:00
& > label {
margin: 0;
display: block;
label:before {
line-height: 1.25;
margin-right: .25rem;
}
}
.message {
display: flex;
}
& + .savemode {
margin-top: 1rem;
a.btn {
margin-right: .5rem;
}
}
& > .savemode {
margin-top: .5rem;
label {
margin-right: 1rem;
}
input {
margin-right: .25rem;
}
}
2018-03-25 17:01:38 +00:00
}
@media screen and (max-width: 420px) {
.nav-link.nav-icon {
width: 3em;
margin-right: 5px;
padding: .5rem .5rem .5rem .65rem;
&:before {
.font-icon-class;
margin: 0 1rem 0 0;
width: 1em;
line-height: 1.2;
}
&.resources:before {
content: @fa-var-cube;
margin-left: .1rem;
}
&.attachments:before {
content: @fa-var-paperclip;
}
&.attendees:before {
content: @fa-var-users;
}
}
}