Files

451 lines
12 KiB
CSS

h1,
h2,
h3,
h4,
h5,
h6,
b,
display-1,
display-2,
display-3,
display-4 {
/*font-family: 'Roboto', sans-serif;*/
font-family: 'Lato', sans-serif;
}
html,
body {
/*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
/*font-family: 'Roboto Condensed', sans-serif;*/
font-family: 'Roboto', sans-serif;
line-height: 1.3;
}
h1:focus {
outline: none;
}
a,
.btn-link {
color: #0071c1;
}
.btn-primary {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}
.content {
padding-top: 1.1rem;
}
.valid.modified:not([type=checkbox]) {
outline: 1px solid #26b050;
}
.invalid {
outline: 1px solid red;
}
.validation-message {
color: red;
}
.regionnotclicked {
fill: white;
}
.regionclicked {
fill: red;
}
.striked {
text-decoration: line-through;
}
/* Gestione dropdown menu x week planner */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown:hover .dropdown-content,
.dropdown:hover .dropdown-content-top,
.dropdown:hover .dropdown-content-left,
.dropdown:hover .dropdown-content-top-left {
display: block;
}
.dropdown-content {
display: none;
position: absolute;
left: -10em;
min-width: 8em;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content .a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content .a:hover {
background-color: #ddd;
}
.dropdown-content-top {
display: none;
position: absolute;
min-width: 8em;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
top: -13em;
left: -10em;
}
.dropdown-content-top .a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content-top .a:hover {
background-color: #ddd;
}
.dropdown-content-left {
display: none;
position: absolute;
left: -10em;
min-width: 8em;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
left: -24em;
}
.dropdown-content-left .a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content-left .a:hover {
background-color: #ddd;
}
.dropdown-content-top-left {
display: none;
position: absolute;
left: -10em;
min-width: 8em;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
top: -13em;
left: -24em;
}
.dropdown-content-top-left .a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content-top-left .a:hover {
background-color: #ddd;
}
.textTrim {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.maxChar {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.max5Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 5rem;
}
.max10Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 10rem;
}
.max20Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 20rem;
}
.max30Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 30rem;
}
.max40Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 40rem;
}
.max50Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 50rem;
}
.max100Char {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100rem;
}
.footer {
line-height: 1.8em;
}
#blazor-error-ui {
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}
.blazor-error-boundary {
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpc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YuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
padding: 1rem 1rem 1rem 3.7rem;
color: white;
}
.blazor-error-boundary::after {
content: "An error has occurred.";
}
/* gestione SVG responsive */
.table-svg {
min-height: 50rem;
display: block;
}
.responsive-svg {
/* SVG scala a fit del container */
width: 100%;
/* Altezza massima in rem (caratteri) */
height: 50rem;
/* Removes extra space below SVG */
display: block;
}
/*------------------------------------------------------------------
[ Shortcuts / .shortcuts ]
*/
.shortcuts {
text-align: center;
}
.shortcuts .shortcut-icon {
font-size: 2rem;
}
.shortcuts .shortcut {
min-width: 10rem;
min-height: 5rem;
display: inline-block;
padding: 2rem/3 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
border: 1px solid #ddd;
box-sizing: border-box;
border-radius: 1rem/2;
}
.shortcuts .shortcut-sm {
min-width: 4.5rem;
min-height: 3rem;
display: inline-block;
padding: 1rem/4 0;
margin: 0 2px 1em;
vertical-align: top;
text-decoration: none;
background: #F3F3F3;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
border: 1px solid #ddd;
box-sizing: border-box;
border-radius: 1rem/2;
}
.shortcuts .shortcut .shortcut-icon {
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: 2rem;
color: #333;
}
.shortcuts .shortcut-sm .shortcut-icon {
width: 100%;
margin-top: 0;
margin-bottom: 0;
font-size: 2rem;
color: #333;
}
.shortcuts .shortcut:hover {
background: #E8E8E8;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
}
.shortcuts .shortcut-sm:hover {
background: #E8E8E8;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
}
.shortcuts .shortcut:active {
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.shortcuts .shortcut-sm:active {
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.shortcuts .shortcut:hover .shortcut-icon {
color: #C93;
}
.shortcuts .shortcut-sm:hover .shortcut-icon {
color: #666;
}
.shortcuts .shortcut-label {
display: block;
margin-top: 0.75em;
font-weight: 400;
color: #666;
}
.wHead {
line-height: 1;
}
@media (max-width: 640px) {
.shortcuts .shortcut {
min-width: 8rem;
min-height: 4rem;
}
body {
font-size: 0.8em;
line-height: 1.1;
}
}
@media (max-width: 1650px) {
body {
font-size: 0.9em;
line-height: 1.2;
}
}
/* gestione btn report */
.reportPivot {
background: #EFEFEF;
background-image: url(../images/PivotData.png);
background-repeat: no-repeat;
background-position: top;
background-position: left;
min-height: 250px;
height: 100%;
width: 100%;
display: block;
position: relative;
}
.reportOre {
background: #EFEFEF;
background-image: url(../images/ReportGerarchico.png);
background-repeat: no-repeat;
background-position: top;
background-position: left;
min-height: 250px;
height: 100%;
width: 100%;
display: block;
position: relative;
}
.reportFolders {
background: #EFEFEF;
background-image: url(../images/ReportFolders.png);
background-repeat: no-repeat;
background-position: top;
background-position: left;
min-height: 250px;
height: 100%;
width: 100%;
display: block;
position: relative;
}
.reportBadge {
background: #EFEFEF;
background-image: url(../images/Barcode.png);
background-repeat: no-repeat;
background-position: top;
background-position: left;
min-height: 250px;
height: 100%;
width: 100%;
display: block;
position: relative;
}
/* Text position */
.areaTesto {
white-space: normal;
overflow: visible;
position: absolute;
left: 0;
right: 0;
bottom: 50%;
bottom: 0;
margin: 0;
padding: 0 20px;
min-height: 25%;
line-height: 1.5;
color: White;
background: #333;
background: rgba(50, 50, 50, 0.9);
-webkit-background-clip: padding;
background-clip: padding-box;
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
}
/* versioni small */
.areaTestoSmall {
white-space: normal;
overflow: visible;
position: absolute;
left: 0;
right: 0;
bottom: 50%;
bottom: 0;
margin: 0;
padding: 0 3px;
min-height: 50%;
line-height: 1.5;
font-size: 7pt;
color: White;
background: #999;
background: rgba(160, 160, 160, 0.9);
-webkit-background-clip: padding;
background-clip: padding-box;
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
}
.reportFoldersSmall {
background: #EFEFEF;
background-image: url(../images/ReportGerarchico.png);
background-repeat: no-repeat;
background-position: left top;
background-size: 60px 60px;
min-height: 36px;
height: 100%;
width: 100%;
max-width: 100%;
display: block;
position: relative;
}