File: _wells.scss

package info (click to toggle)
r-cran-bslib 0.4.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,332 kB
  • sloc: javascript: 10,075; makefile: 30; sh: 23
file content (25 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Derives from BS3 SASS, but modified to inherit from BS4 vars
// https://github.com/rstudio/bslib/blob/04925e1/inst/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss#L1
.well {
  @extend .card;
  display: block;
  background-color: $well-bg;
  color: $well-color;
  padding: $card-spacer-x;
  @include border-radius($border-radius)
}

// Sizes
.well-lg {
  padding: 1.5 * $spacer;
  @include border-radius($border-radius-lg);
}
.well-sm {
  padding: 0.5 * $spacer;
  @include border-radius($border-radius-sm);
}

// For wellPanel() inside absolutePanel()
.draggable .well {
  background-color: opaque($body-bg, $well-bg);
}