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