-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3914 from rstudio/chore/shiny-sass-bs-3-4-5
- Loading branch information
Showing
6 changed files
with
107 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
$bg: $body-bg !default; | ||
$fg: $text-color !default; // BS3 | ||
$theme-colors: ("primary": $brand-primary, "info": $brand-info, "warning": $brand-warning, "danger": $brand-danger) !default; | ||
|
||
// No $border-width, $border-color, or $border-radius in BS3 | ||
$border-width: 1px !default; | ||
$border-color: mix($bg, $fg, 70%) !default; | ||
$border-radius: $border-radius-base !default; | ||
|
||
$shiny-disconnected-bg: mix($bg, $fg, 58%) !default; | ||
$shiny-table-na: mix($bg, $fg, 54%) !default; | ||
$shiny-error-validated-color: mix($bg, $fg, 50%) !default; | ||
$shiny-progress-text-bg-color: #eef8ff !default; | ||
$shiny-input-panel-bg: mix($bg, $fg, 96%) !default; | ||
$shiny-input-panel-border: $border-width solid $border-color !default; | ||
$shiny-input-panel-border-radius: $border-radius !default; | ||
$shiny-text-output-border-radius: $border-radius !default; | ||
$notification-bg-color: mix($bg, $fg, 90%) !default; | ||
$notification-color: $fg !default; | ||
$notification-border: $border-width solid $border-color !default; | ||
$notification-border-radius: $border-radius !default; | ||
$notification-message-bg: mix($bg, map-get($theme-colors, "info"), 90%) !default; | ||
$notification-message-color: mix($fg, map-get($theme-colors, "info"), 10%) !default; | ||
$notification-message-border: $border-width solid mix($bg, map-get($theme-colors, "info"), 53%) !default; | ||
$notification-warning-bg: mix($bg, map-get($theme-colors, "warning"), 90%) !default; | ||
$notification-warning-color: mix($fg, map-get($theme-colors, "warning"), 10%) !default; | ||
$notification-warning-border: $border-width solid mix($bg, map-get($theme-colors, "warning"), 71%) !default; | ||
$notification-error-bg: mix($bg, map-get($theme-colors, "danger"), 90%) !default; | ||
$notification-error-color: mix($fg, map-get($theme-colors, "danger"), 10%) !default; | ||
$notification-error-border: $border-width solid mix($bg, map-get($theme-colors, "danger"), 79%) !default; | ||
$notification-close-color: mix($bg, $fg, 20%) !default; | ||
$notification-close-hover-color: $fg !default; | ||
$notification-content-action-color: map-get($theme-colors, "primary") !default; | ||
$datepicker-disabled-color: $dropdown-link-disabled-color !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$bg: $body-bg !default; | ||
$fg: $body-color !default; | ||
|
||
$shiny-disconnected-bg: mix($bg, $fg, 58%) !default; | ||
$shiny-table-na: mix($bg, $fg, 54%) !default; | ||
$shiny-error-validated-color: mix($bg, $fg, 50%) !default; | ||
$shiny-progress-text-bg-color: #eef8ff !default; | ||
$shiny-input-panel-bg: mix($bg, $fg, 96%) !default; | ||
$shiny-input-panel-border: $border-width solid $border-color !default; | ||
$shiny-input-panel-border-radius: $border-radius !default; | ||
$shiny-text-output-border-radius: $border-radius !default; | ||
$notification-bg-color: mix($bg, $fg, 90%) !default; | ||
$notification-color: $fg !default; | ||
$notification-border: $border-width solid $border-color !default; | ||
$notification-border-radius: $border-radius !default; | ||
$notification-message-bg: mix($bg, map-get($theme-colors, "info"), 90%) !default; | ||
$notification-message-color: mix($fg, map-get($theme-colors, "info"), 10%) !default; | ||
$notification-message-border: $border-width solid mix($bg, map-get($theme-colors, "info"), 53%) !default; | ||
$notification-warning-bg: mix($bg, map-get($theme-colors, "warning"), 90%) !default; | ||
$notification-warning-color: mix($fg, map-get($theme-colors, "warning"), 10%) !default; | ||
$notification-warning-border: $border-width solid mix($bg, map-get($theme-colors, "warning"), 71%) !default; | ||
$notification-error-bg: mix($bg, map-get($theme-colors, "danger"), 90%) !default; | ||
$notification-error-color: mix($fg, map-get($theme-colors, "danger"), 10%) !default; | ||
$notification-error-border: $border-width solid mix($bg, map-get($theme-colors, "danger"), 79%) !default; | ||
$notification-close-color: mix($bg, $fg, 20%) !default; | ||
$notification-close-hover-color: $fg !default; | ||
$notification-content-action-color: map-get($theme-colors, "primary") !default; | ||
$datepicker-disabled-color: $dropdown-link-disabled-color !default; | ||
|
||
$shiny-file-active-shadow: $custom-file-focus-box-shadow !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
$shiny-emphasis-color-rgb: var(--#{$prefix}emphasis-color-rgb, 0,0,0) !default; | ||
|
||
$shiny-disconnected-bg: RGBA($shiny-emphasis-color-rgb, 0.42) !default; | ||
$shiny-table-na: RGBA($shiny-emphasis-color-rgb, 0.46) !default; | ||
$shiny-error-color: var(--#{$prefix}danger-text-emphasis) !default; | ||
$shiny-error-validated-color: RGBA($shiny-emphasis-color-rgb, 0.5) !default; | ||
$shiny-progress-text-bg-color: RGBA(var(--#{$prefix}primary-rgb, #{to-rgb($primary)}), 0.05) !default; | ||
|
||
$shiny-input-panel-bg: RGBA($shiny-emphasis-color-rgb, 0.04) !default; | ||
$shiny-input-panel-border: $border-width solid var(--#{$prefix}border-color, #{$border-color}) !default; | ||
$shiny-input-panel-border-radius: $border-radius !default; | ||
$shiny-text-output-border-radius: $border-radius !default; | ||
|
||
$notification-color: var(--#{$prefix}emphasis-color, #{$body-emphasis-color}) !default; | ||
$notification-bg-color: var(--#{$prefix}body-bg, #{$body-bg}) !default; | ||
$notification-border: $border-width solid var(--#{$prefix}border-color, #{$border-color}) !default; | ||
$notification-border-radius: $border-radius !default; | ||
|
||
$notification-message-color: var(--#{$prefix}info-text-emphasis) !default; | ||
$notification-message-bg: var(--#{$prefix}info-bg-subtle) !default; | ||
$notification-message-border: $border-width solid var(--#{$prefix}info-border-subtle) !default; | ||
|
||
$notification-warning-color: var(--#{$prefix}warning-text-emphasis) !default; | ||
$notification-warning-bg: var(--#{$prefix}warning-bg-subtle) !default; | ||
$notification-warning-border: $border-width solid var(--#{$prefix}warning-border-subtle) !default; | ||
|
||
$notification-error-color: var(--#{$prefix}danger-text-emphasis) !default; | ||
$notification-error-bg: var(--#{$prefix}danger-bg-subtle) !default; | ||
$notification-error-border: $border-width solid var(--#{$prefix}danger-border-subtle) !default; | ||
|
||
$notification-close-color: RGBA($shiny-emphasis-color-rgb, 0.8) !default; | ||
$notification-close-hover-color: RGB($shiny-emphasis-color-rgb) !default; | ||
$notification-content-action-color: RGB(var(--#{$prefix}primary-rgb, #{to-rgb($primary)})) !default; | ||
|
||
$datepicker-disabled-color: $dropdown-link-disabled-color !default; | ||
|
||
$shiny-file-active-shadow: $input-focus-box-shadow !default; |