2021-04-28 20:10:26 +02:00

253 lines
5.3 KiB
SCSS

/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
/* crmv@140887 */
.bbit-dp {
position: absolute;
width: 250px;
height: 250px;
overflow: hidden;
padding: 0;
right: 34px;
top: 0px;
border: 1px solid $dp-main-border;
background-color: $dp-main-bg;
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
border-radius: 4px;
}
.bbit-dp em {
font-style: normal;
font-weight: normal;
}
.bbit-dp table {
width: 100%;
height: 100%;
table-layout: fixed;
border-collapse: separate;
}
.bbit-dp td th {
margin: 0px;
}
.bbit-dp-top-center {
cursor: pointer;
white-space: nowrap;
color: $white;
text-align: center;
}
.bbit-dp-top-center button {
font-size: 13px;
border: 0 none;
padding-right: 10px;
background-color: $primary;
padding-left: 3px;
color: $white;
cursor: pointer;
margin: 0;
overflow: visible;
width: auto;
-moz-outline: 0 none;
outline: 0 none;
}
.ie .bbit-dp-top-center button {} .bbit-dp-top-right {
height: 21px;
}
.bbit-dp .bbit-dp-top {
background-color: $primary;
}
.bbit-dp-top-right,
.bbit-dp-top-left {
width: 18px;
}
.bbit-dp-top-right {
text-align: right;
}
.bbit-dp-top-right a,
.bbit-dp-top-left a {
display: block;
width: 16px;
height: 16px;
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
-moz-opacity: 0.6;
opacity: 0.6;
filter: alpha(opacity=60);
}
.bbit-dp-top-right a:hover,
.bbit-dp-top-left a:hover {
-moz-opacity: 1;
opacity: 1;
filter: alpha(opacity=100);
}
.bbit-dp-top-left a {
}
.bbit-dp-top-right a {
}
.bbit-dp-inner th,
.bbit-dp-inner td {
border-collapse: separate;
}
.bbit-dp-inner th {
width: 25px;
background-color: $dp-header-item-bg;
text-align: right!important;
border-bottom: 1px solid $dp-header-item-border;
color: $dp-header-item-color;
cursor: default;
padding: 0;
border-collapse: separate;
padding: 0 5px;
}
.bbit-dp-inner th span {
display: block;
padding: 2px;
padding-right: 7px;
}
.bbit-dp-inner td {
border: 1px solid $dp-grid-item-border;
text-align: right;
padding: 0;
border-collapse: separate;
color: $dp-grid-item-color;
}
.bbit-dp a {
text-decoration: none;
color: $dp-grid-item-color;
zoom: 1;
}
.bbit-dp-inner td a {
padding: 2px 5px;
display: block;
text-align: right;
}
.picker {
height: 16px;
width: 16px;
background: url("images/dp/cal.gif") no-repeat left top;
margin-left: -19px;
cursor: pointer;
border: none;
}
.bbit-dp-inner .bbit-dp-active {
cursor: pointer;
color: black;
}
.bbit-dp-inner .bbit-dp-selected a {
border: 1px solid $dp-grid-selected-item-border;
padding: 1px 4px;
background: $dp-grid-selected-item-bg;
}
.bbit-dp-inner .bbit-dp-today a {
border: 1px solid $dp-today;
padding: 1px 4px;
}
.bbit-dp-inner .bbit-dp-selected span {
font-weight: bold;
}
.bbit-dp-inner .bbit-dp-prevday a,
.bbit-dp-inner .bbit-dp-nextday a {
color: #aaa;
text-decoration: none!important;
}
.bbit-dp-inner a:hover,
.bbit-dp-inner bbit-dp-disabled a:hover {
text-decoration: none!important;
color: $dp-grid-item-hover-color;
background: $dp-grid-item-hover;
}
.bbit-dp-inner .bbit-dp-disabled a {
cursor: default;
background: #eee;
color: #bbb;
}
.bbit-dp-bottom {
padding: 2px;
border-top: 1px solid #a3bad9;
background: #dfecfb url(images/share/glass-bg.gif) repeat-x left top;
}
.bbit-dp-mp {
position: absolute;
left: 0;
top: 0;
background: $dp-main-bg;
display: none;
}
.bbit-dp-mp td {
padding: 2px;
}
td.bbit-dp-mp-month,
td.bbit-dp-mp-year,
td.bbit-dp-mp-ybtn {
border: 0 none;
text-align: center;
vertical-align: middle;
width: 25%;
}
.bbit-dp-mp-ok {
margin-right: 3px;
}
.bbit-dp-mp-btns button {} .bbit-dp-mp-btns {
background-color: $dp-buttons-container-bg;
}
.bbit-dp-mp-btns td {
border-top: 1px solid $dp-buttons-container-border;
text-align: center;
}
td.bbit-dp-mp-month a,
td.bbit-dp-mp-year a {
display: block;
padding: 2px 4px;
text-decoration: none;
text-align: center;
color: $dp-grid-item-color;
}
td.bbit-dp-mp-month a:hover,
td.bbit-dp-mp-year a:hover {
color: $dp-grid-item-hover-color;
text-decoration: none;
cursor: pointer;
background: $dp-grid-item-hover;
}
td.bbit-dp-mp-sel a {
padding: 1px 3px;
border: 1px solid $dp-grid-selected-item-border;
background: $dp-grid-selected-item-bg;
}
.bbit-dp-mp-ybtn a {
overflow: hidden;
width: 15px;
height: 15px;
cursor: pointer;
display: block;
margin: 0 auto;
}
.bbit-dp-mp-ybtn a.bbit-dp-mp-next {
background-position: 0 -120px;
}
.bbit-dp-mp-ybtn a.bbit-dp-mp-next:hover {
background-position: -15px -120px;
}
.bbit-dp-mp-ybtn a.bbit-dp-mp-prev {
background-position: 0 -105px;
}
.bbit-dp-mp-ybtn a.bbit-dp-mp-prev:hover {
background-position: -15px -105px;
}
.bbit-dp-mp-ybtn {
text-align: center;
}
td.bbit-dp-mp-sep {
border-right: 1px solid $separator-color;
}
.bbit-dp-input {
width: 100px;
height: 18px;
padding-left: 4px;
}