Skip to content

Commit 25cbacd

Browse files
committed
move style to css
1 parent 5860e66 commit 25cbacd

File tree

2 files changed

+47
-48
lines changed

2 files changed

+47
-48
lines changed

src/helpers/styles.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

style/react-tabs.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.react-tabs [role=tablist] {
2+
border-bottom: 1px solid #aaa;
3+
margin: 0 0 10px;
4+
padding: 0;
5+
}
6+
7+
.react-tabs [role=tab] {
8+
display: inline-block;
9+
border: 1px solid transparent;
10+
border-bottom: none;
11+
bottom: -1px;
12+
position: relative;
13+
list-style: none;
14+
padding: 6px 12px;
15+
cursor: pointer;
16+
}
17+
18+
.react-tabs [role=tab][aria-selected=true] {
19+
background: #fff;
20+
border-color: #aaa;
21+
color: black;
22+
border-radius: 5px 5px 0 0;
23+
-moz-border-radius: 5px 5px 0 0;
24+
-webkit-border-radius: 5px 5px 0 0;
25+
}
26+
27+
.react-tabs [role=tab][aria-disabled=true] {
28+
color: GrayText;
29+
cursor: default;
30+
}
31+
32+
.react-tabs [role=tab]:focus {
33+
box-shadow: 0 0 5px hsl(208, 99%, 50%);
34+
border-color: hsl(208, 99%, 50%);
35+
outline: none;
36+
}
37+
38+
.react-tabs [role=tab]:focus:after {
39+
content: "";
40+
position: absolute;
41+
height: 5px;
42+
left: -4px;
43+
right: -4px;
44+
bottom: -5px;
45+
background: #fff;
46+
}
47+

0 commit comments

Comments
 (0)