2018-06-15 09:52:15 -05:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
|
|
|
@import '~primeng/resources/primeng.css';
|
|
|
|
@import '~primeng/resources/themes/bootstrap/theme.css';
|
|
|
|
|
|
|
|
@mixin glyphicon-light {
|
|
|
|
font-family: 'Glyphicons Halflings';
|
|
|
|
text-decoration: none !important;
|
2018-09-20 13:57:18 -05:00
|
|
|
color: var(--mainForegroundColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// data table customizations
|
|
|
|
p-table {
|
|
|
|
font-size: 15px !important;
|
|
|
|
|
2018-10-08 08:15:11 -05:00
|
|
|
.ui-table-caption {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2018-06-15 09:52:15 -05:00
|
|
|
td {
|
|
|
|
padding-left: 15px !important;
|
2018-08-09 10:51:25 -05:00
|
|
|
|
|
|
|
&:not(.action-cell) {
|
|
|
|
overflow: hidden !important;
|
|
|
|
text-overflow: ellipsis !important;
|
|
|
|
white-space: nowrap !important;
|
|
|
|
}
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
2018-09-08 10:54:38 -05:00
|
|
|
background-color: var(--mainBackgroundColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
height: 46px;
|
2018-10-08 08:15:11 -05:00
|
|
|
|
|
|
|
&.ui-state-highlight {
|
|
|
|
background-color:var(--submenuColor) !important;
|
|
|
|
color:var(--mainForegroundColor) !important;
|
|
|
|
}
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-table-tbody {
|
|
|
|
tr {
|
|
|
|
&:hover {
|
2018-09-20 13:57:18 -05:00
|
|
|
background-color: var(--submenuColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:hover) {
|
|
|
|
.action-cell * {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child td {
|
|
|
|
border-top: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child td {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.expander {
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
border: none !important;
|
2018-09-24 11:05:57 -05:00
|
|
|
border-bottom: 1px solid !important;
|
|
|
|
border-color: var(--submenuColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
text-align: left !important;
|
|
|
|
padding: 5px 0 5px 15px !important;
|
|
|
|
font-weight: $font-semibold !important;
|
2018-09-20 13:57:18 -05:00
|
|
|
color: var(--mainForegroundColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
|
|
|
|
&.ui-sortable-column:hover {
|
2018-09-20 13:57:18 -05:00
|
|
|
background-color: var(--submenuColor) !important;
|
2018-09-24 11:05:57 -05:00
|
|
|
border: 1px solid !important;
|
|
|
|
border-color: var(--submenuColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
border-width: 0 1px !important;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-width: 0 1px 0 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-state-highlight {
|
2018-09-20 13:57:18 -05:00
|
|
|
background-color:var(--submenuColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
|
|
|
|
.pi {
|
|
|
|
@extend .glyphicon;
|
|
|
|
|
|
|
|
color: #000;
|
|
|
|
font-size: 11px;
|
2018-08-28 09:05:38 -05:00
|
|
|
top: 0;
|
2018-06-15 09:52:15 -05:00
|
|
|
|
|
|
|
&.pi-sort-up {
|
|
|
|
@extend .glyphicon-triangle-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pi-sort-down {
|
|
|
|
@extend .glyphicon-triangle-bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-cell {
|
|
|
|
width: 250px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
my-edit-button + my-delete-button {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p-paginator {
|
|
|
|
.ui-paginator-bottom {
|
2018-09-20 13:57:18 -05:00
|
|
|
background-color: var(--mainBackgroundColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
position: relative;
|
2018-09-29 10:36:19 -05:00
|
|
|
border: none;
|
|
|
|
border-top: 1px solid !important;
|
2018-09-24 11:05:57 -05:00
|
|
|
border-color: var(--submenuColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2018-07-16 11:42:10 -05:00
|
|
|
.ui-paginator-first,
|
|
|
|
.ui-paginator-prev,
|
|
|
|
.ui-paginator-next,
|
|
|
|
.ui-paginator-last {
|
|
|
|
@include glyphicon-light;
|
|
|
|
padding: 5px 2px;
|
|
|
|
height: auto;
|
|
|
|
outline: none;
|
|
|
|
font-size: 13px;
|
|
|
|
top: -1px;
|
|
|
|
|
|
|
|
&.ui-state-disabled:hover {
|
|
|
|
background-color: #fff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-paginator-first {
|
|
|
|
@extend .glyphicon-step-backward;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-paginator-prev {
|
|
|
|
@extend .glyphicon-chevron-left;
|
|
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-paginator-next {
|
|
|
|
@extend .glyphicon-chevron-right;
|
|
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-paginator-last {
|
|
|
|
@extend .glyphicon-step-forward;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-15 09:52:15 -05:00
|
|
|
.ui-paginator-pages {
|
|
|
|
height: auto !important;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #000 !important;
|
|
|
|
font-weight: $font-semibold !important;
|
2018-09-24 11:05:57 -05:00
|
|
|
margin: 0 10px !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
outline: 0 !important;
|
|
|
|
border-radius: 3px !important;
|
|
|
|
padding: 5px 2px !important;
|
|
|
|
height: auto !important;
|
|
|
|
|
|
|
|
&.ui-state-active {
|
|
|
|
&, &:hover, &:active, &:focus {
|
|
|
|
color: #fff !important;
|
2018-09-03 18:28:04 -05:00
|
|
|
background-color: var(--mainColor) !important;
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// PrimeNG calendar tweaks
|
|
|
|
p-calendar .ui-datepicker {
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-datepicker-header {
|
|
|
|
|
|
|
|
.ui-datepicker-year {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-datepicker-next {
|
|
|
|
@extend .glyphicon-chevron-right;
|
|
|
|
@include glyphicon-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-datepicker-prev {
|
|
|
|
@extend .glyphicon-chevron-left;
|
|
|
|
@include glyphicon-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-timepicker {
|
|
|
|
|
|
|
|
.pi.pi-chevron-up {
|
|
|
|
@extend .glyphicon-chevron-up;
|
|
|
|
@include glyphicon-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pi.pi-chevron-down {
|
|
|
|
@extend .glyphicon-chevron-down;
|
|
|
|
@include glyphicon-light;
|
|
|
|
}
|
|
|
|
}
|
2018-10-08 08:15:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-chkbox-box {
|
|
|
|
&.ui-state-active {
|
|
|
|
border-color: var(--mainColor) !important;
|
|
|
|
background-color: var(--mainColor) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-chkbox-icon {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 5px;
|
|
|
|
width: 5px;
|
|
|
|
height: 12px;
|
|
|
|
opacity: 0;
|
|
|
|
transform: rotate(45deg) scale(0);
|
|
|
|
border-right: 2px solid var(--mainBackgroundColor);
|
|
|
|
border-bottom: 2px solid var(--mainBackgroundColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.pi-check:after {
|
|
|
|
opacity: 1;
|
|
|
|
transform: rotate(45deg) scale(1);
|
|
|
|
}
|
|
|
|
}
|
2018-06-15 09:52:15 -05:00
|
|
|
}
|