infotorg-api-jekyll-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3 -0
  3. data/_config.yml +37 -0
  4. data/_includes/footer.html +11 -0
  5. data/_includes/head-app-css.html +2 -0
  6. data/_includes/head-fonts.html +2 -0
  7. data/_includes/head-google-analytics.html +13 -0
  8. data/_includes/navigation.html +58 -0
  9. data/_includes/services.html +75 -0
  10. data/_includes/title.html +4 -0
  11. data/_layouts/default.html +38 -0
  12. data/_layouts/services.html +5 -0
  13. data/_layouts/swagger-ui.html +67 -0
  14. data/_sass/_bootstrap.scss +51 -0
  15. data/_sass/_bootstrap_variables.scss +124 -0
  16. data/_sass/_typography.scss +15 -0
  17. data/_sass/_variables.scss +75 -0
  18. data/_sass/bootstrap/_accordion.scss +125 -0
  19. data/_sass/bootstrap/_alert.scss +57 -0
  20. data/_sass/bootstrap/_badge.scss +29 -0
  21. data/_sass/bootstrap/_breadcrumb.scss +28 -0
  22. data/_sass/bootstrap/_button-group.scss +139 -0
  23. data/_sass/bootstrap/_buttons.scss +109 -0
  24. data/_sass/bootstrap/_card.scss +215 -0
  25. data/_sass/bootstrap/_carousel.scss +223 -0
  26. data/_sass/bootstrap/_close.scss +40 -0
  27. data/_sass/bootstrap/_containers.scss +41 -0
  28. data/_sass/bootstrap/_dropdown.scss +235 -0
  29. data/_sass/bootstrap/_forms.scss +9 -0
  30. data/_sass/bootstrap/_functions.scss +205 -0
  31. data/_sass/bootstrap/_grid.scss +22 -0
  32. data/_sass/bootstrap/_helpers.scss +7 -0
  33. data/_sass/bootstrap/_images.scss +42 -0
  34. data/_sass/bootstrap/_list-group.scss +163 -0
  35. data/_sass/bootstrap/_mixins.scss +41 -0
  36. data/_sass/bootstrap/_modal.scss +235 -0
  37. data/_sass/bootstrap/_nav.scss +127 -0
  38. data/_sass/bootstrap/_navbar.scss +293 -0
  39. data/_sass/bootstrap/_pagination.scss +64 -0
  40. data/_sass/bootstrap/_popover.scss +173 -0
  41. data/_sass/bootstrap/_progress.scss +45 -0
  42. data/_sass/bootstrap/_reboot.scss +635 -0
  43. data/_sass/bootstrap/_root.scss +16 -0
  44. data/_sass/bootstrap/_spinners.scss +65 -0
  45. data/_sass/bootstrap/_tables.scss +150 -0
  46. data/_sass/bootstrap/_toasts.scss +50 -0
  47. data/_sass/bootstrap/_tooltip.scss +115 -0
  48. data/_sass/bootstrap/_transitions.scss +19 -0
  49. data/_sass/bootstrap/_type.scss +104 -0
  50. data/_sass/bootstrap/_utilities.scss +560 -0
  51. data/_sass/bootstrap/_variables.scss +1333 -0
  52. data/_sass/bootstrap/bootstrap-grid.scss +65 -0
  53. data/_sass/bootstrap/bootstrap-reboot.scss +15 -0
  54. data/_sass/bootstrap/bootstrap-utilities.scss +18 -0
  55. data/_sass/bootstrap/forms/_floating-labels.scss +61 -0
  56. data/_sass/bootstrap/forms/_form-check.scss +151 -0
  57. data/_sass/bootstrap/forms/_form-control.scss +223 -0
  58. data/_sass/bootstrap/forms/_form-range.scss +91 -0
  59. data/_sass/bootstrap/forms/_form-select.scss +68 -0
  60. data/_sass/bootstrap/forms/_form-text.scss +11 -0
  61. data/_sass/bootstrap/forms/_input-group.scss +121 -0
  62. data/_sass/bootstrap/forms/_labels.scss +36 -0
  63. data/_sass/bootstrap/forms/_validation.scss +12 -0
  64. data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
  65. data/_sass/bootstrap/helpers/_colored-links.scss +12 -0
  66. data/_sass/bootstrap/helpers/_position.scss +30 -0
  67. data/_sass/bootstrap/helpers/_ratio.scss +26 -0
  68. data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
  69. data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
  70. data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
  71. data/_sass/bootstrap/mixins/_alert.scss +9 -0
  72. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  73. data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
  74. data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
  75. data/_sass/bootstrap/mixins/_buttons.scss +128 -0
  76. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  77. data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
  78. data/_sass/bootstrap/mixins/_container.scss +9 -0
  79. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  80. data/_sass/bootstrap/mixins/_forms.scss +117 -0
  81. data/_sass/bootstrap/mixins/_gradients.scss +43 -0
  82. data/_sass/bootstrap/mixins/_grid.scss +120 -0
  83. data/_sass/bootstrap/mixins/_image.scss +16 -0
  84. data/_sass/bootstrap/mixins/_list-group.scss +22 -0
  85. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  86. data/_sass/bootstrap/mixins/_pagination.scss +29 -0
  87. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  88. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  89. data/_sass/bootstrap/mixins/_table-variants.scss +21 -0
  90. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  91. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  92. data/_sass/bootstrap/mixins/_utilities.scss +68 -0
  93. data/_sass/bootstrap/mixins/_visually-hidden.scss +28 -0
  94. data/_sass/bootstrap/utilities/_api.scss +47 -0
  95. data/_sass/bootstrap/vendor/_rfs.scss +312 -0
  96. data/assets/bootstrap.min.js +7 -0
  97. data/assets/bootstrap.min.js.map +1 -0
  98. data/assets/css/main.scss +214 -0
  99. data/assets/css/print.scss +8 -0
  100. data/assets/css/swagger-ui/3.x/theme-feeling-blue.css +1672 -0
  101. data/assets/css/swagger-ui/3.x/theme-flattop.css +1672 -0
  102. data/assets/css/swagger-ui/3.x/theme-material.css +1719 -0
  103. data/assets/css/swagger-ui/3.x/theme-monokai.css +1792 -0
  104. data/assets/css/swagger-ui/3.x/theme-muted.css +1673 -0
  105. data/assets/css/swagger-ui/3.x/theme-newspaper.css +1671 -0
  106. data/assets/css/swagger-ui/3.x/theme-outline.css +1652 -0
  107. data/assets/images/cube.svg +11 -0
  108. data/assets/images/icons/collapse.svg +14 -0
  109. data/assets/images/icons/info.svg +14 -0
  110. data/assets/images/icons/services/eiendom.svg +9 -0
  111. data/assets/images/icons/services/foretak.svg +10 -0
  112. data/assets/images/icons/services/kreditt.svg +11 -0
  113. data/assets/images/icons/services/likningopplysning.svg +11 -0
  114. data/assets/images/icons/services/person.svg +11 -0
  115. data/assets/images/icons/services/small-boats.svg +9 -0
  116. data/assets/images/icons/services/vehicle.svg +9 -0
  117. data/assets/images/infotorg-developer.png +0 -0
  118. data/assets/images/infotorg-developer.svg +23 -0
  119. data/assets/images/infotorg-developer@2x.png +0 -0
  120. data/assets/images/infotorg-developer@3x.png +0 -0
  121. data/assets/images/it-gears.svg +14 -0
  122. data/assets/images/logo.svg +12 -0
  123. data/assets/images/tieto-evry-logo.svg +29 -0
  124. data/assets/openapi/eiendom.json +6817 -0
  125. metadata +180 -0
@@ -0,0 +1,10 @@
1
+ // Deprecate mixin
2
+ //
3
+ // This mixin can be used to deprecate mixins or functions.
4
+ // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to
5
+ // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap)
6
+ @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) {
7
+ @if ($enable-deprecation-messages != false and $ignore-warning != true) {
8
+ @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}.";
9
+ }
10
+ }
@@ -0,0 +1,117 @@
1
+ // This mixin uses an `if()` technique to be compatible with Dart Sass
2
+ // See https://github.com/sass/sass/issues/1873#issuecomment-152293725 for more details
3
+ @mixin form-validation-state-selector($state) {
4
+ @if ($state == "valid" or $state == "invalid") {
5
+ .was-validated #{if(&, "&", "")}:#{$state},
6
+ #{if(&, "&", "")}.is-#{$state} {
7
+ @content;
8
+ }
9
+ } @else {
10
+ #{if(&, "&", "")}.is-#{$state} {
11
+ @content;
12
+ }
13
+ }
14
+ }
15
+
16
+ @mixin form-validation-state($state, $color, $icon) {
17
+ .#{$state}-feedback {
18
+ display: none;
19
+ width: 100%;
20
+ margin-top: $form-feedback-margin-top;
21
+ @include font-size($form-feedback-font-size);
22
+ font-style: $form-feedback-font-style;
23
+ color: $color;
24
+ }
25
+
26
+ .#{$state}-tooltip {
27
+ position: absolute;
28
+ top: 100%;
29
+ z-index: 5;
30
+ display: none;
31
+ max-width: 100%; // Contain to parent when possible
32
+ padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;
33
+ margin-top: .1rem;
34
+ @include font-size($form-feedback-tooltip-font-size);
35
+ line-height: $form-feedback-tooltip-line-height;
36
+ color: color-contrast($color);
37
+ background-color: rgba($color, $form-feedback-tooltip-opacity);
38
+ @include border-radius($form-feedback-tooltip-border-radius);
39
+ }
40
+
41
+ @include form-validation-state-selector($state) {
42
+ ~ .#{$state}-feedback,
43
+ ~ .#{$state}-tooltip {
44
+ display: block;
45
+ }
46
+ }
47
+
48
+ .form-control {
49
+ @include form-validation-state-selector($state) {
50
+ border-color: $color;
51
+
52
+ @if $enable-validation-icons {
53
+ padding-right: $input-height-inner;
54
+ background-image: escape-svg($icon);
55
+ background-repeat: no-repeat;
56
+ background-position: right $input-height-inner-quarter center;
57
+ background-size: $input-height-inner-half $input-height-inner-half;
58
+ }
59
+
60
+ &:focus {
61
+ border-color: $color;
62
+ box-shadow: 0 0 0 $input-focus-width rgba($color, $input-btn-focus-color-opacity);
63
+ }
64
+ }
65
+ }
66
+
67
+ // stylelint-disable-next-line selector-no-qualifying-type
68
+ textarea.form-control {
69
+ @include form-validation-state-selector($state) {
70
+ @if $enable-validation-icons {
71
+ padding-right: $input-height-inner;
72
+ background-position: top $input-height-inner-quarter right $input-height-inner-quarter;
73
+ }
74
+ }
75
+ }
76
+
77
+ .form-select {
78
+ @include form-validation-state-selector($state) {
79
+ border-color: $color;
80
+
81
+ @if $enable-validation-icons {
82
+ padding-right: $form-select-feedback-icon-padding-end;
83
+ background-image: escape-svg($form-select-indicator), escape-svg($icon);
84
+ background-position: $form-select-bg-position, $form-select-feedback-icon-position;
85
+ background-size: $form-select-bg-size, $form-select-feedback-icon-size;
86
+ }
87
+
88
+ &:focus {
89
+ border-color: $color;
90
+ box-shadow: 0 0 0 $input-focus-width rgba($color, .25);
91
+ }
92
+ }
93
+ }
94
+
95
+ .form-check-input {
96
+ @include form-validation-state-selector($state) {
97
+ border-color: $color;
98
+
99
+ &:checked {
100
+ background-color: $color;
101
+ }
102
+
103
+ &:focus {
104
+ box-shadow: 0 0 0 $input-focus-width rgba($color, .25);
105
+ }
106
+
107
+ ~ .form-check-label {
108
+ color: $color;
109
+ }
110
+ }
111
+ }
112
+ .form-check-inline .form-check-input {
113
+ ~ .#{$state}-feedback {
114
+ margin-left: .5em;
115
+ }
116
+ }
117
+ }
@@ -0,0 +1,43 @@
1
+ // Gradients
2
+
3
+ @mixin gradient-bg($color: null) {
4
+ background-color: $color;
5
+
6
+ @if $enable-gradients {
7
+ background-image: var(--#{$variable-prefix}gradient);
8
+ }
9
+ }
10
+
11
+ // Horizontal gradient, from left to right
12
+ //
13
+ // Creates two color stops, start and end, by specifying a color and position for each color stop.
14
+ @mixin gradient-x($start-color: $gray-700, $end-color: $gray-800, $start-percent: 0%, $end-percent: 100%) {
15
+ background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent);
16
+ }
17
+
18
+ // Vertical gradient, from top to bottom
19
+ //
20
+ // Creates two color stops, start and end, by specifying a color and position for each color stop.
21
+ @mixin gradient-y($start-color: $gray-700, $end-color: $gray-800, $start-percent: null, $end-percent: null) {
22
+ background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent);
23
+ }
24
+
25
+ @mixin gradient-directional($start-color: $gray-700, $end-color: $gray-800, $deg: 45deg) {
26
+ background-image: linear-gradient($deg, $start-color, $end-color);
27
+ }
28
+
29
+ @mixin gradient-x-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
30
+ background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
31
+ }
32
+
33
+ @mixin gradient-y-three-colors($start-color: $blue, $mid-color: $purple, $color-stop: 50%, $end-color: $red) {
34
+ background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
35
+ }
36
+
37
+ @mixin gradient-radial($inner-color: $gray-700, $outer-color: $gray-800) {
38
+ background-image: radial-gradient(circle, $inner-color, $outer-color);
39
+ }
40
+
41
+ @mixin gradient-striped($color: rgba($white, .15), $angle: 45deg) {
42
+ background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
43
+ }
@@ -0,0 +1,120 @@
1
+ /// Grid system
2
+ //
3
+ // Generate semantic grid columns with these mixins.
4
+
5
+ @mixin make-row($gutter: $grid-gutter-width) {
6
+ --#{$variable-prefix}gutter-x: #{$gutter};
7
+ --#{$variable-prefix}gutter-y: 0;
8
+ display: flex;
9
+ flex-wrap: wrap;
10
+ margin-top: calc(var(--#{$variable-prefix}gutter-y) * -1); // stylelint-disable-line function-disallowed-list
11
+ margin-right: calc(var(--#{$variable-prefix}gutter-x) / -2); // stylelint-disable-line function-disallowed-list
12
+ margin-left: calc(var(--#{$variable-prefix}gutter-x) / -2); // stylelint-disable-line function-disallowed-list
13
+ }
14
+
15
+ @mixin make-col-ready($gutter: $grid-gutter-width) {
16
+ // Add box sizing if only the grid is loaded
17
+ box-sizing: if(variable-exists(include-column-box-sizing) and $include-column-box-sizing, border-box, null);
18
+ // Prevent columns from becoming too narrow when at smaller grid tiers by
19
+ // always setting `width: 100%;`. This works because we set the width
20
+ // later on to override this initial width.
21
+ flex-shrink: 0;
22
+ width: 100%;
23
+ max-width: 100%; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid
24
+ padding-right: calc(var(--#{$variable-prefix}gutter-x) / 2); // stylelint-disable-line function-disallowed-list
25
+ padding-left: calc(var(--#{$variable-prefix}gutter-x) / 2); // stylelint-disable-line function-disallowed-list
26
+ margin-top: var(--#{$variable-prefix}gutter-y);
27
+ }
28
+
29
+ @mixin make-col($size, $columns: $grid-columns) {
30
+ flex: 0 0 auto;
31
+ width: percentage($size / $columns);
32
+ }
33
+
34
+ @mixin make-col-auto() {
35
+ flex: 0 0 auto;
36
+ width: auto;
37
+ }
38
+
39
+ @mixin make-col-offset($size, $columns: $grid-columns) {
40
+ $num: $size / $columns;
41
+ margin-left: if($num == 0, 0, percentage($num));
42
+ }
43
+
44
+ // Row columns
45
+ //
46
+ // Specify on a parent element(e.g., .row) to force immediate children into NN
47
+ // numberof columns. Supports wrapping to new lines, but does not do a Masonry
48
+ // style grid.
49
+ @mixin row-cols($count) {
50
+ > * {
51
+ flex: 0 0 auto;
52
+ width: 100% / $count;
53
+ }
54
+ }
55
+
56
+ // Framework grid generation
57
+ //
58
+ // Used only by Bootstrap to generate the correct number of grid classes given
59
+ // any value of `$grid-columns`.
60
+
61
+ @mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
62
+ @each $breakpoint in map-keys($breakpoints) {
63
+ $infix: breakpoint-infix($breakpoint, $breakpoints);
64
+
65
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
66
+ // Provide basic `.col-{bp}` classes for equal-width flexbox columns
67
+ .col#{$infix} {
68
+ flex: 1 0 0%; // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
69
+ }
70
+
71
+ .row-cols#{$infix}-auto > * {
72
+ @include make-col-auto();
73
+ }
74
+
75
+ @if $grid-row-columns > 0 {
76
+ @for $i from 1 through $grid-row-columns {
77
+ .row-cols#{$infix}-#{$i} {
78
+ @include row-cols($i);
79
+ }
80
+ }
81
+ }
82
+
83
+ .col#{$infix}-auto {
84
+ @include make-col-auto();
85
+ }
86
+
87
+ @if $columns > 0 {
88
+ @for $i from 1 through $columns {
89
+ .col#{$infix}-#{$i} {
90
+ @include make-col($i, $columns);
91
+ }
92
+ }
93
+
94
+ // `$columns - 1` because offsetting by the width of an entire row isn't possible
95
+ @for $i from 0 through ($columns - 1) {
96
+ @if not ($infix == "" and $i == 0) { // Avoid emitting useless .offset-0
97
+ .offset#{$infix}-#{$i} {
98
+ @include make-col-offset($i, $columns);
99
+ }
100
+ }
101
+ }
102
+ }
103
+
104
+ // Gutters
105
+ //
106
+ // Make use of `.g-*`, `.gx-*` or `.gy-*` utilities to change spacing between the columns.
107
+ @each $key, $value in $gutters {
108
+ .g#{$infix}-#{$key},
109
+ .gx#{$infix}-#{$key} {
110
+ --#{$variable-prefix}gutter-x: #{$value};
111
+ }
112
+
113
+ .g#{$infix}-#{$key},
114
+ .gy#{$infix}-#{$key} {
115
+ --#{$variable-prefix}gutter-y: #{$value};
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,16 @@
1
+ // Image Mixins
2
+ // - Responsive image
3
+ // - Retina image
4
+
5
+
6
+ // Responsive image
7
+ //
8
+ // Keep images from scaling beyond the width of their parents.
9
+
10
+ @mixin img-fluid {
11
+ // Part 1: Set a maximum relative to the parent
12
+ max-width: 100%;
13
+ // Part 2: Override the height to auto, otherwise images will be stretched
14
+ // when setting a width and height attribute on the img element.
15
+ height: auto;
16
+ }
@@ -0,0 +1,22 @@
1
+ // List Groups
2
+
3
+ @mixin list-group-item-variant($state, $background, $color) {
4
+ .list-group-item-#{$state} {
5
+ color: $color;
6
+ background-color: $background;
7
+
8
+ &.list-group-item-action {
9
+ &:hover,
10
+ &:focus {
11
+ color: $color;
12
+ background-color: shade-color($background, 10%);
13
+ }
14
+
15
+ &.active {
16
+ color: $white;
17
+ background-color: $color;
18
+ border-color: $color;
19
+ }
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,7 @@
1
+ // Lists
2
+
3
+ // Unstyled keeps list items block level, just removes default browser padding and list-style
4
+ @mixin list-unstyled {
5
+ padding-left: 0;
6
+ list-style: none;
7
+ }
@@ -0,0 +1,29 @@
1
+ // Pagination
2
+
3
+ @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) {
4
+ .page-link {
5
+ padding: $padding-y $padding-x;
6
+ @include font-size($font-size);
7
+ }
8
+
9
+ .page-item {
10
+ @if $pagination-margin-start == (-$pagination-border-width) {
11
+ &:first-child {
12
+ .page-link {
13
+ @include border-start-radius($border-radius);
14
+ }
15
+ }
16
+
17
+ &:last-child {
18
+ .page-link {
19
+ @include border-end-radius($border-radius);
20
+ }
21
+ }
22
+ } @else {
23
+ //Add border-radius to all pageLinks in case they have left margin
24
+ .page-link {
25
+ @include border-radius($border-radius);
26
+ }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,17 @@
1
+ @mixin reset-text {
2
+ font-family: $font-family-base;
3
+ // We deliberately do NOT reset font-size or overflow-wrap / word-wrap.
4
+ font-style: normal;
5
+ font-weight: $font-weight-normal;
6
+ line-height: $line-height-base;
7
+ text-align: left; // Fallback for where `start` is not supported
8
+ text-align: start;
9
+ text-decoration: none;
10
+ text-shadow: none;
11
+ text-transform: none;
12
+ letter-spacing: normal;
13
+ word-break: normal;
14
+ word-spacing: normal;
15
+ white-space: normal;
16
+ line-break: auto;
17
+ }
@@ -0,0 +1,6 @@
1
+ // Resize anything
2
+
3
+ @mixin resizable($direction) {
4
+ overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
5
+ resize: $direction; // Options: horizontal, vertical, both
6
+ }
@@ -0,0 +1,21 @@
1
+ // scss-docs-start table-variant
2
+ @mixin table-variant($state, $background) {
3
+ .table-#{$state} {
4
+ $color: color-contrast(opaque($body-bg, $background));
5
+ $hover-bg: mix($color, $background, percentage($table-hover-bg-factor));
6
+ $striped-bg: mix($color, $background, percentage($table-striped-bg-factor));
7
+ $active-bg: mix($color, $background, percentage($table-active-bg-factor));
8
+
9
+ --#{$variable-prefix}table-bg: #{$background};
10
+ --#{$variable-prefix}table-striped-bg: #{$striped-bg};
11
+ --#{$variable-prefix}table-striped-color: #{color-contrast($striped-bg)};
12
+ --#{$variable-prefix}table-active-bg: #{$active-bg};
13
+ --#{$variable-prefix}table-active-color: #{color-contrast($active-bg)};
14
+ --#{$variable-prefix}table-hover-bg: #{$hover-bg};
15
+ --#{$variable-prefix}table-hover-color: #{color-contrast($hover-bg)};
16
+
17
+ color: $color;
18
+ border-color: mix($color, $background, percentage($table-border-factor));
19
+ }
20
+ }
21
+ // scss-docs-end table-variant
@@ -0,0 +1,8 @@
1
+ // Text truncate
2
+ // Requires inline-block or block for proper styling
3
+
4
+ @mixin text-truncate() {
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ white-space: nowrap;
8
+ }
@@ -0,0 +1,26 @@
1
+ // stylelint-disable property-disallowed-list
2
+ @mixin transition($transition...) {
3
+ @if length($transition) == 0 {
4
+ $transition: $transition-base;
5
+ }
6
+
7
+ @if length($transition) > 1 {
8
+ @each $value in $transition {
9
+ @if $value == null or $value == none {
10
+ @warn "The keyword 'none' or 'null' must be used as a single argument.";
11
+ }
12
+ }
13
+ }
14
+
15
+ @if $enable-transitions {
16
+ @if nth($transition, 1) != null {
17
+ transition: $transition;
18
+ }
19
+
20
+ @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none {
21
+ @media (prefers-reduced-motion: reduce) {
22
+ transition: none;
23
+ }
24
+ }
25
+ }
26
+ }