123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482 |
- /* reset */
- body,
- div,
- ul,
- ol,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- input,
- p,
- tr,
- th,
- td,
- span,
- a,
- header,
- footer,
- i {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
- }
- li {
- list-style: none;
- }
- em,
- i,
- u {
- font-style: normal;
- }
- input {
- outline: none;
- border: none;
- background: rgba(245, 245, 245, 1);
- font-family: $--font-family;
- }
- input::-webkit-input-placeholder,
- input::-moz-placeholder,
- input:-ms-input-placeholder,
- input:-moz-placeholder {
- font-size: 12px;
- font-weight: bold;
- color: $--color-text-gray-4;
- }
- button,
- textarea {
- font-family: $--font-family;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- font-size: 100%;
- }
- fieldset,
- img {
- border: 0;
- }
- abbr {
- border: 0;
- font-variant: normal;
- }
- a {
- text-decoration: none;
- color: inherit;
- *color: $--color-text-gray-3;
- }
- img {
- vertical-align: middle;
- }
- /* common-style */
- input:-webkit-autofill {
- box-shadow: 0 0 0 1000px white inset;
- }
- input[type="text"]:focus,
- input[type="password"]:focus,
- input[type="number"]:focus,
- textarea:focus {
- box-shadow: 0 0 0 1000px white inset;
- }
- /* browse style */
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- background: transparent;
- }
- ::-webkit-scrollbar-button {
- display: none;
- }
- ::-webkit-scrollbar-track {
- background: transparent;
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 8px;
- background: #666;
- }
- ::-webkit-scrollbar-corner {
- background: transparent;
- }
- ::-webkit-scrollbar-resizer {
- background: transparent;
- }
- body {
- font-family: $--font-family;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- font-size: $--font-size-base;
- color: $--color-text-dark-1;
- }
- /* part */
- .part-box {
- margin-bottom: 20px;
- background-color: #fff;
- border-radius: $--border-radius;
- &-border {
- border: 1px solid $--color-border;
- }
- &-pad {
- padding: 20px;
- }
- &-filter {
- padding: 20px 20px 5px 20px;
- .el-form-item {
- margin-bottom: 15px;
- }
- .el-form-item__label {
- display: none;
- }
- }
- &-gray {
- background-color: $--color-text-gray-7;
- }
- &-flex {
- display: flex;
- align-items: stretch;
- justify-content: space-between;
- }
- &-action {
- padding-bottom: 15px;
- white-space: nowrap;
- display: flex;
- align-items: flex-end;
- }
- &-tips {
- font-size: 16px;
- line-height: 25px;
- color: $--color-text-dark-1;
- margin-bottom: 15px;
- }
- &-head {
- display: flex;
- align-items: stretch;
- justify-content: space-between;
- min-height: 30px;
- margin: -10px 0 10px -10px;
- color: $--color-text-dark;
- > h3 {
- font-size: 17px;
- }
- .el-icon-question {
- margin-left: 10px;
- font-size: 16px;
- color: $--color-text-gray-5;
- cursor: pointer;
- &:hover {
- color: #fe8652;
- }
- }
- }
- }
- .part-title {
- font-size: 16px;
- font-weight: bold;
- padding: 15px 20px;
- line-height: 30px;
- overflow: hidden;
- h2 {
- float: left;
- }
- &-infos {
- float: right;
- }
- }
- .part-body {
- padding: 25px;
- }
- .part-page {
- margin-top: 15px;
- text-align: right;
- }
- .part-none {
- padding: 100px;
- font-size: 20px;
- color: $--color-text-gray-3;
- text-align: center;
- }
- // box-justify
- .box-justify {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- // page-head
- .page-head {
- margin-bottom: 20px;
- color: $--color-text-dark;
- &-flex {
- display: flex;
- align-items: stretch;
- justify-content: space-between;
- }
- > h2 {
- font-size: 20px;
- }
- .el-icon-question {
- margin-left: 10px;
- font-size: 16px;
- color: $--color-text-gray-5;
- cursor: pointer;
- &:hover {
- color: #fe8652;
- }
- }
- }
- /* table */
- .table {
- width: 100%;
- border-spacing: 0;
- border-collapse: collapse;
- text-align: left;
- &.table-white {
- background-color: #fff;
- }
- th {
- padding: 12px;
- line-height: 1.2;
- letter-spacing: 1px;
- color: $--color-text-gray-2;
- border: 1px solid $--color-border;
- }
- td {
- padding: 14px;
- line-height: 1.2;
- color: $--color-text-dark;
- border: 1px solid $--color-border;
- &.td-link {
- span {
- cursor: pointer;
- &:hover {
- color: $--color-text-gray;
- }
- }
- }
- }
- .td-th {
- font-weight: 600;
- color: $--color-text-gray;
- }
- &--border {
- border: 1px solid $--color-border;
- border-radius: 10px;
- th {
- background-color: #fcfcfd;
- border: none;
- border-bottom: 1px solid $--color-border;
- }
- td {
- border: none;
- border-bottom: 1px solid $--color-border;
- }
- }
- }
- /* list */
- .list-lr-right {
- float: right;
- width: 300px;
- }
- .list-lr-left {
- margin-right: 320px;
- }
- .vlcode {
- height: 36px;
- }
- .vlcode-left {
- margin-right: 135px;
- }
- .vlcode-right {
- float: right;
- width: 120px;
- }
- // color
- .color-primary {
- color: $--color-primary !important;
- }
- .color-success {
- color: $--color-success;
- }
- .color-warning {
- color: $--color-warning;
- }
- .color-danger {
- color: $--color-danger;
- }
- .color-info {
- color: $--color-text-gray-1;
- }
- .color-dark {
- color: $--color-dark;
- }
- .color-gray {
- color: $--color-text-gray;
- }
- .color-gray-2 {
- color: $--color-text-gray-2;
- }
- .color-white {
- color: #fff;
- }
- // text
- .text-center {
- text-align: center;
- }
- .text-left {
- text-align: left;
- }
- .text-right {
- text-align: right;
- }
- // other
- .btn-danger {
- &.el-button--text {
- color: $--color-danger !important;
- &:hover {
- font-weight: 600;
- color: mix(#000, $--color-danger, 20%) !important;
- }
- }
- }
- .btn-primary {
- &.el-button--text {
- color: $--color-text-dark-1 !important;
- &:hover {
- font-weight: 600;
- color: $--color-primary !important;
- }
- }
- }
- .btn-white {
- background-color: #fff !important;
- color: #999 !important;
- }
- .font-bold {
- font-weight: bold;
- }
- .table-head-bg {
- th {
- background-color: #f6f6f6;
- color: $--color-text-gray;
- }
- }
- .tab-btns {
- .el-button {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- &:first-child {
- border-bottom-left-radius: 8px;
- }
- &:last-child {
- border-bottom-right-radius: 8px;
- }
- }
- .el-button + .el-button {
- margin-left: 10px;
- }
- }
- .cont-link {
- color: $--color-primary;
- cursor: pointer;
- &:hover {
- color: $--color-success;
- }
- }
- .ml-1 {
- margin-left: 5px;
- }
- .ml-2 {
- margin-left: 10px;
- }
- .mr-1 {
- margin-right: 5px;
- }
- .mr-2 {
- margin-right: 10px;
- }
- .mr-4 {
- margin-right: 20px;
- }
- .mb-0 {
- margin-bottom: 0;
- }
- .mb-2 {
- margin-bottom: 10px;
- }
- .mb-4 {
- margin-bottom: 20px;
- }
- // other
- .tips-info {
- font-size: 12px;
- line-height: 20px;
- color: $--color-text-gray-2;
- }
- .tips-dark {
- color: $--color-text-gray;
- }
- .tips-error {
- color: $--color-danger;
- }
- .tips-icon {
- display: inline-block;
- vertical-align: middle;
- color: $--color-text-gray-3;
- font-size: 18px;
- margin: 0 10px;
- cursor: pointer;
- }
- .form-item-content {
- color: $--color-text-gray-2;
- }
- .inline-block {
- display: inline-block;
- vertical-align: top;
- }
- .custom-tree-node {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 12px;
- padding-right: 8px;
- }
|