$icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
+@use 'sass:math';
+
@use '_variables' as *;
@use '_mixins' as *;
@use '_fonts';
-@use './bootstrap';
-@use './primeng-custom';
-@use './ng-select';
-
@use './classes';
@use './custom-markup';
+@use './ng-select';
+
+// Needs an import because we extends glyphicon icons in primeng
+@import './bootstrap';
+@import './primeng-custom';
+
[hidden] {
display: none !important;
}
font-weight: $font-semibold;
}
-input.readonly {
+input[readonly] {
/* Force blank on readonly inputs */
background-color: pvar(--inputBackgroundColor) !important;
}
vertical-align: middle;
}
-.form-error {
+.form-error,
+.form-warning {
display: block;
- color: $red;
margin-top: 5px;
}
+.form-error {
+ color: $red;
+}
+
.input-error,
my-input-toggle-hidden ::ng-deep input {
border-color: $red !important;
align-items: center;
margin-bottom: 30px;
- .form-sub-title {
- flex-grow: 1;
- }
-
.admin-sub-nav a {
@include disable-default-a-behaviour;
}
}
-.form-sub-title {
- font-size: 20px;
- font-weight: bold;
-}
-
// In tables, don't have a hover different background
table {
.action-button-edit,
@media screen and (max-width: #{breakpoint(xxl)}) {
.main-col {
- --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2};
+ --horizontalMarginContent: #{math.div($not-expanded-horizontal-margins, 2)};
--videosHorizontalMarginContent: 30px;
&.expanded {
- --horizontalMarginContent: #{$expanded-horizontal-margins / 2};
+ --horizontalMarginContent: #{math.div($expanded-horizontal-margins, 2)};
}
}
}
/* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
.main-col,
.main-col.expanded {
- --horizontalMarginContent: #{$expanded-horizontal-margins / 3};
+ --horizontalMarginContent: #{math.div($expanded-horizontal-margins, 3)};
.sub-menu {
padding: 0 50px;
.admin-sub-header {
flex-direction: column;
- .form-sub-title {
- @include margin-right(0 !important);
-
- margin-bottom: 10px;
- text-align: center;
- }
-
.admin-sub-nav {
display: block;
overflow-x: auto;