| /** |
| * MIT License |
| * |
| * Copyright (c) 2018 Chong Guo |
| * |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
| * of this software and associated documentation files (the "Software"), to deal |
| * in the Software without restriction, including without limitation the rights |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| * copies of the Software, and to permit persons to whom the Software is |
| * furnished to do so, subject to the following conditions: |
| * |
| * The above copyright notice and this permission notice shall be included in all |
| * copies or substantial portions of the Software. |
| * |
| * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| * SOFTWARE. |
| */ |
| |
| @import './element-variables.scss'; |
| @import './variables.scss'; |
| @import './mixins.scss'; |
| @import './transition.scss'; |
| @import './svgicon.scss'; |
| |
| body { |
| height: 100%; |
| -moz-osx-font-smoothing: grayscale; |
| -webkit-font-smoothing: antialiased; |
| font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; |
| } |
| |
| html { |
| height: 100%; |
| } |
| |
| #app { |
| height: 100%; |
| } |
| |
| *, |
| *:before, |
| *:after { |
| box-sizing: border-box; |
| } |
| |
| a, |
| a:focus, |
| a:hover { |
| color: inherit; |
| outline: none; |
| text-decoration: none; |
| } |
| |
| div:focus { |
| outline: none; |
| } |
| |
| .clearfix { |
| @include clearfix; |
| } |
| |
| label { |
| font-weight: 700; |
| } |
| |
| .app-container { |
| padding: 20px; |
| } |
| |
| .components-container { |
| margin: 30px 50px; |
| position: relative; |
| } |
| |
| // Refine element ui upload |
| .upload-container { |
| .el-upload { |
| width: 100%; |
| |
| .el-upload-dragger { |
| width: 100%; |
| height: 200px; |
| } |
| } |
| } |
| |
| aside { |
| background: #eef1f6; |
| color: #2c3e50; |
| padding: 8px 24px; |
| margin-bottom: 20px; |
| border-radius: 2px; |
| display: block; |
| line-height: 32px; |
| font-size: 16px; |
| -webkit-font-smoothing: antialiased; |
| -moz-osx-font-smoothing: grayscale; |
| |
| a { |
| color: #337ab7; |
| cursor: pointer; |
| |
| &:hover { |
| color: rgb(32, 160, 255); |
| } |
| } |
| } |
| |
| .fixed-width { |
| .el-button--mini { |
| padding: 7px 10px; |
| width: 60px; |
| } |
| } |
| |
| .filter-container { |
| padding-bottom: 10px; |
| |
| .filter-item { |
| display: inline-block; |
| vertical-align: middle; |
| margin-bottom: 10px; |
| } |
| } |
| |
| .link-type, |
| .link-type:focus { |
| color: #337ab7; |
| cursor: pointer; |
| |
| &:hover { |
| color: rgb(32, 160, 255); |
| } |
| } |
| |
| .status-col { |
| .cell { |
| padding: 0 10px; |
| text-align: center; |
| } |
| } |
| |
| .text-center { |
| text-align: center |
| } |
| |
| .sub-navbar { |
| height: 50px; |
| line-height: 50px; |
| position: relative; |
| width: 100%; |
| text-align: right; |
| padding-right: 20px; |
| transition: 600ms ease position; |
| background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%); |
| |
| .subtitle { |
| font-size: 20px; |
| color: #fff; |
| } |
| |
| &.draft { |
| background: #d0d0d0; |
| } |
| |
| &.deleted { |
| background: #d0d0d0; |
| } |
| } |
| |
| .no-padding { |
| padding: 0px !important; |
| } |
| |
| .el-message-box { |
| vertical-align: baseline !important; |
| } |