--mainForegroundColor: #{$fg-color};
--secondaryColor: #{$secondary-color};
+ --greyForegroundColor: #{$grey-foreground-color};
+
--menuBackgroundColor: #{$menu-background};
--menuForegroundColor: #{$menu-color};
--submenuColor: #{$sub-menu-color};
+ --inputForegroundColor: #{$input-foreground-color};
--inputBackgroundColor: #{$input-background-color};
--inputPlaceholderColor: #{$input-placeholder-color};
+ --textareaForegroundColor: #{$textarea-foreground-color};
--textareaBackgroundColor: #{$textarea-background-color};
+ --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
--actionButtonColor: #{$grey-foreground-color};
--supportButtonBackgroundColor: #{transparent};
- --supportButtonColor: #{var(--actionButtonColor)};
+ --supportButtonColor: #{pvar(--actionButtonColor)};
--supportButtonHeartColor: #{$support-button-heart};
+ --activatedActionButtonColor: #{$activated-action-button-color};
+
font-family: $main-fonts;
font-weight: $font-regular;
- color: var(--mainForegroundColor);
- background-color: var(--mainBackgroundColor);
+ color: pvar(--mainForegroundColor);
+ background-color: pvar(--mainBackgroundColor);
font-size: 14px;
}
::selection {
- color: var(--mainBackgroundColor);
- background-color: var(--mainHoverColor);
+ color: pvar(--mainBackgroundColor);
+ background-color: pvar(--mainHoverColor);
}
#incompatible-browser {
input.readonly {
/* Force blank on readonly inputs */
- background-color: var(--inputBackgroundColor) !important;
+ background-color: pvar(--inputBackgroundColor) !important;
}
input, textarea {
outline: none;
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
+}
+
+button {
+ background: unset;
+ @include disable-outline;
}
label {
}
.sub-menu {
- background-color: var(--submenuColor);
+ background-color: pvar(--submenuColor);
width: 100%;
height: 81px;
margin-bottom: $sub-menu-margin-bottom;
}
.title-page {
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
font-size: 16px;
display: inline-block;
margin-right: 55px;
&.active {
font-weight: $font-bold;
- border-bottom: 2px solid var(--mainColor);
+ border-bottom: 2px solid pvar(--mainColor);
}
&.title-page-single {
}
&:hover, &:active, &:focus {
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
}
@media screen and (max-width: $mobile-view) {
@include disable-default-a-behaviour;
font-size: 16px;
- color: var(--mainForegroundColor);
+ color: pvar(--mainForegroundColor);
padding: 5px 15px;
border-radius: 0.25rem;
.no-results {
height: 40vh;
+ max-height: 500px;
+
display: flex;
align-items: center;
justify-content: center;
padding-left: 15px;
padding-right: 15px;
margin-bottom: $sub-menu-margin-bottom-small-view;
+ overflow-x: auto;
}
.admin-sub-header {
.peertube-select-container {
width: 100% !important;
}
+
+ .caption input[type=text] {
+ width: unset !important;
+ flex-grow: 1;
+ }
}
}
}
// overflow-databale responsive rules
-@media screen and (max-width: #{breakpoint(xxl)}) {
+@media screen and (min-width: #{breakpoint(lg)}) {
.main-col {
&.expanded {
- @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2);
+ @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
}
&:not(.expanded) {
- @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2);
+ @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
}
}
}
}
&:not(.expanded) {
- @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2);
+ @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
}
}
}
.main-col {
&:not(.expanded) {
.admin-sub-header {
- @include admin-sub-header-responsive($menu-width/2 + $expanded-horizontal-margins/3);
+ @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
+ }
+
+ .sub-menu {
+ overflow-x: auto;
+ width: calc(100vw - #{$menu-width});
}
}
}