AdminLTE/build/less/modal.less

74 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-02-01 22:25:09 +01:00
/*
* Component: modal
* ----------------
*/
.modal {
background: rgba(0,0,0,.3);
}
.modal-content {
.border-radius(0);
2015-07-21 04:36:04 +02:00
.box-shadow(0 2px 3px rgba(0,0,0,.125));
2015-02-01 22:25:09 +01:00
border: 0;
@media (min-width: @screen-sm-min) {
2015-07-21 04:36:04 +02:00
.box-shadow(0 2px 3px rgba(0,0,0,.125));
2015-02-01 22:25:09 +01:00
}
}
.modal-header {
border-bottom-color: @box-border-color;
}
.modal-footer {
border-top-color: @box-border-color;
}
//Modal variants
.modal-primary {
.modal-body {
2015-07-12 15:42:26 +02:00
&:extend(.bg-light-blue);
2015-02-01 22:25:09 +01:00
}
.modal-header,
.modal-footer {
&:extend(.bg-light-blue-active);
border-color: darken(@light-blue, 10%);
}
}
.modal-warning {
.modal-body {
2015-07-12 15:42:26 +02:00
&:extend(.bg-yellow);
2015-02-01 22:25:09 +01:00
}
.modal-header,
.modal-footer {
&:extend(.bg-yellow-active);
border-color: darken(@yellow, 10%);
}
}
.modal-info {
.modal-body {
2015-07-12 15:42:26 +02:00
&:extend(.bg-aqua);
2015-02-01 22:25:09 +01:00
}
.modal-header,
.modal-footer {
&:extend(.bg-aqua-active);
border-color: darken(@aqua, 10%);
}
}
.modal-success {
.modal-body {
&:extend(.bg-green);
}
.modal-header,
.modal-footer {
&:extend(.bg-green-active);
border-color: darken(@green, 10%);
}
}
.modal-danger {
.modal-body {
2015-07-12 15:42:26 +02:00
&:extend(.bg-red);
2015-02-01 22:25:09 +01:00
}
.modal-header,
.modal-footer {
&:extend(.bg-red-active);
border-color: darken(@red, 10%);
}
2015-07-12 15:42:26 +02:00
}