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

base.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3c80b1c3648f84c0518c1b45c781e526781478fd (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Base
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: @html-font-size;
  line-height: @html-line-height;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: @body-bg;
  color: @body-font-color;
  font-family: @body-font-family;
  font-size: @body-font-size;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

a {
  color: @link-color;
  text-decoration: none;

  &:focus,
  &:hover,
  &:active,
  &.active {
    color: @dark-link-color;
    text-decoration: underline;
  }
}

// Focus state
:focus {
  .control-shadow();
  outline: 0;
}

// Icons
.btn,
.toast,
.menu {
  .icon {
    font-size: 1.3333em;
    line-height: .8em;
    vertical-align: -20%;
  }
}

// Caret
.icon-caret {
  border-top: .4rem solid currentColor;
  border-right: .4rem solid transparent;
  border-left: .4rem solid transparent;
  display: inline-block;
  height: 0;
  margin: 0;
  vertical-align: middle;
  width: 0;
}