@web-utils/component 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * Viewer.js v1.11.1
3
+ * https://fengyuanchen.github.io/viewerjs
4
+ *
5
+ * Copyright 2015-present Chen Fengyuan
6
+ * Released under the MIT license
7
+ *
8
+ * Date: 2022-11-06T05:18:17.414Z
9
+ */.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{bottom:0;direction:ltr;font-size:0;left:0;line-height:0;overflow:hidden;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#0000007f;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;bottom:0;cursor:none;display:none;left:0;position:absolute;right:0;top:0;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#0000007f;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#0000007f;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#0000007f}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,10%);border-left-color:#ffffff7f;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media (max-width: 767px){.viewer-hide-xs-down{display:none}}@media (max-width: 991px){.viewer-hide-sm-down{display:none}}@media (max-width: 1199px){.viewer-hide-md-down{display:none}}.image-viewer .image-item{display:inline-block;width:100px;height:100px;cursor:pointer;background-repeat:no-repeat;background-size:cover;background-position:center;border:none;background-color:transparent;outline:none}.viewer-backdrop{background-color:#5e5e5e}
package/dist/index.css CHANGED
@@ -985,13 +985,428 @@
985
985
  .icon-card.green .icon-card_color {
986
986
  color: #72c734;
987
987
  }
988
+ .iframe-window.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body {
989
+ position: relative;
990
+ padding: 0;
991
+ }
988
992
  .iframe-window .iframe-window-iframe {
993
+ position: absolute;
994
+ top: 0;
995
+ right: 0;
996
+ bottom: 0;
997
+ left: 0;
989
998
  width: 100%;
990
- height: 60vh;
999
+ height: 100%;
1000
+ min-height: 60vh;
1001
+ border: none;
1002
+ }
1003
+ /*!
1004
+ * Viewer.js v1.11.1
1005
+ * https://fengyuanchen.github.io/viewerjs
1006
+ *
1007
+ * Copyright 2015-present Chen Fengyuan
1008
+ * Released under the MIT license
1009
+ *
1010
+ * Date: 2022-11-06T05:18:17.414Z
1011
+ */
1012
+ .viewer-zoom-in:before,
1013
+ .viewer-zoom-out:before,
1014
+ .viewer-one-to-one:before,
1015
+ .viewer-reset:before,
1016
+ .viewer-prev:before,
1017
+ .viewer-play:before,
1018
+ .viewer-next:before,
1019
+ .viewer-rotate-left:before,
1020
+ .viewer-rotate-right:before,
1021
+ .viewer-flip-horizontal:before,
1022
+ .viewer-flip-vertical:before,
1023
+ .viewer-fullscreen:before,
1024
+ .viewer-fullscreen-exit:before,
1025
+ .viewer-close:before {
1026
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAAUCAYAAABWOyJDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAQPSURBVHic7Zs/iFxVFMa/0U2UaJGksUgnIVhYxVhpjDbZCBmLdAYECxsRFBTUamcXUiSNncgKQbSxsxH8gzAP3FU2jY0kKKJNiiiIghFlccnP4p3nPCdv3p9778vsLOcHB2bfveeb7955c3jvvNkBIMdxnD64a94GHMfZu3iBcRynN7zAOI7TG15gHCeeNUkr8zaxG2lbYDYsdgMbktBsP03jdQwljSXdtBhLOmtjowC9Mg9L+knSlcD8TNKpSA9lBpK2JF2VdDSR5n5J64m0qli399hNFMUlpshQii5jbXTbHGviB0nLNeNDSd9VO4A2UdB2fp+x0eCnaXxWXGA2X0au/3HgN9P4LFCjIANOJdrLr0zzZ+BEpNYDwKbpnQMeAw4m8HjQtM6Z9qa917zPQwFr3M5KgA6J5rTJCdFZJj9/lyvGhsDvwFNVuV2MhhjrK6b9bFiE+j1r87eBl4HDwCF7/U/k+ofAX5b/EXBv5JoLMuILzf3Ap6Z3EzgdqHMCuF7hcQf4HDgeoHnccncqdK/TvSDWffFXI/exICY/xZyqc6XLWF1UFZna4gJ7q8BsRvgd2/xXpo6P+D9dfT7PpECtA3cnWPM0GXGFZh/wgWltA+cDNC7X+AP4GzjZQe+k5dRxuYPeiuXU7e1qwLpDz7dFjXKRaSwuMLvAlG8zZlG+YmiK1HoFqT7wP2z+4Q45TfEGcMt01xLoNZEBTwRqD4BLpnMLeC1A41UmVxsXgXeBayV/Wx20rpTyrpnWRft7p6O/FdqzGrDukPNtkaMoMo3FBdBSQMOnYBCReyf05s126fU9ytfX98+mY54Kxnp7S9K3kj6U9KYdG0h6UdLbkh7poFXMfUnSOyVvL0h6VtIXHbS6nOP+s/Zm9mvyXW1uuC9ohZ72E9uDmXWLJOB1GxsH+DxPftsB8B6wlGDN02TAkxG6+4D3TWsbeC5CS8CDFce+AW500LhhOW2020TRjK3b21HEmgti9m0RonxbdMZeVzV+/4tF3cBpP7E9mKHNL5q8h5g0eYsCMQz0epq8gQrwMXAgcs0FGXGFRcB9wCemF9PkbYqM/Bas7fxLwNeJPdTdpo4itQti8lPMqTpXuozVRVXPpbHI3KkNTB1NfkL81j2mvhDp91HgV9MKuRIqrykj3WPq4rHyL+axj8/qGPmTqi6F9YDlHOvJU6oYcTsh/TYSzWmTE6JT19CtLTJt32D6CmHe0eQn1O8z5AXgT4sx4Vcu0/EQecMydB8z0hUWkTd2t4CrwNEePqMBcAR4mrBbwyXLPWJa8zrXmmLEhNBmfpkuY2102xxrih+pb+ieAb6vGhuA97UcJ5KR8gZ77K+99xxeYBzH6Q3/Z0fHcXrDC4zjOL3hBcZxnN74F+zlvXFWXF9PAAAAAElFTkSuQmCC);
1027
+ background-repeat: no-repeat;
1028
+ background-size: 280px;
1029
+ color: transparent;
1030
+ display: block;
1031
+ font-size: 0;
1032
+ height: 20px;
1033
+ line-height: 0;
1034
+ width: 20px;
1035
+ }
1036
+ .viewer-zoom-in:before {
1037
+ background-position: 0 0;
1038
+ content: "Zoom In";
1039
+ }
1040
+ .viewer-zoom-out:before {
1041
+ background-position: -20px 0;
1042
+ content: "Zoom Out";
1043
+ }
1044
+ .viewer-one-to-one:before {
1045
+ background-position: -40px 0;
1046
+ content: "One to One";
1047
+ }
1048
+ .viewer-reset:before {
1049
+ background-position: -60px 0;
1050
+ content: "Reset";
1051
+ }
1052
+ .viewer-prev:before {
1053
+ background-position: -80px 0;
1054
+ content: "Previous";
1055
+ }
1056
+ .viewer-play:before {
1057
+ background-position: -100px 0;
1058
+ content: "Play";
1059
+ }
1060
+ .viewer-next:before {
1061
+ background-position: -120px 0;
1062
+ content: "Next";
1063
+ }
1064
+ .viewer-rotate-left:before {
1065
+ background-position: -140px 0;
1066
+ content: "Rotate Left";
1067
+ }
1068
+ .viewer-rotate-right:before {
1069
+ background-position: -160px 0;
1070
+ content: "Rotate Right";
1071
+ }
1072
+ .viewer-flip-horizontal:before {
1073
+ background-position: -180px 0;
1074
+ content: "Flip Horizontal";
1075
+ }
1076
+ .viewer-flip-vertical:before {
1077
+ background-position: -200px 0;
1078
+ content: "Flip Vertical";
991
1079
  }
992
- .iframe-window .el-dialog__body {
1080
+ .viewer-fullscreen:before {
1081
+ background-position: -220px 0;
1082
+ content: "Enter Full Screen";
1083
+ }
1084
+ .viewer-fullscreen-exit:before {
1085
+ background-position: -240px 0;
1086
+ content: "Exit Full Screen";
1087
+ }
1088
+ .viewer-close:before {
1089
+ background-position: -260px 0;
1090
+ content: "Close";
1091
+ }
1092
+ .viewer-container {
1093
+ bottom: 0;
1094
+ direction: ltr;
1095
+ font-size: 0;
1096
+ left: 0;
1097
+ line-height: 0;
1098
+ overflow: hidden;
1099
+ position: absolute;
1100
+ right: 0;
1101
+ -webkit-tap-highlight-color: transparent;
1102
+ top: 0;
1103
+ -ms-touch-action: none;
1104
+ touch-action: none;
1105
+ -webkit-touch-callout: none;
1106
+ -webkit-user-select: none;
1107
+ -moz-user-select: none;
1108
+ -ms-user-select: none;
1109
+ user-select: none;
1110
+ }
1111
+ .viewer-container::-moz-selection,
1112
+ .viewer-container *::-moz-selection {
1113
+ background-color: transparent;
1114
+ }
1115
+ .viewer-container::selection,
1116
+ .viewer-container *::selection {
1117
+ background-color: transparent;
1118
+ }
1119
+ .viewer-container:focus {
1120
+ outline: 0;
1121
+ }
1122
+ .viewer-container img {
1123
+ display: block;
1124
+ height: auto;
1125
+ max-height: none !important;
1126
+ max-width: none !important;
1127
+ min-height: 0 !important;
1128
+ min-width: 0 !important;
1129
+ width: 100%;
1130
+ }
1131
+ .viewer-canvas {
1132
+ bottom: 0;
1133
+ left: 0;
1134
+ overflow: hidden;
1135
+ position: absolute;
1136
+ right: 0;
1137
+ top: 0;
1138
+ }
1139
+ .viewer-canvas > img {
1140
+ height: auto;
1141
+ margin: 15px auto;
1142
+ max-width: 90% !important;
1143
+ width: auto;
1144
+ }
1145
+ .viewer-footer {
1146
+ bottom: 0;
1147
+ left: 0;
1148
+ overflow: hidden;
1149
+ position: absolute;
1150
+ right: 0;
1151
+ text-align: center;
1152
+ }
1153
+ .viewer-navbar {
1154
+ background-color: #0000007f;
1155
+ overflow: hidden;
1156
+ }
1157
+ .viewer-list {
1158
+ box-sizing: content-box;
1159
+ height: 50px;
1160
+ margin: 0;
1161
+ overflow: hidden;
1162
+ padding: 1px 0;
1163
+ }
1164
+ .viewer-list > li {
1165
+ color: transparent;
1166
+ cursor: pointer;
1167
+ float: left;
1168
+ font-size: 0;
1169
+ height: 50px;
1170
+ line-height: 0;
1171
+ opacity: .5;
1172
+ overflow: hidden;
1173
+ transition: opacity .15s;
1174
+ width: 30px;
1175
+ }
1176
+ .viewer-list > li:focus,
1177
+ .viewer-list > li:hover {
1178
+ opacity: .75;
1179
+ }
1180
+ .viewer-list > li:focus {
1181
+ outline: 0;
1182
+ }
1183
+ .viewer-list > li + li {
1184
+ margin-left: 1px;
1185
+ }
1186
+ .viewer-list > .viewer-loading {
993
1187
  position: relative;
994
- padding: 0;
1188
+ }
1189
+ .viewer-list > .viewer-loading:after {
1190
+ border-width: 2px;
1191
+ height: 20px;
1192
+ margin-left: -10px;
1193
+ margin-top: -10px;
1194
+ width: 20px;
1195
+ }
1196
+ .viewer-list > .viewer-active,
1197
+ .viewer-list > .viewer-active:focus,
1198
+ .viewer-list > .viewer-active:hover {
1199
+ opacity: 1;
1200
+ }
1201
+ .viewer-player {
1202
+ background-color: #000;
1203
+ bottom: 0;
1204
+ cursor: none;
1205
+ display: none;
1206
+ left: 0;
1207
+ position: absolute;
1208
+ right: 0;
1209
+ top: 0;
1210
+ z-index: 1;
1211
+ }
1212
+ .viewer-player > img {
1213
+ left: 0;
1214
+ position: absolute;
1215
+ top: 0;
1216
+ }
1217
+ .viewer-toolbar > ul {
1218
+ display: inline-block;
1219
+ margin: 0 auto 5px;
1220
+ overflow: hidden;
1221
+ padding: 6px 3px;
1222
+ }
1223
+ .viewer-toolbar > ul > li {
1224
+ background-color: #0000007f;
1225
+ border-radius: 50%;
1226
+ cursor: pointer;
1227
+ float: left;
1228
+ height: 24px;
1229
+ overflow: hidden;
1230
+ transition: background-color .15s;
1231
+ width: 24px;
1232
+ }
1233
+ .viewer-toolbar > ul > li:focus,
1234
+ .viewer-toolbar > ul > li:hover {
1235
+ background-color: #000c;
1236
+ }
1237
+ .viewer-toolbar > ul > li:focus {
1238
+ box-shadow: 0 0 3px #fff;
1239
+ outline: 0;
1240
+ position: relative;
1241
+ z-index: 1;
1242
+ }
1243
+ .viewer-toolbar > ul > li:before {
1244
+ margin: 2px;
1245
+ }
1246
+ .viewer-toolbar > ul > li + li {
1247
+ margin-left: 1px;
1248
+ }
1249
+ .viewer-toolbar > ul > .viewer-small {
1250
+ height: 18px;
1251
+ margin-bottom: 3px;
1252
+ margin-top: 3px;
1253
+ width: 18px;
1254
+ }
1255
+ .viewer-toolbar > ul > .viewer-small:before {
1256
+ margin: -1px;
1257
+ }
1258
+ .viewer-toolbar > ul > .viewer-large {
1259
+ height: 30px;
1260
+ margin-bottom: -3px;
1261
+ margin-top: -3px;
1262
+ width: 30px;
1263
+ }
1264
+ .viewer-toolbar > ul > .viewer-large:before {
1265
+ margin: 5px;
1266
+ }
1267
+ .viewer-tooltip {
1268
+ background-color: #000c;
1269
+ border-radius: 10px;
1270
+ color: #fff;
1271
+ display: none;
1272
+ font-size: 12px;
1273
+ height: 20px;
1274
+ left: 50%;
1275
+ line-height: 20px;
1276
+ margin-left: -25px;
1277
+ margin-top: -10px;
1278
+ position: absolute;
1279
+ text-align: center;
1280
+ top: 50%;
1281
+ width: 50px;
1282
+ }
1283
+ .viewer-title {
1284
+ color: #ccc;
1285
+ display: inline-block;
1286
+ font-size: 12px;
1287
+ line-height: 1.2;
1288
+ margin: 5px 5%;
1289
+ max-width: 90%;
1290
+ min-height: 14px;
1291
+ opacity: .8;
1292
+ overflow: hidden;
1293
+ text-overflow: ellipsis;
1294
+ transition: opacity .15s;
1295
+ white-space: nowrap;
1296
+ }
1297
+ .viewer-title:hover {
1298
+ opacity: 1;
1299
+ }
1300
+ .viewer-button {
1301
+ -webkit-app-region: no-drag;
1302
+ background-color: #0000007f;
1303
+ border-radius: 50%;
1304
+ cursor: pointer;
1305
+ height: 80px;
1306
+ overflow: hidden;
1307
+ position: absolute;
1308
+ right: -40px;
1309
+ top: -40px;
1310
+ transition: background-color .15s;
1311
+ width: 80px;
1312
+ }
1313
+ .viewer-button:focus,
1314
+ .viewer-button:hover {
1315
+ background-color: #000c;
1316
+ }
1317
+ .viewer-button:focus {
1318
+ box-shadow: 0 0 3px #fff;
1319
+ outline: 0;
1320
+ }
1321
+ .viewer-button:before {
1322
+ bottom: 15px;
1323
+ left: 15px;
1324
+ position: absolute;
1325
+ }
1326
+ .viewer-fixed {
1327
+ position: fixed;
1328
+ }
1329
+ .viewer-open {
1330
+ overflow: hidden;
1331
+ }
1332
+ .viewer-show {
1333
+ display: block;
1334
+ }
1335
+ .viewer-hide {
1336
+ display: none;
1337
+ }
1338
+ .viewer-backdrop {
1339
+ background-color: #0000007f;
1340
+ }
1341
+ .viewer-invisible {
1342
+ visibility: hidden;
1343
+ }
1344
+ .viewer-move {
1345
+ cursor: move;
1346
+ cursor: grab;
1347
+ }
1348
+ .viewer-fade {
1349
+ opacity: 0;
1350
+ }
1351
+ .viewer-in {
1352
+ opacity: 1;
1353
+ }
1354
+ .viewer-transition {
1355
+ transition: all .3s;
1356
+ }
1357
+ @keyframes viewer-spinner {
1358
+ 0% {
1359
+ transform: rotate(0);
1360
+ }
1361
+ to {
1362
+ transform: rotate(360deg);
1363
+ }
1364
+ }
1365
+ .viewer-loading:after {
1366
+ animation: viewer-spinner 1s linear infinite;
1367
+ border: 4px solid rgba(255, 255, 255, 10%);
1368
+ border-left-color: #ffffff7f;
1369
+ border-radius: 50%;
1370
+ content: "";
1371
+ display: inline-block;
1372
+ height: 40px;
1373
+ left: 50%;
1374
+ margin-left: -20px;
1375
+ margin-top: -20px;
1376
+ position: absolute;
1377
+ top: 50%;
1378
+ width: 40px;
1379
+ z-index: 1;
1380
+ }
1381
+ @media (max-width: 767px) {
1382
+ .viewer-hide-xs-down {
1383
+ display: none;
1384
+ }
1385
+ }
1386
+ @media (max-width: 991px) {
1387
+ .viewer-hide-sm-down {
1388
+ display: none;
1389
+ }
1390
+ }
1391
+ @media (max-width: 1199px) {
1392
+ .viewer-hide-md-down {
1393
+ display: none;
1394
+ }
1395
+ }
1396
+ .image-viewer .image-item {
1397
+ display: inline-block;
1398
+ width: 100px;
1399
+ height: 100px;
1400
+ cursor: pointer;
1401
+ background-repeat: no-repeat;
1402
+ background-size: cover;
1403
+ background-position: center;
1404
+ border: none;
1405
+ background-color: transparent;
1406
+ outline: none;
1407
+ }
1408
+ .viewer-backdrop {
1409
+ background-color: #5e5e5e;
995
1410
  }
996
1411
  .el-input-number.input-number {
997
1412
  display: block;