Skip to content

Commit 999d8e9

Browse files
b240
1 parent 3c8a642 commit 999d8e9

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

src/Modules/Components/Process/Process.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
align-items : center;
2424
justify-content: center;
2525
display : flex;
26-
word-break : break-word;
27-
line-height : 1.3;
28-
text-align : center;
26+
word-break : components('process', 'item', 'word-break');
27+
line-height : components('process', 'item', 'line-height');
28+
text-align : components('process', 'item', 'text-align');
2929
min-height : components('process', 'min-height');
30+
font-weight : components('process', 'item', 'font-weight');
3031
&:not(:first-child)::before {
3132
content : "";
3233
left : -50%;
@@ -41,7 +42,6 @@
4142
display : inline-block;
4243
padding : 10px 10px 0;
4344
text-decoration: none;
44-
font-weight : bold;
4545
&::before {
4646
position : absolute;
4747
content : "";
@@ -58,7 +58,8 @@
5858
}
5959
&.#{class('process', 'active')} {
6060
a {
61-
color: theme('color', 'primary');
61+
color : theme('color', 'primary');
62+
font-weight: components('process', 'item', 'active', 'font-weight');
6263
&::after {
6364
position : absolute;
6465
content : components('process', 'item', 'indicator', 'content');

src/options.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,10 @@ $options: (
679679
'margin' : 3em 0,
680680
'min-height': 4rem, // for each item
681681
'item': (
682+
'font-weight': normal,
683+
'text-align' : center,
684+
'line-height': 1.3,
685+
'word-break' : break-word,
682686
'stepbar' : (
683687
'height': 6px,
684688
),
@@ -690,6 +694,9 @@ $options: (
690694
'content' : "\2756", // HTML Symbols,
691695
'font-size': 1.8rem,
692696
),
697+
'active': (
698+
'font-weight': bold
699+
)
693700
),
694701
'vertical': (
695702
'margin' : 1em 0,

0 commit comments

Comments
 (0)