summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/partials/_base.scss
blob: 44a474213038fc71d9b3d2ad63df9c05395cf01a (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: $body-bg;
  position: relative;
  height: 100%;
  &.white {
    background: #fff;
    > .container-fluid {
      overflow: auto;
    }
    .inner__wrap {
      > .row.content {
        min-height: 100%;
        margin-bottom: -89px;
      }
    }
  }
  .inner__wrap {
    height: 100%;
    > .row.main {
      height: 100%;
      position: relative;
    }
  }
  > .container-fluid {
    @include clearfix;
    height: 100%;
    position: relative;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.input-group-addon {
  background: transparent;
}

.popover {
  color: #333;
  &.bottom, &.right, &.top, &.left {
    >.arrow:after {
      border-color: transparent;
    }
  }
  .popover-title {
    background: rgba(black, 0.05);
  }
}

.dropdown-menu {
  .divider {
    @include opacity(0.15);
  }
  > li > a {
    color: inherit;
    &:focus, &:hover {
      color: inherit;
    }
  }
}

.word-break--all {
  word-break: break-all;
}

a {
  word-break: break-word;
  color: $primary-color;
}

a:focus, a:hover {
  color: $primary-color;
}

.tooltip {
  .tooltip-inner {
    word-break: break-word;
    font-size: 13px;
    padding: 3px 10px 4px;
    font-weight: 500;
  }
}

.nopadding {
 padding: 0;
 margin: 0;
}

.text-danger {
  color: #E05F5D;
}

.btn {
  &.btn-danger {
    color: #fff;
    &:hover, &:active {
      color: #fff;
    }
  }
}

.form-control {
  @include border-radius(2px);
  &:focus {
    @include box-shadow(none);
  }
  &.no-resize {
    resize: none;
  }
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  cursor: auto;
}

.form-group {
  &.form-group--small {
    margin-bottom: 10px;
  }
}

.error-panel {
  max-width: 275px;
  position: absolute;
  right: 10px;
  top: 40px;
  z-index: 100;
}

.nav>li>a:focus, .nav>li>a:hover {
  background: transparent;
}

.btn {
  @include single-transition(all, 0.25s, ease-in);
  @include border-radius(1px);
  &.btn-primary {
    border-color: transparent;
    background: $primary-color;
    &:hover, &:focus, &:active {
      background: $primary-color--hover;
    }
  }
  &.btn-inactive {
    border-color: transparent;
    background: #707070;
    color: #fff;
  }
}

.relative-div {
  position:relative;
}

@-webkit-keyframes spin2 {
  from { -webkit-transform: rotate(0deg);}
  to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
  from { transform: scale(1) rotate(0deg);}
  to { transform: scale(1) rotate(360deg);}
}

.glyphicon-refresh-animate {
  @include animation(spin .7s infinite linear);
}

.black-bg {
  background-color: black !important;
}

.white-bg {
  background-color: white !important;
}

.emoji {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  margin-bottom: 0.25em;
  background-size: contain;
}