File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
packages/uikit-workshop/src/sass/scss/04-components Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 20
20
* Pattern info inside the "view all" template
21
21
*/
22
22
.pl-c-pattern & {
23
- max-height : 20rem ;
24
- min-height : 18rem ;
25
23
overflow : scroll ;
26
24
@include hideScrollBar ();
27
25
display : flex ;
28
26
-webkit-overflow-scrolling : touch ;
29
27
30
28
@media all and (min-width : $pl-bp-large ) {
31
29
max-height : none ;
32
- height : 18rem ;
33
30
overflow : visible ;
34
31
}
35
32
}
49
46
margin-bottom : 1rem ;
50
47
flex-grow : 1 ;
51
48
max-width : 100% ;
49
+ max-height : 30rem ;
52
50
min-width : 300px ; // so panels stack automatically
53
51
display : inline-flex ;
54
52
flex-direction : column ;
Original file line number Diff line number Diff line change 30
30
list-style : none ;
31
31
margin : 0 ;
32
32
padding : 0.5rem 0 ;
33
+ padding-bottom : 0 ;
33
34
background-color : $pl-color-white ;
35
+ border-bottom : 1px solid rgba (0 , 0 , 0 , .1 );
34
36
}
35
37
36
38
/* *
39
41
.pl-c-tabs__link {
40
42
display : block ;
41
43
line-height : 1 ;
42
- padding : 0.2rem 0.4rem ;
43
- border : 1px solid transparent ;
44
- border-radius : $pl-border-radius-med ;
44
+ border-bottom : 4px solid transparent ;
45
45
color : $pl-color-gray-50 ;
46
46
background-color : $pl-color-white ;
47
47
cursor : pointer ;
48
48
text-decoration : none ;
49
- text-transform : lowercase ;
49
+ text-transform : uppercase ;
50
50
transition : all $pl-animate-quick ease-out ;
51
+ padding : 8px ;
52
+ font-size : 13px ;
51
53
52
54
& :hover {
53
55
color : $pl-color-gray-87 ;
60
62
*/
61
63
& .pl-is-active-tab {
62
64
color : $pl-color-gray-87 ;
63
- background-color : $pl-color-gray-07 ;
64
- border : 1px solid $pl-color-gray-13 ;
65
+ border-bottom-color : #bf6500 ;
65
66
}
66
67
}
67
68
72
73
.pl-c-tabs__content {
73
74
overflow : auto ;
74
75
-webkit-overflow-scrolling : touch ;
75
- padding-top : 0.5rem ;
76
76
flex-grow : 1 ;
77
77
display : flex ;
78
78
flex-direction : column ;
85
85
*/
86
86
.pl-c-tabs__panel {
87
87
display : none ;
88
- min-height : 12rem ;
89
88
90
89
& .pl-is-active-tab {
91
90
display : flex ;
102
101
pre [class *= ' language-' ] {
103
102
background-color : transparent ;
104
103
margin : 0 ;
105
- padding : 0 ;
104
+ padding-top : 1rem ;
105
+ padding-right : 0.5rem ;
106
+ padding-bottom : 0.5rem ;
107
+ padding-left : 0.5rem ;
106
108
border : 0 ;
107
109
display : block ;
108
110
width : 100% ; // fill parent container
You can’t perform that action at this time.
0 commit comments