blob: d1b0114c02318cad30c0b52feeec09991af6b2b9 [file] [log] [blame]
Michael Davis43366db2017-05-15 18:12:35 -05001.firmware__ready {
2 font-weight: 300;
3}
4
Michael Davis9486f542017-05-30 15:35:31 -05005.firmware__table {
Iftekharul Islamec6bcd12017-09-06 10:49:07 -05006 margin-top: 2.5em;
Michael Davis43366db2017-05-15 18:12:35 -05007 margin-bottom: 2.5em;
Michael Davis9486f542017-05-30 15:35:31 -05008
9 .table__cell {
10 a {
11 display: inline-block;
12 margin-right: 1.7em;
13 text-decoration: none;
14 font-weight: 700;
15 }
16 .icon {
17 color: $medblue;
18 &.disabled {
19 color: $medgrey;
Michael Davisb27188e2017-07-27 14:35:00 -050020 &:hover {
21 cursor: default;
22 }
23 }
24 &:hover {
25 cursor: pointer;
Michael Davis9486f542017-05-30 15:35:31 -050026 }
27 }
Michael Davis8af8d242017-07-20 15:22:01 -050028 .icon.icon-as-spacer {
29 text-indent: 0;
30 color: $btn__disabled-txt;
Michael Davisb27188e2017-07-27 14:35:00 -050031 &:hover {
32 cursor: default;
33 }
Michael Davis8af8d242017-07-20 15:22:01 -050034 }
Michael Davis9486f542017-05-30 15:35:31 -050035 }
36
37 .table-header {
38 font-weight: 700;
Michael Davis7f89fad2017-07-31 18:36:45 -050039 p {
Iftekharul Islamec6bcd12017-09-06 10:49:07 -050040 margin-bottom: 0em;
Michael Davis7f89fad2017-07-31 18:36:45 -050041 }
Michael Davis9486f542017-05-30 15:35:31 -050042 }
43
44 .table__row.disabled {
45 .firmware__action-link {
46 color: $medblue;
47 opacity: 1;
48 &:hover {
49 cursor: pointer;
50 }
51 }
52 }
Michael Davis8af8d242017-07-20 15:22:01 -050053 .firmware__primary {
54 background-color: lighten($status-ok, 40%);
55 }
56}
57
58.firmware__version {
59 flex: 30%;
Michael Davis43366db2017-05-15 18:12:35 -050060}
61
Gunnar Mills5e01bbc2018-03-02 15:48:23 -060062.firmware__action {
63 flex: 8%;
64}
65
Michael Davis9486f542017-05-30 15:35:31 -050066.firmware__active-version {
67 color: $medblue;
68 font-size: .8em;
69 float: right;
70 font-weight: 400;
71}
72
73.firmware__action-link {
74 color: $links;
75 padding: 5px;
76 min-width: 90px;
77 text-align: left;
78}
79
80.firmware__version {
81 position: relative;
82 .icon {
83 position: absolute;
84 right: 0;
85 top: 20%;
86 }
Michael Davis9486f542017-05-30 15:35:31 -050087}
88
89
90.icon__more-dropdown {
Michael Davis75f94d92017-08-08 14:00:03 -050091 width: 100%;
92 top: 68%;
93 right: 0;
94 @include mediaQuery(medium){
95 width: 30%;
96 right: 18%;
97 top: 74%;
98 }
Michael Davis9486f542017-05-30 15:35:31 -050099}
100
101// Upload firmware
Michael Davis43366db2017-05-15 18:12:35 -0500102.firmware__upload-form {
103 label {
104 font-weight: 700;
105 }
Michael Davis43366db2017-05-15 18:12:35 -0500106 input {
107 height: 2.4em;
108 }
Michael Davisc8a099e2017-08-03 13:39:03 -0500109 .button {
110 min-width: 210px;
Michael Davis9486f542017-05-30 15:35:31 -0500111 width: auto;
Michael Davisc8a099e2017-08-03 13:39:03 -0500112 margin-top: 1em;
Michael Davis9486f542017-05-30 15:35:31 -0500113 }
114}
Michael Davis7f89fad2017-07-31 18:36:45 -0500115.firmware__upload-file-name {
116 text-transform: none;
117}
Michael Davis9486f542017-05-30 15:35:31 -0500118.firmware__upload-chooser {
119 width: 100%;
120 background: $lightgrey;
121 padding-left: 1em;
122 padding-right: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500123 margin-bottom: 1em;
Michael Davisc8a099e2017-08-03 13:39:03 -0500124 .button {
Michael Davis9486f542017-05-30 15:35:31 -0500125 vertical-align: middle;
126 margin: 1em .5em 1em 0;
Michael Davisc8a099e2017-08-03 13:39:03 -0500127 min-width: 3em;
Michael Davis9486f542017-05-30 15:35:31 -0500128 }
129 &.uploading {
130 @include indeterminate-bar;
131 }
132 @include mediaQuery(medium) {
133 width: 70%;
134 }
Michael Davis43366db2017-05-15 18:12:35 -0500135}
136.firmware__upload-station {
Michael Davis8af8d242017-07-20 15:22:01 -0500137 padding-bottom: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500138 border-bottom: 1px solid $medgrey;
139 padding-left: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500140 margin-top: 2em;
Michael Davis43366db2017-05-15 18:12:35 -0500141}
142.firmware__upload-tftp {
143 padding-top: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500144 padding-left: 1em;
Gunnar Mills5e01bbc2018-03-02 15:48:23 -0600145}