UNPKG

adapterui

Version:

a simple web framework

2,610 lines (2,609 loc) 196 kB
/* html默认样式 */ *, *::before, *::after { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; } /** * 默认样式部分的修改 */ html, body { font-family: "Avenir-Book", "Avenir Book", "Avenir", "PingFang SC", "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif; /*修改默认字体*/ color: #657180; /*默认字体颜色*/ margin: 0; padding: 0; /* 字体抗锯齿渲染 */ font-smoothing: antialiased; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { background-color: #fff; /*默认背景色为#fff*/ font-size: 0.14rem; /*默认字体大小为0.14rem*/ overflow-x: hidden; -ms-overflow-x: hidden; width: 100%; } h1, h2, h3, h4, h5, h6, p { margin: 0 0 0.1rem 0; line-height: 1.6; } h1 { font-size: 0.28rem; color: #464c5b; } h2 { font-size: 0.24rem; color: #464c5b; } h3 { font-size: 0.22rem; color: #464c5b; } h4 { font-size: 0.2rem; color: #464c5b; } h5 { font-size: 0.18rem; color: #464c5b; } h6 { font-size: 0.16rem; color: #464c5b; } a { text-decoration: none; color: #42b983; cursor: pointer; } @media only screen and (min-width: 768px) { a:hover { text-decoration: underline; } } a[class^="ad-text-"] { transition: color 400ms; -ms-transition: color 400ms; -moz-transition: color 400ms; -webkit-transition: color 400ms; } a[class^="ad-bg-"] { transition: background-color 400ms; -ms-transition: background-color 400ms; -moz-transition: background-color 400ms; -webkit-transition: background-color 400ms; } pre { display: block; padding: 0.1rem 0.15rem; margin: 0 0 0.15rem; font-size: 0.14rem; font-family: Consolas; line-height: 1.6; color: #657180; background-color: #f9f9fa; border-radius: 0.04rem; overflow: auto; } xmp { margin: 0; padding: 0; white-space: pre-wrap; } hr { margin: 0; padding: 0; margin-bottom: 0.15rem; border: 1px solid #d7dde4; } /** * 禁用样式 */ [disabled] { cursor: not-allowed !important; } /*年月日区域*/ input[type="date"]::-webkit-datetime-edit-fields-wrapper, input[type="datetime"]::-webkit-datetime-edit-fields-wrapper, input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper, input[type="week"]::-webkit-datetime-edit-fields-wrapper, input[type="month"]::-webkit-datetime-edit-fields-wrapper, input[type="time"]::-webkit-datetime-edit-fields-wrapper { color: #657180; } input[type="date"]::-webkit-datetime-edit-text, input[type="datetime"]::-webkit-datetime-edit-text, input[type="datetime-local"]::-webkit-datetime-edit-text, input[type="week"]::-webkit-datetime-edit-text, input[type="month"]::-webkit-datetime-edit-text, input[type="time"]::-webkit-datetime-edit-text { color: #657180; } /*控制上下小箭头*/ input[type="date"]::-webkit-inner-spin-button, input[type="datetime"]::-webkit-inner-spin-button, input[type="datetime-local"]::-webkit-inner-spin-button, input[type="week"]::-webkit-inner-spin-button, input[type="month"]::-webkit-inner-spin-button, input[type="time"]::-webkit-inner-spin-button, input[type="number"]::-webkit-inner-spin-button { visibility: hidden; } input[type="number"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="time"] { -moz-appearance: textfield; } /*控制向下的小箭头*/ input[type="date"]::-webkit-calendar-picker-indicator, input[type="datetime"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator, input[type="week"]::-webkit-calendar-picker-indicator, input[type="month"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { border: 1px solid #d7dde4; border-radius: 0.02rem; box-shadow: inset 0 1px #fff, 0 1px #eee; background-color: #eeeeee; background-image: -webkit-linear-gradient(top, #f0f0f0, #e6e6e6); color: #657180; } /*清除按钮*/ input[type="date"]::-webkit-clear-button, input[type="datetime"]::-webkit-clear-button, input[type="datetime-local"]::-webkit-clear-button, input[type="week"]::-webkit-clear-button, input[type="month"]::-webkit-clear-button, input[type="time"]::-webkit-clear-button { display: none; } input[type="text"]::-webkit-calendar-picker-indicator, input[type="email"]::-webkit-calendar-picker-indicator, input[type="number"]::-webkit-calendar-picker-indicator, input[type="password"]::-webkit-calendar-picker-indicator, input[type="url"]::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; } ul, ol { margin: 0 0 0.15rem; padding: 0.05rem 0.1rem 0.05rem 0.2rem; } li { margin-bottom: 0.1rem; } /*滚动条样式*/ @media only screen and (min-width: 768px) { /* 滚动条整体宽度 */ ::-webkit-scrollbar { width: 0.08rem; height: 0.08rem; } /* 滚动条的滑轨背景颜色 */ ::-webkit-scrollbar-track { background-color: #f1f1f1; } /* 滚动条的滑块背景颜色 */ ::-webkit-scrollbar-thumb { background-color: #d7dde4; border-radius: 0.2rem; } body ::-webkit-scrollbar { width: 0.04rem; height: 0.04rem; } } @font-face { font-family: "ai"; src: url('../font/iconfont.eot?t=1566962424191'); /* IE9 */ src: url('../font/iconfont.eot?t=1566962424191#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../font/iconfont.woff?t=1566962424191') format('woff'), url('../font/iconfont.ttf?t=1566962424191') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ url('../font/iconfont.svg?t=1566962424191#ai') format('svg'); /* iOS 4.1- */ } .ai { font-family: "ai" !important; font-style: normal; } .ai.ai-xs { font-size: 0.8em; } .ai.ai-sm { font-size: 1.2em; } .ai.ai-md { font-size: 1.5em; } .ai.ai-lg { font-size: 2em; } .ai.ai-xl { font-size: 4em; } .ai.ai-fw { width: 1.5em; text-align: center !important; } .ai.ai-spin { display: inline-block !important; animation: spin 1.4s linear infinite; -webkit-animation: spin 1.4s linear infinite; } @-webkit-keyframes spin { from { transform: rotateZ(0deg); transform-origin: center; } to { transform: rotateZ(360deg); transform-origin: center; } } .ai-check:before { content: "\e645"; } .ai-times:before { content: "\e646"; } .ai-check-o:before { content: "\e666"; } .ai-check-o-alt:before { content: "\e667"; } .ai-times-o:before { content: "\e668"; } .ai-times-o-alt:before { content: "\e669"; } .ai-more:before { content: "\e686"; } .ai-scan:before { content: "\e68b"; } .ai-plus-o:before { content: "\e6dd"; } .ai-plus-o-alt:before { content: "\e6e2"; } .ai-plus:before { content: "\e6e5"; } .ai-down:before { content: "\e704"; } .ai-copy:before { content: "\e719"; } .ai-file-html:before { content: "\e62c"; } .ai-file-plus-alt:before { content: "\e691"; } .ai-minus:before { content: "\e768"; } .ai-pause:before { content: "\e822"; } .ai-bars:before { content: "\e9ee"; } .ai-folder-open:before { content: "\eae4"; } .ai-hand-up-alt:before { content: "\e66b"; } .ai-error-alt:before { content: "\eb38"; } .ai-comment-o:before { content: "\e762"; } .ai-comment-o-alt:before { content: "\e763"; } .ai-red-paper-alt:before { content: "\e784"; } .ai-sale:before { content: "\e78a"; } .ai-sale-alt:before { content: "\e78b"; } .ai-gift-alt:before { content: "\e78c"; } .ai-more-vertical:before { content: "\e78d"; } .ai-file-check:before { content: "\e80b"; } .ai-file-image-alt:before { content: "\e6ee"; } .ai-home-alt:before { content: "\e6cf"; } .ai-home:before { content: "\e6d1"; } .ai-image-alt:before { content: "\e6e7"; } .ai-image:before { content: "\e6ed"; } .ai-hand-left-alt:before { content: "\e722"; } .ai-theme:before { content: "\e723"; } .ai-theme-alt:before { content: "\e738"; } .ai-hand-down-alt:before { content: "\e6a3"; } .ai-hand-right-alt:before { content: "\e6a5"; } .ai-cut:before { content: "\e720"; } .ai-paste:before { content: "\e721"; } .ai-error:before { content: "\e66d"; } .ai-random:before { content: "\e67c"; } .ai-medal:before { content: "\e7e6"; } .ai-medal-alt:before { content: "\e7e7"; } .ai-news:before { content: "\e7e8"; } .ai-label:before { content: "\e7e9"; } .ai-label-alt:before { content: "\e7ea"; } .ai-news-alt:before { content: "\e7eb"; } .ai-global:before { content: "\e7ed"; } .ai-qq-o:before { content: "\e604"; } .ai-code:before { content: "\e6a1"; } .ai-rootf:before { content: "\e635"; } .ai-file-html-alt:before { content: "\e64f"; } .ai-cloud-alt:before { content: "\e6c1"; } .ai-wechat-o:before { content: "\e637"; } .ai-cloud:before { content: "\e64c"; } .ai-images:before { content: "\e66a"; } .ai-hot:before { content: "\e739"; } .ai-classification:before { content: "\e73a"; } .ai-wechat-square:before { content: "\e629"; } .ai-editor:before { content: "\eb61"; } .ai-function:before { content: "\eb62"; } .ai-css3:before { content: "\e66c"; } .ai-partten-chart:before { content: "\e678"; } .ai-play-o-alt1:before { content: "\e600"; } .ai-backward:before { content: "\e949"; } .ai-fast-backward:before { content: "\e950"; } .ai-forward:before { content: "\e951"; } .ai-fast-forward:before { content: "\e952"; } .ai-login:before { content: "\e953"; } .ai-menu-unfold:before { content: "\e954"; } .ai-menu-fold:before { content: "\e956"; } .ai-logout:before { content: "\e955"; } .ai-step-backward:before { content: "\e957"; } .ai-step-forward:before { content: "\e958"; } .ai-step-forward-alt:before { content: "\e95a"; } .ai-step-backward-alt:before { content: "\e95b"; } .ai-play-o:before { content: "\e95d"; } .ai-font-minus:before { content: "\e62d"; } .ai-font-plus:before { content: "\e62e"; } .ai-image-error:before { content: "\ec0d"; } .ai-cogs-alt:before { content: "\e605"; } .ai-eye-off:before { content: "\e602"; } .ai-eye:before { content: "\e603"; } .ai-font:before { content: "\ea3f"; } .ai-sequential:before { content: "\e601"; } .ai-minus-o-alt:before { content: "\e62b"; } .ai-chart-bar:before { content: "\e7a5"; } .ai-bell-slash-alt:before { content: "\e64d"; } .ai-customer-service:before { content: "\ec2e"; } .ai-hand-down:before { content: "\f004"; } .ai-hand-left:before { content: "\f006"; } .ai-hand-right:before { content: "\f007"; } .ai-hand-up:before { content: "\f008"; } .ai-file-css:before { content: "\e64b"; } .ai-bluetooth:before { content: "\ec4a"; } .ai-ai:before { content: "\ec5f"; } .ai-bug:before { content: "\ec63"; } .ai-chart-polygonal:before { content: "\ec66"; } .ai-js:before { content: "\ec68"; } .ai-mysql:before { content: "\ec6d"; } .ai-city:before { content: "\ec70"; } .ai-single-loop:before { content: "\e67e"; } .ai-comment:before { content: "\e7a8"; } .ai-comment-alt:before { content: "\e7ec"; } .ai-play:before { content: "\e679"; } .ai-font-title:before { content: "\ec84"; } .ai-pause-o:before { content: "\e67a"; } .ai-cogs:before { content: "\e6d2"; } .ai-images-alt:before { content: "\e63a"; } .ai-bell-slash:before { content: "\e792"; } .ai-fireforx-alt:before { content: "\e999"; } .ai-file-minus-alt:before { content: "\e66f"; } .ai-bell:before { content: "\e696"; } .ai-start-half:before { content: "\ec59"; } .ai-file-alt:before { content: "\e6f4"; } .ai-file:before { content: "\e6f6"; } .ai-edit:before { content: "\e6f8"; } .ai-emoji:before { content: "\e6fa"; } .ai-emoji-alt:before { content: "\e6fb"; } .ai-question:before { content: "\e702"; } .ai-question-alt:before { content: "\e71c"; } .ai-info:before { content: "\e71d"; } .ai-info-alt:before { content: "\e71e"; } .ai-share-square-alt:before { content: "\e727"; } .ai-cog:before { content: "\e728"; } .ai-cog-alt:before { content: "\e72d"; } .ai-share:before { content: "\e729"; } .ai-share-alt:before { content: "\e72a"; } .ai-success:before { content: "\e72e"; } .ai-success-alt:before { content: "\e733"; } .ai-video-alt:before { content: "\e73b"; } .ai-video:before { content: "\e73c"; } .ai-warning:before { content: "\e73d"; } .ai-warning-alt:before { content: "\e73e"; } .ai-folder-plus:before { content: "\e63b"; } .ai-file-plus:before { content: "\e644"; } .ai-file-minus:before { content: "\e647"; } .ai-loop:before { content: "\e68d"; } .ai-minus-o:before { content: "\e7e4"; } .ai-pause-o-alt:before { content: "\e67b"; } .ai-folder-open-alt:before { content: "\e8ed"; } .ai-send:before { content: "\e911"; } .ai-send-alt:before { content: "\e912"; } .ai-rubber-alt:before { content: "\eb4d"; } .ai-rubber:before { content: "\eb4e"; } .ai-bell-alt:before { content: "\e677"; } .ai-glasses-alt:before { content: "\eb95"; } .ai-folder-alt:before { content: "\eb96"; } .ai-email-alt:before { content: "\eb94"; } .ai-keyboard-alt:before { content: "\eb97"; } .ai-folder:before { content: "\eba8"; } .ai-email:before { content: "\eba6"; } .ai-exchange:before { content: "\eba9"; } .ai-file-image:before { content: "\e64a"; } .ai-tencent-video:before { content: "\e660"; } .ai-wifi:before { content: "\e6a4"; } .ai-horn-down:before { content: "\e724"; } .ai-horn-up:before { content: "\e725"; } .ai-horn-down-alt:before { content: "\e734"; } .ai-horn-mute:before { content: "\e735"; } .ai-horn-mute-alt:before { content: "\e736"; } .ai-horn-up-alt:before { content: "\e737"; } .ai-star-alt:before { content: "\e65b"; } .ai-star:before { content: "\e65c"; } .ai-file-check-alt:before { content: "\e805"; } .ai-wechat:before { content: "\e65a"; } .ai-language:before { content: "\e606"; } .ai-user-square:before { content: "\e83c"; } .ai-user-square-alt:before { content: "\e83d"; } .ai-user-o-alt:before { content: "\e83e"; } .ai-user-o:before { content: "\e83f"; } .ai-user-contact-alt:before { content: "\e840"; } .ai-user-lock-alt:before { content: "\e841"; } .ai-user-contact:before { content: "\e842"; } .ai-user-lock:before { content: "\e843"; } .ai-user-group:before { content: "\e844"; } .ai-user-plus-alt:before { content: "\e845"; } .ai-user-alt:before { content: "\e846"; } .ai-user-group-alt:before { content: "\e847"; } .ai-user-plus:before { content: "\e848"; } .ai-user-search:before { content: "\e849"; } .ai-user-check-alt:before { content: "\e84a"; } .ai-user-search-alt:before { content: "\e84b"; } .ai-user-backward-alt:before { content: "\e84c"; } .ai-user-forward:before { content: "\e84d"; } .ai-user-forward-alt:before { content: "\e84e"; } .ai-user-check:before { content: "\e84f"; } .ai-user-backward:before { content: "\e850"; } .ai-user-star-alt:before { content: "\e851"; } .ai-user-star:before { content: "\e852"; } .ai-user-cog:before { content: "\e853"; } .ai-user-remove:before { content: "\e854"; } .ai-user-remove-alt:before { content: "\e855"; } .ai-user:before { content: "\e856"; } .ai-user-cog-alt:before { content: "\e857"; } .ai-plus-square:before { content: "\e67f"; } .ai-minus-square:before { content: "\e680"; } .ai-minus-square-alt:before { content: "\e681"; } .ai-plus-square-alt:before { content: "\e682"; } .ai-folder-minus:before { content: "\e659"; } .ai-folder-minus-alt:before { content: "\e673"; } .ai-folder-plus-alt:before { content: "\e674"; } .ai-zip:before { content: "\e641"; } .ai-onedrive:before { content: "\e671"; } .ai-steam:before { content: "\e675"; } .ai-firefox:before { content: "\e676"; } .ai-align-center:before { content: "\e607"; } .ai-align-justify:before { content: "\e608"; } .ai-align-right:before { content: "\e609"; } .ai-align-left:before { content: "\e60a"; } .ai-angle-down-o:before { content: "\e60b"; } .ai-angle-down:before { content: "\e60c"; } .ai-angle-double-down:before { content: "\e60d"; } .ai-angle-left-o:before { content: "\e60e"; } .ai-angle-double-up:before { content: "\e60f"; } .ai-angle-left:before { content: "\e610"; } .ai-angle-double-right:before { content: "\e611"; } .ai-angle-double-left:before { content: "\e612"; } .ai-angle-up:before { content: "\e613"; } .ai-angle-right:before { content: "\e614"; } .ai-alipay:before { content: "\e615"; } .ai-angle-right-o-alt:before { content: "\e616"; } .ai-angle-up-o:before { content: "\e617"; } .ai-angle-right-o:before { content: "\e618"; } .ai-apple:before { content: "\e619"; } .ai-arrow-down:before { content: "\e61a"; } .ai-arrow-down-o-alt:before { content: "\e61b"; } .ai-arrow-down-o:before { content: "\e61c"; } .ai-angle-left-o-alt:before { content: "\e61d"; } .ai-arrow-left-o:before { content: "\e61e"; } .ai-arrow-left-o-alt:before { content: "\e61f"; } .ai-alipay-square:before { content: "\e620"; } .ai-arrow-right-o:before { content: "\e621"; } .ai-angle-down-o-alt:before { content: "\e622"; } .ai-arrow-up-o:before { content: "\e623"; } .ai-arrow-right-o-alt:before { content: "\e624"; } .ai-arrow-up:before { content: "\e625"; } .ai-arrow-left:before { content: "\e626"; } .ai-arrow-right:before { content: "\e627"; } .ai-angle-up-o-alt:before { content: "\e628"; } .ai-apple-alt:before { content: "\e62a"; } .ai-arrow-up-o-alt:before { content: "\e62f"; } .ai-card-alt:before { content: "\e630"; } .ai-caret-down:before { content: "\e631"; } .ai-camera-alt:before { content: "\e632"; } .ai-baidu:before { content: "\e633"; } .ai-card:before { content: "\e634"; } .ai-caret-up:before { content: "\e636"; } .ai-camera:before { content: "\e638"; } .ai-bull-horn:before { content: "\e639"; } .ai-caret-right:before { content: "\e63c"; } .ai-bold:before { content: "\e63d"; } .ai-chrome:before { content: "\e63e"; } .ai-clear:before { content: "\e63f"; } .ai-caret-left:before { content: "\e640"; } .ai-clock:before { content: "\e642"; } .ai-clock-alt:before { content: "\e643"; } .ai-clear-alt:before { content: "\e648"; } .ai-computer:before { content: "\e649"; } .ai-color-picker:before { content: "\e64e"; } .ai-calendar:before { content: "\e650"; } .ai-divider:before { content: "\e651"; } .ai-computer-alt:before { content: "\e652"; } .ai-download:before { content: "\e653"; } .ai-check-square:before { content: "\e654"; } .ai-download-o:before { content: "\e655"; } .ai-download-cloud:before { content: "\e656"; } .ai-dollar:before { content: "\e657"; } .ai-edge:before { content: "\e658"; } .ai-facebook:before { content: "\e65d"; } .ai-download-cloud-alt:before { content: "\e65e"; } .ai-eit:before { content: "\e65f"; } .ai-facebook-o-alt:before { content: "\e661"; } .ai-facebook-o:before { content: "\e662"; } .ai-facebook-square:before { content: "\e663"; } .ai-female:before { content: "\e664"; } .ai-facebook-square-alt:before { content: "\e665"; } .ai-flag:before { content: "\e66e"; } .ai-flag-alt:before { content: "\e670"; } .ai-exit-full-screen:before { content: "\e672"; } .ai-forbid:before { content: "\e67d"; } .ai-hand-hate:before { content: "\e684"; } .ai-github:before { content: "\e685"; } .ai-forbid-alt:before { content: "\e687"; } .ai-full-screen:before { content: "\e688"; } .ai-hand-hate-alt:before { content: "\e689"; } .ai-hand-like:before { content: "\e68a"; } .ai-hand-like-alt:before { content: "\e68c"; } .ai-strikethrough:before { content: "\e690"; } .ai-html5:before { content: "\e693"; } .ai-hand-like-o:before { content: "\e695"; } .ai-indent-left:before { content: "\e697"; } .ai-indent-right:before { content: "\e698"; } .ai-flower:before { content: "\e69d"; } .ai-italic:before { content: "\e69f"; } .ai-instagram:before { content: "\e6a0"; } .ai-instagram-alt:before { content: "\e6a2"; } .ai-line-height:before { content: "\e6a7"; } .ai-ie:before { content: "\e6a8"; } .ai-link:before { content: "\e6a9"; } .ai-love:before { content: "\e6aa"; } .ai-load-a:before { content: "\e6ab"; } .ai-load-d:before { content: "\e6ac"; } .ai-lock:before { content: "\e6ad"; } .ai-love-alt:before { content: "\e6ae"; } .ai-load-b:before { content: "\e6b0"; } .ai-male:before { content: "\e6b1"; } .ai-map:before { content: "\e6b2"; } .ai-man:before { content: "\e6b3"; } .ai-lock-alt:before { content: "\e6b4"; } .ai-map-o:before { content: "\e6b5"; } .ai-map-square-alt:before { content: "\e6b6"; } .ai-json:before { content: "\e6b7"; } .ai-microphone:before { content: "\e6b8"; } .ai-load-e:before { content: "\e6b9"; } .ai-microphone-alt:before { content: "\e6ba"; } .ai-map-alt:before { content: "\e6bb"; } .ai-microphone-mute:before { content: "\e6bd"; } .ai-microphone-mute-alt:before { content: "\e6be"; } .ai-money:before { content: "\e6bf"; } .ai-mobile:before { content: "\e6c0"; } .ai-money-o-alt:before { content: "\e6c2"; } .ai-music:before { content: "\e6c3"; } .ai-opera:before { content: "\e6c4"; } .ai-paragraph:before { content: "\e6c5"; } .ai-ol:before { content: "\e6c7"; } .ai-iqiyi:before { content: "\e6c9"; } .ai-load-c:before { content: "\e6ca"; } .ai-pencil:before { content: "\e6ce"; } .ai-pencil-alt:before { content: "\e6d0"; } .ai-music-alt:before { content: "\e6d3"; } .ai-play-o-alt:before { content: "\e6d6"; } .ai-phone:before { content: "\e6d8"; } .ai-phone-alt:before { content: "\e6d9"; } .ai-qq:before { content: "\e6da"; } .ai-qq-zone:before { content: "\e6db"; } .ai-qrcode:before { content: "\e6dc"; } .ai-qq-o-alt:before { content: "\e6de"; } .ai-redo:before { content: "\e6df"; } .ai-refresh:before { content: "\e6e0"; } .ai-qq-zone-alt:before { content: "\e6e1"; } .ai-redo-alt:before { content: "\e6e4"; } .ai-safari:before { content: "\e6e6"; } .ai-safe:before { content: "\e6e8"; } .ai-search:before { content: "\e6e9"; } .ai-search-minus-o:before { content: "\e6ea"; } .ai-search-plus-o:before { content: "\e6eb"; } .ai-qq-alt:before { content: "\e6ec"; } .ai-refresh-a:before { content: "\e6ef"; } .ai-shopping-bag-alt:before { content: "\e6f0"; } .ai-shop:before { content: "\e6f1"; } .ai-shopping-cart:before { content: "\e6f2"; } .ai-sign-out:before { content: "\e6f3"; } .ai-safe-alt:before { content: "\e6f5"; } .ai-shopping-bag:before { content: "\e6f7"; } .ai-shoping-cart-alt:before { content: "\e6f9"; } .ai-shop-alt:before { content: "\e6fc"; } .ai-switch:before { content: "\e6fd"; } .ai-subscript:before { content: "\e6fe"; } .ai-sign-in:before { content: "\e6ff"; } .ai-table-alt:before { content: "\e700"; } .ai-tencent-webo:before { content: "\e701"; } .ai-trash:before { content: "\e703"; } .ai-trash-alt:before { content: "\e705"; } .ai-superscript:before { content: "\e706"; } .ai-twitter-alt:before { content: "\e707"; } .ai-twitter-square:before { content: "\e708"; } .ai-twitter:before { content: "\e709"; } .ai-twitter-o-alt:before { content: "\e70a"; } .ai-ul:before { content: "\e70b"; } .ai-twitter-square-alt:before { content: "\e70c"; } .ai-tencent-webo-square:before { content: "\e70d"; } .ai-undo-alt:before { content: "\e70e"; } .ai-tablet:before { content: "\e70f"; } .ai-underline:before { content: "\e710"; } .ai-unlock-alt:before { content: "\e711"; } .ai-twitter-o:before { content: "\e712"; } .ai-undo:before { content: "\e713"; } .ai-unlock:before { content: "\e714"; } .ai-upload-cloud:before { content: "\e715"; } .ai-upload-cloud-alt:before { content: "\e716"; } .ai-upload:before { content: "\e717"; } .ai-upload-square:before { content: "\e718"; } .ai-uc:before { content: "\e71a"; } .ai-unlink:before { content: "\e71b"; } .ai-weibo:before { content: "\e726"; } .ai-windows-alt:before { content: "\e72b"; } .ai-woman:before { content: "\e72c"; } .ai-weibo-square:before { content: "\e72f"; } .ai-youtube:before { content: "\e730"; } .ai-windows:before { content: "\e731"; } .ai-word:before { content: "\e732"; } /* 组件样式 */ /** * container容器 */ .ad-container { display: block; margin: 0 auto; width: 100%; } @media only screen and (min-width: 768px) { .ad-container { width: 93.75%; } } /** * 栅格系统 */ .ad-row { display: flex; display: -webkit-flex; justify-content: flex-start; width: 100%; height: auto; max-height: 100%; flex-wrap: wrap; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; } .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 { width: 100%; } /*针对手机*/ @media only screen and (min-width: 0px) { .col-xs-offset-0 { margin-left: 0; } .col-xs-1 { display: block; width: calc(1/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-1 { margin-left: calc(1/12*100%); } .col-xs-2 { display: block; width: calc(2/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-2 { margin-left: calc(2/12*100%); } .col-xs-3 { display: block; width: calc(3/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-3 { margin-left: calc(3/12*100%); } .col-xs-4 { display: block; width: calc(4/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-4 { margin-left: calc(4/12*100%); } .col-xs-5 { display: block; width: calc(5/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-5 { margin-left: calc(5/12*100%); } .col-xs-6 { display: block; width: calc(6/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-6 { margin-left: calc(6/12*100%); } .col-xs-7 { display: block; width: calc(7/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-7 { margin-left: calc(7/12*100%); } .col-xs-8 { display: block; width: calc(8/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-8 { margin-left: calc(8/12*100%); } .col-xs-9 { display: block; width: calc(9/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-9 { margin-left: calc(9/12*100%); } .col-xs-10 { display: block; width: calc(10/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-10 { margin-left: calc(10/12*100%); } .col-xs-11 { display: block; width: calc(11/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-11 { margin-left: calc(11/12*100%); } .col-xs-12 { display: block; width: calc(12/12*100%) !important; max-height: 100%; height: auto; } .col-xs-offset-12 { margin-left: calc(12/12*100%); } } /* 针对平板 */ @media only screen and (min-width: 768px) { .col-sm-offset-0 { margin-left: 0; } .col-sm-1 { display: block; width: calc(1/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-1 { margin-left: calc(1/12*100%); } .col-sm-2 { display: block; width: calc(2/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-2 { margin-left: calc(2/12*100%); } .col-sm-3 { display: block; width: calc(3/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-3 { margin-left: calc(3/12*100%); } .col-sm-4 { display: block; width: calc(4/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-4 { margin-left: calc(4/12*100%); } .col-sm-5 { display: block; width: calc(5/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-5 { margin-left: calc(5/12*100%); } .col-sm-6 { display: block; width: calc(6/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-6 { margin-left: calc(6/12*100%); } .col-sm-7 { display: block; width: calc(7/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-7 { margin-left: calc(7/12*100%); } .col-sm-8 { display: block; width: calc(8/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-8 { margin-left: calc(8/12*100%); } .col-sm-9 { display: block; width: calc(9/12*100%) !important; max-height: 100%; height: auto; } .col-sm-offset-9 { margin-left: calc(9/12*100%); } .col-sm-10 { display: block; width: calc(10/12*100%) !important; height: auto; max-height: 100%; } .col-sm-offset-10 { margin-left: calc(10/12*100%); } .col-sm-11 { display: block; width: calc(11/12*100%) !important; height: auto; max-height: 100%; } .col-sm-offset-11 { margin-left: calc(11/12*100%); } .col-sm-12 { display: block; width: calc(12/12*100%) !important; height: auto; max-height: 100%; } .col-sm-offset-12 { margin-left: calc(12/12*100%); } } /* 针对小型电脑 */ @media only screen and (min-width: 1024px) { .col-md-offset-0 { margin-left: 0; } .col-md-1 { display: block; width: calc(1/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-1 { margin-left: calc(1/12*100%); } .col-md-2 { display: block; width: calc(2/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-2 { margin-left: calc(2/12*100%); } .col-md-3 { display: block; width: calc(3/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-3 { margin-left: calc(3/12*100%); } .col-md-4 { display: block; width: calc(4/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-4 { margin-left: calc(4/12*100%); } .col-md-5 { display: block; width: calc(5/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-5 { margin-left: calc(5/12*100%); } .col-md-6 { display: block; width: calc(6/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-6 { margin-left: calc(6/12*100%); } .col-md-7 { display: block; width: calc(7/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-7 { margin-left: calc(7/12*100%); } .col-md-8 { display: block; width: calc(8/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-8 { margin-left: calc(8/12*100%); } .col-md-9 { display: block; width: calc(9/12*100%) !important; max-height: 100%; height: auto; } .col-md-offset-9 { margin-left: calc(9/12*100%); } .col-md-10 { display: block; width: calc(10/12*100%) !important; height: auto; max-height: 100%; } .col-md-offset-10 { margin-left: calc(10/12*100%); } .col-md-11 { display: block; width: calc(11/12*100%) !important; height: auto; max-height: 100%; } .col-md-offset-11 { margin-left: calc(11/12*100%); } .col-md-12 { display: block; width: calc(12/12*100%) !important; height: auto; max-height: 100%; } .col-md-offset-12 { margin-left: calc(12/12*100%); } } /* 针对中等电脑 */ @media only screen and (min-width: 1440px) { .col-lg-offset-0 { margin-left: 0; } .col-lg-1 { display: block; width: calc(1/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-1 { margin-left: calc(1/12*100%); } .col-lg-2 { display: block; width: calc(2/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-2 { margin-left: calc(2/12*100%); } .col-lg-3 { display: block; width: calc(3/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-3 { margin-left: calc(3/12*100%); } .col-lg-4 { display: block; width: calc(4/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-4 { margin-left: calc(4/12*100%); } .col-lg-5 { display: block; width: calc(5/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-5 { margin-left: calc(5/12*100%); } .col-lg-6 { display: block; width: calc(6/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-6 { margin-left: calc(6/12*100%); } .col-lg-7 { display: block; width: calc(7/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-7 { margin-left: calc(7/12*100%); } .col-lg-8 { display: block; width: calc(8/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-8 { margin-left: calc(8/12*100%); } .col-lg-9 { display: block; width: calc(9/12*100%) !important; max-height: 100%; height: auto; } .col-lg-offset-9 { margin-left: calc(9/12*100%); } .col-lg-10 { display: block; width: calc(10/12*100%) !important; height: auto; max-height: 100%; } .col-lg-offset-10 { margin-left: calc(10/12*100%); } .col-lg-11 { display: block; width: calc(11/12*100%) !important; height: auto; max-height: 100%; } .col-lg-offset-11 { margin-left: calc(11/12*100%); } .col-lg-12 { display: block; width: calc(12/12*100%) !important; height: auto; max-height: 100%; } .col-lg-offset-12 { margin-left: calc(12/12*100%); } } /* 针对大型电脑 */ @media only screen and (min-width: 1920px) { .col-xl-offset-0 { margin-left: 0; } .col-xl-1 { display: block; width: calc(1/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-1 { margin-left: calc(1/12*100%); } .col-xl-2 { display: block; width: calc(2/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-2 { margin-left: calc(2/12*100%); } .col-xl-3 { display: block; width: calc(3/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-3 { margin-left: calc(3/12*100%); } .col-xl-4 { display: block; width: calc(4/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-4 { margin-left: calc(4/12*100%); } .col-xl-5 { display: block; width: calc(5/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-5 { margin-left: calc(5/12*100%); } .col-xl-6 { display: block; width: calc(6/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-6 { margin-left: calc(6/12*100%); } .col-xl-7 { display: block; width: calc(7/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-7 { margin-left: calc(7/12*100%); } .col-xl-8 { display: block; width: calc(8/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-8 { margin-left: calc(8/12*100%); } .col-xl-9 { display: block; width: calc(9/12*100%) !important; max-height: 100%; height: auto; } .col-xl-offset-9 { margin-left: calc(9/12*100%); } .col-xl-10 { display: block; width: calc(10/12*100%) !important; height: auto; max-height: 100%; } .col-xl-offset-10 { margin-left: calc(10/12*100%); } .col-xl-11 { display: block; width: calc(11/12*100%) !important; height: auto; max-height: 100%; } .col-xl-offset-11 { margin-left: calc(11/12*100%); } .col-xl-12 { display: block; width: calc(12/12*100%) !important; height: auto; max-height: 100%; } .col-xl-offset-12 { margin-left: calc(12/12*100%); } } /** * 定义按钮 */ .ad-btn { display: inline-block; margin-bottom: 0; padding: 0.06rem 0.1rem; vertical-align: middle; font-size: 0.14rem; line-height: 1.6; font-weight: 400; text-align: center; white-space: nowrap; background-image: none; border: 1px solid transparent; border-radius: 0.04rem; cursor: pointer; outline: 0; color: #657180; touch-action: manipulation; -webkit-appearance: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: border-color 200ms linear, background-color 200ms linear; transition: border-color 200ms linear, background-color 200ms linear; -ms-transition: border-color 200ms linear, background-color 200ms linear; -moz-transition: border-color 200ms linear, background-color 200ms linear; } /*默认*/ .ad-btn-default { border-color: #d7dde4; background-color: #fff; } .ad-btn-default:hover { border-color: #10a5f1; color: #10a5f1; } .ad-btn-default:active { border-color: #0983c1; color: #0983c1; } .ad-btn-default.ad-btn-active, .ad-btn-default.ad-btn-active:hover, .ad-btn-default.ad-btn-active:active { border-color: #0983c1; color: #0983c1; } .ad-btn-default[disabled], .ad-btn-default[disabled]:hover .ad-btn-default[disabled]:active { border-color: #d7dde4; color: #999; background-color: #f1f1f1; } /** * 危险按钮样式 */ .ad-btn-danger { background-color: #ff3300; border-color: #ff3300; color: #fff; } .ad-btn-danger:hover { border-color: #e84e28; background-color: #e84e28; } .ad-btn-danger:active { border-color: #c12903; background-color: #c12903; } .ad-btn-danger.ad-btn-active, .ad-btn-danger.ad-btn-active:active, .ad-btn-danger.ad-btn-active:hover { border-color: #ff3300; background-color: #ff3300; box-shadow: 0 5px 5px #c12903 inset; -webkit-box-shadow: 0 5px 5px #c12903 inset; } .ad-btn-danger[disabled], .ad-btn-danger[disabled]:hover, .ad-btn-danger[disabled]:active { background-color: #e8a290; border-color: #e8a290; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 信息按钮样式 */ .ad-btn-info { background-color: #10a5f1; border-color: #10a5f1; color: #fff; } .ad-btn-info:hover { border-color: #43b7f3; background-color: #43b7f3; } .ad-btn-info:active { border-color: #0983c1; background-color: #0983c1; } .ad-btn-info.ad-btn-active, .ad-btn-info.ad-btn-active:hover, .ad-btn-info.ad-btn-active:active { border-color: #10a5f1; background-color: #10a5f1; box-shadow: 0 5px 5px #0983c1 inset; -webkit-box-shadow: 0 5px 5px #0983c1 inset; } .ad-btn-info[disabled], .ad-btn-info[disabled]:hover, .ad-btn-info[disabled]:active { background-color: #7ec6ea; border-color: #7ec6ea; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 警告按钮样式 */ .ad-btn-warning { background-color: #f5700a; border-color: #f5700a; color: #fff; } .ad-btn-warning:hover { background-color: #f19045; border-color: #f19045; } .ad-btn-warning:active { background-color: #cc5d08; border-color: #cc5d08; } .ad-btn-warning.ad-btn-active, .ad-btn-warning.ad-btn-active:hover, .ad-btn-warning.ad-btn-active:active { background-color: #f5700a; border-color: #f5700a; box-shadow: 0 5px 5px #cc5d08 inset; -webkit-box-shadow: 0 5px 5px #cc5d08 inset; } .ad-btn-warning[disabled], .ad-btn-warning[disabled]:hover, .ad-btn-warning[disabled]:active { background-color: #e6a36d; border-color: #e6a36d; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 成功按钮样式 */ .ad-btn-success { background-color: #05b905; border-color: #05b905; color: #fff; } .ad-btn-success:hover { background-color: #46bf46; border-color: #46bf46; } .ad-btn-success:active { background-color: #069a06; border-color: #069a06; } .ad-btn-success.ad-btn-active, .ad-btn-success.ad-btn-active:hover, .ad-btn-success.ad-btn-active:active { background-color: #05b905; border-color: #05b905; box-shadow: 0 5px 5px #069a06 inset; -webkit-box-shadow: 0 5px 5px #069a06 inset; } .ad-btn-success[disabled], .ad-btn-success[disabled]:hover, .ad-btn-success[disabled]:active { background-color: #60cc60; border-color: #60cc60; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 主要色 */ .ad-btn-primary { background-color: #0789ca; border-color: #0789ca; color: #fff; } .ad-btn-primary:hover { background-color: #3696c5; border-color: #3696c5; } .ad-btn-primary:active { background-color: #075d88; border-color: #075d88; } .ad-btn-primary.ad-btn-active, .ad-btn-primary.ad-btn-active:hover, .ad-btn-primary.ad-btn-active:active { background-color: #0789ca; border-color: #0789ca; box-shadow: 0 5px 5px #075d88 inset; -webkit-box-shadow: 0 5px 5px #075d88 inset; } .ad-btn-primary[disabled], .ad-btn-primary[disabled]:hover, .ad-btn-primary[disabled]:active { background-color: #5aa4ca; border-color: #5aa4ca; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 链接色按钮样式 */ .ad-btn-link { border-color: #d7dde4; background-color: #fff; } .ad-btn-link:hover { border-color: #42b983; color: #42b983; } .ad-btn-link:active { border-color: #348e65; color: #348e65; } .ad-btn-link.ad-btn-active, .ad-btn-link.ad-btn-active:hover, .ad-btn-link.ad-btn-active:active { border-color: #348e65; color: #348e65; } .ad-btn-link[disabled], .ad-btn-link[disabled]:hover .ad-btn-link[disabled]:active { border-color: #d7dde4; color: #999; background-color: #f1f1f1; } /** * 反色按钮样式 */ .ad-btn-dark { background-color: #333; border-color: #333; color: #fff; } .ad-btn-dark:hover { background-color: #444; border-color: #444; } .ad-btn-dark:active { background-color: #222; border-color: #222; } .ad-btn-dark.ad-btn-active, .ad-btn-dark.ad-btn-active:hover, .ad-btn-dark.ad-btn-active:active { background-color: #444; border-color: #444; box-shadow: 0 5px 5px #222 inset; -webkit-box-shadow: 0 5px 5px #222 inset; } .ad-btn-dark[disabled], .ad-btn-dark[disabled]:hover, .ad-btn-dark[disabled]:active { background-color: #666; border-color: #666; color: #f1f1f1; box-shadow: none; -webkit-box-shadow: none; } /** * 按钮组 */ .ad-btn-group { display: inline-block; vertical-align: middle; } /* 不同颜色的按钮边框线处理 */ .ad-btn-group > .ad-btn.ad-btn-success { border-color: #11ab11; } .ad-btn-group > .ad-btn.ad-btn-warning { border-color: #ea6904; } .ad-btn-group > .ad-btn.ad-btn-danger { border-color: #e83001; } .ad-btn-group > .ad-btn.ad-btn-primary { border-color: #0481bf; } .ad-btn-group > .ad-btn.ad-btn-info { border-color: #229ede; } .ad-btn-group > .ad-btn.ad-btn-dark { border-color: #2b2b2b; } /* 按钮组横排 */ .ad-btn-group.ad-btn-group-horizontal { display: inline-flex; display: -webkit-inline-flex; justify-content: flex-start; flex-direction: row; -ms-flex-direction: row; -webkit-flex-direction: row; } .ad-btn-group.ad-btn-group-horizontal > .ad-btn { margin: 0; border-radius: 0 !important; } .ad-btn-group.ad-btn-group-horizontal > .ad-btn + .ad-btn { margin-left: -1px; } .ad-btn-group.ad-btn-group-horizontal > .ad-btn.ad-btn-active, .ad-btn-group.ad-btn-group-horizontal > .ad-btn:hover, .ad-btn-group.ad-btn-group-horizontal > .ad-btn:active { z-index: 2; } .ad-btn-group.ad-btn-group-horizontal > .ad-btn:first-of-type { border-bottom-left-radius: 0.04rem !important; border-top-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-horizontal > .ad-btn:last-of-type { border-bottom-right-radius: 0.04rem !important; border-top-right-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-none > .ad-btn:first-of-type { border-bottom-left-radius: 0 !important; border-top-left-radius: 0 !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-none > .ad-btn:last-of-type { border-bottom-right-radius: 0 !important; border-top-right-radius: 0 !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-xs > .ad-btn:first-of-type { border-bottom-left-radius: 0.02rem !important; border-top-left-radius: 0.02rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-xs > .ad-btn:last-of-type { border-bottom-right-radius: 0.02rem !important; border-top-right-radius: 0.02rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-sm > .ad-btn:first-of-type { border-bottom-left-radius: 0.04rem !important; border-top-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-sm > .ad-btn:last-of-type { border-bottom-right-radius: 0.04rem !important; border-top-right-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-md > .ad-btn:first-of-type { border-bottom-left-radius: 0.08rem !important; border-top-left-radius: 0.08rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-md > .ad-btn:last-of-type { border-bottom-right-radius: 0.08rem !important; border-top-right-radius: 0.08rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-lg > .ad-btn:first-of-type { border-bottom-left-radius: 0.12rem !important; border-top-left-radius: 0.12rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-lg > .ad-btn:last-of-type { border-bottom-right-radius: 0.12rem !important; border-top-right-radius: 0.12rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-xl > .ad-btn:first-of-type { border-bottom-left-radius: 0.2rem !important; border-top-left-radius: 0.2rem !important; } .ad-btn-group.ad-btn-group-horizontal.ad-radius-xl > .ad-btn:last-of-type { border-bottom-right-radius: 0.2rem !important; border-top-right-radius: 0.2rem !important; } /** * 按钮组竖排 */ .ad-btn-group.ad-btn-group-vertical { display: inline-flex; display: -webkit-inline-flex; justify-content: flex-start; flex-direction: column; -ms-flex-direction: column; -webkit-flex-direction: column; } .ad-btn-group.ad-btn-group-vertical > .ad-btn { margin: 0; width: 100%; border-radius: 0 !important; } .ad-btn-group.ad-btn-group-vertical > .ad-btn + .ad-btn { margin-top: -1px; } .ad-btn-group.ad-btn-group-vertical > .ad-btn:hover, .ad-btn-group.ad-btn-group-vertical > .ad-btn:active, .ad-btn-group.ad-btn-group-vertical > .ad-btn.ad-btn-active { z-index: 2; } .ad-btn-group.ad-btn-group-vertical > .ad-btn:first-of-type { border-top-right-radius: 0.04rem !important; border-top-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-vertical > .ad-btn:last-of-type { border-bottom-right-radius: 0.04rem !important; border-bottom-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-none > .ad-btn:first-of-type { border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-none > .ad-btn:last-of-type { border-bottom-right-radius: 0 !important; border-bottom-left-radius: 0 !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-xs > .ad-btn:first-of-type { border-top-right-radius: 0.02rem !important; border-top-left-radius: 0.02rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-xs > .ad-btn:last-of-type { border-bottom-right-radius: 0.02rem !important; border-bottom-left-radius: 0.02rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-sm > .ad-btn:first-of-type { border-top-right-radius: 0.04rem !important; border-top-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-sm > .ad-btn:last-of-type { border-bottom-right-radius: 0.04rem !important; border-bottom-left-radius: 0.04rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-md > .ad-btn:first-of-type { border-top-right-radius: 0.08rem !important; border-top-left-radius: 0.08rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-md > .ad-btn:last-of-type { border-bottom-right-radius: 0.08rem !important; border-bottom-left-radius: 0.08rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-lg > .ad-btn:first-of-type { border-top-right-radius: 0.12rem !important; border-top-left-radius: 0.12rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-lg > .ad-btn:last-of-type { border-bottom-right-radius: 0.12rem !important; border-bottom-left-radius: 0.12rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-xl > .ad-btn:first-of-type { border-top-right-radius: 0.2rem !important; border-top-left-radius: 0.2rem !important; } .ad-btn-group.ad-btn-group-vertical.ad-radius-xl > .ad-btn:last-of-type { border-bottom-right-radius: 0.2rem !important; border-bottom-left-radius: 0.2rem !important; } /** * 定义输入框 */ .ad-input { border: 1px solid #d7dde4; font-size: 0.14rem; line-height: 1.6; padding: 0.06rem 0.1rem; vertical-align: middle; color: #657180; width: 1.8rem; background-color: #fff; border-radius: 0.04rem; background-image: none; appearance: none; -webkit-appearance: none; -ms-progress-appearance: none; -moz-appearance: none; -webkit-transition: border-color 200ms ease-in-out, -webkit-box-shadow 200ms ease-in-out; transition: border-color 200ms ease-in-out, -webkit-box-shadow 200ms ease-in-out; transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out; transition: border-color 200ms ease-in-out, box-shadow 200ms ease-in-out, -webkit-box-shadow 200ms ease-in-out; } .ad-input:focus, .ad-selected:focus { border-color: #10a5f1; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 10px rgba(78, 176, 226, 0.3); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 10px rgba(78, 176, 226, 0.3); } .ad-input[disabled], .ad-selected[disabled] { background-color: #eeeeee; color: #999; } .ad-input[readonly] { background-color: #f5f5f5; color: #999; } .ad-input[readonly]:focus { background-color: #f5f5f5; border-color: #d7dde4; box-shadow: none;