blob: 68fa0fc53a6faefd7858326c21910a58041a5ecb [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;
22 }
23 }
Michael Davis8daecff2017-07-20 15:22:01 -050024 .icon.icon-as-spacer {
25 text-indent: 0;
26 color: $btn__disabled-txt;
27 }
Michael Davis9486f542017-05-30 15:35:31 -050028 }
29
30 .table-header {
31 font-weight: 700;
32 }
33
34 .table__row.disabled {
35 .firmware__action-link {
36 color: $medblue;
37 opacity: 1;
38 &:hover {
39 cursor: pointer;
40 }
41 }
42 }
Michael Davis8daecff2017-07-20 15:22:01 -050043 .firmware__primary {
44 background-color: lighten($status-ok, 40%);
45 }
46}
47
48.firmware__version {
49 flex: 30%;
Michael Davis43366db2017-05-15 18:12:35 -050050}
51
Michael Davis9486f542017-05-30 15:35:31 -050052.firmware__active-version {
53 color: $medblue;
54 font-size: .8em;
55 float: right;
56 font-weight: 400;
57}
58
59.firmware__action-link {
60 color: $links;
61 padding: 5px;
62 min-width: 90px;
63 text-align: left;
64}
65
66.firmware__version {
67 position: relative;
68 .icon {
69 position: absolute;
70 right: 0;
71 top: 20%;
72 }
73 &.active {
74 overflow: visible;
75 }
76}
77
78
79.icon__more-dropdown {
80 width: 300px;
81 top: 70%;
82}
83
84// Upload firmware
Michael Davis43366db2017-05-15 18:12:35 -050085.firmware__upload-form {
86 label {
87 font-weight: 700;
88 }
Iftekharul Islamc0161392017-06-14 15:46:15 -050089
Michael Davis43366db2017-05-15 18:12:35 -050090 input {
91 height: 2.4em;
92 }
Michael Davis9486f542017-05-30 15:35:31 -050093 input[type=submit] {
94 width: auto;
95 margin-top: 1.5em;
96 }
97}
98.firmware__upload-chooser {
99 width: 100%;
100 background: $lightgrey;
101 padding-left: 1em;
102 padding-right: 1em;
Michael Davis8daecff2017-07-20 15:22:01 -0500103 margin-bottom: 1em;
Michael Davis9486f542017-05-30 15:35:31 -0500104 .btn-secondary {
105 vertical-align: middle;
106 margin: 1em .5em 1em 0;
107 }
108 &.uploading {
109 @include indeterminate-bar;
110 }
111 @include mediaQuery(medium) {
112 width: 70%;
113 }
Michael Davis43366db2017-05-15 18:12:35 -0500114}
115.firmware__upload-station {
Michael Davis8daecff2017-07-20 15:22:01 -0500116 padding-bottom: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500117 border-bottom: 1px solid $medgrey;
118 padding-left: 1em;
Michael Davis8daecff2017-07-20 15:22:01 -0500119 margin-top: 2em;
Michael Davis43366db2017-05-15 18:12:35 -0500120}
121.firmware__upload-tftp {
122 padding-top: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500123 padding-left: 1em;
Michael Davis43366db2017-05-15 18:12:35 -0500124}