|
- /** Copyright 2020 Tianshu AI Platform. 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.
- * =============================================================
- */
-
- @import './mixin.scss';
-
- .dn {
- display: none;
- }
-
- .db {
- display: block;
- }
-
- .di {
- display: inline;
- }
-
- .dib {
- display: inline-block;
- }
-
- .rel {
- position: relative;
- }
-
- .abs {
- position: absolute;
- }
-
- .vm {
- vertical-align: middle;
- }
-
- .v-text-top {
- vertical-align: text-top;
- }
-
- .v-bottom {
- vertical-align: bottom;
- }
-
- .flex {
- display: flex;
- }
-
- .flex-between {
- justify-content: space-between;
- }
-
- .flex-vertical-align {
- align-items: center;
- }
-
- .flex-col {
- flex-direction: column;
- }
-
- .flex-start {
- justify-content: flex-start;
- }
-
- .flex-end {
- justify-content: flex-end;
- }
-
- .flex-wrap {
- flex-wrap: wrap,;
- }
-
- .flex-center {
- align-items: center;
- justify-content: center;
- }
-
- .f1 {
- flex: 1;
- }
-
- .no-float {
- float: none;
- }
-
- .tc {
- text-align: center;
- }
-
- .tr {
- text-align: right;
- }
-
- .tl {
- text-align: left;
- }
-
- .fr {
- float: right;
- }
-
- .fl {
- float: left;
- }
-
- .pr-5 {
- padding-right: 5px;
- }
-
- .pr-20 {
- padding-right: 20px;
- }
-
- .pl-0 {
- padding-left: 0;
- }
-
- .pl-5 {
- padding-left: 5px;
- }
-
- .pl-16 {
- padding-left: 16px;
- }
-
- .pb-10 {
- padding-bottom: 10px;
- }
-
- .py-4 {
- padding-top: 4px;
- padding-bottom: 4px;
- }
-
- .py-10 {
- padding-top: 10px;
- padding-bottom: 10px;
- }
-
- .px-20 {
- padding-right: 20px;
- padding-left: 20px;
- }
-
- .mt-0 {
- margin-top: 0 !important;
- }
-
- .mt-50 {
- margin-top: 50px;
- }
-
- .mt-10 {
- margin-top: 10px;
- }
-
- .mt-20 {
- margin-top: 20px;
- }
-
- .ml-4 {
- margin-left: 4px;
- }
-
- .ml-10 {
- margin-left: 10px;
- }
-
- .mr-0 {
- margin-right: 0;
- }
-
- .mr-10 {
- margin-right: 10px;
- }
-
- .ml-16 {
- margin-left: 16px;
- }
-
- .ml-40 {
- margin-left: 40px;
- }
-
- .ml-auto {
- margin-left: auto;
- }
-
- .mb-50 {
- margin-bottom: 50px;
- }
-
- .mb-20 {
- margin-bottom: 20px;
- }
-
- .mb-22 {
- margin-bottom: 22px;
- }
-
- .mb-10 {
- margin-bottom: 10px;
- }
-
- .mx-10 {
- margin-right: 10px;
- margin-left: 10px;
- }
-
- .my-5 {
- margin-top: 5px;
- margin-bottom: 5px;
- }
-
- .my-10 {
- margin-top: 10px;
- margin-bottom: 10px;
- }
-
- .mx-auto {
- margin-right: auto;
- margin-left: auto;
- }
-
- .my-auto {
- margin-top: auto;
- margin-bottom: auto;
- }
-
- .w-100 {
- width: 100px;
- }
-
- .w-150 {
- width: 150px;
- }
-
- .w-200 {
- width: 200px;
- }
-
- .w-300 {
- width: 300px;
- }
-
- .w-500 {
- width: 500px;
- }
-
- .h-100 {
- height: 100px;
- }
-
- .lh-1 {
- line-height: 1;
- }
-
- .lh-20 {
- line-height: 20px;
- }
-
- .bold {
- font-weight: bold;
- }
-
- .normal {
- font-weight: normal;
- }
-
- img.responsive {
- display: inline-block;
- max-width: 100%;
- height: auto;
- }
-
- .round {
- border-radius: 50%;
- }
-
- .block {
- display: block;
- }
-
- .pointer {
- cursor: pointer;
- }
-
- .pen {
- pointer-events: none;
- }
-
- .pea {
- pointer-events: auto;
- }
-
- .inlineBlock {
- display: block;
- }
-
- .clearfix {
- &::after {
- display: block;
- height: 0;
- clear: both;
- font-size: 0;
- visibility: hidden;
- content: " ";
- }
- }
-
- .usn {
- user-select: none;
- }
-
- .hidden {
- visibility: hidden;
- }
-
- .cp {
- cursor: pointer;
- }
-
- .crosshair {
- cursor: crosshair;
- }
-
- .red {
- color: red;
- }
-
- .success {
- color: $successColor;
- }
-
- .with-border {
- border-color: $borderColor;
- }
-
- .no-border {
- border: none;
- }
-
- .g3 {
- color: #333;
- }
-
- .g6 {
- color: #666;
- }
-
- .g9 {
- color: #999;
- }
-
- .f12 {
- font-size: 12px;
- }
-
- .f14 {
- font-size: 14px;
- }
-
- .f16 {
- font-size: 16px;
- }
-
- .f18 {
- font-size: 18px;
- }
-
- .f22 {
- font-size: 22px;
- }
-
- .ellipsis {
- @include text-overflow;
- }
-
- .w100 {
- min-width: 100px;
- }
-
- .fullBg {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 9;
- width: 100vw;
- height: 100vh;
- }
|