ngx-admin/src/app/pages/ui-features/buttons/buttons.component.scss

102 lines
1.9 KiB
SCSS
Raw Normal View History

@import '../../../@theme/styles/variables';
@import '~@akveo/nga-theme/styles/global/bootstrap/buttons';
2017-06-13 16:16:52 +03:00
@include nga-install-component() {
/deep/ {
2017-06-14 11:45:37 +03:00
$button-size: 50px;
$button-border-radius: 12px;
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: $button-border-radius;
}
2017-06-13 16:16:52 +03:00
.state-details {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 1rem;
height: $button-size;
2017-06-13 16:16:52 +03:00
.header {
color: white;
}
2017-06-14 11:45:37 +03:00
.subheader {
font-size: 0.875rem;
line-height: 1rem;
font-weight: 300;
}
}
2017-06-13 16:16:52 +03:00
}
.example-container {
padding-right: 0;
}
.example-container .container-title {
font-family: nga-theme(font-secondary);
2017-06-14 11:45:37 +03:00
margin-bottom: 1rem;
2017-06-13 16:16:52 +03:00
}
.example-container .container-btn {
2017-06-14 11:45:37 +03:00
margin-bottom: 1rem;
2017-06-13 16:16:52 +03:00
}
.actions-groups {
display: flex !important;
2017-06-14 11:45:37 +03:00
}
2017-06-13 16:16:52 +03:00
2017-06-14 11:45:37 +03:00
.actions-groups .container-title {
font-family: nga-theme(font-secondary);
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
color: white;
}
.block-level-buttons .btn-group {
margin-bottom: 1rem;
}
.button-groups .toolbars-container {
display: flex;
}
.button-groups .pagination-container {
flex: 1;
margin-right: 1rem;
}
.button-groups .icon-toolbar-container {
flex: 1;
}
.icon-buttons .btn-group:not(:last-child) {
margin-bottom: 1rem;
}
.icon-buttons .icon-button-examples {
display: flex;
justify-content: space-between;
}
.icon-buttons .icon-button-examples:not(:last-child) {
margin-bottom: 1rem;
2017-06-13 16:16:52 +03:00
}
}
}