dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
147 lines (122 loc) • 2.43 kB
text/less
@import "variables.less";
@import "../common/Tooltip.less";
.mblOpener {
background-color: @win-dialog-color;
width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
height: calc(~'100% - 50px');
border: none;
top: 0px ;
left: 0 ;
margin: 0 ;
position: fixed;
padding: 50px @default-padding-right 0 @default-padding-left;
opacity: 1;
-ms-touch-action: none;
& .mblTooltipAnchor,
& .mblOpenerUnderlay {
display: none;
}
& .mblHeading {
min-height: 50px;
position: absolute;
bottom: 0px;
text-transform: uppercase;
font-size: @win-font-size-normal;
width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
z-index:3;
& .mblHeadingDivTitle {
text-align: left;
position: fixed;
top: 0px;
width: auto;
padding-left: @default-padding-left;
}
& ~ .mblScrollableView {
height: calc(~"100% - 60px") ;
}
& .mblButton,
& .mblToolBarButton {
bottom: 10px;
border: 2px solid @win-foreground-color;
position: absolute;
width: 100%;
max-width: 45%;
padding: 0px;
&:nth-of-type(odd) {
left: 0px;
}
&:nth-of-type(even) {
left: auto ;
right: 0px;
}
}
}
}
.mblOpener .dijitColorPalette {
width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
height: calc(~'100% - 50px');
table {
width: 100%;
height: 100%;
padding: 0px ;
}
tbody {
width: 100%;
height: 100%;
position: absolute;
}
tr {
display: -ms-flexbox;
-ms-flex: 1;
-ms-flex-align: center;
}
td {
-ms-flex:1;
display: inline-block;
}
.dijitPaletteImg {
border: none ;
padding: 2px ;
}
.dijitColorPaletteSwatch {
border-radius: 0px;
border: 2px solid transparent;
}
.dijitPaletteCellSelected {
.dijitPaletteImg {
margin: 2px 0px ;
}
.dijitColorPaletteSwatch {
border: 2px solid @win-accent-color ;
}
}
}
@media screen and (orientation: landscape) {
.dijitColorPalette tbody {
display: -ms-flexbox;
-ms-flex-direction: column;
}
}
.mblTooltip:not(.mblOpener) {
&.mblTooltipAbove {
& .mblSpinWheel {
bottom: auto;
}
}
&.mblTooltipBelow {
& .mblSpinWheel {
top: auto;
}
}
&.mblTooltipBefore {
& .mblSpinWheel {
left: 0px;
}
}
&.mblTooltipAfter {
& .mblSpinWheel {
left: auto;
right: 0px;
}
}
}