File tree Expand file tree Collapse file tree 3 files changed +106
-2
lines changed Expand file tree Collapse file tree 3 files changed +106
-2
lines changed Original file line number Diff line number Diff line change 20
20
border-color : # aaa ;
21
21
color : black;
22
22
border-radius : 5px 5px 0 0 ;
23
- -moz-border-radius : 5px 5px 0 0 ;
24
- -webkit-border-radius : 5px 5px 0 0 ;
25
23
}
26
24
27
25
.ReactTabs__TabPanel {
Original file line number Diff line number Diff line change
1
+ .ReactTabs {
2
+ &__TabList {
3
+ border-bottom : 1px solid #aaa ;
4
+ margin : 0 0 10px ;
5
+ padding : 0 ;
6
+ }
7
+
8
+ &__Tab {
9
+ display : inline-block ;
10
+ border : 1px solid transparent ;
11
+ border-bottom : none ;
12
+ bottom : -1px ;
13
+ position : relative ;
14
+ list-style : none ;
15
+ padding : 6px 12px ;
16
+ cursor : pointer ;
17
+
18
+ &--selected {
19
+ background : #fff ;
20
+ border-color : #aaa ;
21
+ color : black ;
22
+ border-radius : 5px 5px 0 0 ;
23
+ }
24
+ & :focus {
25
+ box-shadow : 0 0 5px hsl (208 , 99% , 50% );
26
+ border-color : hsl (208 , 99% , 50% );
27
+ outline : none ;
28
+
29
+ & :after {
30
+ content : " " ;
31
+ position : absolute ;
32
+ height : 5px ;
33
+ left : -4px ;
34
+ right : -4px ;
35
+ bottom : -5px ;
36
+ background : #fff ;
37
+ }
38
+ }
39
+ }
40
+
41
+ &__TabPanel {
42
+ display : none ;
43
+
44
+ &--selected {
45
+ display : block ;
46
+ }
47
+
48
+ &--disabled {
49
+ color : GrayText ;
50
+ cursor : default ;
51
+ }
52
+ }
53
+ }
Original file line number Diff line number Diff line change
1
+ .ReactTabs {
2
+ & __TabList {
3
+ border-bottom : 1px solid #aaa ;
4
+ margin : 0 0 10px ;
5
+ padding : 0 ;
6
+ }
7
+
8
+ & __Tab {
9
+ display : inline-block ;
10
+ border : 1px solid transparent ;
11
+ border-bottom : none ;
12
+ bottom : -1px ;
13
+ position : relative ;
14
+ list-style : none ;
15
+ padding : 6px 12px ;
16
+ cursor : pointer ;
17
+
18
+ & --selected {
19
+ background : #fff ;
20
+ border-color : #aaa ;
21
+ color : black ;
22
+ border-radius : 5px 5px 0 0 ;
23
+ }
24
+ & :focus {
25
+ box-shadow : 0 0 5px hsl (208 , 99% , 50% );
26
+ border-color : hsl (208 , 99% , 50% );
27
+ outline : none ;
28
+
29
+ & :after {
30
+ content : " " ;
31
+ position : absolute ;
32
+ height : 5px ;
33
+ left : -4px ;
34
+ right : -4px ;
35
+ bottom : -5px ;
36
+ background : #fff ;
37
+ }
38
+ }
39
+ }
40
+
41
+ & __TabPanel {
42
+ display : none ;
43
+
44
+ & --selected {
45
+ display : block ;
46
+ }
47
+
48
+ & --disabled {
49
+ color : GrayText ;
50
+ cursor : default ;
51
+ }
52
+ }
53
+ }
You can’t perform that action at this time.
0 commit comments