Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 1 | @mixin state-label { |
2 | text-transform: uppercase; | ||||
3 | font-weight: 700; | ||||
4 | font-size: .8em; | ||||
5 | } | ||||
6 | |||||
7 | $title-minWidth: 210px; | ||||
8 | |||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 9 | .header__actions-bar { |
10 | padding-left: 1.5em; | ||||
Iftekharul Islam | 97280b3 | 2018-11-16 14:50:22 -0600 | [diff] [blame] | 11 | padding-right: 1em; |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 12 | font-weight: 700; |
Iftekharul Islam | 97280b3 | 2018-11-16 14:50:22 -0600 | [diff] [blame] | 13 | .sensor__title { |
14 | margin-left: 1.5em; | ||||
15 | } | ||||
Iftekharul Islam | 0805441 | 2017-08-25 10:29:57 -0500 | [diff] [blame] | 16 | .sensor__reading { |
Iftekharul Islam | 97280b3 | 2018-11-16 14:50:22 -0600 | [diff] [blame] | 17 | margin-right: .2em; |
Iftekharul Islam | 0805441 | 2017-08-25 10:29:57 -0500 | [diff] [blame] | 18 | } |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 19 | .sensor__heading-current { |
20 | padding-right: 1em; | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 21 | } |
22 | } | ||||
23 | |||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 24 | .sensor__heading-current { |
25 | margin: 0; | ||||
26 | @include mediaQuery(medium) { | ||||
27 | margin-left: 10px; | ||||
28 | margin-right: 10px; | ||||
29 | } | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 30 | } |
31 | |||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 32 | .sensor__label { |
33 | float: left; | ||||
34 | font-weight: 300; | ||||
35 | @include mediaQuery(medium) { | ||||
36 | display: none; | ||||
37 | } | ||||
38 | } | ||||
39 | |||||
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 40 | .sensor__table { |
41 | width: auto; | ||||
42 | min-width: 60%; | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 43 | margin: 0; |
44 | background: $white; | ||||
45 | text-decoration: none; | ||||
46 | border: 1px solid $medgrey; | ||||
47 | background: lighten($lightgrey,1%); | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 48 | @include mediaQuery(medium) { |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 49 | margin-top: 0; |
50 | border-top: 0; | ||||
51 | background: transparent; | ||||
52 | } | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 53 | .sensor__title { |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 54 | font-weight: 700; |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 55 | background: darken($lightgrey, 5%); |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 56 | min-width: 25%; |
57 | overflow: visible; | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 58 | @include mediaQuery(medium) { |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 59 | min-width: 25%; |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 60 | background: transparent; |
Iftekharul Islam | 0805441 | 2017-08-25 10:29:57 -0500 | [diff] [blame] | 61 | } |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 62 | } |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 63 | .sensor__reading, |
64 | .sensor__status { | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 65 | display: block; |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 66 | min-width: 15%; |
67 | overflow: visible; | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 68 | @include mediaQuery(medium) { |
69 | display: inline-block; | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 70 | } |
71 | } | ||||
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 72 | .sensor__threshold { |
73 | display: block; | ||||
74 | overflow: visible; | ||||
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 75 | @include mediaQuery(medium) { |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 76 | display: inline-block; |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 77 | } |
78 | } | ||||
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 79 | .sensor__Critical { |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 80 | background: $thresh-critical; |
81 | color: $white; | ||||
82 | .content-label { | ||||
83 | color: $white; | ||||
84 | } | ||||
85 | } | ||||
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 86 | .sensor__Warning { |
Iftekharul Islam | 8947e70 | 2017-07-27 10:28:07 -0500 | [diff] [blame] | 87 | background: $thresh-warning; |
88 | color: $black; | ||||
89 | .content-label { | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 90 | color: $black; |
91 | } | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 92 | } |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 93 | .sensor__OK { |
94 | background: $thresh-normal; | ||||
95 | color: $black; | ||||
96 | .content-label { | ||||
97 | color: $black; | ||||
98 | } | ||||
99 | } | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 100 | } |
101 | |||||
102 | // Sensors | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 103 | #sensors, #sensors-overview { |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 104 | .toggle-filter { |
Iftekharul Islam | 97280b3 | 2018-11-16 14:50:22 -0600 | [diff] [blame] | 105 | margin-bottom: 20px; |
106 | } | ||||
107 | .column, .columns { | ||||
108 | padding-left: 0px; | ||||
109 | padding-right: 0px; | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 110 | } |
AppaRao Puli | 2f481e4 | 2019-01-29 17:42:23 +0530 | [diff] [blame] | 111 | .dropdown__button { |
112 | margin-bottom: 1.2em; | ||||
113 | } | ||||
114 | .dropdown__list { | ||||
115 | margin-top: -17px; | ||||
116 | } | ||||
117 | .dropdown__button { | ||||
118 | width: 25em; | ||||
119 | margin-top: 0; | ||||
120 | text-align: left; | ||||
121 | border: 0.1em solid; | ||||
122 | } | ||||
123 | .dropdown__wrapper { | ||||
124 | width: 25em; | ||||
125 | margin-top: 0.4em; | ||||
126 | text-align: left; | ||||
127 | } | ||||
128 | .select__filter { | ||||
129 | margin-bottom: 20px; | ||||
130 | margin-left: 15px; | ||||
131 | } | ||||
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 132 | } |
133 | |||||
Gunnar Mills | 84e114a | 2018-11-14 13:44:41 -0600 | [diff] [blame] | 134 | //end sensor details |