|
@@ -2,7 +2,7 @@
|
|
|
@import '_mixins';
|
|
|
|
|
|
@import '~primeng/resources/primeng.css';
|
|
|
-@import '~primeng/resources/themes/bootstrap/theme.css';
|
|
|
+@import '~primeng/resources/themes/nova-light/theme.css';
|
|
|
|
|
|
@mixin glyphicon-light {
|
|
|
font-family: 'Glyphicons Halflings';
|
|
@@ -12,10 +12,9 @@
|
|
|
|
|
|
// data table customizations
|
|
|
p-table {
|
|
|
- font-size: 15px !important;
|
|
|
-
|
|
|
.ui-table-caption {
|
|
|
- border: none;
|
|
|
+ border: none !important;
|
|
|
+ background-color: #fff !important;
|
|
|
|
|
|
.caption {
|
|
|
height: 40px;
|
|
@@ -24,6 +23,17 @@ p-table {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ th {
|
|
|
+ background-color: #fff !important;
|
|
|
+ outline: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ td, th {
|
|
|
+ font-family: $main-fonts;
|
|
|
+ font-size: 15px !important;
|
|
|
+ color: var(--mainForegroundColor) !important;
|
|
|
+ }
|
|
|
+
|
|
|
td {
|
|
|
padding-left: 15px !important;
|
|
|
|
|
@@ -35,12 +45,16 @@ p-table {
|
|
|
}
|
|
|
|
|
|
tr {
|
|
|
+ outline: 0;
|
|
|
background-color: var(--mainBackgroundColor) !important;
|
|
|
height: 46px;
|
|
|
|
|
|
&.ui-state-highlight {
|
|
|
- background-color:var(--submenuColor) !important;
|
|
|
- color:var(--mainForegroundColor) !important;
|
|
|
+ background-color: var(--submenuColor) !important;
|
|
|
+
|
|
|
+ td, td > a {
|
|
|
+ color: var(--mainForegroundColor) !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -56,6 +70,10 @@ p-table {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ td {
|
|
|
+ border: none !important;
|
|
|
+ }
|
|
|
+
|
|
|
&:first-child td {
|
|
|
border-top: none !important;
|
|
|
}
|
|
@@ -93,14 +111,14 @@ p-table {
|
|
|
}
|
|
|
|
|
|
&.ui-state-highlight {
|
|
|
- background-color:var(--submenuColor) !important;
|
|
|
+ background-color: var(--submenuColor) !important;
|
|
|
|
|
|
.pi {
|
|
|
@extend .glyphicon;
|
|
|
|
|
|
- color: #000;
|
|
|
- font-size: 11px;
|
|
|
- top: 0;
|
|
|
+ color: #000 !important;
|
|
|
+ font-size: 11px !important;
|
|
|
+ top: 0 !important;
|
|
|
|
|
|
&.pi-sort-up {
|
|
|
@extend .glyphicon-triangle-top;
|
|
@@ -177,11 +195,12 @@ p-table {
|
|
|
a {
|
|
|
color: #000 !important;
|
|
|
font-weight: $font-semibold !important;
|
|
|
- margin: 0 10px !important;
|
|
|
+ margin: 0 5px !important;
|
|
|
outline: 0 !important;
|
|
|
border-radius: 3px !important;
|
|
|
padding: 5px 2px !important;
|
|
|
height: auto !important;
|
|
|
+ line-height: initial !important;
|
|
|
|
|
|
&.ui-state-active {
|
|
|
&, &:hover, &:active, &:focus {
|
|
@@ -210,11 +229,23 @@ p-calendar .ui-datepicker {
|
|
|
.ui-datepicker-next {
|
|
|
@extend .glyphicon-chevron-right;
|
|
|
@include glyphicon-light;
|
|
|
+
|
|
|
+ text-align: right;
|
|
|
+
|
|
|
+ .pi.pi-chevron-right {
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.ui-datepicker-prev {
|
|
|
@extend .glyphicon-chevron-left;
|
|
|
@include glyphicon-light;
|
|
|
+
|
|
|
+ text-align: left;
|
|
|
+
|
|
|
+ .pi.pi-chevron-left {
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -232,6 +263,7 @@ p-calendar .ui-datepicker {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
.ui-chkbox-box {
|
|
|
&.ui-state-active {
|
|
|
border-color: var(--mainColor) !important;
|
|
@@ -240,13 +272,15 @@ p-calendar .ui-datepicker {
|
|
|
|
|
|
.ui-chkbox-icon {
|
|
|
position: relative;
|
|
|
+ overflow: visible !important;
|
|
|
|
|
|
&:after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
- left: 5px;
|
|
|
+ top: 1px;
|
|
|
+ left: 7px;
|
|
|
width: 5px;
|
|
|
- height: 12px;
|
|
|
+ height: 13px;
|
|
|
opacity: 0;
|
|
|
transform: rotate(45deg) scale(0);
|
|
|
border-right: 2px solid var(--mainBackgroundColor);
|
|
@@ -258,4 +292,10 @@ p-calendar .ui-datepicker {
|
|
|
transform: rotate(45deg) scale(1);
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+p-inputswitch {
|
|
|
+ .ui-inputswitch-checked .ui-inputswitch-slider {
|
|
|
+ background-color: var(--mainColor) !important;
|
|
|
+ }
|
|
|
+}
|