// Based on Paper
// Bootswatch
// -----------------------------------------------------
@import "/horizon/lib/bootstrap_scss/scss/bootstrap/mixins/vendor-prefixes";
@import "/horizon/lib/bootswatch/paper/bootswatch";
@import "/horizon/lib/roboto_fontface/css/roboto/sass/roboto-fontface.scss";



// Patch to Paper
// Inside alerts, the text color of buttons aren't properly ignored
// https://github.com/thomaspark/bootswatch/issues/552
.alert a:not(.close).btn-primary {
  color: $btn-primary-color;
}
.alert a:not(.close).btn-default {
  color: $btn-default-color;
}
.alert a:not(.close).btn-info {
  color: $btn-info-color;
}
.alert a:not(.close).btn-warning {
  color: $btn-warning-color;
}
.alert a:not(.close).btn-danger {
  color: $btn-danger-color;
}

// Based on Paper
// Bootswatch
// -----------------------------------------------------
@import "/horizon/lib/bootstrap_scss/scss/bootstrap/mixins/vendor-prefixes";
@import "/horizon/lib/bootswatch/paper/bootswatch";
@import "/horizon/lib/roboto_fontface/css/roboto/sass/roboto-fontface.scss";



// Patch to Paper
// Inside alerts, the text color of buttons aren't properly ignored
// https://github.com/thomaspark/bootswatch/issues/552
.alert a:not(.close).btn-primary {
  color: $btn-primary-color;
}
.alert a:not(.close).btn-default {
  color: $btn-default-color;
}
.alert a:not(.close).btn-info {
  color: $btn-info-color;
}
.alert a:not(.close).btn-warning {
  color: $btn-warning-color;
}
.alert a:not(.close).btn-danger {
  color: $btn-danger-color;
}

.alert a.close {
  font-size: $font-size-h5;
}

Fix the alert close size problem in material theme
Fix the alert close size problem in material theme

The problem was casued by .close class in _bootswatch.scss. The
size is 34px while correct size should 19.5px. Patch the fix to
have a smaller size.

When alert message has one line the close button is centered now.
When alert message has multiple lines, the close button is at the
right upper corner of the message box.

Change-Id: Ic5af8ae7e2b4ed0e136fad205a03b3f2368f72a9
Closes-bug: #1550066
