Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 1 | @mixin col-label { |
2 | text-transform: uppercase; | ||||
3 | font-weight: 700; | ||||
4 | font-size: .8em; | ||||
5 | } | ||||
6 | |||||
7 | $title-minWidth: 210px; | ||||
8 | |||||
9 | .inventory__heading { | ||||
10 | font-weight: 700; | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 11 | padding: 1em 0; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 12 | } |
13 | |||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 14 | // Inventory Overview |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 15 | .inventory-overview { |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 16 | .inventory__group { |
17 | position: relative; | ||||
18 | display: block; | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 19 | margin: 0; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 20 | font-weight: 700; |
21 | background: $white; | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 22 | padding: 1em 1em 0 1.5em; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 23 | text-decoration: none; |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 24 | border-left: 1px solid $medgrey; |
25 | border-right: 1px solid $medgrey; | ||||
Gunnar Mills | 84e114a | 2018-11-14 13:44:41 -0600 | [diff] [blame] | 26 | width: 100%; |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 27 | border-bottom: 0; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 28 | vertical-align: middle; |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 29 | @include fastTransition-all; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 30 | &:hover { |
31 | background: $lightblue; | ||||
32 | color: $black; | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 33 | cursor: pointer; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 34 | } |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 35 | &.active { |
36 | background: darken($lightgrey, 3%); | ||||
37 | &:last-child { | ||||
38 | border-bottom: 1px solid $medgrey; | ||||
39 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 40 | } |
41 | .inv-active { | ||||
42 | color: darken($active, 20%); | ||||
43 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 44 | &.inv-disabled { |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 45 | background: $medgrey; |
46 | .inventory__device-col, | ||||
47 | .inventory__function-col { | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 48 | color: lighten($darkgrey, 20%); |
49 | } | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 50 | .accord-trigger { |
51 | display: none; | ||||
52 | } | ||||
53 | &:hover, | ||||
54 | .accord-trigger:hover { | ||||
55 | cursor: default; | ||||
56 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 57 | } |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 58 | } |
59 | |||||
60 | // Header row | ||||
61 | .header__actions-bar { | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 62 | padding: 0 1em 0 1.5em; |
63 | .inventory__assoc-event { | ||||
64 | padding-right: 1em; | ||||
65 | &:hover { | ||||
66 | cursor: pointer; | ||||
67 | } | ||||
68 | } | ||||
69 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 70 | } |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 71 | // Inventory items |
72 | .inventory-overview { | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 73 | .inventory__device-col { |
74 | margin-right: 6px; | ||||
75 | width: 50%; | ||||
Michael Davis | 98e3f8a | 2017-07-27 15:39:45 -0500 | [diff] [blame] | 76 | text-transform: capitalize; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 77 | @include mediaQuery(medium){ |
78 | width: auto; | ||||
79 | } | ||||
80 | } | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 81 | |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 82 | .inventory__function-col { |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 83 | @include col-label; |
84 | color: $severity-medium-lightbg; | ||||
85 | display: none; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 86 | } |
87 | .inventory__device-col, | ||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 88 | .inventory__function-col { |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 89 | @media (min-width: 1025px){ |
90 | display: inline-block; | ||||
91 | @include calcColumn-4(5px); | ||||
92 | } | ||||
93 | } | ||||
94 | |||||
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 95 | .inventory__metadata { |
96 | height: 0; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 97 | max-height: 0; |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 98 | margin: 0 -1em 0 -1.5em; |
99 | border-top: 1px solid $medgrey; | ||||
100 | position: relative; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 101 | overflow: hidden; |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 102 | @include fastTransition-all; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 103 | &.active { |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 104 | height: 100%; |
105 | max-height: 1000px; | ||||
106 | border-bottom: 1px solid $medgrey; | ||||
107 | background: $lightgrey; | ||||
108 | padding-bottom: 1em; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 109 | @include fastTransition-all; |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 110 | } |
Michael Davis | eed2453 | 2017-07-20 15:19:30 -0500 | [diff] [blame] | 111 | &:hover { |
112 | cursor: default; | ||||
113 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 114 | } |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 115 | |
116 | .inventory__metadata-block { | ||||
117 | min-width: 100%; | ||||
118 | padding: .5em 1em .5em 1.5em; | ||||
119 | @include mediaQuery(small) { | ||||
120 | @include calcColumn-3; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 121 | } |
Michael Davis | fa278fb | 2017-07-10 11:28:55 -0500 | [diff] [blame] | 122 | .content-label { |
Michael Davis | eed2453 | 2017-07-20 15:19:30 -0500 | [diff] [blame] | 123 | color: $darkgrey; |
Michael Davis | fa278fb | 2017-07-10 11:28:55 -0500 | [diff] [blame] | 124 | } |
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 125 | } |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 126 | |
127 | .inventory__metadata-scroll { | ||||
128 | position: relative; | ||||
129 | height: 100%; | ||||
130 | max-height: 200px; | ||||
131 | overflow-y: scroll; | ||||
132 | bottom: 0; | ||||
133 | right:0; | ||||
134 | width: 100%; | ||||
135 | padding-top: 1em; | ||||
136 | padding-left: 1.5em; | ||||
137 | border-top: 1px solid $medgrey; | ||||
138 | .inventory__metadata-block { | ||||
139 | @include calcSplitColumn; | ||||
140 | margin-bottom: .5em; | ||||
141 | padding: 0; | ||||
142 | } | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 143 | @include mediaQuery(medium) { |
Michael Davis | 6dc5f18 | 2017-06-26 13:07:27 -0500 | [diff] [blame] | 144 | position: absolute; |
145 | border-left: 1px solid $medgrey; | ||||
146 | border-top: 0; | ||||
147 | max-height: 500px; | ||||
148 | padding: .5em 1em; | ||||
Michael Davis | eed2453 | 2017-07-20 15:19:30 -0500 | [diff] [blame] | 149 | width: 30%; |
150 | } | ||||
151 | .icon__warning { | ||||
Michael Davis | 2f275a4 | 2017-09-08 11:28:08 -0500 | [diff] [blame] | 152 | margin-top: -5px; |
153 | margin-left: .3em; | ||||
Michael Davis | 994a93b | 2017-04-18 10:01:04 -0500 | [diff] [blame] | 154 | } |
155 | } | ||||
156 | } | ||||
157 | |||||
158 | //end inventory details | ||||
159 | |||||
160 |