|
- /*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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.
- */
-
- @import './mixin.scss';
- @import './variables.scss';
-
- //main-container全局样式
- .app-container {
- padding: 10px 20px 70px 20px;
- }
-
- .head-container {
- padding-bottom: 10px;
-
- .title-container {
- height: 50px;
- margin-bottom: 25px;
- line-height: 50px;
-
- .title-content {
- display: inline-block;
- font-size: 18px;
- font-weight: bold;
- color: #666;
- }
- }
-
- .filter-item {
- display: inline-block;
- margin: 0 3px 10px 0;
- font-size: 14px;
- vertical-align: middle;
- }
-
- .date-item {
- display: inline-block;
- width: 240px;
- margin: 0 3px 10px 0;
- vertical-align: middle;
- }
-
- .el-select__caret.el-input__icon.el-icon-arrow-up {
- line-height: 32px;
- }
- }
-
- .cd-opts {
- display: -webkit-flex;
- display: flex;
- padding: 4px 0;
-
- /* align-items: center; */
- }
-
- .cd-opts .cd-opts-right {
- margin-left: auto;
- }
-
- .my-code {
- position: relative;
- padding: 15px;
- font-family: Courier New, serif;
- font-size: 12px;
- line-height: 20px;
- color: #333;
- border-left: 5px solid #ddd;
- }
-
- // 自定义search-bar样式
- .search-bar {
- float: right;
- margin-top: 8px;
- }
-
- // 自定义drawer样式
- .ts-drawer {
- margin: 30px 20px 0 0;
- overflow: auto;
-
- .title {
- height: 19px;
- padding-left: 14px;
- margin-top: 30px;
- font-size: 14px;
- font-weight: bold;
- line-height: 19px;
- color: #666;
- text-align: unset; // 避免 Login 页样式污染
- letter-spacing: 1px;
- border-left: #ffd76d solid 6px;
- }
-
- .row {
- margin-top: 14px;
-
- div {
- display: inline-block;
- }
-
- .el-col {
- margin-top: 10px;
- margin-bottom: 10px;
- }
-
- .label {
- width: 76px;
- height: 19px;
- margin-left: 24px;
- font-size: 14px;
- line-height: 19px;
- color: rgba(68, 68, 68, 1);
- letter-spacing: 1px;
- }
-
- .text {
- font-size: 14px;
- line-height: 19px;
- color: rgba(68, 68, 68, 1);
- letter-spacing: 1px;
- }
-
- .dynamic {
- .label {
- vertical-align: top;
- }
-
- .text {
- width: calc(100% - 120px);
- }
- }
- }
- }
-
- .eltabs-inlineblock.el-tabs {
- display: inline-block;
-
- .el-tabs__header {
- margin: 0;
- }
- // tabs间距调小一点
- .el-tabs__item {
- padding: 0 10px;
- }
- }
-
- .tag-item {
- width: 100%;
- overflow: hidden;
- line-height: 24px;
- color: #fff;
- text-align: center;
- text-overflow: ellipsis;
- cursor: pointer;
- border: none;
- border-radius: 2px;
- }
-
- .caret {
- display: inline-block;
-
- @include triangle(6px, 4px, #5b6b73, 'down');
- }
-
- .sorting-menu {
- display: inline-flex;
- align-items: center;
- justify-content: space-between;
- min-width: 3em;
- max-width: 100%;
- color: #5b6b73;
- cursor: pointer;
- transition: all 0.2s ease-out;
-
- .caret {
- margin-left: 4px;
- transition: all 0.2s ease-out;
- }
-
- &.is-open {
- .caret {
- transform: rotate(180deg);
- }
- }
- }
-
- .carousel-figure-bg {
- @include responsive-backgroud;
-
- width: 600px;
- height: 328px;
- margin: 0 auto;
- }
-
- .carousel-figure-dialog {
- .el-dialog__body {
- padding-top: 10px;
- padding-bottom: 10px;
- }
-
- .figure-wrapper {
- position: relative;
- }
-
- .figure-desc {
- font-size: 16px;
- line-height: 32px;
- text-align: center;
- }
- }
-
- .select-del-btn {
- float: right;
- color: $infoColor;
-
- :hover {
- color: $primaryHoverColor;
- }
- }
-
- .tree-container {
- height: 500px;
- margin-top: 20px;
- overflow-y: scroll;
- }
|