Skip to content

Commit fe0bcf2

Browse files
Rachel LimRachel Lim
authored andcommitted
add styling for fundraiser related components
1 parent 6ebf37f commit fe0bcf2

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

client/styles/abstracts/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ $themes: (
5050
button-nav-inactive-color: $middle-gray,
5151
button-hover-color: $lightest,
5252
button-active-color: $lightest,
53+
fundraiser-button-color: $p5js-pink,
5354
modal-background-color: $light,
5455
preferences-button-background-color: $medium-light,
5556
modal-border-color: $middle-light,
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.fundraiser {
2+
padding: #{20 / $base-font-size}rem;
3+
margin-right: #{20 / $base-font-size}rem;
4+
padding-bottom: #{40 / $base-font-size}rem;
5+
width: #{500 / $base-font-size}rem;
6+
text-align: center;
7+
overflow-y: auto;
8+
}
9+
10+
.fundraiser__description {
11+
margin: #{20 / $base-font-size}rem 0;
12+
font-size: #{20 / $base-font-size}rem;
13+
}

client/styles/components/_nav.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
align-items: center;
2424
}
2525

26+
.nav__fundraiser-btn {
27+
font-weight: bold;
28+
font-size: #{14 / $base-font-size}rem;
29+
@include themify() {
30+
color: getThemifyVariable('fundraiser-button-color');
31+
}
32+
}
33+
34+
2635
.preview-nav__editor-svg {
2736
@include icon();
2837
}

client/styles/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
@import 'components/asset-list';
4444
@import 'components/asset-size';
4545
@import 'components/keyboard-shortcuts';
46+
@import 'components/fundraiser';
4647
@import 'components/copyable-input';
4748
@import 'components/feedback';
4849
@import 'components/console-input';

0 commit comments

Comments
 (0)