common.css 20.4 KB
Newer Older
D
v1.2.0  
devil_gong 已提交
1 2 3
/**
 * 公共
 */
D
devil 已提交
4
*{ outline:none !important; }
5 6 7
ul { list-style: none; }
.none { display:none !important; }
.block { display:block !important; }
D
v1.2.0  
devil_gong 已提交
8 9

/* 没数据 */
D
devil 已提交
10
.table-no {text-align:center;padding:115px 0;background:#FFF !important;color: #888; }
D
v1.2.0  
devil_gong 已提交
11 12 13 14

/* 公共dl样式 */
.dl-content dt { float: left; padding-left: 5px; overflow: hidden; clear: left;  
        width: 120px; }
15 16
.dl-content dd { padding-left: 120px; }
.dl-content dd:not(:last-child) { border-bottom: 1px solid #efefef; }
G
gongfuxiang 已提交
17
.dl-content dt, .dl-content dd { font-weight: normal !important; text-align: left; margin-top: 0px; line-height: 20px; min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
D
devil 已提交
18
.dl-content-dd-only dd { padding-left: 0; }
D
devil 已提交
19
.dl-content-dd-compact dd { line-height: 25px; min-height: 25px; padding: 0; }
D
v1.2.0  
devil_gong 已提交
20 21 22 23 24 25 26

/**
 * 表单优化
 */
.am-form-group:hover>input, .am-form-group:hover>select, .am-form-group:hover>textarea, .am-form-group:hover .chosen-choices, .am-form-group:hover .chosen-single { border: 1px solid #999 ; }
.am-form-error .chosen-choices, .am-form-error .chosen-default { border: 1px solid #dd514c !important; }
.am-form-success .chosen-choices, .am-form-success .chosen-single { border: 1px solid #5eb95e !important; }
D
devil 已提交
27
form.am-form .am-form-group-label-tips, form.am-form .am-form-group-label-tips-must {  font-size: 12px; font-weight: 400; margin-left: 10px; }
D
devil_gong 已提交
28 29
form.am-form .am-form-group-label-tips { color: #ccc;  }
form.am-form .am-form-group-label-tips-must { color: #f00; }
D
devil_gong 已提交
30 31
.am-form-group:hover>label { color: #333 !important; }
.am-form-group:hover>label>.am-form-group-label-tips { color: #FF9800 !important; }
D
devil 已提交
32
form.am-form .am-form-group, .plug-file-upload-view, .business-form-group, .business-form-block { border-bottom: 1px dashed #e2e2e2; padding: 15px 20% 20px 5px; margin-bottom: 0; }
D
devil 已提交
33
form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom: 0 !important; }
D
v1.2.0  
devil_gong 已提交
34 35 36 37 38

/**
 * 插件
 */
.chosen-container { width: 100% !important; }
D
devil 已提交
39
.am-tagsinput { display: block; padding: 2px 5px; border-radius: 2px; }
D
v1.2.0  
devil_gong 已提交
40 41 42 43 44 45
.chosen-choices, .chosen-single { border-radius: 2px; }
.chosen-choices li.search-field input[type="text"] { height: 28px !important; }
.chosen-choices li.search-field input[type="text"]:hover,
.am-tagsinput input[type="text"]:hover { box-shadow: 0 0 0 #fff !important; border: 0 !important; }
.chosen-choices li.search-field input[type="text"]:focus,
.am-tagsinput input[type="text"]:focus { border-color: #fff; -webkit-box-shadow: inset 0 0 0 0 !important; box-shadow: inset 0 0 0 0 !important; }
D
应用  
devil_gong 已提交
46 47
.chosen-choices { padding: 0px 3px !important; min-height: 28px; }
.chosen-container-single .chosen-single { height: 28px; line-height: 28px; }
D
v1.2.0  
devil_gong 已提交
48 49 50 51 52 53 54 55 56
.chosen-container-multi .chosen-choices li.search-field { padding-left: 3px; }
.chosen-container-single .chosen-single { color: #444 !important; }
.chosen-container-single .chosen-default { color: #999 !important; }
.chosen-disabled .chosen-choices, .chosen-disabled .chosen-single { background-color: #ccc; }
.chosen-disabled .search-choice { background: #d6d6d6 !important; }

/**
 * 公共提示信息
 */
D
devil 已提交
57
#common-prompt {position:fixed;top:20px;left:0;right:0;text-align:center;padding:10px 15px;font-size:14px;z-index:10000; border-radius: 2px; width: 260px; margin: 0 auto; word-break: break-all;}
D
devil 已提交
58 59 60 61 62
#common-prompt.am-alert-danger { background-color: #fef0f0; border-color: #f9d4d4; color: #f56c6c; box-shadow: 0 2px 4px #fef0f0, 0 0 6px rgba(0, 0, 0, 0); }
#common-prompt.am-alert-warning { background-color: #ffe7d5; border-color: #fbceac; color: #f37b1d; box-shadow: 0 2px 4px #ffe7d5, 0 0 6px rgba(0, 0, 0, 0); }
#common-prompt.am-alert-success { background-color: #e3fbd6; border-color: #bbe8a3; color: #67c23a; box-shadow: 0 2px 4px #e3fbd6, 0 0 6px rgba(0, 0, 0, 0); }
#common-prompt .prompt-content { text-align: left; font-size: 12px; }
#common-prompt .prompt-msg {width: calc(100% - 50px);display: -webkit-inline-box;}
D
v1.2.0  
devil_gong 已提交
63

64
/**
D
devil 已提交
65 66 67 68 69 70 71 72 73 74 75 76
 * 默认地图宽高
 */
#map {
    width: 100%;
    height: 250px;
}
.map-popup #map {
    height: 100%;
}

/**
 * 弹窗
77
 */
D
devil 已提交
78 79 80 81
.am-popup .am-popup-bd {
    height: 100%;
}
.popup-not-title {
82 83 84
    padding: 25px;
    background: transparent;
}
D
devil 已提交
85
.popup-not-title .am-popup-inner {
86 87 88
    padding-top: 0;
    background: #fff;
}
D
devil 已提交
89
.popup-not-title .am-close {
90 91 92 93 94 95 96 97 98 99 100 101
    position: absolute;
    right: 10px;
    top: 10px;
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    opacity: 1;
    background: #767676;
    color: #fff;
    border: 3px solid #f4f4f4;
    width: 32px;
    height: 32px;
D
devil 已提交
102
    z-index: 1;
103
}
D
devil 已提交
104
.popup-not-title .am-close:hover {
D
devil 已提交
105
    background: #f22a30;
106
}
D
devil 已提交
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
.am-popup-hd .am-close, .am-popup-hd .am-full {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: #999;
    text-align: center;
}
.am-popup-hd .am-close {
    font-size: 22px;
    opacity: 1;
}
.am-popup-hd .am-close:hover {
    color: #f22a30;
    transform: none;
}
.am-popup-hd .am-full {
    position: absolute;
    right: 40px;
D
Devil 已提交
125
    top: 9px;
D
devil 已提交
126 127 128 129 130 131 132 133 134 135 136 137 138
    cursor: pointer;
}
.am-popup-hd .am-full:hover {
    color: #03A9F4;
}
.popup-full {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
}
139

D
devil 已提交
140

D
v1.2.0  
devil_gong 已提交
141 142 143
/**
 * iframe
 */
D
devil 已提交
144
iframe { border: 0; }
D
v1.2.0  
devil_gong 已提交
145 146 147 148 149 150 151 152


/**
 * H5
 */
@media only screen and (max-width: 641px) {
    /* 地址联动 */
    .region-linkage select:not(:first-child) { margin-bottom: 5px; }
D
devil 已提交
153 154 155

    /* 表单 */
    form.am-form .am-form-group, .plug-file-upload-view, .business-form-group, .business-form-block { padding: 5px 0 10px 0px; }
D
v1.2.0  
devil_gong 已提交
156 157 158 159 160 161 162
}

/**
 * PC
 */
@media only screen and (min-width: 641px) {
    /* 表单 */
D
devil 已提交
163 164
    form.am-form .am-form-group:hover, .plug-file-upload-view:hover { background: #f6f9fc; }
    form.am-form .am-form-group-refreshing:hover { background: none; }
D
v1.2.0  
devil_gong 已提交
165

D
devil_gong 已提交
166
    /* 弹窗 */
D
devil 已提交
167
    .am-popup form.am-form .am-form-group, .am-modal form.am-form .am-form-group, .business-form-block { padding: 10px 5px; }
D
devil_gong 已提交
168

D
v1.2.0  
devil_gong 已提交
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
    /* 地址联动 */
    .region-linkage select { width: 33%; display: -webkit-inline-box; }

    /**
     * 弹窗iframe
     */
    .popup-iframe .am-popup-inner { overflow: hidden; }
}

/**
 * 日期插件成对日期样式
 */
.twain-date input { width: calc(50% - 9px) !important; display: -webkit-inline-box !important; }

/**
 * 公共
 */
.data-error-tips { text-align: center; }
.mini-tips-text { font-size: 12px; color: #999; }
.business-operations-submit {
    display: inline-block;
    padding: 5px 10px;
    color: #888;
    border: 1px dashed #ccc;
    background: #fff;
    cursor: pointer;
 }
 .business-operations-submit:hover {
    color: #333;
    border: 1px dashed #666;
 }

/**
 * 地图提示
 */
.map-copy { margin:0px 6px 6px 0px; background-color:#FFF; box-shadow:0 1px 6px rgba(0,0,0,0.35); padding:3px 5px; border-radius: 3px; }
.map-copy span { font-size:12px; font-weight:700; color:#f99797; }

/**
 * 公共图片上传
 */
D
devil 已提交
210
.am-form-file input[type="file"] { overflow:hidden; width: 96px !important; height: 28px; top: 10px; }
D
v1.2.0  
devil_gong 已提交
211 212 213 214 215 216 217 218 219 220
.am-form-file input.original-images-url { display: -webkit-inline-box !important; width: calc(100% - 110px) !important; background: #f5f5f5 !important; float: right; }
.am-form-file i.original-images-url-delete { position: absolute; right: 3px; margin-top: 5px; cursor: pointer; background: #f5f5f5; padding: 0px 10px; }
.am-form-file input.original-images-url-delete {  padding-right: 35px !important; }


/**
 * 公共文件上传插件
 */
.plug-file-upload-submit {
    display: inline-block;
G
gongfuxiang 已提交
221
    padding: 8px 5px;
D
v1.2.0  
devil_gong 已提交
222 223 224 225
    color: #70b2f3;
    border: 1px dashed #70b2f3;
    background: #fff;
    cursor: pointer;
G
gongfuxiang 已提交
226 227
    min-width: 100px;
    text-align: center;
D
v1.2.0  
devil_gong 已提交
228 229 230 231 232 233 234 235 236
}
.plug-file-upload-submit:hover {
    color: #36c;
    border-color: #36c;
}
ul.plug-file-upload-view {
    margin: 0;
    padding: 5px 0;
    overflow: hidden;
G
gongfuxiang 已提交
237
    margin-bottom: 5px;
D
v1.2.0  
devil_gong 已提交
238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
}
ul.plug-file-upload-view li {
    list-style-type: none;
    float: left;
    width: 100px;
    height: 100px;
    margin: 0 10px 3px 0;
    padding: 5px;
    text-align: center;
    border: 1px dashed #c2c2c2;
    position: relative;
}
ul.plug-file-upload-view li input {
    position: absolute;
    margin-left: -1000000px;
}
ul.plug-file-upload-view li img, ul.plug-file-upload-view-video li video {
    max-width: 100%;
    max-height: 100%;
}
ul.plug-file-upload-view li i {
    font-style: normal;
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    color: #C30;
    text-align: center;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    text-shadow: -2px 1px #fff;
}
ul.plug-file-upload-view li:hover > i {
    color: #e90f0f;
    background: #d9d6d6;
}
ul.plug-file-upload-view-video li {
    width: 300px;
    height: 200px;
}



/**
 * 拖拽排序
 */
.drag-sort-dotted { border: 3px dashed #639BF6 !important; }

/**
 * 覆盖框架样式
 */
D
钱包  
devil_gong 已提交
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
.am-alert {
    background: #f1faff;
    border: 1px solid #e2f5ff;
    color: #1490d2;
}
.am-alert-danger {
    background-color: #fff1f0;
    border-color: #ffe4e3;
    color: #dd514c;
}
.am-alert-secondary {
    background-color: #f6f6f6;
    border-color: #efefef;
    color: #666;
}
.am-alert-success {
    background-color: #eef7ea;
    border-color: #e3f3d6;
    color: #468847;
}
D
v1.2.0  
devil_gong 已提交
311
.am-alert-warning {
D
钱包  
devil_gong 已提交
312 313
    background-color: #fff7f1;
    border-color: #fff0e4;
D
v1.2.0  
devil_gong 已提交
314 315
    color: #f37b1d;
}
D
devil_gong 已提交
316 317 318 319 320 321
.am-alert a {
    color: #d2354c;
}
.am-alert-danger a {
    color: #136ed9;
}
G
gongfuxiang 已提交
322 323 324 325 326 327 328 329
.am-input-radius input.am-form-field {
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
}
.am-input-radius span.am-input-group-label {
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
}
G
gongfuxiang 已提交
330 331 332
.am-checkbox, .am-radio, .am-checkbox-inline, .am-radio-inline {
    font-size: 12px;
    padding-left: 18px;
D
devil 已提交
333 334
    min-width: 18px;
    min-height: 18px;
G
gongfuxiang 已提交
335 336 337 338 339 340 341
}
.am-ucheck-icons {
    line-height: 18px;
}
.am-checkbox .am-icon-checked, .am-radio .am-icon-checked, .am-checkbox-inline .am-icon-checked, .am-radio-inline .am-icon-checked, .am-checkbox .am-icon-checked, .am-radio .am-icon-checked, .am-checkbox-inline .am-icon-checked, .am-radio-inline .am-icon-checked, .am-checkbox .am-icon-unchecked, .am-radio .am-icon-unchecked, .am-checkbox-inline .am-icon-unchecked, .am-radio-inline .am-icon-unchecked {
    font-size: 16px;
}
D
v1.2.0  
devil_gong 已提交
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356

/**
 * 颜色选择插件
 */
#colorpanel {
    z-index: 10000;
}
button.colorpicker-submit:hover, button.colorpicker-submit:active, button.colorpicker-submit:focus {
    background-color: #fff;
}
button.colorpicker-submit:active {
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.15);
}
D
devil 已提交
357 358 359
button.colorpicker-submit {
    padding-right: 10px;
}
D
devil 已提交
360 361 362 363 364
button.colorpicker-submit img {
    width: 14px;
    height: 14px;
    float: right;
}
D
devil_gong 已提交
365 366 367 368 369 370 371 372 373 374 375 376


/**
 * 搜索表单
 */
.form-search .thin { overflow:hidden; }
.form-search .thin .so { width:66%; }
.form-search .thin_sub { font-weight:100; margin:10px 0px 0px 10px; cursor: pointer; }
.form-search .so-list { width:100%; margin-top: 10px; }
.form-search .so-list * { font-size:1.2rem !important; }
.form-search .so-list input { height:28px; display:inline !important; }
.form-search .time input, .form-search .so-list .chosen-container { background:#FFF !important; }
G
gongfuxiang 已提交
377
.form-search .time input, .form-search .price input { width:101px !important; }
D
devil_gong 已提交
378 379 380 381 382 383 384 385
.form-search .time i { position:absolute; margin:4px 0px 0px -15px; }
.form-search .time { width:50%; }
.form-search .so-list tr+tr>td { padding-top:10px; }
.form-search .so-list .chosen-container { border-radius:2px; }
.form-search .text-grey { color: #999; }
.form-search .chosen-container-single .chosen-single, .form-search .so-list select { height: 28px; line-height: 28px; width: 100%; }
.form-search .reset-submit { margin-left: 20px; }
.form-search .so-list select { padding: 0 0 0 8px; }
G
gongfuxiang 已提交
386
.form-search .more-submit input { display: none; }
D
devil_gong 已提交
387
@media only screen and (min-width: 641px) {
G
gongfuxiang 已提交
388
    .form-search .so-list .chosen-container, .form-search .so-list select, .form-search .input input { width:217px !important; display: -webkit-inline-box; }
D
devil_gong 已提交
389 390 391
    .form-search .thin_sub:hover { color:#F60; }
}
@media only screen and (max-width: 641px) {
G
gongfuxiang 已提交
392
    .form-search .so-list input { width:calc(50% - 29px) !important; }
D
devil_gong 已提交
393 394 395 396
    .form-search .so-list td { width:100%; display:block; }
    .form-search .so-list tr td:last-child { margin-top:10px; }
    .form-search .so-list tr td:last-child { padding-top:0px !important; }
    .form-search .chosen-container-single .chosen-search input[type="text"] { width: 100% !important; }
G
gongfuxiang 已提交
397
    .form-search .so-list select, .form-search .so-list .chosen-container, .form-search .input input { width: calc(100% - 44px) !important; display: -webkit-inline-box; }
D
devil_gong 已提交
398 399 400 401 402 403
}


/**
 * 自定义辅助类
 */
404 405 406
.xo-cursor-pr {
    cursor: pointer;
}
D
devil_gong 已提交
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437
@media only screen and (max-width: 641px) {
    /* 水平方向内边距 */
    .xo-padding-horizontal-md-xs {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .xo-padding-horizontal-md-sm {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
@media only screen and (min-width: 640px) {
    /* 水平方向内边距 */
    .xo-padding-horizontal-md-xs {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .xo-padding-horizontal-md-sm {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
@media only screen and (min-width: 1025px) {
    /* 水平方向内边距 */
    .xo-padding-horizontal-md-xs,
    .xo-padding-horizontal-md-sm {
        padding-left: 0;
        padding-right: 0;
    }
}

D
devil_gong 已提交
438 439 440 441 442 443

/**
 * 框架组件代码优化
 */
.am-radio input[type="radio"], .am-radio-inline input[type="radio"], .am-checkbox input[type="checkbox"], .am-checkbox-inline input[type="checkbox"] {
    margin: -3px;
D
devil_gong 已提交
444 445
}

446 447 448 449 450 451 452 453
/**
 * 图片响应式支持子元素
 */
.am-img-responsive img,
.am-img-responsive video {
    max-width: 100%;
}

D
devil_gong 已提交
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488

/**
 * 插件标记
 */
.plugins-tag {
    background: #333;
    border: 3px solid #e90000;
    text-align: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: -webkit-inline-box;
}
.plugins-tag, .plugins-tag span {
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}
.plugins-tag span {
    font-size: 16px;
    font-weight: bold;
    color: #e90000;
    text-shadow: 1px 1px #bfbfbf;
    background: #ffdfdf;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #ffd4d4;
    position: absolute;
    margin: -12px 0 0 -5px;
    z-index: 2;
    display: none;
}
.plugins-tag:hover span {
    display: block;
D
Devil 已提交
489 490 491 492 493 494 495 496 497 498 499 500 501 502
}

/**
 * 两行、超出字符省略
 */
.am-text-truncate-2 {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 18px;
    height: 35px;
D
devil 已提交
503 504 505 506 507 508 509 510 511 512 513 514
}

/**
 * 公共加载页面view
 */
.am-page-loading {
    opacity: 1;
    background: #f5f5f5;
    display: block;
}

/**
D
devil 已提交
515
 * 表格-基础样式
D
devil 已提交
516 517 518
 */
.am-table-scrollable-horizontal {
    border: 1px solid #ddd;
D
devil 已提交
519
    position: relative;
D
devil 已提交
520 521 522 523 524 525
}
.am-table-scrollable-horizontal .am-table {
    border-collapse: collapse;
    border: 0;
    margin: 0;
}
526 527 528 529 530 531 532 533
.am-table-scrollable-horizontal .am-table > thead > tr > th,
.am-table-scrollable-horizontal .am-table > tbody > tr > th,
.am-table-scrollable-horizontal .am-table > tfoot > tr > th,
.am-table-scrollable-horizontal .am-table > thead > tr > td,
.am-table-scrollable-horizontal .am-table > tbody > tr > td,
.am-table-scrollable-horizontal .am-table > tfoot > tr > td {
    padding: 12px;
    line-height: 20px;
D
devil 已提交
534 535
    min-width: 160px;
    max-width: 160px;
D
devil 已提交
536
    word-break: break-all;
537
}
538 539 540
.am-table-scrollable-horizontal .am-table .am-nowrap-initial {
    white-space: initial;
}
D
devil 已提交
541 542 543 544 545
.am-table-scrollable-horizontal .am-table tr th:first-child,
.am-table-scrollable-horizontal .am-table tr td:first-child {
    border-left: 0;
}
.am-table-scrollable-horizontal .am-table tr th {
546 547
    background: #e8e6e6;
    min-width: 100px;
D
devil 已提交
548
    position: relative;
549
}
D
devil 已提交
550 551 552 553 554 555 556 557 558
.am-table-scrollable-horizontal .am-table tr .am-grid-xxxl {
    min-width: 650px;
}
.am-table-scrollable-horizontal .am-table tr .am-grid-xxl {
    min-width: 550px;
}
.am-table-scrollable-horizontal .am-table tr .am-grid-xl {
    min-width: 450px;
}
D
devil 已提交
559
.am-table-scrollable-horizontal .am-table tr .am-grid-lg {
560 561
    min-width: 350px;
}
D
devil 已提交
562
.am-table-scrollable-horizontal .am-table tr .am-grid-sm {
D
devil 已提交
563
    min-width: 250px;
564
}
D
devil 已提交
565
.am-table-scrollable-horizontal .am-table tr .am-grid-xs {
D
devil 已提交
566
    min-width: 200px;
567 568
}
.am-table-scrollable-horizontal .am-table tr .am-operate-grid {
D
devil 已提交
569
    min-width: 120px;
D
devil 已提交
570
}
D
devil 已提交
571 572 573 574
.am-table-scrollable-horizontal .am-table tr .am-grid-auto {
    min-width: auto;
    max-width: none;
}
D
devil 已提交
575 576
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-left,
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-right {
D
devil 已提交
577
    height: auto;
D
devil 已提交
578
    z-index: 2;
D
devil 已提交
579
    position: sticky;
D
devil 已提交
580
}
D
devil 已提交
581 582 583
.am-table-scrollable-horizontal .am-table tr td.am-grid-fixed-left,
.am-table-scrollable-horizontal .am-table tr td.am-grid-fixed-right {
    height: auto;
D
devil 已提交
584
    z-index: 1011;
D
devil 已提交
585
    position: sticky;
D
devil 已提交
586 587
    background: #fff;
}
D
devil 已提交
588 589 590 591 592 593 594 595 596 597 598
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-left {
    -webkit-box-shadow: 1px 0px 1px #ddd;
    -moz-box-shadow: 1px 0px 1px #ddd;
    box-shadow: 1px 0px 1px #ddd;
}
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-right {
    -webkit-box-shadow: 0px 0px 1px #ddd;
    -moz-box-shadow: 0px 0px 1px #ddd;
    box-shadow: 0px 0px 1px #ddd;
}
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-left-shadow {
D
devil 已提交
599 600 601 602
    -webkit-box-shadow: 5px 0px 10px rgba(136, 136, 136, 0.3);
    -moz-box-shadow: 5px 0px 10px rgba(136, 136, 136, 0.3);
    box-shadow: 5px 0px 10px rgba(136, 136, 136, 0.3);
}
D
devil 已提交
603
.am-table-scrollable-horizontal .am-table tr .am-grid-fixed-right-shadow {
D
devil 已提交
604 605 606
    -webkit-box-shadow: -5px 0px 10px rgba(136, 136, 136, 0.3);
    -moz-box-shadow: -5px 0px 10px rgba(136, 136, 136, 0.3);
    box-shadow: -5px 0px 10px rgba(136, 136, 136, 0.3);
D
devil 已提交
607 608 609 610 611 612 613 614
}

/**
 * 表格-相关样式
 */
.form-table-operate-top > .am-btn:not(:last-child) {
    margin-right: 10px;
}
D
Devil 已提交
615 616 617
.form-table-operate-top .am-btn {
    margin-bottom: 10px;
}
D
devil 已提交
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633

/**
 * 表格-搜索条件
 */
.form-table-search {
    background: #eee;
}
.form-table-search td {
    padding: 8px  !important;
}
.form-table-search-section input {
    width: calc(50% - 8px);
}
.form-table-search-time > i {
    position: absolute;
    margin: 4px 0px 0px -15px;
D
devil 已提交
634 635 636 637 638 639 640 641
}

/**
 * 表格-复选框/单选框
 */
.form-table-operate-radio .am-radio,
.form-table-operate-checkbox .am-checkbox {
    margin-top: 0;
D
devil 已提交
642
}
643 644 645 646 647
.form-table-operate-checkbox-submit {
    position: absolute;
    left: calc(50% - 25px);
    top: calc(50% - 14px);
}
D
devil 已提交
648

D
devil 已提交
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
/**
 * 表格-字段选择
 */
.form-table-fields-select-container {
    height: 100%;
}
.form-table-fields-list-container {
    height: calc(100% - 50px);
}
.form-table-fields-content-container li {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}
.form-table-fields-content-container li:first-child {
    border-top: 0;
}
.form-table-fields-button-container {
    border-top: 1px solid #dedede;
    height: 50px;
}
.form-table-fields-button-container .form-table-field-confirm-submit {
    width: calc(100% - 130px);
}

D
devil 已提交
674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
/**
 * 表格排序
 */
.form-sort-container {
    position: absolute;
    margin-left: 3px;
    top: calc(50% - 8px);
}
.form-sort-container .sort-icon {
    display: block;
    height: 8px;
    line-height: 10px;
    color: #999;
    width: 15px;
    text-align: center;
}
.form-sort-container .sort-icon:before {
    height: 8px;
    line-height: 8px;
    font-size: 14px;
}
.form-sort-container .sort-icon:hover {
    color: #333;
}
.form-sort-container .sort-active {
    color: #0e90d2 !important;
}

D
devil 已提交
702 703 704 705 706 707 708 709 710
/**
 * 公共联动地区组件样式
 */
.region-linkage .chosen-select {
    display: -webkit-inline-box;
    width: calc(33.3% - 3px) !important;
}
.region-linkage .chosen-select .chosen-single {
    width: 100%;
711 712 713 714 715 716 717
}

/**
 * 文字颜色
 */
.am-text-grey {
    color: #c3c3c3;
D
devil 已提交
718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751
}

/**
 * 小微章-镂空
 */
.am-badge-default-plain {
    border: 1px solid #999;
    background: transparent;
    color: #999;
}
.am-badge-primary-plain {
    border: 1px solid #0e90d2;
    background: transparent;
    color: #0e90d2;
}
.am-badge-secondary-plain {
    border: 1px solid #3bb4f2;
    background: transparent;
    color: #3bb4f2;
}
.am-badge-success-plain {
    border: 1px solid #5eb95e;
    background: transparent;
    color: #5eb95e;
}
.am-badge-warning-plain {
    border: 1px solid #F37B1D;
    background: transparent;
    color: #F37B1D;
}
.am-badge-danger-plain {
    border: 1px solid #dd514c;
    background: transparent;
    color: #dd514c;
D
devil 已提交
752
}