diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 5f3a061..7399d94 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -3,6 +3,7 @@ @import './transition.scss'; @import './element-ui.scss'; @import './btn.scss'; + body { height: 100%; margin: 0; @@ -11,33 +12,41 @@ body { text-rendering: optimizeLegibility; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; } + label { font-weight: 700; } + html { height: 100%; margin: 0; box-sizing: border-box; } + #app { margin: 0; height: 100%; } + *, *::before, *::after { box-sizing: inherit; } + .no-padding { padding: 0 !important; } + .padding-content { padding: 4px 0; } + a:focus, a:active { outline: none; } + a, a:focus, a:hover { @@ -45,33 +54,49 @@ a:hover { color: inherit; text-decoration: none; } + div:focus { outline: none; } + .fr { float: right; } + .fl { float: left; } + .pr-5 { padding-right: 5px; } + .pl-5 { padding-left: 5px; } + .pl-10 { padding-left: 10px; } + +.mt-5 { + margin-top: 5px; +} +.mr-10 { + margin-right: 10px; +} .block { display: block; } + .pointer { cursor: pointer; } + .inlineBlock { display: block; } + .clearfix { &::after { visibility: hidden; @@ -82,6 +107,7 @@ div:focus { height: 0; } } + aside { background: #eef1f6; padding: 8px 24px; @@ -94,9 +120,11 @@ aside { color: #2c3e50; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + a { color: #337ab7; cursor: pointer; + &:hover { color: rgb(32, 160, 255); } @@ -107,16 +135,20 @@ aside { .app-container { padding: 20px; } + .components-container { margin: 30px 50px; position: relative; } + .pagination-container { margin-top: 30px; } + .text-center { text-align: center; } + .sub-navbar { height: 50px; line-height: 50px; @@ -126,27 +158,34 @@ aside { 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; } } + .link-type, .link-type:focus { color: #337ab7; cursor: pointer; + &:hover { color: rgb(32, 160, 255); } } + .filter-container { padding-bottom: 10px; + .filter-item { display: inline-block; vertical-align: middle; @@ -158,6 +197,7 @@ aside { .multiselect { line-height: 16px; } + .multiselect--active { z-index: 1000 !important; } diff --git a/src/components/parser/Parser.vue b/src/components/parser/Parser.vue index 10ac043..508dea3 100644 --- a/src/components/parser/Parser.vue +++ b/src/components/parser/Parser.vue @@ -1,5 +1,6 @@ -