Skip to content

Commit 5a5e159

Browse files
committed
ProgressBar
- Remove left side border radius NavigationTab - Add underline for active tab
1 parent 9671b3f commit 5a5e159

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

app/src/components/NavigationTab/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ function NavigationTab(props: Props) {
188188
)}
189189
<div className={styles.childrenWrapper}>
190190
{children}
191+
<div className={styles.activeChildrenBorder} />
191192
</div>
192193
{variant === 'primary' && (
193194
<div className={styles.dummy} />

app/src/components/NavigationTab/styles.module.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,19 @@
140140
font-size: var(--go-ui-font-size-lg);
141141

142142
.children-wrapper {
143+
display:flex;
144+
flex-direction: column;
145+
gap: var(--go-ui-spacing-sm);
143146
border-bottom-color: var(--border-color);
144147
background-color: var(--go-ui-color-background);
145-
padding: var(--go-ui-spacing-md) var(--go-ui-spacing-lg);
148+
padding: var(--go-ui-spacing-sm) var(--go-ui-spacing-lg) var(--go-ui-spacing-xs);
149+
150+
}
151+
152+
.active-children-border {
153+
background-color: transparent;
154+
width: 100%;
155+
height: var(--go-ui-width-separator-small);
146156
}
147157

148158
&.active {
@@ -152,6 +162,10 @@
152162
border-color: var(--border-color);
153163
border-bottom-color: transparent;
154164
background-color: var(--go-ui-color-white);
165+
166+
.active-children-border {
167+
background-color: var(--go-ui-color-primary-red);
168+
}
155169
}
156170
}
157171

packages/ui/src/components/Popup/styles.module.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
.popup {
22
position: fixed;
33
border-radius: var(--go-ui-spacing-xs);
4-
box-shadow: var(--go-ui-box-shadow-2xl);
4+
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
55
background-color: var(--go-ui-color-white);
66
max-height: 40vh;
77
overflow: auto;
8-
9-
&.top-orientation {
10-
/* FIXME: add variable */
11-
box-shadow: 0 -8pt 20pt -5pt rgb(0 0 0 / 0.5);
12-
}
138
}
149

1510
.pointer {

packages/ui/src/components/ProgressBar/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
.total {
1212
display: flex;
1313
flex-shrink: 0;
14-
border-radius: var(--go-ui-border-radius-md);
14+
border-radius: 0 var(--go-ui-border-radius-md) var(--go-ui-border-radius-md) 0;
1515
background-color: var(--go-ui-color-separator);
1616
height: 0.5rem;
1717

1818
.progress {
1919
transition: var(--go-ui-duration-transition-medium) width ease-in-out;
20-
border-radius: var(--go-ui-border-radius-md);
20+
border-radius: 0 var(--go-ui-border-radius-md) var(--go-ui-border-radius-md) 0;
2121
background-color: currentColor;
2222
}
2323
}

0 commit comments

Comments
 (0)