-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
account-settings: style according to new design
- Loading branch information
Showing
9 changed files
with
169 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### Added | ||
- Style for new account setting forms | ||
- added a new scss component `actionable-list` where we have a list of items that the user can take an (or multiple) actions on | ||
|
||
### Removed | ||
- Fields for notifications and newsletter from profile form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
meinberlin/assets/scss/components_user_facing/_actionable-list.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.actionable-list { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0 0 2.5em; | ||
} | ||
|
||
.actionable-list__item { | ||
padding: 1.5em 0; | ||
border-top: 1px solid $gray-lighter; | ||
|
||
&:last-child { | ||
border-bottom: 1px solid $gray-lighter; | ||
} | ||
} | ||
|
||
.actionable-list__item__wrapper { | ||
margin-bottom: 0; | ||
|
||
@media screen and (min-width: $breakpoint-tablet) { | ||
display: flex; | ||
} | ||
} | ||
|
||
.actionable-list__item__body { | ||
display: flex; | ||
} | ||
|
||
.actionable-list__item__actions { | ||
margin-left: auto; | ||
text-align: right; | ||
margin-top: 1.5em; | ||
|
||
@media screen and (min-width: $breakpoint-tablet) { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
.actionable-list__item__actions__bottom { | ||
margin-top: 1em; | ||
} | ||
|
||
.actionable-list__item__details { | ||
margin-left: .75em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters