blob: 2de7321f8749ec7f0cd662c4f75882c5e4c9c269 [file] [log] [blame]
Michael Davis4b77b192017-08-25 14:22:44 -05001@mixin state-label {
2 text-transform: uppercase;
3 font-weight: 700;
4 font-size: .8em;
5}
6
7$title-minWidth: 210px;
8
9.header__actions-bar {
10 padding-left: 1.5em;
11 font-weight: 700;
12 .multi-server__col {
13 padding: 0;
14 &:hover {
15 cursor: pointer;
16 }
17 }
18 .multi-server__title {
19 padding: 0;
20 width: 30%;
21 }
22}
23
24.multi-server__heading-current {
25 margin: 0;
26 @include mediaQuery(medium) {
27 margin-left: 10px;
28 margin-right: 10px;
29 }
30}
31
32.multi-server__label {
33 float: left;
34 font-weight: 300;
35 @include fontFamily;
36 @include mediaQuery(medium) {
37 display: none;
38 }
39}
40
41.multi-server__col {
42 width: 100%;
43 text-align: right;
44 margin-bottom: 0;
45 display: none;
46 padding: .5em .8em .5em .8em;
47 @include mediaQuery(medium) {
48 display: inline-block;
49 width: auto;
50 min-width: calc(91% * (1 / 4) - 10px);
51 padding: .5em .8em .5em 0;
52 text-align: left;
53 }
54}
55
56.narrow-col {
57 min-width: 12%;
58}
59
60.multi-server__col-row {
61 position: relative;
62 display: block;
63 margin: 0;
64 background: $white;
65 text-decoration: none;
66 border: 1px solid $medgrey;
67 background: lighten($lightgrey,1%);
68 margin-top: 1em;
69 &:hover {
70 cursor: pointer;
71 background: $lightblue;
72 @include fastTransition-all;
73 }
74 @include mediaQuery(medium) {
75 padding: .3em 1em .3em 1.5em;
76 margin-top: 0;
77 border-top: 0;
78 background: transparent;
79 }
80 .multi-server__title {
81 font-weight: 700;
82 background: darken($lightgrey, 5%);
83 min-width: 100%;
84 padding: .5em .8em;
85 @include mediaQuery(medium) {
86 min-width: 30%;
87 max-width: 30%;
88 background: 0 0;
89 vertical-align: top;
90 margin-bottom: 0;
91 padding: .5em .8em .5em 0;
92 }
93 .icon__normal {
94 width: 0;
95 }
96 }
97 .content-label {
98 font-size: 1em;
99 margin-left: .8em;
100 color: $darkgrey;
101 }
102 .multi-server__col {
103 display: block;
104 @include mediaQuery(medium) {
105 display: inline-block;
106 }
107 }
108 .multi-server__current {
109 background: darken($thresh-normal, 3%);
110 margin: 0;
111 @include mediaQuery(medium) {
112 background: $thresh-normal;
113 padding: .7em .3em;
114 margin-left: 10px;
115 min-width: 109px;
116 }
117 @include mediaQuery(large) {
118 background: $thresh-normal;
119 padding: .7em;
120 margin-left: .3em;
121 margin-right: .3em;
122 min-width: 150px;
123 }
124 .multi-server__label {
125 font-weight: 700;
126 @include mediaQuery(medium) {
127 font-weight:300;
128 }
129 }
130 }
131 .multi-server__critical {
132 background: $thresh-critical;
133 color: $white;
134 .content-label {
135 color: $white;
136 }
137 }
138 .multi-server__warn {
139 background: $thresh-warning;
140 color: $black;
141 .content-label {
142 color: $black;
143 }
144 }
145}
146
147.multi-server__add-form {
148 .control-check {
149 padding-left: 25px;
150 }
151}