blob: 91c60d5b9442dc43ddc037c0ca7b99682972f0ec [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 {
18 clear: both;
19}
20.error {
Michael Davis19475752017-02-23 18:30:23 -060021 color: $error-color;
Michael Daviscb8bb192017-02-09 15:45:13 -060022}
23
24.hide {
25 display: none;
26}
27
28.show {
29 display: block;
30}
31
32.close {
33 color: $lightbg__primary;
34 font-size: 1.5em;
35 padding: 1em;
36 box-sizing: border-box;
37 line-height: 0;
38 display: flex;
39 justify-content: center;
40 flex-direction: column;
41 background: transparent;
Iftekharul Islam4390b022017-06-05 09:44:50 -050042 border: 0px;
Michael Daviscb8bb192017-02-09 15:45:13 -060043 margin: 0;
44 &:hover {
45 color: $lightbg__accent;
46 background: transparent;
47 }
48}
49
Michael Davis0f03ad12017-02-27 16:54:18 -060050.fixed {
51 position:fixed;
52 top:130px;
53 z-index:200;
54}
55
Michael Davisaeedf9e2017-04-06 14:35:56 -050056.bold {
57 font-weight: 700;
58}
59
Michael Daviscb8bb192017-02-09 15:45:13 -060060.no-margin {
Michael Davis51946552017-05-01 10:30:38 -050061 margin: 0 !important;
Michael Daviscb8bb192017-02-09 15:45:13 -060062}
63
Michael Davis19475752017-02-23 18:30:23 -060064.no-padding {
Michael Davis51946552017-05-01 10:30:38 -050065 padding:0 !important;
Michael Davis19475752017-02-23 18:30:23 -060066}
67
Michael Daviscb8bb192017-02-09 15:45:13 -060068.no-bottom-margin {
Michael Davis51946552017-05-01 10:30:38 -050069 margin-bottom: 0 !important;
Michael Daviscb8bb192017-02-09 15:45:13 -060070}
71
72.no-top-margin {
Michael Davis51946552017-05-01 10:30:38 -050073 margin-top: 0 !important;
Michael Davis19475752017-02-23 18:30:23 -060074}
75
Michael Davis5a752b22017-03-09 09:41:08 -060076.btm-border-grey {
77 border-bottom: 1px solid $lightbg__grey;
78}
79
Michael Davis19475752017-02-23 18:30:23 -060080.transitionAll {
81 transition: all .5s ease;
Michael Davis9486f542017-05-30 15:35:31 -050082}
83
84//Uploading
85.uploading {
86 @include indeterminate-bar;
87 font-weight: 700;
88 padding: .2em 6em .2em 1em;
89 margin: .8em 0;
90 width: 100%;
91}
92
93.accessible-text {
94 height: 0;
95 width: 0;
96 position: absolute;
97 overflow: hidden;
Michael Davis706b75b2017-08-18 16:40:03 -050098 display: block;
Michael Davis6dc5f182017-06-26 13:07:27 -050099}
100
101.show-scroll {
102 // Force scrollbar to always be visible in webkit browsers
103 &::-webkit-scrollbar {
104 background-color: lighten($medgrey, 5%);
105 width: 8px;
106 }
107
108 &::-webkit-scrollbar-thumb {
109 border-radius: 5px;
110 background-color: rgba(0,0,0,.5);
111 -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
112 }
Michael Davisa5f222a2017-08-04 15:02:38 -0500113}
114
115.flash {
116 animation-name: flash;
117 animation-timing-function: ease-out;
118 animation-duration: 1s;
119 -webkit-animation-name: flash;
120 -webkit-animation-timing-function: ease-out;
121 -webkit-animation-duration: 1s;
122 color: $white;
123}
124@-webkit-keyframes flash {
125 from { background: $field__focus; }
126 to { background: none; }
127}
128
129@keyframes flash {
130 0% { background: $field__focus; }
131 100% { background: none; }
Michael Daviscb8bb192017-02-09 15:45:13 -0600132}