File: _wells.scss

package info (click to toggle)
r-cran-bslib 0.9.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,412 kB
  • sloc: javascript: 13,349; makefile: 33; sh: 23
file content (27 lines) | stat: -rw-r--r-- 683 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
26
27
// 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()
@if $bootstrap-version == 4 {
  .draggable .well {
    background-color: opaque($body-bg, $well-bg);
  }
}