Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • koma/feature/preference-polling-form
  • main
  • renovate/django-5.x
  • renovate/django-bootstrap5-25.x
  • renovate/django-debug-toolbar-6.x
  • renovate/djangorestframework-3.x
  • renovate/jsonschema-4.x
7 results

Target

Select target project
  • konstantin/akplanning
  • matedealer/akplanning
  • kif/akplanning
  • mirco/akplanning
  • lordofthevoid/akplanning
  • voidptr/akplanning
  • xayomer/akplanning-fork
  • mollux/akplanning
  • neumantm/akplanning
  • mmarx/akplanning
  • nerf/akplanning
  • felix_bonn/akplanning
  • sebastian.uschmann/akplanning
13 results
Select Git revision
  • 520-akowner
  • 520-fix-event-wizard-datepicker
  • 520-fix-scheduling
  • 520-improve-scheduling
  • 520-improve-scheduling-2
  • 520-improve-submission
  • 520-improve-trackmanager
  • 520-improve-wall
  • 520-message-resolved
  • 520-status
  • 520-upgrades
  • add_express_interest_to_ak_overview
  • admin-production-color
  • bugfixes
  • csp
  • featire-ical-export
  • feature-ak-requirement-lists
  • feature-akslide-export-better-filename
  • feature-akslides
  • feature-better-admin
  • feature-better-cv-list
  • feature-colors
  • feature-constraint-checking
  • feature-constraint-checking-wip
  • feature-dashboard-history-button
  • feature-event-status
  • feature-event-wizard
  • feature-export-flag
  • feature-improve-admin
  • feature-improve-filters
  • feature-improved-user-creation-workflow
  • feature-interest-view
  • feature-mails
  • feature-modular-status
  • feature-plan-autoreload
  • feature-present-default
  • feature-register-link
  • feature-remaining-constraint-validation
  • feature-room-import
  • feature-scheduler-improve
  • feature-scheduling-2.0
  • feature-special-attention
  • feature-time-input
  • feature-tracker
  • feature-wiki-wishes
  • feature-wish-slots
  • feature-wizard-buttons
  • features-availabilities
  • fix-ak-times-above-folg
  • fix-api
  • fix-constraint-violation-string
  • fix-cv-checking
  • fix-default-slot-length
  • fix-default-slot-localization
  • fix-doc-minor
  • fix-duration-display
  • fix-event-tz-pytz-update
  • fix-history-interest
  • fix-interest-view
  • fix-js
  • fix-pipeline
  • fix-plan-timezone-now
  • fix-room-add
  • fix-scheduling-drag
  • fix-slot-defaultlength
  • fix-timezone
  • fix-translation-scheduling
  • fix-virtual-room-admin
  • fix-wizard-csp
  • font-locally
  • improve-admin
  • improve-online
  • improve-slides
  • improve-submission-coupling
  • interest_restriction
  • main
  • master
  • meta-debug-toolbar
  • meta-export
  • meta-makemessages
  • meta-performance
  • meta-tests
  • meta-tests-gitlab-test
  • meta-upgrades
  • mollux-master-patch-02906
  • port-availabilites-fullcalendar
  • qs
  • remove-tags
  • renovate/configure
  • renovate/django-4.x
  • renovate/django-5.x
  • renovate/django-bootstrap-datepicker-plus-5.x
  • renovate/django-bootstrap5-23.x
  • renovate/django-bootstrap5-24.x
  • renovate/django-compressor-4.x
  • renovate/django-debug-toolbar-4.x
  • renovate/django-registration-redux-2.x
  • renovate/django-simple-history-3.x
  • renovate/django-split-settings-1.x
  • renovate/django-timezone-field-5.x
100 results
Show changes
Showing
with 18282 additions and 179 deletions
// scss-docs-start color-mode-mixin
@mixin color-mode($mode: light, $root: false) {
@if $color-mode-type == "media-query" {
@if $root == true {
@media (prefers-color-scheme: $mode) {
:root {
@content;
}
}
} @else {
@media (prefers-color-scheme: $mode) {
@content;
}
}
} @else {
[data-bs-theme="#{$mode}"] {
@content;
}
}
}
// scss-docs-end color-mode-mixin
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
$icon, $icon,
$tooltip-color: color-contrast($color), $tooltip-color: color-contrast($color),
$tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity), $tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity),
$focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity) $focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity),
$border-color: $color
) { ) {
.#{$state}-feedback { .#{$state}-feedback {
display: none; display: none;
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
.form-control { .form-control {
@include form-validation-state-selector($state) { @include form-validation-state-selector($state) {
border-color: $color; border-color: $border-color;
@if $enable-validation-icons { @if $enable-validation-icons {
padding-right: $input-height-inner; padding-right: $input-height-inner;
...@@ -67,11 +68,16 @@ ...@@ -67,11 +68,16 @@
} }
&:focus { &:focus {
border-color: $color; border-color: $border-color;
@if $enable-shadows {
@include box-shadow($input-box-shadow, $focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $focus-box-shadow; box-shadow: $focus-box-shadow;
} }
} }
} }
}
// stylelint-disable-next-line selector-no-qualifying-type // stylelint-disable-next-line selector-no-qualifying-type
textarea.form-control { textarea.form-control {
...@@ -85,24 +91,29 @@ ...@@ -85,24 +91,29 @@
.form-select { .form-select {
@include form-validation-state-selector($state) { @include form-validation-state-selector($state) {
border-color: $color; border-color: $border-color;
@if $enable-validation-icons { @if $enable-validation-icons {
&:not([multiple]):not([size]), &:not([multiple]):not([size]),
&:not([multiple])[size="1"] { &:not([multiple])[size="1"] {
--#{$prefix}form-select-bg-icon: #{escape-svg($icon)};
padding-right: $form-select-feedback-icon-padding-end; padding-right: $form-select-feedback-icon-padding-end;
background-image: escape-svg($form-select-indicator), escape-svg($icon);
background-position: $form-select-bg-position, $form-select-feedback-icon-position; background-position: $form-select-bg-position, $form-select-feedback-icon-position;
background-size: $form-select-bg-size, $form-select-feedback-icon-size; background-size: $form-select-bg-size, $form-select-feedback-icon-size;
} }
} }
&:focus { &:focus {
border-color: $color; border-color: $border-color;
@if $enable-shadows {
@include box-shadow($form-select-box-shadow, $focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $focus-box-shadow; box-shadow: $focus-box-shadow;
} }
} }
} }
}
.form-control-color { .form-control-color {
@include form-validation-state-selector($state) { @include form-validation-state-selector($state) {
...@@ -114,7 +125,7 @@ ...@@ -114,7 +125,7 @@
.form-check-input { .form-check-input {
@include form-validation-state-selector($state) { @include form-validation-state-selector($state) {
border-color: $color; border-color: $border-color;
&:checked { &:checked {
background-color: $color; background-color: $color;
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
@mixin row-cols($count) { @mixin row-cols($count) {
> * { > * {
flex: 0 0 auto; flex: 0 0 auto;
width: divide(100%, $count); width: percentage(divide(1, $count));
} }
} }
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
@include media-breakpoint-up($breakpoint, $breakpoints) { @include media-breakpoint-up($breakpoint, $breakpoints) {
// Provide basic `.col-{bp}` classes for equal-width flexbox columns // Provide basic `.col-{bp}` classes for equal-width flexbox columns
.col#{$infix} { .col#{$infix} {
flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4 flex: 1 0 0;
} }
.row-cols#{$infix}-auto > * { .row-cols#{$infix}-auto > * {
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
} }
} }
// Start with `1` because `0` is and invalid value. // Start with `1` because `0` is an invalid value.
// Ends with `$columns - 1` because offsetting by the width of an entire row isn't possible. // Ends with `$columns - 1` because offsetting by the width of an entire row isn't possible.
@for $i from 1 through ($columns - 1) { @for $i from 1 through ($columns - 1) {
.g-start#{$infix}-#{$i} { .g-start#{$infix}-#{$i} {
......
@include deprecate("`list-group-item-variant()`", "v5.3.0", "v6.0.0");
// List Groups // List Groups
// scss-docs-start list-group-mixin // scss-docs-start list-group-mixin
......
// Utility generator // Utility generator
// Used to generate utilities & print utilities // Used to generate utilities & print utilities
@mixin generate-utility($utility, $infix, $is-rfs-media-query: false) { @mixin generate-utility($utility, $infix: "", $is-rfs-media-query: false) {
$values: map-get($utility, values); $values: map-get($utility, values);
// If the values are a list or string, convert it into a map // If the values are a list or string, convert it into a map
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/ // See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
@mixin visually-hidden() { @mixin visually-hidden() {
position: absolute !important;
width: 1px !important; width: 1px !important;
height: 1px !important; height: 1px !important;
padding: 0 !important; padding: 0 !important;
...@@ -15,12 +14,22 @@ ...@@ -15,12 +14,22 @@
clip: rect(0, 0, 0, 0) !important; clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important; white-space: nowrap !important;
border: 0 !important; border: 0 !important;
// Fix for positioned table caption that could become anonymous cells
&:not(caption) {
position: absolute !important;
}
// Fix to prevent overflowing children to become focusable
* {
overflow: hidden !important;
}
} }
// Use to only display content when it's focused, or one of its child elements is focused // Use to only display content when it's focused, or one of its child elements is focused
// (i.e. when focus is within the element/container that the class was applied to) // (i.e. when focus is within the element/container that the class was applied to)
// //
// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 // Useful for "Skip to main content" links; see https://www.w3.org/WAI/WCAG22/Techniques/general/G1.html
@mixin visually-hidden-focusable() { @mixin visually-hidden-focusable() {
&:not(:focus):not(:focus-within) { &:not(:focus):not(:focus-within) {
......
// stylelint-disable property-blacklist, scss/dollar-variable-default // stylelint-disable scss/dimension-no-non-numeric-values
// SCSS RFS mixin // SCSS RFS mixin
// //
...@@ -154,8 +154,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -154,8 +154,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
&.enable-rfs { &.enable-rfs {
@content; @content;
} }
} } @else {
@else {
@content; @content;
} }
} }
...@@ -168,7 +167,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -168,7 +167,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
@content; @content;
} }
@include _rfs-media-query { @include _rfs-media-query() {
.enable-rfs &, .enable-rfs &,
&.enable-rfs { &.enable-rfs {
@content; @content;
...@@ -182,7 +181,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -182,7 +181,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
@content; @content;
} }
} }
@include _rfs-media-query { @include _rfs-media-query() {
@content; @content;
} }
} }
...@@ -193,12 +192,12 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -193,12 +192,12 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
// Convert to list // Convert to list
$values: if(type-of($values) != list, ($values,), $values); $values: if(type-of($values) != list, ($values,), $values);
$val: ''; $val: "";
// Loop over each value and calculate value // Loop over each value and calculate value
@each $value in $values { @each $value in $values {
@if $value == 0 { @if $value == 0 {
$val: $val + ' 0'; $val: $val + " 0";
} }
@else { @else {
// Cache $value unit // Cache $value unit
...@@ -206,15 +205,14 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -206,15 +205,14 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
@if $unit == px { @if $unit == px {
// Convert to rem if needed // Convert to rem if needed
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value); $val: $val + " " + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);
} }
@else if $unit == rem { @else if $unit == rem {
// Convert to px if needed // Convert to px if needed
$val: $val + ' ' + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value); $val: $val + " " + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);
} } @else {
@else {
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
$val: $val + ' ' + $value; $val: $val + " " + $value;
} }
} }
} }
...@@ -228,30 +226,26 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -228,30 +226,26 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
// Convert to list // Convert to list
$values: if(type-of($values) != list, ($values,), $values); $values: if(type-of($values) != list, ($values,), $values);
$val: ''; $val: "";
// Loop over each value and calculate value // Loop over each value and calculate value
@each $value in $values { @each $value in $values {
@if $value == 0 { @if $value == 0 {
$val: $val + ' 0'; $val: $val + " 0";
} } @else {
@else {
// Cache $value unit // Cache $value unit
$unit: if(type-of($value) == "number", unit($value), false); $unit: if(type-of($value) == "number", unit($value), false);
// If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value
@if not $unit or $unit != px and $unit != rem { @if not $unit or $unit != px and $unit != rem {
$val: $val + ' ' + $value; $val: $val + " " + $value;
} } @else {
@else {
// Remove unit from $value for calculations // Remove unit from $value for calculations
$value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value))); $value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));
// Only add the media query if the value is greater than the minimum value // Only add the media query if the value is greater than the minimum value
@if abs($value) <= $rfs-base-value or not $enable-rfs { @if abs($value) <= $rfs-base-value or not $enable-rfs {
$val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px); $val: $val + " " + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);
} }
@else { @else {
// Calculate the minimum value // Calculate the minimum value
...@@ -273,7 +267,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -273,7 +267,7 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
$variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit}; $variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};
// Return the calculated value // Return the calculated value
$val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')'; $val: $val + " calc(" + $min-width + if($value < 0, " - ", " + ") + $variable-width + ")";
} }
} }
} }
...@@ -287,22 +281,22 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height ...@@ -287,22 +281,22 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
@mixin rfs($values, $property: font-size) { @mixin rfs($values, $property: font-size) {
@if $values != null { @if $values != null {
$val: rfs-value($values); $val: rfs-value($values);
$fluidVal: rfs-fluid-value($values); $fluid-val: rfs-fluid-value($values);
// Do not print the media query if responsive & non-responsive values are the same // Do not print the media query if responsive & non-responsive values are the same
@if $val == $fluidVal { @if $val == $fluid-val {
#{$property}: $val; #{$property}: $val;
} }
@else { @else {
@include _rfs-rule { @include _rfs-rule() {
#{$property}: if($rfs-mode == max-media-query, $val, $fluidVal); #{$property}: if($rfs-mode == max-media-query, $val, $fluid-val);
// Include safari iframe resize fix if needed // Include safari iframe resize fix if needed
min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null); min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);
} }
@include _rfs-media-query-rule { @include _rfs-media-query-rule() {
#{$property}: if($rfs-mode == max-media-query, $fluidVal, $val); #{$property}: if($rfs-mode == max-media-query, $fluid-val, $val);
} }
} }
} }
......
// Lumen 5.2.2 // Lumen 5.3.6
// Bootswatch // Bootswatch
// Variables // Variables
:root { $web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" !default;
color-scheme: light; @if $web-font-path {
@import url("#{$web-font-path}");
} }
// Mixins // Mixins
...@@ -25,6 +26,11 @@ ...@@ -25,6 +26,11 @@
border-color: shade-color($value, 10%); border-color: shade-color($value, 10%);
} }
} }
&.bg-body-secondary,
&.bg-body-tertiary {
border-color: rgba(0, 0, 0, .1);
}
} }
// Buttons // Buttons
...@@ -63,7 +69,7 @@ ...@@ -63,7 +69,7 @@
} }
.btn-outline-secondary { .btn-outline-secondary {
color: $black; color: var(--bs-tertiary-color);
} }
[class*="btn-outline"] { [class*="btn-outline"] {
...@@ -94,6 +100,13 @@ ...@@ -94,6 +100,13 @@
color: $gray-600; color: $gray-600;
} }
// Tables
.table-secondary,
.table-light {
--#{$prefix}table-color: #{$body-color};
}
// Forms // Forms
.form-control { .form-control {
...@@ -112,7 +125,7 @@ ...@@ -112,7 +125,7 @@
.nav-tabs { .nav-tabs {
.nav-link { .nav-link {
color: $body-color; color: var(--#{$prefix}body-color);
&, &,
&.disabled, &.disabled,
...@@ -128,6 +141,7 @@ ...@@ -128,6 +141,7 @@
&.active { &.active {
padding-bottom: add(.5rem, 6px); padding-bottom: add(.5rem, 6px);
margin-top: 0; margin-top: 0;
color: var(--#{$prefix}body-color);
border-bottom-color: transparent; border-bottom-color: transparent;
} }
} }
...@@ -145,7 +159,7 @@ ...@@ -145,7 +159,7 @@
} }
.breadcrumb { .breadcrumb {
border-color: shade-color($breadcrumb-bg, 10%); border-color: $pagination-border-color;
@include shadow(); @include shadow();
} }
......
// Lumen 5.2.2 // Lumen 5.3.6
// Bootswatch // Bootswatch
$theme: "lumen" !default; $theme: "lumen" !default;
/* source-sans-pro-300 - latin-ext_latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
src: url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.eot'); /* IE9 Compat Modes */
src: local(''),
url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-regular - latin-ext_latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
src: url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-italic - latin-ext_latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: italic;
font-weight: 400;
src: url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-700 - latin-ext_latin */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
src: url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
src: local(''),
url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../../fonts/source-sans-pro-v21-latin-ext_latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}
// //
// Color system // Color system
// //
...@@ -98,6 +41,11 @@ $dark: $gray-700 !default; ...@@ -98,6 +41,11 @@ $dark: $gray-700 !default;
$min-contrast-ratio: 1.75 !default; $min-contrast-ratio: 1.75 !default;
// Prefix for :root CSS variables
$variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
$prefix: $variable-prefix !default;
// Fonts // Fonts
// stylelint-disable-next-line value-keyword-case // stylelint-disable-next-line value-keyword-case
...@@ -105,6 +53,8 @@ $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFo ...@@ -105,6 +53,8 @@ $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFo
// Tables // Tables
$table-color: initial !default;
$table-bg-scale: 0% !default; $table-bg-scale: 0% !default;
// Buttons // Buttons
...@@ -113,19 +63,17 @@ $btn-font-weight: 700 !default; ...@@ -113,19 +63,17 @@ $btn-font-weight: 700 !default;
// Dropdowns // Dropdowns
$dropdown-link-color: rgba(0, 0, 0, .5) !default; $dropdown-link-color: var(--#{$prefix}tertiary-color) !default;
// Navs // Navs
$nav-tabs-border-color: $gray-200 !default; $nav-link-color: var(--#{$prefix}link-color) !default;
$nav-tabs-link-hover-border-color: $nav-tabs-border-color !default;
$nav-tabs-link-active-color: $gray-900 !default;
$nav-tabs-link-active-border-color: $nav-tabs-border-color !default;
// Pagination // Pagination
$pagination-color: $gray-700 !default; $pagination-color: $gray-700 !default;
$pagination-bg: $gray-200 !default; $pagination-bg: var(--#{$prefix}tertiary-bg) !default;
$pagination-border-color: var(--#{$prefix}border-color) !default;
$pagination-hover-color: $pagination-color !default; $pagination-hover-color: $pagination-color !default;
$pagination-hover-bg: $pagination-bg !default; $pagination-hover-bg: $pagination-bg !default;
$pagination-active-border-color: darken($primary, 5%) !default; $pagination-active-border-color: darken($primary, 5%) !default;
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
{% if not debug %} {% if not debug %}
<link rel="stylesheet" type="text/css" href="{% static "common/css/admin-color.css" %}"/> <link rel="stylesheet" type="text/css" href="{% static "common/css/admin-color.css" %}"/>
{% endif %} {% endif %}
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/prettify.css" %}"/>
<style> <style>
a.btn { a.btn {
color: #FFFFFF; color: #FFFFFF;
...@@ -47,5 +48,6 @@ ...@@ -47,5 +48,6 @@
{% bootstrap_javascript %} {% bootstrap_javascript %}
<script src="{% static 'common/vendor/jquery/jquery-3.6.3.min.js' %}"></script> <script src="{% static 'common/vendor/jquery/jquery-3.6.3.min.js' %}"></script>
{% fontawesome_6_js %} {% fontawesome_6_js %}
<script src="{% static "rest_framework/js/prettify-min.js" %}"></script>
{% endcompress %} {% endcompress %}
{% endblock %} {% endblock %}
...@@ -9,7 +9,10 @@ ...@@ -9,7 +9,10 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
{% block meta %}{% endblock%} <meta name="viewport" content="width=device-width, initial-scale=1">
{% block meta %}
{% endblock meta %}
<title>{% block title %}AK Planning{% endblock %}</title> <title>{% block title %}AK Planning{% endblock %}</title>
...@@ -31,6 +34,7 @@ ...@@ -31,6 +34,7 @@
<script src="{% static 'common/vendor/jquery/jquery-3.6.3.min.js' %}"></script> <script src="{% static 'common/vendor/jquery/jquery-3.6.3.min.js' %}"></script>
<script src="{% static 'common/vendor/select2/select2.min.js' %}"></script> <script src="{% static 'common/vendor/select2/select2.min.js' %}"></script>
{% fontawesome_6_js %} {% fontawesome_6_js %}
<script src="{% static 'common/vendor/vuejs/vue.global.js' %}"></script>
{% endcompress %} {% endcompress %}
<script type='text/javascript'> <script type='text/javascript'>
...@@ -106,6 +110,7 @@ ...@@ -106,6 +110,7 @@
{% block footer_custom %} {% block footer_custom %}
{% endblock %} {% endblock %}
<a href="{% url "admin:index" %}">{% trans "Go to backend" %}</a> &middot; <a href="{% url "admin:index" %}">{% trans "Go to backend" %}</a> &middot;
<a href="{% url "docs_root" %}">{% trans "Docs" %}</a> &middot;
{% footer_info as FI %} {% footer_info as FI %}
{% if FI.impress_text %} {% if FI.impress_text %}
{{ FI.impress_text }} &middot; {{ FI.impress_text }} &middot;
......