Debian Codegraph @

inst/www/shared/shiny_scss/shiny.bootstrap5.scss

raw
1 $body-emphasis-color: $body-color !default; // introduced in BS 5.3
2
3 $shiny-emphasis-color-rgb: var(--#{$prefix}emphasis-color-rgb, 0,0,0) !default;
4
5 $shiny-disconnected-bg: RGBA($shiny-emphasis-color-rgb, 0.42) !default;
6 $shiny-table-na: RGBA($shiny-emphasis-color-rgb, 0.46) !default;
7 $shiny-error-color: var(--#{$prefix}danger) !default;
8 $shiny-error-validated-color: RGBA($shiny-emphasis-color-rgb, 0.5) !default;
9 $shiny-progress-text-bg-color: RGBA(var(--#{$prefix}primary-rgb, #{to-rgb($primary)}), 0.05) !default;
10
11 $shiny-input-panel-bg: RGBA($shiny-emphasis-color-rgb, 0.04) !default;
12 $shiny-input-panel-border: $border-width solid var(--#{$prefix}border-color, #{$border-color}) !default;
13 $shiny-input-panel-border-radius: $border-radius !default;
14 $shiny-text-output-border-radius: $border-radius !default;
15
16 $notification-color: var(--#{$prefix}emphasis-color, #{$body-emphasis-color}) !default;
17 $notification-bg-color: var(--#{$prefix}body-bg, #{$body-bg}) !default;
18 $notification-border: $border-width solid var(--#{$prefix}border-color, #{$border-color}) !default;
19 $notification-border-radius: $border-radius !default;
20
21 $notification-message-color: var(--#{$prefix}info-text-emphasis) !default;
22 $notification-message-bg: var(--#{$prefix}info-bg-subtle) !default;
23 $notification-message-border: $border-width solid var(--#{$prefix}info-border-subtle) !default;
24
25 $notification-warning-color: var(--#{$prefix}warning-text-emphasis) !default;
26 $notification-warning-bg: var(--#{$prefix}warning-bg-subtle) !default;
27 $notification-warning-border: $border-width solid var(--#{$prefix}warning-border-subtle) !default;
28
29 $notification-error-color: var(--#{$prefix}danger-text-emphasis) !default;
30 $notification-error-bg: var(--#{$prefix}danger-bg-subtle) !default;
31 $notification-error-border: $border-width solid var(--#{$prefix}danger-border-subtle) !default;
32
33 $notification-close-color: RGBA($shiny-emphasis-color-rgb, 0.8) !default;
34 $notification-close-hover-color: RGB($shiny-emphasis-color-rgb) !default;
35 $notification-content-action-color: RGB(var(--#{$prefix}primary-rgb, #{to-rgb($primary)})) !default;
36
37 $datepicker-disabled-color: $dropdown-link-disabled-color !default;
38
39 $shiny-file-active-shadow: $input-focus-box-shadow !default;
40
41
42 .shiny-panel-conditional,
43 div:where(.shiny-html-output) {
44 /* uiOutput()/ conditionalPanel() are "pass-through" containers when they have children. */
45 &:has(> *) {
46 display: contents;
47 /* Pass along styles that no longer impact the pass-through container */
48 &.recalculating > * {
49 opacity: var(--_shiny-fade-opacity);
50 }
51 }
52 }