Files
pms/hotel_calendar/static/src/lib/hcalendar/css/hcalendar_management.css

178 lines
5.9 KiB
CSS

/*
* Hotel Calendar Management JS v0.0.1a - 2017
* GNU Public License
* Aloxa Solucions S.L. <info@aloxa.eu>
* Alexandre Díaz <alex@aloxa.eu>
*/
.hcal-management-table, .hcal-management-table-day {
border-collapse: collapse !important;
table-layout: fixed;
}
.hcal-management-table > tbody {
max-height: 50vh;
overflow: scroll;
}
.hcal-management-table > thead > tr > td {
/*text-align: center !important;*/
width: 110px !important;
vertical-align: center;
min-width: 110px;
height: 1.5em;
min-height: 1.5em;
white-space: nowrap;
/*overflow: hidden;*/
border: 1px solid black !important;
}
.hcal-management-table > tbody > tr > td {
/*text-align: center !important;*/
width: 110px !important;
vertical-align: center;
min-width: 110px;
height: 115px;
min-height: 100px;
white-space: nowrap;
/*overflow: hidden;*/
padding: 5px !important;
border: 1px solid black;
}
.hcal-management-table thead td {
text-align: center !important;
}
.hcal-management-table a {
text-decoration: none;
}
.hcal-management-table tr:hover td:not(.hcal-cell-highlight):not(.hcal-cell-current-day):not(.hcal-cell-end-week):not(.btn-hcal):not(.hcal-cell-invalid) {
background-color: #F6F6F6;
}
.hcal-management-table tr:hover td.hcal-cell-room-type-group-item {
background-color: #9bcd9b;
color: black;
}
.hcal-management-table input[type='edit'] {
width: 100%;
font-size: 10px;
text-align: center;
}
.hcal-management-table select {
font-size: 9px;
}
.hcal-management-table-day {
height: 100%;
border-collapse: collapse !important;
}
.hcal-management-table-day td {
padding: 2px;
height: 2.3em;
font-size: 7px;
vertical-align: middle;
font-weight: bold;
border: 0;
}
.hcal-management-table-day td:hover:not(.hcal-cell-highlight):not(.hcal-cell-invalid) {
background-color: #FCFEE1 !important;
}
.hcal-management-low > tbody > tr > td, .hcal-management-low > table > tbody > tr > td {
height: 35px !important;
}
.hcal-management-medium > tbody > tr > td, .hcal-management-medium > table > tbody > tr > td {
height: 60px !important;
}
.hcal-management-medium tr[name='rest_b'], .hcal-management-medium tr[name='rest_c'],
.hcal-management-low tr[name='rest_a'], .hcal-management-low tr[name='rest_b'], .hcal-management-low tr[name='rest_c'] {
display: none;
visibility: hidden;
}
.table-vrooms {
float: left;
margin-top: 1.6em;
}
#hcal_management_widget {
overflow: auto;
height: 84vh;
}
#hcal-management-container-dd {
overflow: auto;
position: relative;
}
#btn_save_changes, #btn_massive_changes {
height: 56px;
}
#btn_save_changes i, #btn_massive_changes i {
top: 22%;
}
.hcal-management-input-changed {
background-color: rgb(237,110,110);
border: 1px solid gray;
}
.hcal-management-record-changed {
background-color: #FFFF66 !important;
}
table.hcal-management-table input {
border: 1px solid lightgray;
}
.hcal-border-radius-right {
border-top-right-radius: 25px;
border-bottom-right-radius: 25px;
}
.hcal-border-radius-left {
border-top-left-radius: 25px;
border-bottom-left-radius: 25px;
}
.hcal-management-record-options {
padding: 0.5em;
}
button.hcal-management-input {
font-size: 9px;
border: 1px solid gray;
padding: 0.5em 2em 0.2em 2em;
border-radius: 3px;
margin: 0.2em;
background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 47%, rgba(194,194,194,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(227,227,227,1)), color-stop(100%, rgba(194,194,194,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 47%, rgba(194,194,194,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 47%, rgba(194,194,194,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 47%, rgba(194,194,194,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 47%, rgba(194,194,194,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#c2c2c2', GradientType=0 );
}
button.hcal-management-input:hover {
background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(237,237,237,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 );
}
button.hcal-management-input-active {
background: rgba(245,215,93,1) !important;
background: -moz-linear-gradient(top, rgba(245,215,93,1) 0%, rgba(245,165,44,1) 47%, rgba(255,153,0,1) 100%) !important;
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(245,215,93,1)), color-stop(47%, rgba(245,165,44,1)), color-stop(100%, rgba(255,153,0,1))) !important;
background: -webkit-linear-gradient(top, rgba(245,215,93,1) 0%, rgba(245,165,44,1) 47%, rgba(255,153,0,1) 100%) !important;
background: -o-linear-gradient(top, rgba(245,215,93,1) 0%, rgba(245,165,44,1) 47%, rgba(255,153,0,1) 100%) !important;
background: -ms-linear-gradient(top, rgba(245,215,93,1) 0%, rgba(245,165,44,1) 47%, rgba(255,153,0,1) 100%) !important;
background: linear-gradient(to bottom, rgba(245,215,93,1) 0%, rgba(245,165,44,1) 47%, rgba(255,153,0,1) 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5d75d', endColorstr='#ff9900', GradientType=0 ) !important;
}