summaryrefslogtreecommitdiff
path: root/ui/app/css/bootstrap.less
blob: 6ed519dbf469471645a823de9ae68857f778fd41 (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
65
66
67
68
69
70
71
72
//
// requires npm modules 'bootstrap'
//

@import "~bootstrap/less/bootstrap";

//
// overrides the bootstrap defaults
// note: in less, you put overrides after the definition.
//       this works because of lazy loading.
//

@import "colors";

@brand-primary: @teal;
@brand-success: @green;
@brand-danger: @red;
@brand-warning: @deep-orange;
@brand-info: @light-blue;

// // Define colors for form feedback states and, by default, alerts.

@state-success-text:             @brand-success;
@state-success-bg:               @brand-success;
@state-success-border:           @brand-success;

@state-info-text:                @brand-info;
@state-info-bg:                  @brand-info;
@state-info-border:              @brand-info;

@state-warning-text:             @brand-warning;
@state-warning-bg:               @brand-warning;
@state-warning-border:           @brand-warning;

@state-danger-text:              @brand-danger;
@state-danger-bg:                @brand-danger;
@state-danger-border:            @brand-danger;

@alert-succcess-text: @white;
@alert-info-text: @white;
@alert-warning-text: @white;
@alert-danger-text: @white;

.alert {
  font-weight: bold;
}

.help-block {
  margin: 2px 0 0 0;
  font-size: small;
  opacity: 0.7;
}
.btn.btn-inverse {
  color: white;
  background-color: #333;
}
.btn.btn-flat {
  border-color: transparent;
  background-color: transparent;
}

//
// the web widget has a weird default focus. override it here
// to match the input decoration when focused.
//
.btn:focus, .btn:active:focus, .btn.active:focus,
.btn.focus, .btn:active.focus, .btn.active.focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}