Debian Codegraph @

dojox/mobile/themes/windows/Tooltip.less

raw
1 @import "variables.less";
2 @import "../common/Tooltip.less";
3
4 .mblOpener {
5 background-color: @win-dialog-color;
6 width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
7 height: calc(~'100% - 50px');
8 border: none;
9 top: 0px !important;
10 left: 0 !important;
11 margin: 0 !important;
12 position: fixed;
13 padding: 50px @default-padding-right 0 @default-padding-left;
14 opacity: 1;
15 -ms-touch-action: none;
16
17 & .mblTooltipAnchor,
18 & .mblOpenerUnderlay {
19 display: none;
20 }
21
22 & .mblHeading {
23 min-height: 50px;
24 position: absolute;
25 bottom: 0px;
26 text-transform: uppercase;
27 font-size: @win-font-size-normal;
28 width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
29 z-index:3;
30
31 & .mblHeadingDivTitle {
32 text-align: left;
33 position: fixed;
34 top: 0px;
35 width: auto;
36 padding-left: @default-padding-left;
37 }
38
39 & ~ .mblScrollableView {
40 height: calc(~"100% - 60px") !important;
41 }
42
43 & .mblButton,
44 & .mblToolBarButton {
45 bottom: 10px;
46 border: 2px solid @win-foreground-color;
47 position: absolute;
48 width: 100%;
49 max-width: 45%;
50 padding: 0px;
51 &:nth-of-type(odd) {
52 left: 0px;
53 }
54
55 &:nth-of-type(even) {
56 left: auto !important;
57 right: 0px;
58 }
59 }
60
61 }
62
63 }
64
65 .mblOpener .dijitColorPalette {
66 width: calc(~"100% - @{default-padding-right} - @{default-padding-left}");
67 height: calc(~'100% - 50px');
68
69 table {
70 width: 100%;
71 height: 100%;
72 padding: 0px !important;
73 }
74
75 tbody {
76 width: 100%;
77
78 height: 100%;
79 position: absolute;
80 }
81
82 tr {
83 display: -ms-flexbox;
84 -ms-flex: 1;
85 -ms-flex-align: center;
86 }
87
88 td {
89 -ms-flex:1;
90 display: inline-block;
91 }
92
93 .dijitPaletteImg {
94 border: none !important;
95 padding: 2px !important;
96 }
97
98 .dijitColorPaletteSwatch {
99 border-radius: 0px!important;
100 border: 2px solid transparent;
101 }
102
103 .dijitPaletteCellSelected {
104 .dijitPaletteImg {
105 margin: 2px 0px !important;
106 }
107 .dijitColorPaletteSwatch {
108 border: 2px solid @win-accent-color !important;
109 }
110 }
111 }
112
113 @media screen and (orientation: landscape) {
114 .dijitColorPalette tbody {
115 display: -ms-flexbox;
116 -ms-flex-direction: column;
117 }
118
119 }
120
121 .mblTooltip:not(.mblOpener) {
122 &.mblTooltipAbove {
123 & .mblSpinWheel {
124 bottom: auto;
125 }
126 }
127
128 &.mblTooltipBelow {
129 & .mblSpinWheel {
130 top: auto;
131 }
132 }
133
134 &.mblTooltipBefore {
135 & .mblSpinWheel {
136 left: 0px;
137 }
138 }
139
140 &.mblTooltipAfter {
141 & .mblSpinWheel {
142 left: auto;
143 right: 0px;
144 }
145 }
146 }