summaryrefslogtreecommitdiffstats
path: root/app/common/styles/base/utility.scss
blob: 91c60d5b9442dc43ddc037c0ca7b99682972f0ec (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
.inline {
  display: inline-block;
}

.disabled {
  color: $lightbg__grey;
  @include fastTransition-all;
  &:hover {
    cursor: default;
    text-decoration: none;
  }
}

.float-right {
  float: right;
}
.clear-float {
  clear: both;
}
.error {
  color: $error-color;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.close {
  color: $lightbg__primary;
  font-size: 1.5em;
  padding: 1em;
  box-sizing: border-box;
  line-height: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  border: 0px;
  margin: 0;
  &:hover {
    color: $lightbg__accent;
    background: transparent;
  }
}

.fixed {
  position:fixed;
  top:130px;
  z-index:200;
}

.bold {
  font-weight: 700;
}

.no-margin {
  margin: 0 !important;
}

.no-padding {
  padding:0 !important;
}

.no-bottom-margin {
  margin-bottom: 0 !important;
}

.no-top-margin {
  margin-top: 0 !important;
}

.btm-border-grey {
  border-bottom: 1px solid $lightbg__grey;
}

.transitionAll {
  transition: all .5s ease;
}

//Uploading
.uploading {
  @include indeterminate-bar;
  font-weight: 700;
  padding: .2em 6em .2em 1em;
  margin: .8em 0;
  width: 100%;
}

.accessible-text {
  height: 0;
  width: 0;
  position: absolute;
  overflow: hidden;
  display: block;
}

.show-scroll {
  // Force scrollbar to always be visible in webkit browsers
  &::-webkit-scrollbar {
    background-color: lighten($medgrey, 5%);
    width: 8px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
  }
}

.flash {
  animation-name: flash;
  animation-timing-function: ease-out;
  animation-duration: 1s;
  -webkit-animation-name: flash;
  -webkit-animation-timing-function: ease-out;
  -webkit-animation-duration: 1s;
  color: $white;
}
@-webkit-keyframes flash {
  from { background: $field__focus; }
  to  { background: none; }
}

@keyframes flash {
  0% { background: $field__focus; }
  100% { background: none; }
}
OpenPOWER on IntegriCloud