blob: c634778fbfbfc7438e8d0983067c18ebe3229aa0 [file] [log] [blame]
Michael Davis43366db2017-05-15 18:12:35 -05001
Michael Davis43366db2017-05-15 18:12:35 -05002
3.firmware__ready {
4 font-weight: 300;
5}
6
Michael Davis9486f542017-05-30 15:35:31 -05007.firmware__table {
Michael Davis43366db2017-05-15 18:12:35 -05008 margin-top: 2.5em;
9 margin-bottom: 2.5em;
Michael Davis9486f542017-05-30 15:35:31 -050010
11 .table__cell {
12 a {
13 display: inline-block;
14 margin-right: 1.7em;
15 text-decoration: none;
16 font-weight: 700;
17 }
18 .icon {
19 color: $medblue;
20 &.disabled {
21 color: $medgrey;
Michael Davisb27188e2017-07-27 14:35:00 -050022 &:hover {
23 cursor: default;
24 }
25 }
26 &:hover {
27 cursor: pointer;
Michael Davis9486f542017-05-30 15:35:31 -050028 }
29 }
Michael Davis8af8d242017-07-20 15:22:01 -050030 .icon.icon-as-spacer {
31 text-indent: 0;
32 color: $btn__disabled-txt;
Michael Davisb27188e2017-07-27 14:35:00 -050033 &:hover {
34 cursor: default;
35 }
Michael Davis8af8d242017-07-20 15:22:01 -050036 }
Michael Davis9486f542017-05-30 15:35:31 -050037 }
38
39 .table-header {
40 font-weight: 700;
41 }
42
43 .table__row.disabled {
44 .firmware__action-link {
45 color: $medblue;
46 opacity: 1;
47 &:hover {
48 cursor: pointer;
49 }
50 }
51 }
Michael Davis8af8d242017-07-20 15:22:01 -050052 .firmware__primary {
53 background-color: lighten($status-ok, 40%);
54 }
55}
56
57.firmware__version {
58 flex: 30%;
Michael Davis43366db2017-05-15 18:12:35 -050059}
60
Michael Davis9486f542017-05-30 15:35:31 -050061.firmware__active-version {
62 color: $medblue;
63 font-size: .8em;
64 float: right;
65 font-weight: 400;
66}
67
68.firmware__action-link {
69 color: $links;
70 padding: 5px;
71 min-width: 90px;
72 text-align: left;
73}
74
75.firmware__version {
76 position: relative;
77 .icon {
78 position: absolute;
79 right: 0;
80 top: 20%;
81 }
82 &.active {
83 overflow: visible;
84 }
85}
86
87
88.icon__more-dropdown {
89 width: 300px;
90 top: 70%;
91}
92
93// Upload firmware
Michael Davis43366db2017-05-15 18:12:35 -050094.firmware__upload-form {
95 label {
96 font-weight: 700;
97 }
Iftekharul Islamc0161392017-06-14 15:46:15 -050098
Michael Davis43366db2017-05-15 18:12:35 -050099 input {
100 height: 2.4em;
101 }
Michael Davis9486f542017-05-30 15:35:31 -0500102 input[type=submit] {
103 width: auto;
104 margin-top: 1.5em;
105 }
106}
107.firmware__upload-chooser {
108 width: 100%;
109 background: $lightgrey;
110 padding-left: 1em;
111 padding-right: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500112 margin-bottom: 1em;
Michael Davis9486f542017-05-30 15:35:31 -0500113 .btn-secondary {
114 vertical-align: middle;
115 margin: 1em .5em 1em 0;
116 }
117 &.uploading {
118 @include indeterminate-bar;
119 }
120 @include mediaQuery(medium) {
121 width: 70%;
122 }
Michael Davis43366db2017-05-15 18:12:35 -0500123}
124.firmware__upload-station {
Michael Davis8af8d242017-07-20 15:22:01 -0500125 padding-bottom: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500126 border-bottom: 1px solid $medgrey;
127 padding-left: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500128 margin-top: 2em;
Michael Davis43366db2017-05-15 18:12:35 -0500129}
130.firmware__upload-tftp {
131 padding-top: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500132 padding-left: 1em;
Michael Davis43366db2017-05-15 18:12:35 -0500133}