2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
2018-10-05 13:20:30 +03:00
|
|
|
@import '~@nebular/bootstrap/styles/buttons';
|
2017-09-11 11:41:24 +03:00
|
|
|
@import '~bootstrap/scss/mixins/breakpoints';
|
2018-10-05 13:20:30 +03:00
|
|
|
@import '~@nebular/theme/styles/global/breakpoints';
|
2017-05-02 19:28:27 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
2017-06-13 16:16:52 +03:00
|
|
|
/deep/ {
|
2017-06-14 11:45:37 +03:00
|
|
|
$button-size: 50px;
|
|
|
|
|
|
2017-06-27 16:34:00 +03:00
|
|
|
.container-title {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
|
|
|
|
font-family: nb-theme(font-secondary);
|
2017-06-27 16:34:00 +03:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg-header);
|
2017-07-07 17:15:32 +03:00
|
|
|
font-size: 0.875rem;
|
2017-06-27 16:34:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subheader {
|
2017-07-07 17:15:32 +03:00
|
|
|
font-size: 0.75rem;
|
2017-08-23 20:08:41 +03:00
|
|
|
font-weight: nb-theme(font-weight-light);
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-06-27 16:34:00 +03:00
|
|
|
}
|
|
|
|
|
|
2017-06-13 16:16:52 +03:00
|
|
|
.btn-demo {
|
|
|
|
|
width: 180px;
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-27 12:28:07 +03:00
|
|
|
.state-container {
|
2017-06-13 16:16:52 +03:00
|
|
|
display: flex;
|
|
|
|
|
|
2017-06-27 12:28:07 +03:00
|
|
|
&:not(:last-child) {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
2017-06-13 16:16:52 +03:00
|
|
|
|
2017-06-27 12:28:07 +03:00
|
|
|
.state-value {
|
|
|
|
|
width: $button-size;
|
|
|
|
|
height: $button-size;
|
2017-09-15 20:01:43 +03:00
|
|
|
border-radius: nb-theme(btn-border-radius);
|
2018-06-21 15:16:53 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(corporate) {
|
|
|
|
|
border-radius: nb-theme(btn-semi-round-border-radius);
|
|
|
|
|
}
|
2017-06-27 12:28:07 +03:00
|
|
|
}
|
2017-06-13 16:16:52 +03:00
|
|
|
|
2017-06-27 12:28:07 +03:00
|
|
|
.state-details {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-left: 1rem;
|
2018-05-11 17:25:02 +03:00
|
|
|
margin-right: 1rem;
|
2017-06-27 12:28:07 +03:00
|
|
|
height: $button-size;
|
|
|
|
|
}
|
2017-06-13 16:16:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example-container {
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(padding-right, 0);
|
|
|
|
|
@include nb-rtl(padding-left, 0);
|
2017-06-13 16:16:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.example-container .container-btn {
|
2017-07-07 17:15:32 +03:00
|
|
|
margin-bottom: 1.5rem;
|
2017-06-13 16:16:52 +03:00
|
|
|
}
|
|
|
|
|
|
2017-06-14 11:45:37 +03:00
|
|
|
.block-level-buttons .btn-group {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
2017-04-29 18:53:19 +03:00
|
|
|
}
|
2017-09-11 11:41:24 +03:00
|
|
|
|
2017-09-18 13:58:02 +03:00
|
|
|
@include media-breakpoint-down(is) {
|
2017-09-18 11:27:40 +03:00
|
|
|
ngx-default-buttons /deep/ nb-card-header {
|
|
|
|
|
flex-direction: column;
|
2017-09-18 13:58:02 +03:00
|
|
|
align-items: left;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
2017-09-18 11:27:40 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
|
|
|
|
|
|
/deep/.icon-buttons .icon-button-examples {
|
|
|
|
|
button {
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(margin-right, 1rem);
|
|
|
|
|
@include nb-rtl(margin-left, 1rem);
|
2017-09-18 11:27:40 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-11 11:41:24 +03:00
|
|
|
ngx-default-buttons /deep/ nb-card-header {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
2017-09-18 11:27:40 +03:00
|
|
|
|
|
|
|
|
ngx-block-level-buttons /deep/ {
|
|
|
|
|
.btn-primary {
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-11 11:41:24 +03:00
|
|
|
}
|
2017-04-29 18:53:19 +03:00
|
|
|
}
|