File size: 3,833 Bytes
f8ddde7 8122c36 ede8cb9 6a7ee1e f8ddde7 2b7567f f8ddde7 2b7567f 8122c36 f8ddde7 2b7567f f8ddde7 2b7567f f8ddde7 2b7567f f8ddde7 2b7567f f8ddde7 2b7567f 8122c36 fbfbee0 7e830c6 3155c68 fbfbee0 f8ddde7 fbfbee0 f8ddde7 fbfbee0 aff85ad fbfbee0 7e830c6 3155c68 f8ddde7 76a5158 8122c36 7e830c6 8122c36 7e830c6 fbfbee0 8122c36 1923a66 2b7567f 1923a66 2b7567f 8122c36 2b7567f 1923a66 2b7567f f8ddde7 2b7567f 1923a66 2b7567f dc1e1c1 7b945b1 0797fb7 dc1e1c1 0797fb7 9eea97b f8ddde7 dc1e1c1 f8ddde7 dc1e1c1 f3edffc f8ddde7 dc1e1c1 f8ddde7 fcd0eab dc1e1c1 aff85ad |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
$text-color: #2d2d2d;
$popover-bg: #ffffff;
$stage-bg: #ffffff;
$button-bg: #f1f1f1;
$disabled-btn-color: #808080;
$popover-zindex: 1000000000;
$overlay-zindex: 100002;
$stage-zindex: 100003;
$highlighted-element-zindex: 100004;
// If you update this duration, make sure to
// update `ANIMATION_DURATION_MS` constant
$animation-ms: 400;
$animation-sec: ($animation-ms / 1000) * 1s;
div#driver-popover-item {
display: none;
position: absolute;
background: $popover-bg;
color: $text-color;
margin: 0;
padding: 15px;
border-radius: 5px;
min-width: 250px;
max-width: 300px;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
z-index: $popover-zindex;
.driver-popover-tip {
border: 5px solid $popover-bg;
content: '';
position: absolute;
&.bottom {
bottom: -10px;
border-top-color: $popover-bg;
border-right-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
}
&.left {
left: -10px;
top: 10px;
border-top-color: transparent;
border-right-color: $popover-bg;
border-bottom-color: transparent;
border-left-color: transparent;
}
&.right {
right: -10px;
top: 10px;
border-top-color: transparent;
border-right-color: transparent;
border-bottom-color: transparent;
border-left-color: $popover-bg;
}
&.top {
top: -10px;
border-top-color: transparent;
border-right-color: transparent;
border-bottom-color: $popover-bg;
border-left-color: transparent;
}
}
.driver-popover-footer {
display: block;
clear: both;
margin-top: 5px;
button {
display: inline-block;
padding: 3px 10px;
border: 1px solid #d4d4d4;
text-decoration: none;
text-shadow: 1px 1px 0 #fff;
color: $text-color;
font: 11px/normal sans-serif;
cursor: pointer;
outline: 0;
background-color: $button-bg;
border-radius: 2px;
zoom: 1;
margin: 10px 0 0;
line-height: 1.3;
}
button.driver-disabled {
color: $disabled-btn-color;
cursor: default;
pointer-events: none;
}
.driver-close-btn {
float: left;
}
.driver-btn-group {
float: right;
}
}
.driver-popover-title {
font: 19px/normal sans-serif;
margin: 0 0 5px;
font-weight: bold;
display: block;
position: relative;
line-height: 1.5;
zoom: 1;
}
.driver-popover-description {
margin-bottom: 0;
font: 14px/normal sans-serif;
line-height: 1.5;
color: $text-color;
font-weight: normal;
zoom: 1;
}
}
.driver-no-animation {
-webkit-transition: none !important;
-moz-transition: none !important;
-ms-transition: none !important;
-o-transition: none !important;
transition: none !important;
}
div#driver-page-overlay {
background: black;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: block;
width: 100%;
height: 100%;
zoom: 1;
filter: alpha(opacity=75);
opacity: 0.75;
z-index: $overlay-zindex !important;
-webkit-transition: all $animation-sec;
-moz-transition: all $animation-sec;
-ms-transition: all $animation-sec;
-o-transition: all $animation-sec;
transition: all $animation-sec;
}
div#driver-highlighted-element-stage {
position: absolute;
top: 0;
left: 0;
height: 50px;
width: 300px;
background: $stage-bg;
z-index: $stage-zindex !important;
display: none;
-webkit-transition: all $animation-sec;
-moz-transition: all $animation-sec;
-ms-transition: all $animation-sec;
-o-transition: all $animation-sec;
transition: all $animation-sec;
}
.driver-highlighted-element {
z-index: $highlighted-element-zindex !important;
}
.driver-position-relative {
position: relative;
}
|