$icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
+@use 'sass:math';
+
@use '_variables' as *;
@use '_mixins' as *;
--mainColor: #{$main-color};
--mainColorLighter: #{$main-color-lighter};
--mainColorLightest: #{$main-color-lightest};
+
--mainHoverColor: #{$main-hover-color};
+ --mainBackgroundHoverColor: #{$main-background-hover-color};
+
--mainBackgroundColor: #{$bg-color};
--mainForegroundColor: #{$fg-color};
+
--secondaryColor: #{$secondary-color};
--greyForegroundColor: #{$grey-foreground-color};
--greyBackgroundColor: #{$grey-background-color};
+ --greySecondaryBackgroundColor: #{$grey-background-hover-color};
--menuBackgroundColor: #{$menu-background};
--menuForegroundColor: #{$menu-color};
--markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
--actionButtonColor: #{$grey-foreground-color};
+
--supportButtonBackgroundColor: #{transparent};
--supportButtonColor: #{pvar(--actionButtonColor)};
--supportButtonHeartColor: #{$support-button-heart};
font-weight: $font-semibold;
}
-input.readonly {
+input[readonly] {
/* Force blank on readonly inputs */
background-color: pvar(--inputBackgroundColor) !important;
}
display: flex;
align-items: center;
margin-bottom: 30px;
-
- .form-sub-title {
- flex-grow: 1;
- }
-
- .admin-sub-nav a {
- @include disable-default-a-behaviour;
-
- font-size: 16px;
- color: pvar(--mainForegroundColor);
- padding: 5px 15px;
- border-radius: 0.25rem;
- font-weight: $font-semibold;
- opacity: 0.6;
-
- &.active {
- background-color: pvar(--submenuBackgroundColor);
- }
-
- &.active,
- &:hover,
- &:active,
- &:focus {
- opacity: 1;
- }
- }
-}
-
-.form-sub-title {
- font-size: 20px;
- font-weight: bold;
}
// In tables, don't have a hover different background
}
.form-group-description {
- @extend .text-muted;
+ @extend .muted !optional;
font-size: 90%;
margin-top: 10px;
@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;
- white-space: nowrap;
- height: 50px;
- padding: 10px 0;
- width: 100%;
-
- a {
- @include margin-left(5px);
- }
- }
}
my-markdown-textarea {