This repository has been archived by the owner on Apr 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add header messages BREAKING CHANGE: add "button" element instead "link" element in user-menu
- Loading branch information
1 parent
fc3cbde
commit 6fbd933
Showing
4 changed files
with
119 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* messages headers*/ | ||
|
||
.messages-container { | ||
display: flex; | ||
// height: 50px; | ||
padding: 0 2%; | ||
margin-bottom: 4px; | ||
font-family: $dp-font-family; | ||
} | ||
|
||
.messages-container .wrapper { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
} | ||
|
||
.messages-container p { | ||
color: #fff; | ||
font-size: $dp-font-size-small; | ||
} | ||
|
||
.messages-container.error .button { | ||
color: #e34f45; | ||
} | ||
|
||
.messages-container.message .button { | ||
color: #65c192; | ||
} | ||
|
||
.messages-container .button { | ||
margin-left: 20px; | ||
} | ||
|
||
.messages-container.message { | ||
background: $dp-color-lightgreen; | ||
} | ||
|
||
.messages-container.warning { | ||
background: $dp-color-yellow; | ||
} | ||
|
||
.messages-container.error { | ||
background: $dp-color-red; | ||
} | ||
/* buttons */ | ||
.button { | ||
border: 0; | ||
border-radius: 3px; | ||
color: #fff; | ||
cursor: pointer; | ||
font-size: $dp-font-size-small; | ||
line-height: 45px; | ||
padding-left: 20px; | ||
padding-right: 20px; | ||
height: 45px; | ||
text-align: center; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
.button--light { | ||
background: #fff; | ||
border: 1px solid #fff; | ||
color: #666; | ||
} | ||
|
||
.button--tiny { | ||
font-size: 13px; | ||
height: 30px; | ||
line-height: 30px; | ||
padding-left: 20px; | ||
padding-right: 20px; | ||
} |
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