UNPKG

iuap-design

Version:
1,311 lines (1,135 loc) 27.5 kB
@charset "UTF-8"; /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ body { font-family: 'Microsoft YaHei','Open Sans','Helvetica Neue',Arial,'Hiragino Sans GB',sans-serif; font-color: #333333; } i.fa { padding: 0 5px; } .u-visible { display: block; } .u-not-visible { display: none; } .u-border-top { border-top: 1px solid rgb(241,241,241); } .u-border-left { border-left: 1px solid rgb(241,241,241); } .u-border-right { border-right: 1px solid rgb(241,241,241); } .u-border-bottom { border-bottom: 1px solid rgb(241,241,241); } .u-right { float: right; } .u-left { float: left; } @media (max-width: 480px) { .u-hidden-xs { display: none; } } @media (max-width: 768px) { .u-hidden-sm { display: none; } } /** * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ /* * What follows is the result of much research on cross-browser styling. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, * Kroc Camen, and the H5BP dev community and team. */ /* ========================================================================== Base styles: opinionated defaults ========================================================================== */ html { color: rgba(0,0,0, 0.87); font-size: 1em; line-height: 1.4; } /* * Remove text-shadow in selection highlight: * https://twitter.com/miketaylr/status/12228805301 * * These selection rule sets have to be separate. * Customize the background color to match your design. */ ::-moz-selection { background: #b3d4fc; text-shadow: none; } ::selection { background: #b3d4fc; text-shadow: none; } /* * A better looking default horizontal rule */ hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } /* * Remove the gap between audio, canvas, iframes, * images, videos and the bottom of their containers: * https://github.com/h5bp/html5-boilerplate/issues/440 */ audio, canvas, iframe, img, svg, video { vertical-align: middle; } /* * Remove default fieldset styles. */ fieldset { border: 0; margin: 0; padding: 0; } /* * Allow only vertical resizing of textareas. */ textarea { resize: vertical; } /* ========================================================================== Browser Upgrade Prompt ========================================================================== */ .browserupgrade { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; } /* ========================================================================== Author's custom styles ========================================================================== */ /* ========================================================================== Helper classes ========================================================================== */ /* * Hide visually and from screen readers: */ .hidden { display: none !important; } /* * Hide only visually, but have it available for screen readers: * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } /* * Extends the .visuallyhidden class to allow the element * to be focusable when navigated to via the keyboard: * https://www.drupal.org/node/897638 */ .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } /* * Hide visually and from screen readers, but maintain layout */ .invisible { visibility: hidden; } /* * Clearfix: contain floats * * For modern browsers * 1. The space content is one way to avoid an Opera bug when the * `contenteditable` attribute is included anywhere else in the document. * Otherwise it causes space to appear at the top and bottom of elements * that receive the `clearfix` class. * 2. The use of `table` rather than `block` is only necessary if using * `:before` to contain the top-margins of child elements. */ .clearfix:before, .clearfix:after { content: " "; /* 1 */ display: table; /* 2 */ } .clearfix:after { clear: both; } /* ========================================================================== EXAMPLE Media Queries for Responsive Design. These examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */ @media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */ } @media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) { /* Style adjustments for high resolution devices */ } /* ========================================================================== Print styles. Inlined to avoid the additional HTTP request: http://www.phpied.com/delay-loading-your-print-css/ ========================================================================== */ @media print { *, *:before, *:after, *:first-letter, *:first-line { background: transparent !important; color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */ box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links that are fragment identifiers, * or use the `javascript:` pseudo protocol */ a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } /* * Printing Tables: * http://css-discuss.incutio.com/wiki/Printing_Tables */ thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } } /** * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* Remove the unwanted box around FAB buttons */ /* More info: http://goo.gl/IPwKi */ a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu, .mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab { -webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); } /* * Make html take up the entire screen * Then set touch-action to avoid touch delay on mobile IE */ html { width: 100%; height: 100%; touch-action: manipulation; } /* * Make body take up the entire screen * Remove body margin so layout containers don't cause extra overflow. */ body { width: 100%; height: 100%; margin: 0; } /* * Main display reset for IE support. * Source: http://weblog.west-wind.com/posts/2015/Jan/12/main-HTML5-Tag-not-working-in-Internet-Explorer-91011 */ main { display: block; } /* * Apply no display to elements with the hidden attribute. * IE 9 and 10 support. */ *[hidden] { display: none !important; } /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ /* Typography */ /* Shadows */ /* Animations */ .u-form-control { height: 36px; width: 100%; border: 1px solid rgb(206,206,206); padding: 6px 12px; color: rgb(51,51,51); box-sizing: border-box; font-family: "Microsoft YaHei", "Helvetica", "Arial", sans-serif; font-size: 14px; } .u-form-control:focus { border-color: rgb(107,202,234); outline: none; } .u-form-control:focus ~ .fa-search { color: rgb(107,202,234); } .u-form-control[readonly], .u-form-control[disabled] { border-color: rgb(241,241,241); background-color: rgb(241,241,241); } .u-form-control[readonly] + .u-form-control-feedback, .u-form-control[readonly] + .u-form-control-feedback:hover, .u-form-control[disabled] + .u-form-control-feedback, .u-form-control[disabled] + .u-form-control-feedback:hover { color: rgba(0, 0, 0, 0.6); } .u-form-control[disabled] + .u-form-control-feedback, .u-form-control[disabled] + .u-form-control-feedback:hover { cursor: not-allowed; } .u-form-control.sm { height: 28px; } .u-form-control.sw { width: 200px; } .u-form-group { font-size: 14px; margin-bottom: 20px; margin-right: 60px; } .u-form-group label { color: rgb(102,102,102); margin-bottom: 5px; } .u-form-group.must-in .u-input-group-before { color: red; } .u-form-group:before { display: table; content: " "; } .u-form-group:after { display: table; content: " "; clear: both; } .u-control-label { max-width: 200px; display: inline-block; color: rgb(102,102,102); /*特定样式*/ text-align: right; margin-right: 10px; } .u-form-browse { font-family: 'Microsoft YaHei'; font-size: 14px; color: rgb(51,51,51); list-style: none; } .u-form-inline .u-form-group { display: inline-block; } .u-form-inline .u-form-group label { max-length: 200px; margin-right: 10px; margin-bottom: 5px; } .u-form-inline .u-form-group .u-form-control { display: inline-block; width: auto; vertical-align: middle; } .u-form-inline .u-form-group .u-input-group { display: inline-table; } .u-has-feedback { position: relative; } .u-has-feedback .u-form-control { padding-right: 42.5px; } .u-form-control-feedback { position: absolute; top: 0; right: 0; z-index: 2; display: block; width: 36px; height: 36px; line-height: 36px; text-align: center; cursor: pointer; color: rgb(180,180,180); } .u-form-control-feedback.sm { height: 28px; line-height: 28px; font-size: 12px; } .u-form-control-feedback.refer { cursor: pointer; } .u-form-control-feedback.refer:hover { color: rgb(107,202,234); } .u-form-control-feedback + .u-form-control { padding-right: 48px; } .u-input-group { position: relative; vertical-align: middle; } .u-input-group .u-input-group-addon, .u-input-group .u-input-group-btn, .u-input-group .u-form-control { width: auto; display: table-cell; } .u-input-group.sw { width: 200px; } .u-input-group .u-form-control { width: 100%; } .u-input-group .u-checkbox { height: 36px; } .u-input-group .u-checkbox .u-checkbox-focus-helper { top: 3px; } .u-input-group .u-checkbox .u-checkbox-outline { top: 3px; } .u-input-group-before { font-size: 10px; position: absolute; padding: 0px 3px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .u-form-control-info { position: absolute; display: none; color: #f15a4a; /*display: block;*/ margin-top: 4px; font-size: 12px; font-family: "Microsoft YaHei", "Helvetica", "Arial", sans-serif; } .u-form-control-info:before { margin-right: 5px; font-family: FontAwesome; } /*.u-has-success { display: inline-block; position: relative; }*/ .u-form-control-success { position: absolute; color: green; display: none; /* position: absolute; top: 25%; right: -20px;*/ font-size: 18px; color: #72ca97; } .u-form-horizontal .u-form-group > label { text-align: right; height: 36px; line-height: 36px; } .u-input-label { font-size: 13px; line-height: 36px; } @media (min-width: 768px) { .u-input-label.right { float: right; } } .u-input-label.sm { font-size: 12px; line-height: 28px; } /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ /* Typography */ /* Shadows */ /* Animations */ .blog-nav { list-style: none; margin: 0; padding: 0; } .blog-nav > li { float: left; text-align: center; cursor: pointer; height: 100%; display: inline-block; } .blog-nav > li.active { color: rgb(63,81,181); border-bottom: 1px solid rgb(63,81,181); } .blog-nav > li:hover { border-bottom: 1px solid rgb(63,81,181); } .blog-nav > li > a { padding: 0 22px; text-decoration: initial; } /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ /* Typography */ /* Shadows */ /* Animations */ .u-avatar { position: relative; } .u-avatar i { content: ''; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 100%; } .u-avatar-online i { background-color: #4caf50; } .u-avatar-off i { background-color: #616161; } .u-avatar-busy i { background-color: #ff9800; } .u-avatar-away i { background-color: #f44336; } .u-avatar img { width: 100%; height: 100%; } .u-overlay { position: fixed; z-index: 999; top: -100px; left: 0; bottom: 0; right: 0; width: 100%; background: #000; will-change: opacity; filter: alpha(opacity=0.5); opacity: 0.5; filter: alpha(opacity=50) \9; display: block; transition: all 300ms; } .u-msg-dialog { position: fixed; left: 0; right: 0; background-color: #FFFFFF; padding: 0; max-height: 70%; width: 55%; margin: auto; border-radius: 2px; will-change: top, opacity; display: block; filter: alpha(opacity=1); opacity: 1; filter: alpha(opacity=100) \9; -webkit-transform: scaleX(1); transform: scaleX(1); top: 10%; box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21); } @media only screen and (max-width: 992px) { .u-msg-dialog { width: 80%; } } .u-msg-dialog .u-msg-title { padding-left: 20px; padding-top: 24px; } .u-msg-dialog h4 { text-shadow: rgba(0, 0, 0, 0.15) 0 0 1px; margin: 0; line-height: 1.57142857; font-weight: 400; color: #424242; font-size: 18px; } .u-msg-dialog .u-msg-content { padding: 20px; overflow: auto; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; font-size: 14px; line-height: 1.57142857; color: #757575; font-weight: 300; } .u-msg-dialog .u-msg-content h4 { margin: 0; } .u-msg-dialog .u-msg-footer { border-radius: 0 0 2px 2px; padding: 4px 20px; height: 56px; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } .u-msg-dialog .u-msg-button, .u-msg-dialog .u-msg-ok, .u-msg-dialog .u-msg-cancel, .u-msg-dialog .u-msg-close { float: right; } .u-msg-dialog .u-msg-cancel { margin-right: 10px; } .u-msg-dialog .u-msg-ok { margin-right: 15px; } .u-msg-dialog .u-msg-close { cursor: pointer; font-size: 21px; padding: 15px 20px; padding-bottom: 0px; filter: alpha(opacity=20); -moz-opacity: 0.2; -khtml-opacity: 0.2; opacity: .2; color: #000; } .u-msg-dialog .u-msg-close:hover { opacity: .5; } .ac_results { padding: 0px; border: 1px solid WindowFrame; background-color: Window; overflow: hidden; } .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0; } .ac_results iframe { display: none; /*sorry for IE5*/ display/**/: block; /*sorry for IE5*/ position: absolute; top: 0; left: 0; z-index: -1; -webkit-filter: mask(); filter: mask(); width: 3000px; height: 3000px; } .ac_results li { margin: 0px; padding: 2px 5px; cursor: pointer; display: block; width: 100%; font: menu; font-size: 12px; overflow: hidden; } .ac_over { background-color: Highlight; color: HighlightText; } .u-widget-bg { background-color: #eceff1; padding: 15px; } .u-widget { background-color: #FFF; margin: 15px; } .u-widget:after { display: table; content: " "; clear: both; } .u-widget-left { margin-right: 0; } .u-widget-right { margin-left: 0; } .u-widget-middle { margin-left: 0; margin-right: 0; } .u-widget-heading { border-top-left-radius: 3px; border-top-right-radius: 3px; position: relative; padding: 0; /*border-bottom: 1px solid transparent;*/ border-bottom: 1px solid #e0e0e0; } .u-widget-title { margin-top: 0; margin-bottom: 0; display: block; padding: 10px 30px; font-size: 16px; color: #424242; font-weight: 400; border-left: 4px solid red; } .u-widget-title .u-widget-more { position: absolute; right: 30px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .u-widget-body { padding: 30px 30px; position: relative; padding-top: 30px; } .u-widget-footer { padding: 0 30px 15px; padding-top: 15px; background-color: transparent; border-top: 1px solid #e0e0e0; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } /* IMAGES */ /* 默认颜色 */ /* 主题颜色放入 themeColors.scss $color-primary: $palette-indigo-500 !default; $color-primary-dark: $palette-indigo-700 !default; $color-accent: $palette-pink-A200 !default; */ /* 客户化 */ /* 波纹效果 */ /* 动画 */ /* 阴影 */ /* ========== 字体 ========== */ /* 控件 */ /* UButton */ /* UText */ /* Navlayout */ /* gridlayout */ /* menu */ /* CHECKBOX */ /* Radio */ /* Switch */ /* loading */ /* datetimepicker */ /* message */ /* DATA TABLE */ /* tooltip*/ /* 进度条 */ /* ========== Content Tabs ========== */ /* CARD */ /* Card dimensions */ /* Cover image */ /* ========== Card ========== */ /* ============ Forms ============*/ /* BADGE */ /* 宽高 */ .w-16 { width: 16px; } .w-20 { width: 20px; } .w-24 { width: 24px; } .w-32 { width: 32px; } .w-40 { width: 40px; } .w-48 { width: 48px; } .w-56 { width: 56px; } .w-64 { width: 64px; } .w-xxl { width: 60px; } .w-xs { width: 90px; } .w-sm { width: 120px; } .w { width: 180px; } .w-md { width: 200px; } .w-lg { width: 240px; } .w-xl { width: 280px; } .w-xxl { width: 320px; } .w-full { width: 100%; } .w-auto { width: auto; } .h-auto { height: auto; } .h-full { height: 100%; } /* 外边距 */ .no-margin { margin: 0; } .m { margin: 16px; } .m-xs { margin: 4px; } .m-sm { margin: 8px; } .m-md { margin: 24px; } .m-lg { margin: 32px; } .m-v-xs { margin-top: 4px; margin-bottom: 4px; } .m-v-sm { margin-top: 8px; margin-bottom: 8px; } .m-v { margin-top: 16px; margin-bottom: 16px; } .m-v-md { margin-top: 24px; margin-bottom: 24px; } .m-v-lg { margin-top: 32px; margin-bottom: 32px; } .m-h-xs { margin-right: 4px; margin-left: 4px; } .m-h-sm { margin-right: 8px; margin-left: 8px; } .m-h { margin-right: 16px; margin-left: 16px; } .m-h-md { margin-right: 24px; margin-left: 24px; } .m-h-lg { margin-right: 32px; margin-left: 32px; } .m-t { margin-top: 16px; } .m-t-xs { margin-top: 4px; } .m-t-sm { margin-top: 8px; } .m-t-md { margin-top: 24px; } .m-t-lg { margin-top: 32px; } .m-r { margin-right: 16px; } .m-r-xs { margin-right: 4px; } .m-r-sm { margin-right: 8px; } .m-r-md { margin-right: 24px; } .m-r-lg { margin-right: 32px; } .m-b { margin-bottom: 16px; } .m-b-xs { margin-bottom: 4px; } .m-b-sm { margin-bottom: 8px; } .m-b-md { margin-bottom: 24px; } .m-b-lg { margin-bottom: 32px; } .m-l { margin-left: 16px; } .m-l-xs { margin-left: 4px; } .m-l-sm { margin-left: 8px; } .m-l-md { margin-left: 24px; } .m-l-lg { margin-left: 32px; } .m-n { margin: -16px; } .m-h-n { margin-right: -16px; margin-left: -16px; } .m-v-n { margin-top: -16px; margin-bottom: -16px; } .m-l-n { margin-left: -16px; } .m-r-n { margin-right: -16px; } .m-t-n { margin-top: -16px; } .m-b-n { margin-bottom: -16px; } /* 内边距 */ .no-padding { padding: 0 !important; } .no-padding-h { padding-right: 0 !important; padding-left: 0 !important; } .no-padding-v { padding-top: 0 !important; padding-bottom: 0 !important; } .p-xs { padding: 4px; } .p-sm { padding: 8px; } .p { padding: 16px; } .p-md { padding: 24px; } .p-lg { padding: 32px; } .p-h { padding-right: 16px; padding-left: 16px; } .p-h-xs { padding-right: 4px; padding-left: 4px; } .p-h-sm { padding-right: 8px; padding-left: 8px; } .p-h-md { padding-right: 24px; padding-left: 24px; } .p-t-md { padding-top: 24px; } .p-b-md { padding-bottom: 24px; } .p-l-md { padding-left: 24px; } .p-h-lg { padding-right: 32px; padding-left: 32px; } .p-v { padding-top: 16px; padding-bottom: 16px; } .p-v-xs { padding-top: 4px; padding-bottom: 4px; } .p-v-sm { padding-top: 8px; padding-bottom: 8px; } .p-v-md { padding-top: 24px; padding-bottom: 24px; } .p-v-lg { padding-top: 32px; padding-bottom: 32px; } .padding { padding: 32px 32px; } .padding-out { margin: -32px -32px; } /* 边框 */ .no-border { border-color: transparent; border-width: 0; } /* 背景 */ .no-bg { color: inherit; background-color: transparent; } /* 文字 */ .text-ellipsis { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-muted { color: inherit; opacity: 0.75; } .text-muted-dk { color: inherit; opacity: 0.5; } .text-muted-lt { color: inherit; opacity: 0.25; } .u-text-left, .text-left { text-align: left !important; } .u-text-center, text-center { text-align: center !important; } .u-text-right, text-right { text-align: right !important; } .u-link { cursor: pointer; color: rgb(63,81,181); background-color: transparent; text-decoration: none; } .u-link:active, .u-link:hover { outline: 0; } .u-link:focus, .u-link:hover { text-decoration: underline; } .img-circle { border-radius: 50%; } /* 设置滚动条的高度宽度 */ ::-webkit-scrollbar { width: 8px; height: 8px; } /* 滚动条滑轨 */ ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(130, 130, 130, 0.3); border-radius: 10px; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 10px; background: #EEE; -webkit-box-shadow: inset 0 0 6px rgba(130, 130, 130, 0.5); } ::-webkit-scrollbar-thumb:window-inactive { background: #E0E0E0; } /* 横向滚动条和纵向滚动条相交处尖角的颜色 */ ::-webkit-scrollbar-corner { background-color: black; }