Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mixins.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b848bc7d0aeaf2d7dcf6fbb2124ec34e8c5a2f3d (plain)
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
28
// Core mixins
.clearfix() {
  &::after {
    clear: both;
    content: "";
    display: table;
  }
}
.control-shadow() {
  box-shadow: 0 0 0 .2rem fade(@core-color, 15%);
}
.control-transition() {
  transition: all .15s ease;
}
.toast-variant(@color) {
  background: fade(@color, 90%);
  border-color: @color;
}
.label-base() {
  border-radius: .2rem;
  font-size: 95%;
  padding: .1em .3em;
  vertical-align: baseline;
}
.label-variant(@color) {
  background: @color;
  color: @core-light-color;
}