mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
Calendar Improvements (#89)
* [IMP] Allow change adults resizing reservation on calendar * [IMP] Board Services * [WIP] Board Service * [IMP] Calendar Buttons & Default Options * [WIP] Availability * [WIP] Availability * [WIP] Availability * [IMP] Calendar buttons
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#pms-menu {
|
||||
overflow: auto;
|
||||
background-color: #f8f8f8;
|
||||
@@ -65,41 +67,57 @@
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
/* BUTTON STATES */
|
||||
.navbar-default {
|
||||
border-color: #f8f8f8;
|
||||
}
|
||||
|
||||
button .led {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
right: 5px;
|
||||
top: -1px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border: 1px solid lightgray;
|
||||
border-top-width: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
button .led-disabled {
|
||||
background-color: dimgrey;
|
||||
}
|
||||
button .led-enabled {
|
||||
background-color: khaki;
|
||||
box-shadow: 0 0 8px 0px khaki;
|
||||
|
||||
.unify-enabled {
|
||||
background-color: #43A200;
|
||||
box-shadow: 0 0 8px 0px #43A200;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button .led-green {
|
||||
background-color: chartreuse;
|
||||
box-shadow: 0 0 8px 0px chartreuse;
|
||||
.divide-enabled {
|
||||
background-color: #43A200;
|
||||
box-shadow: 0 0 8px 0px #43A200;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button .led-blue {
|
||||
background-color: cornflowerblue;
|
||||
box-shadow: 0 0 8px 0px cornflowerblue;
|
||||
.overbooking-enabled {
|
||||
background-color: #43A200;
|
||||
box-shadow: 0 0 8px 0px #43A200;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cancelled-enabled {
|
||||
background-color: #43A200;
|
||||
box-shadow: 0 0 8px 0px #43A200;
|
||||
}
|
||||
|
||||
.swap-from {
|
||||
background-color: #E7CF1D;
|
||||
box-shadow: 0 0 8px 0px #E7CF1D;
|
||||
color: #7C7BAD;
|
||||
}
|
||||
|
||||
.swap-to {
|
||||
background-color: #43A200;
|
||||
box-shadow: 0 0 8px 0px #43A200;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.unify-enabled i, .divide-enabled i, .cancelled-enabled i, .overbooking-enabled i, .swap-to i {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.swap-from i {
|
||||
color: #7C7BAD;
|
||||
}
|
||||
|
||||
/* END: BUTTON STATES */
|
||||
|
||||
input#bookings_search {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
@@ -130,14 +148,21 @@ input#bookings_search {
|
||||
min-height: 3.5em;
|
||||
padding: 3px;
|
||||
transition: all 0.5s ease;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.button-highlight {
|
||||
background-color: orange;
|
||||
.overbooking-highlight {
|
||||
color: white;
|
||||
background-color: #FFA500;
|
||||
}
|
||||
.button-highlight i {
|
||||
|
||||
.cancelled-highlight {
|
||||
color: white;
|
||||
background-color: #FFA500;
|
||||
}
|
||||
|
||||
.overbooking-highlight i, .cancelled-highlight i {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.multi-calendar-tab-plus {
|
||||
@@ -194,6 +219,11 @@ input#bookings_search {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.text-hidden-xs {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/** TOOLTIPS **/
|
||||
.popover-content {
|
||||
font-family: Garuda, sans-serif;
|
||||
@@ -257,6 +287,12 @@ input#bookings_search {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@media (min-width:0px) and (max-width: 1600px) {
|
||||
/* .text-hidden-xs {
|
||||
visibility: hidden;
|
||||
} */
|
||||
}
|
||||
|
||||
/* WARNING: The .row-eq-height class uses CSS3's flexbox layout mode,
|
||||
which is not supported in Internet Explorer 9 and below. */
|
||||
.row-eq-height {
|
||||
|
||||
Reference in New Issue
Block a user