PortaleOrdiniGruppo/PortalStudio/portalstudio/SPToolbar.css
2025-03-24 15:28:26 +01:00

258 lines
4.4 KiB
CSS

@import url("../fonts/OpenSans.css");
.PSToolbar,
.PSMultiToolbar {
background-color: var(--background-color-navigation);
z-index: 1300;
}
.PSToolbar ul,
.PSToolbar li,
.PSToolbar span,
.PSToolbar select,
.PSMultiToolbar > .PSToolbar {
margin: 0;
padding: 0;
font-family: "Open Sans", sans-serif;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.PSToolbar > ul,
.PSToolbar > ul > li,
.PSToolbar span,
.PSToolbar select,
.PSToolbar p,
.PSMultiToolbar > .PSToolbar {
vertical-align: top;
display: inline-block;
}
/**** PSMultiToolbar ****/
.PSMultiToolbar .sections-container {
position: absolute;
top: 100%;
left: 0;
z-index: 1;
display: none;
float: left;
background-color: #FFFFFF;
border: 1px solid #D2D2D2;
padding: 6px 0;
min-width: 184px;
max-height: 580px;
overflow-x: auto;
}
.PSMultiToolbar .sections-container::-webkit-scrollbar {
width: .5em;
}
.PSMultiToolbar .sections-container::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
}
.PSMultiToolbar .sections-container::-webkit-scrollbar-thumb {
background-color: #D2D2D2;
outline: 1px solid #A2A2A2;
}
.PSMultiToolbar .PSToolbar:hover .sections-container {
display: block;
}
.PSMultiToolbar h1 {
margin: 0;
font-size: 14px;
font-weight: 500;
line-height: 30px;
padding: 0 10px;
}
.PSMultiToolbar .sections-container h2 {
margin: 0;
font-size: 11px;
font-weight: 600;
cursor: pointer;
padding: 4px 8px;
}
.PSMultiToolbar .sections-container section {
margin: 6px 0;
height: inherit;
overflow: hidden;
vertical-align: top;
}
.PSMultiToolbar .PSToolbar ul li {
padding: 3px 5px 3px 25px;
}
.PSMultiToolbar .PSToolbar ul li:hover {
background-color: #F3F3F3;
}
.PSMultiToolbar .sections-container h2::before {
content: '';
display: block;
position: relative;
right: 0;
float: left;
border-width: 5px;
border-style: solid;
top: 2px;
margin-left: 3px;
margin-right: 2px;
border-color: transparent transparent transparent #000000;
}
.PSMultiToolbar .sections-container .opened h2::before {
top: 4px;
margin-right: 5px;
border-color: #000000 transparent transparent transparent;
}
.PSMultiToolbar .PSToolbar .separator,
.PSMultiToolbar .sections-container section:not(.opened) ul{
display: none;
}
.PSMultiToolbar .PSToolbar .noTitle ul li {
padding: 3px 5px 3px 10px;
}
/**** PSToolbar ****/
.PSToolbar > ul,
.PSToolbar > .PSToolbar {
margin: 0 10px;
position: relative;
height: inherit;
overflow: hidden;
}
.PSToolbar > ul:hover,
.PSToolbar > .PSToolbar:hover {
overflow: visible;
height: auto;
}
.PSToolbar > ul > li:hover {
background-color: #FFFFFF;
}
.PSToolbar > .PSToolbar:hover {
background-color: #FFFFFF;
}
.PSToolbar ul li {
cursor: pointer;
padding: 3px 6px;
}
.PSToolbar .separator {
border-left: 1px solid #D5D5D5;
padding: 0;
width: 1px;
height: 30px;
}
.PSToolbar ul li[draggable=true] {
cursor: move;
}
.PSToolbar.disabled,
.PSToolbar > ul.disabled,
.PSToolbar ul .disabled {
cursor: not-allowed;
pointer-events: none;
opacity: .5;
}
.PSToolbar .hide {
display: none;
}
.PSToolbar .icon-image {
width: 24px;
height: 24px;
background-position: right;
margin-left: 0;
}
.PSToolbar p {
padding: 0 10px;
}
.PSToolbar span {
font-size: 12px;
line-height: 24px;
font-weight: 300;
margin-left: 5px;
}
.PSToolbar span.select {
margin-left: 0px;
padding: 3px 0px;
}
.PSToolbar p span,
.PSToolbar p strong {
line-height: 30px;
margin: 0 2px;
}
.PSToolbar .element-to-show-1 {
width: calc(36px * 1);
}
.PSToolbar .element-to-show-2 {
width: calc(36px * 2);
}
.PSToolbar .element-to-show-3 {
width: calc(36px * 3);
}
.PSToolbar .element-to-show-4 {
width: calc(36px * 4);
}
.PSToolbar .element-to-show-5 {
width: calc(36px * 5);
}
.PSToolbar .element-to-show-all {
width: auto;
}
.PSToolbar span.remMarginLeft {
margin-left:0px;
}
.PSToolbar #srcform {
border: 1px solid #898989;
padding: 2px;
width: 130px;
font-size: 13px;
display: block;
}
@media only screen and (max-width: 1080px) {
.PSToolbar .element-to-show-all:not(#sptoolbar_action) {
width: calc(36px * 1);
}
.PSToolbar .element-to-show-all span:not(.icon-image) {
display: none;
}
.PSToolbar .element-to-show-all#sptoolbar_action span {
display: block;
}
.PSToolbar > ul, .PSToolbar > .PSToolbar {
margin: 0 5px;
}
}