forked from nsjcy/frontEnd/nsjcy

Mr Ke
2020-05-27 5545fc19893ca0e23818f20eed930850c84edb72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
@import 'vars';
 
.ant-spin-dot i {
  background-color: $color-white-10;
}
 
.am-picker-popup-item {
  color: $color;
}
 
.am-tabs-default-bar-tab-active {
  color: $color;
}
 
.am-tabs-default-bar-underline {
  border-color: $color;
}
 
.ant-layout-sider {
  background-color: #fff;
}
 
body {
  background-color: $color-background;
}
 
/**渐变***/
.ant-menu-item-selected {
  color: #ffffff;
}
.ant-menu-item-selected > a,
.ant-menu-item-selected > a:hover {
  color: #ffffff;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background: -webkit-linear-gradient(
    left,
    #1790ff,
    #33c3ff
  ); /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(
    right,
    #1790ff,
    #33c3ff
  ); /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(
    right,
    #1790ff,
    #33c3ff
  ); /* Firefox 3.6 - 15 */
  background: linear-gradient(
    to right,
    #1790ff,
    #33c3ff
  ); /* 标准的语法(必须放在最后) */
}
// .ant-modal-header {
//   background: #1790ff;
// }
 
.bf-content {
  height: 300px;
}
.card-container {
  padding: 20px;
}
.card-container > .ant-tabs-card > .ant-tabs-content {
  margin-top: -16px;
}
 
.card-container > .ant-tabs-card > .ant-tabs-content > .ant-tabs-tabpane {
  background: #fff;
  padding: 16px;
}
 
.card-container > .ant-tabs-card > .ant-tabs-bar {
  border-color: #fff;
}
 
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  border-color: transparent;
  background: transparent;
}
 
.card-container > .ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
  border-color: #fff;
  background: #fff;
}
 
// 隐藏滚动条
* {
  &::-webkit-scrollbar {
    display: none;
  }
  -ms-overflow-style: none;
  scrollbar-width: none;
}
 
.ant-layout-sider-children {
  display: flex;
  flex-direction: column;
}