blob: 7a1947560345398e0b1fcd6228407bc77ee4d791 [file] [log] [blame]
Michael Daviscb8bb192017-02-09 15:45:13 -06001.inline {
2 display: inline-block;
Michael Daviscb8bb192017-02-09 15:45:13 -06003}
4
5.disabled {
Iftekharul Islamc0161392017-06-14 15:46:15 -05006 color: $lightbg__grey;
Michael Davis20389ab2017-07-31 18:49:32 -05007 @include fastTransition-all;
8 &:hover {
9 cursor: default;
10 text-decoration: none;
11 }
Michael Daviscb8bb192017-02-09 15:45:13 -060012}
13
14.float-right {
15 float: right;
16}
17.clear-float {
Derick Montague1ffa2092019-04-01 17:57:27 -050018 &::after {
19 content: " ";
20 display: block;
21 clear: both;
22 }
Michael Daviscb8bb192017-02-09 15:45:13 -060023}
24.error {
Michael Davis19475752017-02-23 18:30:23 -060025 color: $error-color;
Michael Daviscb8bb192017-02-09 15:45:13 -060026}
27
28.hide {
29 display: none;
30}
31
32.show {
33 display: block;
34}
35
36.close {
37 color: $lightbg__primary;
38 font-size: 1.5em;
39 padding: 1em;
40 box-sizing: border-box;
41 line-height: 0;
42 display: flex;
43 justify-content: center;
44 flex-direction: column;
45 background: transparent;
Iftekharul Islam4390b022017-06-05 09:44:50 -050046 border: 0px;
Michael Daviscb8bb192017-02-09 15:45:13 -060047 margin: 0;
48 &:hover {
49 color: $lightbg__accent;
50 background: transparent;
51 }
52}
53
Michael Davis0f03ad12017-02-27 16:54:18 -060054.fixed {
55 position:fixed;
56 top:130px;
57 z-index:200;
58}
59
Michael Davisaeedf9e2017-04-06 14:35:56 -050060.bold {
61 font-weight: 700;
62}
63
Michael Daviscb8bb192017-02-09 15:45:13 -060064.no-margin {
Michael Davis51946552017-05-01 10:30:38 -050065 margin: 0 !important;
Michael Daviscb8bb192017-02-09 15:45:13 -060066}
67
Michael Davis19475752017-02-23 18:30:23 -060068.no-padding {
Michael Davis51946552017-05-01 10:30:38 -050069 padding:0 !important;
Michael Davis19475752017-02-23 18:30:23 -060070}
71
Michael Daviscb8bb192017-02-09 15:45:13 -060072.no-bottom-margin {
Michael Davis51946552017-05-01 10:30:38 -050073 margin-bottom: 0 !important;
Michael Daviscb8bb192017-02-09 15:45:13 -060074}
75
76.no-top-margin {
Michael Davis51946552017-05-01 10:30:38 -050077 margin-top: 0 !important;
Michael Davis19475752017-02-23 18:30:23 -060078}
79
Michael Davis5a752b22017-03-09 09:41:08 -060080.btm-border-grey {
81 border-bottom: 1px solid $lightbg__grey;
82}
83
Michael Davis19475752017-02-23 18:30:23 -060084.transitionAll {
85 transition: all .5s ease;
Michael Davis9486f542017-05-30 15:35:31 -050086}
87
88//Uploading
89.uploading {
90 @include indeterminate-bar;
91 font-weight: 700;
92 padding: .2em 6em .2em 1em;
93 margin: .8em 0;
94 width: 100%;
95}
96
97.accessible-text {
Derick Montague1ffa2092019-04-01 17:57:27 -050098 clip: rect(1px, 1px, 1px, 1px);
99 clip-path: inset(50%);
100 height: 1px;
101 width: 1px;
102 margin: -1px;
Michael Davis9486f542017-05-30 15:35:31 -0500103 overflow: hidden;
Derick Montague1ffa2092019-04-01 17:57:27 -0500104 padding: 0;
105 position: absolute;
Michael Davis6dc5f182017-06-26 13:07:27 -0500106}
107
108.show-scroll {
109 // Force scrollbar to always be visible in webkit browsers
110 &::-webkit-scrollbar {
111 background-color: lighten($medgrey, 5%);
112 width: 8px;
113 }
114
115 &::-webkit-scrollbar-thumb {
116 border-radius: 5px;
117 background-color: rgba(0,0,0,.5);
118 -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
119 }
Michael Davisa5f222a2017-08-04 15:02:38 -0500120}
121
122.flash {
123 animation-name: flash;
124 animation-timing-function: ease-out;
125 animation-duration: 1s;
126 -webkit-animation-name: flash;
127 -webkit-animation-timing-function: ease-out;
128 -webkit-animation-duration: 1s;
129 color: $white;
130}
131@-webkit-keyframes flash {
132 from { background: $field__focus; }
133 to { background: none; }
134}
135
136@keyframes flash {
137 0% { background: $field__focus; }
138 100% { background: none; }
Michael Daviscb8bb192017-02-09 15:45:13 -0600139}