ngx-admin/src/app/pages/forms/buttons/buttons.component.scss

104 lines
2.1 KiB
SCSS
Raw Normal View History

2017-08-03 13:53:18 +03:00
@import '../../../@theme/styles/themes';
@import '~@nebular/bootstrap/styles/buttons';
2017-09-11 11:41:24 +03:00
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/breakpoints';
@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 {
color: nb-theme(color-fg);
font-family: nb-theme(font-secondary);
2017-06-27 16:34:00 +03:00
margin-bottom: 0.5rem;
}
.header {
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;
font-weight: nb-theme(font-weight-light);
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;
}
.state-container {
2017-06-13 16:16:52 +03:00
display: flex;
&:not(:last-child) {
margin-bottom: 1rem;
}
2017-06-13 16:16:52 +03:00
.state-value {
width: $button-size;
height: $button-size;
border-radius: nb-theme(btn-border-radius);
@include nb-for-theme(corporate) {
border-radius: nb-theme(btn-semi-round-border-radius);
}
}
2017-06-13 16:16:52 +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;
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-09-11 11:41:24 +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;
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
}
}