mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
refactor(GUI): move _bootstrap.scss
alert rules to .alert-ribbon
(#680)
We have some global CSS rules that affect `.alert` living in `_bootstrap.scss`, however `.alert` is only being used by our `.alert-ribbon` component, so it makes sense to move those rules over there. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
This commit is contained in:
parent
5b0698192b
commit
17b5ef96da
@ -5976,11 +5976,6 @@ body {
|
||||
.modal-backdrop.in {
|
||||
opacity: 0; }
|
||||
|
||||
.alert, .alert-ribbon {
|
||||
text-align: center;
|
||||
border: 0;
|
||||
border-radius: 2px; }
|
||||
|
||||
[uib-tooltip] {
|
||||
cursor: default; }
|
||||
|
||||
@ -6325,9 +6320,12 @@ body {
|
||||
border-color: #f7dbc3;
|
||||
width: 60%;
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
top: -100%;
|
||||
|
@ -23,11 +23,14 @@
|
||||
|
||||
width: 60%;
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
|
||||
|
@ -37,12 +37,6 @@ body {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.alert {
|
||||
text-align: center;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
[uib-tooltip] {
|
||||
cursor: default;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user