Skip to content

Commit

Permalink
add sass files
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenf committed Jul 26, 2024
2 parents d40b072 + 809a043 commit 4a1de0f
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
19 changes: 19 additions & 0 deletions curriculum-front/src/sass/base/_general.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.v-toolbar
flex: 0

.page-header
display: flex
justify-content: space-between
align-items: center
margin-top: 40px

.display-curriculum-page, .create-curriculum-page
.togglable-icon
display: none
margin-left: 8px
.hover-icon-container
display: flex
align-items: center
&:hover
.togglable-icon
display: inline
6 changes: 6 additions & 0 deletions curriculum-front/src/sass/base/_variables.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// color palette
$teal: #34A7B2
$tan: #F5E4C3
$orange: #FAA275
$red: #EA5455
$maroon: #710627
5 changes: 5 additions & 0 deletions curriculum-front/src/sass/components/_create-curriculum.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.create-curriculum-page
.section-card
margin-bottom: 20px
.error-text
color: $red
3 changes: 3 additions & 0 deletions curriculum-front/src/sass/components/_display-curricula.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.display-curricula-page
.curriculum-card
margin: 10px 0
4 changes: 4 additions & 0 deletions curriculum-front/src/sass/components/_display-curriculum.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.display-curriculum-page
.section-header-text
font-size: 20px

12 changes: 12 additions & 0 deletions curriculum-front/src/sass/components/_home.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.home-page
.curricula-list
margin-top: 40px
.demo-screenshot
width: 400px
.home-section-two
padding: 20px 0
background-color: #710627
color: #fff
.home-section-three
margin-bottom: 100px
padding: 20px 0
9 changes: 9 additions & 0 deletions curriculum-front/src/sass/index.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// base
@import 'base/variables'
@import 'base/general'

// components & views
@import 'components/home'
@import 'components/display-curricula'
@import 'components/display-curriculum'
@import 'components/create-curriculum'

0 comments on commit 4a1de0f

Please sign in to comment.