storj.io/minio@v0.0.0-20230509071714-0cbc90f649b1/browser/app/less/inc/modal.less (about) 1 /*-------------------------- 2 Modal 3 ----------------------------*/ 4 .modal { 5 @media(min-width: @screen-sm-min) { 6 text-align: center; 7 8 &:before { 9 content: ''; 10 height: 100%; 11 width: 1px; 12 display: inline-block; 13 vertical-align: middle; 14 } 15 16 .modal-dialog { 17 text-align: left; 18 margin: 10px auto; 19 display: inline-block; 20 vertical-align: middle; 21 } 22 } 23 } 24 25 .modal-dark { 26 .modal-header { 27 color: rgba(255, 255, 255, 0.4); 28 29 small { 30 color: rgba(255, 255, 255, 0.2); 31 } 32 } 33 34 .modal-content { 35 background-color: #00303f; 36 } 37 } 38 39 .modal-backdrop { 40 .animated(fadeIn, 200ms); 41 } 42 43 .modal-dialog { 44 .animated(zoomIn, 200ms); 45 } 46 47 .modal-header { 48 color: @text-strong-color; 49 position: relative; 50 51 small { 52 display: block; 53 text-transform: none; 54 font-size: 12px; 55 margin-top: 5px; 56 color: #a8a8a8; 57 } 58 } 59 60 .modal-content { 61 border-radius: 3px; 62 box-shadow: none; 63 } 64 65 .modal-footer { 66 padding: 0 30px 30px; 67 text-align: center; 68 } 69 70 71 /*-------------------------- 72 Dialog 73 ----------------------------*/ 74 .modal-confirm { 75 .modal-dialog { 76 text-align: center; 77 } 78 } 79 80 .mc-icon { 81 margin: 0 0 10px; 82 83 & > i { 84 font-size: 60px; 85 } 86 } 87 88 .mci-red { 89 color: #ff8f8f; 90 } 91 92 .mci-amber { 93 color: @amber; 94 } 95 96 .mci-green { 97 color: #64e096; 98 } 99 100 .mc-text { 101 color: @text-strong-color; 102 } 103 104 .mc-sub { 105 color: @text-muted-color; 106 margin-top: 5px; 107 font-size: 13px; 108 } 109 //-------------------------- 110 111 112 /*-------------------------- 113 About 114 ----------------------------*/ 115 .modal-about { 116 @media (max-width: @screen-xs-max) { 117 text-align: center; 118 119 .modal-dialog { 120 max-width: 400px; 121 width: 90%; 122 margin: 20px auto 0; 123 } 124 } 125 } 126 127 .ma-inner { 128 display: flex; 129 flex-direction: row; 130 align-items: center; 131 min-height: 350px; 132 position: relative; 133 134 @media (min-width: @screen-sm-min) { 135 &:before { 136 content: ''; 137 width: 150px; 138 height: 100%; 139 top: 0; 140 left: 0; 141 position: absolute; 142 border-radius: 3px 0 0 3px; 143 background-color: #022631; 144 } 145 } 146 } 147 148 .mai-item { 149 &:first-child { 150 width: 150px; 151 text-align: center; 152 } 153 154 &:last-child { 155 flex: 4; 156 padding: 30px; 157 } 158 } 159 160 .maii-logo { 161 width: 70px; 162 position: relative; 163 164 } 165 166 .maii-list { 167 list-style: none; 168 padding: 0; 169 170 & > li { 171 margin-bottom: 15px; 172 173 div { 174 color: rgba(255, 255, 255, 0.8); 175 text-transform: uppercase; 176 font-size: 14px; 177 } 178 179 small { 180 font-size: 13px; 181 color: rgba(255, 255, 255, 0.4); 182 } 183 } 184 } 185 //-------------------------- 186 187 188 /*-------------------------- 189 Preferences 190 ----------------------------*/ 191 .toggle-password { 192 position: absolute; 193 bottom: 0 ; 194 right: 0; 195 width: 30px; 196 height: 30px; 197 border: 1px solid #eee; 198 border-radius: 0; 199 text-align: center; 200 cursor: pointer; 201 z-index: 10; 202 background-color: @white; 203 padding-top: 5px; 204 205 &.toggled { 206 background: #eee; 207 } 208 } 209 210 .has-toggle-password { 211 position: relative; 212 } 213 //-------------------------- 214 215 216 /*-------------------------- 217 Policy 218 ----------------------------*/ 219 .pm-body { 220 padding-bottom: 30px; 221 } 222 223 .pmb-header { 224 margin-bottom: 35px; 225 } 226 227 .pmb-list { 228 display: flex; 229 flex-flow: row nowrap; 230 align-items: center; 231 justify-content: center; 232 padding: 10px 35px; 233 234 &:nth-child(even) { 235 background-color: #F7F7F7; 236 } 237 238 .form-control { 239 padding-left: 0; 240 padding-right: 0; 241 } 242 } 243 244 header.pmb-list { 245 margin: 20px 0 10px; 246 } 247 248 .pmbl-item { 249 display: block; 250 font-size: 13px; 251 252 &:nth-child(1) { 253 flex: 2; 254 } 255 256 &:nth-child(2) { 257 margin: 0 25px; 258 width: 150px; 259 } 260 261 &:nth-child(3) { 262 width: 70px; 263 } 264 } 265 266 div.pmb-list { 267 select { 268 border: 0; 269 } 270 271 .pml-item { 272 &:not(:last-child) { 273 padding: 0 5px; 274 } 275 } 276 } 277 //-------------------------- 278 279 280 /*-------------------------- 281 Create Bucket 282 ----------------------------*/ 283 .modal-create-bucket { 284 .modal-dialog { 285 position: fixed; 286 right: 25px; 287 bottom: 95px; 288 margin: 0; 289 height: 110px; 290 } 291 292 .modal-content { 293 width: 100%; 294 height: 100%; 295 } 296 } 297 //-------------------------- 298