1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-19 03:34:25 +01:00
openstamanager/assets/src/css/style.css
Dasc3er dfb5734d9b Correzioni JS e stile del codice
Correzioni JS sulla visualizzazione della barra laterale dei plugin e sulla stampa automatica delle tabelle.
2021-07-27 11:37:04 +02:00

1099 lines
19 KiB
CSS
Executable File

/*
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
* Copyright (C) DevCode s.r.l.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
*:focus {
outline: none;
}
@font-face {
font-family: 'OpenSansRegular';
src: url('../fonts/opensans-regular-webfont.eot');
src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/opensans-regular-webfont.woff') format('woff'), url('../fonts/opensans-regular-webfont.ttf') format('truetype'), url('../fonts/opensans-regular-webfont.svg#OpenSansRegular') format('svg');
font-weight: normal;
font-style: normal;
}
html,
body {
font-family: 'Open Sans', sans-serif;
}
html {
height: 100%;
}
textarea {
resize: vertical;
}
a.disabled {
pointer-events: none;
cursor: default;
opacity: 0.6;
}
#progress {
margin: auto;
position: relative;
display: none;
}
#progress .progress-bar {
background-image: url(../img/progress.gif);
}
#progress .progress-bar span {
position: absolute;
top: 2px;
left: 47%;
color: #a20;
font-weight: bold;
}
input[type=file] {
height: initial;
margin-bottom: 5px;
}
#datetime {
font-size: 11px;
font-weight: normal;
color: #aaa;
margin: 8px 0 0 0;
}
.ui-menu {
position: fixed;
}
.autocomplete, .ui-autocomplete {
background: white;
z-index: 10000;
min-width: 160px;
padding: 10px;
margin: 2px;
list-style: none;
border-style: solid;
border-width: 1px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.autocomplete .group, .ui-autocomplete-category {
font-size: 1.5em;
background: inherit;
}
.autocomplete > div {
padding: 5px;
}
.highlight {
background: #FFFF66;
}
.autocomplete > div:hover:not(.group),
.autocomplete > div.selected {
background: #F5F5F5;
cursor: pointer;
}
.ui-autocomplete-scrollable {
max-height: 80vh;
width: 600px;
overflow-y: auto;
overflow-x: hidden;
}
.ui-autocomplete a {
color: inherit;
}
.square {
width: 24px;
height: 24px;
margin: auto;
}
.content {
padding: 20px 15px;
}
.navbar a:hover,
.logo:hover {
text-decoration: none
}
.no-padding {
padding: 0 0px;
}
.box-center {
width: 600px;
margin: 7% auto
}
.box-center-large {
width: 850px;
margin: 7% auto
}
.box-center .box-body,
.box-center-large .box-body {
padding: 20px;
border-top: 0
}
.li-widget a:hover {
text-decoration: none;
}
.clickable {
cursor: pointer;
}
#main_loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #555;
z-index: 9999;
text-align: center;
opacity: 0.9;
-moz-opacity: 0.9;
filter: alpha(opacity=90);
}
#main_loading > div {
position: relative;
top: 50%;
color: #333;
}
#main_loading > div > i {
font-size: 300px;
margin-top: -150px;
color: #e24e1e;
}
#mini-loader {
position: fixed;
top: 0;
left: 0;
z-index: 9000;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.15);
}
#mini-loader > div {
position: absolute;
bottom: 50%;
left: 50%;
width: 100px;
height: 100px;
margin-top: -50px;
margin-left: -50px;
background: transparent url(../img/ajax-loader.gif) top left no-repeat;
}
#tiny-loader {
position: fixed;
z-index: 9000;
width: 100%;
height: 100%;
top: 50%;
left: 50%;
background: transparent url(../img/ajax-loader.gif) top left no-repeat;
}
body .header .logo {
font-family: inherit;
}
.btn-github {
color: #ffffff !important;
background-color: #444444 !important;
border-color: rgba(0, 0, 0, 0.2) !important;
}
.navbar-custom-menu > ul > li > a:hover,
.navbar-custom-menu > ul > li > a:focus,
.navbar-custom-menu > ul > li > a:active {
filter: brightness(75%);
}
.btn-github:active,
.btn-github.active,
.open .dropdown-toggle.btn-github {
background-image: none;
}
.btn-github.disabled,
.btn-github[disabled],
fieldset[disabled] .btn-github,
.btn-github.disabled:hover,
.btn-github[disabled]:hover,
fieldset[disabled] .btn-github:hover,
.btn-github.disabled:focus,
.btn-github[disabled]:focus,
fieldset[disabled] .btn-github:focus,
.btn-github.disabled:active,
.btn-github[disabled]:active,
fieldset[disabled] .btn-github:active,
.btn-github.disabled.active,
.btn-github[disabled].active,
fieldset[disabled] .btn-github.active {
background-color: #444444;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-github .badge {
color: #444444;
background-color: #ffffff;
}
span.form-control {
background: transparent;
border: none;
}
.panel-heading.mini {
padding: 5px 8px;
}
.dropdown.col-md-3 > .dropdown-menu {
width: 91.5%;
left: 15px;
padding: 5px;
}
.input-group-addon {
padding: 0px 12px;
}
.colorpicker {
margin-top: 0;
}
#pulsanti.affix {
top: 0;
padding: 10px 0;
width: 100%;
z-index: 800;
background: #fff;
border-bottom: 3px solid #ddd;
}
/* Aggiustamenti per i widget */
.widget li {
margin-left: 0;
list-style-type: none;
}
.widget {
padding: 0;
margin-bottom: 0;
}
.widget.bordered {
border: 6px dashed #aaa;
margin: 10px;
min-height: 200px;
padding: 4px;
}
.close {
padding-right: 5px;
position: relative;
z-index: 1;
opacity: 0.4;
}
.close:focus,
.close:hover {
opacity: 0.8;
}
.li-widget button.close:hover,
.li-widget button.close:focus {
opacity: 0.3;
}
.li-widget button.close {
padding-right: 5px;
opacity: 0.1;
}
/* Tooltip dark */
.ui-tooltip {
background: #222;
color: white;
border: 0;
font-size: 11px;
}
.nav-tabs-custom > .nav-tabs.pull-right > li > a.back-btn {
font-size: 12px;
color: #FFFFFF;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
white-space: normal;
}
.nav-tabs-custom > .nav-tabs.pull-right > li > a.back-btn:hover {
cursor: pointer;
color: #72AFD2;
}
.input-searching {
background: #FFBF91;
}
.deleteicon:hover {
color: black;
}
.deleteicon {
color: gray;
width: 30px;
height: 30px;
position: absolute;
margin-left: -30px;
bottom: 7px;
right: 17px;
float: right;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.input-group-addon {
min-width: 40px;
}
.info-box-icon i {
color: #fff;
}
.progress-description,
.info-box-text {
white-space: normal;
overflow: auto;
font-size: 12px;
}
.colorpicker,
.colorpicker * {
z-index: 9999
}
.signature-pad {
width: 100%;
height: 100%;
font-size: 10px;
border: 1px solid #e8e8e8;
background-color: #fff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
border-radius: 4px;
}
.signature-pad:before,
.signature-pad:after {
content: "";
width: 40%;
height: 10px;
left: 20px;
bottom: 10px;
background: transparent;
-webkit-transform: skew(-3deg) rotate(-3deg);
-moz-transform: skew(-3deg) rotate(-3deg);
-ms-transform: skew(-3deg) rotate(-3deg);
-o-transform: skew(-3deg) rotate(-3deg);
transform: skew(-3deg) rotate(-3deg);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}
.signature-pad:after {
left: auto;
right: 20px;
-webkit-transform: skew(3deg) rotate(3deg);
-moz-transform: skew(3deg) rotate(3deg);
-ms-transform: skew(3deg) rotate(3deg);
-o-transform: skew(3deg) rotate(3deg);
transform: skew(3deg) rotate(3deg);
}
#canvas {
width: 100%;
height: 100%;
min-height: 202px;
border-radius: 4px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}
.sidebar-menu li > a > .pull-right-container {
position: absolute;
padding: 12px;
right: 10px;
top: 50%;
margin-top: -19px;
}
.sidebar-form {
border-radius: 3px;
margin: 10px 10px;
}
.sidebar-form input[type="text"],
.sidebar-form .btn {
border: 1px;
height: 35px;
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.sidebar-form input[type="text"] {
border-top-left-radius: 2px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 2px;
}
.sidebar-form .btn {
border-top-left-radius: 0;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 0;
}
.swal2-buttonswrapper .btn {
margin: 5px;
}
/* Personalizzazione del plugin Select2 */
.select2-search,
.select2-search__field {
width: 100% !important
}
.select2-results__option[aria-selected=true] {
display: none
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
margin: 2px 0 0 2px;
}
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
padding: 4px;
}
.input-group-addon.no-padding {
border: 0px;
}
.input-group-addon.no-padding > * {
border-radius: 0px;
}
div.DTS tbody td,
div.DTS tbody th {
max-width: 500px;
}
input.min-width {
min-width: 200px;
}
input.small-width {
min-width: 100px;
}
.pac-container {
z-index: 1100;
}
.form-control#blob {
height: auto;
}
@media (max-width: 480px) {
#main_loading > div > i {
font-size: 160px;
margin-top: -80px;
}
}
@media screen and (max-width: 767px) {
.navbar-left {
display: none;
}
.box-center,
.box-center-large {
width: 90%;
margin-top: 20px
}
.main-header .logo {
display: none;
}
/*
.content-wrapper,
.right-side,
.left-side,
.main-sidebar {
padding-top: 50px;
}*/
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
.signature-pad {
margin: 10%;
}
}
@media screen and (max-width: 992px) {
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
word-break: break-all;
}
}
@media screen and (max-width: 1024px) {
.push {
position: static;
}
.signature-pad {
top: 0;
left: 0;
right: 0;
bottom: 0;
width: auto;
height: auto;
min-width: 250px;
min-height: 140px;
margin: 5%;
}
}
.callout a {
text-decoration: none;
}
.dropdown-menu {
min-width: 130px;
}
.img-circle.square {
box-shadow: 0px 0px 1px 1px lightgray;
}
.select2-dropdown {
z-index: 2000;
}
.after.input-group-addon .select2-selection,
.after.input-group-addon {
border-radius: 0px 4px 4px 0px;
border-left: none;
}
.before.input-group-addon .select2-selection,
.before.input-group-addon {
border-radius: 4px 0px 0px 4px;
border-right: none;
}
.hide-it-off-screen {
position: absolute;
left: -10000px;
top: -10000px;
}
.box-info ul > li > :last-child {
margin-bottom: 5px;
}
.row {
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.request .morelink {
color: #fff;
font-weight: bold;
}
.component-loader {
position: absolute;
z-index: 20;
opacity: 0.5;
width: 100%;
height: 100%;
background: #fff;
}
.component-loader > div {
position: relative;
top: 50%;
color: #333;
}
.btn-group-flex {
display: flex;
}
.btn-group-flex .btn {
flex: 1
}
@media (min-width: 1140px) {
.modal-lg {
width: 60vw;
}
}
/* Interventi da pianificare in Dashboard */
#external-events .fc-event {
margin-top: 10px;
padding: 10px;
cursor: pointer;
}
.fc-event-primary {
background-color: #3a87ad;
border: 1px solid #3a87ad;
}
.fc-event-danger {
background-color: #dd4b46;
border: 1px solid #dd4b46;
}
/* Fix per tabs editor */
.nav-tabs-custom > .nav-tabs > li {
border-top: 3px solid #ddd;
}
.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type.active > a {
border-right-color: #f4f4f4;
border-right-width: 1px;
border-left-width: 0px;
}
.nav-tabs-custom > .nav-tabs > li.header {
padding: 0px;
}
.nav-tabs-custom > .nav-tabs > li {
margin-bottom: -1px;
margin-right: 0px;
}
.ui-autocomplete {
background: #f6f6f6;
border-color: #ccc;
border-color: rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
.parsley-errors-list {
color: red;
}
/** TIMELINE */
.timeline {
list-style: none;
padding: 20px 0 20px;
position: relative;
}
.timeline:before {
top: 0;
bottom: 0;
position: absolute;
content: " ";
width: 3px;
background-color: #eeeeee;
left: 50%;
margin-left: -4.5px;
}
.timeline > li {
margin-bottom: 20px;
position: relative;
}
.timeline > li:before,
.timeline > li:after {
content: " ";
display: table;
}
.timeline > li:after {
clear: both;
}
.timeline > li:before,
.timeline > li:after {
content: " ";
display: table;
}
.timeline > li:after {
clear: both;
}
.timeline > li > .timeline-panel {
width: 50%;
float: left;
border: 1px solid #d4d4d4;
border-radius: 2px;
padding: 20px;
position: relative;
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li.timeline-inverted + li:not(.timeline-inverted),
.timeline > li:not(.timeline-inverted) + li.timeline-inverted {
margin-top: -60px;
}
.timeline > li:not(.timeline-inverted) {
padding-right: 90px;
}
.timeline > li.timeline-inverted {
padding-left: 90px;
}
.timeline > li > .timeline-panel:before {
position: absolute;
top: 26px;
right: -15px;
display: inline-block;
border-top: 15px solid transparent;
border-left: 15px solid #ccc;
border-right: 0 solid #ccc;
border-bottom: 15px solid transparent;
content: " ";
}
.timeline > li > .timeline-panel:after {
position: absolute;
top: 27px;
right: -14px;
display: inline-block;
border-top: 14px solid transparent;
border-left: 14px solid #fff;
border-right: 0 solid #fff;
border-bottom: 14px solid transparent;
content: " ";
}
.timeline > li > .timeline-badge {
color: #fff;
width: 50px;
height: 50px;
line-height: 50px;
font-size: 1.4em;
text-align: center;
position: absolute;
top: 16px;
left: 50%;
margin-left: -25px;
background-color: #999999;
z-index: 100;
border-top-right-radius: 50%;
border-top-left-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
border-left-width: 0;
border-right-width: 15px;
left: -15px;
right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
border-left-width: 0;
border-right-width: 14px;
left: -14px;
right: auto;
}
.timeline-badge.primary {
background-color: #2e6da4 !important;
}
.timeline-badge.success {
background-color: #3f903f !important;
}
.timeline-badge.warning {
background-color: #f0ad4e !important;
}
.timeline-badge.danger {
background-color: #d9534f !important;
}
.timeline-badge.info {
background-color: #5bc0de !important;
}
.timeline-title {
margin-top: 0;
color: inherit;
}
.timeline-body > p,
.timeline-body > ul {
margin-bottom: 0;
}
.timeline-body > p + p {
margin-top: 5px;
}
/* Checklist */
.todo-list ul {
list-style: none;
margin-left: 11px;
}
.progress .progress-bar span {
color: #000;
}
.attachment-img {
max-width: 20px;
max-height: 20px;
}
.logo-image {
max-width: 320px;
max-height: 60px;
}
.has-feedback .form-control {
padding-right: 6px;
}
.direct-chat-text img {
max-width: 100%;
}
/* Dropzone */
.dropzone {
border: 2px dashed #337ab7;
border-radius: 5px;
background: white;
margin-top: 10px;
}
.dropzone .dz-message {
font-weight: 400;
}
.dropzone .dz-message .note {
font-size: 0.8em;
font-weight: 200;
display: block;
margin-top: 1.4rem;
}
/** Fix tooltip per elementi disabilitati. */
div.tip {
display: inline-block !important;
}
.disabled {
pointer-events: none
}
/* Fancy checkbox: https://bootsnipp.com/snippets/M2bda */
.checkbox-group input[type="checkbox"] {
display: none;
}
.checkbox-group input[type="checkbox"] + .btn-group > label span {
width: 20px;
}
.checkbox-group input[type="checkbox"] + .btn-group {
width: 100%;
display: flex;
overflow: auto;
}
.checkbox-group input[type="checkbox"] + .btn-group label:last-child {
flex-grow: 100;
}
.checkbox-group input[type="checkbox"] + .btn-group > label span:first-child {
display: none;
}
.checkbox-group input[type="checkbox"] + .btn-group > label span:last-child {
display: inline-block;
}
.checkbox-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
display: inline-block;
}
.checkbox-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
display: none;
}
/* Sidebar destra per i plugin */
.control-sidebar {
top: 50px;
}
.control-sidebar {
padding-top: 10px;
}
@media screen and (min-width: 1140px) {
.with-control-sidebar {
margin-right: 230px;
}
.control-sidebar-open {
right: 0;
display: block !important;
}
.control-sidebar.control-sidebar-open,
.control-sidebar.control-sidebar-open + .control-sidebar-bg {
right: 0;
}
.control-sidebar-toggle {
/*display: none !important;*/
}
}
/* Fix stile */
.skin-default .nav.navbar-nav li a {
color: #FFFFFF;
}
.skin-default .nav.navbar-nav li a:hover {
background: #222222;
}
.number-input {
text-align: right;
}
/* Loading specificato per un div */
.local-loader {
position: relative;
width: 100%;
height: 0
}
.local-loader > div {
position: absolute;
top: 100px;
z-index: 2;
opacity: 0.5;
width: 100%
}
.div-loading {
opacity: 0.5;
}
/* Stile Fullcalendar per weekend */
.fc-sat, .fc-sun {
background-color: rgba(255, 99, 71, 0.6) !important;
}
.login-box .img-responsive {
padding: 18px 0px 4px;
}
.no-selection {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}