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:
Juan Cruz Viotti 2016-09-02 11:47:01 -04:00 committed by GitHub
parent 5b0698192b
commit 17b5ef96da
3 changed files with 6 additions and 11 deletions

View File

@ -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%;

View File

@ -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;

View File

@ -37,12 +37,6 @@ body {
opacity: 0;
}
.alert {
text-align: center;
border: 0;
border-radius: 2px;
}
[uib-tooltip] {
cursor: default;
}