-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
20 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 |
---|---|---|
@@ -1,12 +1,21 @@ | ||
// .notice-flash { | ||
// width: auto; | ||
// position: fixed; | ||
// top: 100px; | ||
// right: 16px; | ||
// height: 50px; | ||
// background-color: rgb(241, 247, 159); | ||
// box-shadow: 0 10px 30px rgba(0,0,0,.1); | ||
// border: 1px solid black; | ||
// border-radius: 4px; | ||
|
||
// } | ||
.notice-flash { | ||
width: auto; | ||
position: fixed; | ||
top: 100px; | ||
right: 16px; | ||
height: 50px; | ||
color: #325288; | ||
background-color: #F4F4F4; | ||
box-shadow: 0 10px 30px rgba(0,0,0,.1); | ||
border-radius: 4px; | ||
} | ||
.button-alert { | ||
background-color: #d0eaf7 !important; | ||
color: black; | ||
font-size: 14px; | ||
font-weight: 400; | ||
border: none; | ||
border-radius: 2em; | ||
padding: 5px 12px; | ||
margin: 4px 5px 0 0; | ||
} |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<%# <% if notice %> | ||
<%# <div class="alert alert-info alert-dismissible fade show m-1 notice-flash" role="alert"> | ||
<button type="button" class="button-primary" data-bs-dismiss="alert" aria-label="Close">close</button> | ||
<% if notice %> | ||
<div class="alert alert-info alert-dismissible fade show m-1 notice-flash" role="alert"> | ||
<button type="button" class="button-alert" data-bs-dismiss="alert" aria-label="Close">close</button> | ||
<%= notice %> | ||
<%# </div> | ||
</div> | ||
<% end %> | ||
<%# <% if alert %> | ||
<%# <div class="alert alert-warning alert-dismissible fade show m-1" role="alert"> | ||
<% if alert %> | ||
<div class="alert alert-warning alert-dismissible fade show m-1" role="alert"> | ||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">CLOSE</button> | ||
<%= alert %> | ||
<%# </div> | ||
</div> | ||
<% end %> |