blob: 94e0903877bb3e024064cb30dae151634075cffd [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 {
Michael Davis06054b62017-08-25 14:25:51 -05006 margin-top: 0;
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 Davis06054b62017-08-25 14:25:51 -050039 margin: 0;
Michael Davis7f89fad2017-07-31 18:36:45 -050040 p {
Michael Davis06054b62017-08-25 14:25:51 -050041 margin-bottom: 0;
Michael Davis7f89fad2017-07-31 18:36:45 -050042 }
Michael Davis9486f542017-05-30 15:35:31 -050043 }
44
45 .table__row.disabled {
46 .firmware__action-link {
47 color: $medblue;
48 opacity: 1;
49 &:hover {
50 cursor: pointer;
51 }
52 }
53 }
Michael Davis8af8d242017-07-20 15:22:01 -050054 .firmware__primary {
55 background-color: lighten($status-ok, 40%);
56 }
57}
58
59.firmware__version {
60 flex: 30%;
Michael Davis43366db2017-05-15 18:12:35 -050061}
62
Michael Davis9486f542017-05-30 15:35:31 -050063.firmware__active-version {
64 color: $medblue;
65 font-size: .8em;
66 float: right;
67 font-weight: 400;
68}
69
70.firmware__action-link {
71 color: $links;
72 padding: 5px;
73 min-width: 90px;
74 text-align: left;
75}
76
77.firmware__version {
78 position: relative;
79 .icon {
80 position: absolute;
81 right: 0;
82 top: 20%;
83 }
Michael Davis9486f542017-05-30 15:35:31 -050084}
85
86
87.icon__more-dropdown {
Michael Davis75f94d92017-08-08 14:00:03 -050088 width: 100%;
89 top: 68%;
90 right: 0;
91 @include mediaQuery(medium){
92 width: 30%;
93 right: 18%;
94 top: 74%;
95 }
Michael Davis9486f542017-05-30 15:35:31 -050096}
97
98// Upload firmware
Michael Davis43366db2017-05-15 18:12:35 -050099.firmware__upload-form {
100 label {
101 font-weight: 700;
102 }
Michael Davis43366db2017-05-15 18:12:35 -0500103 input {
104 height: 2.4em;
105 }
Michael Davisc8a099e2017-08-03 13:39:03 -0500106 .button {
107 min-width: 210px;
Michael Davis9486f542017-05-30 15:35:31 -0500108 width: auto;
Michael Davisc8a099e2017-08-03 13:39:03 -0500109 margin-top: 1em;
Michael Davis9486f542017-05-30 15:35:31 -0500110 }
111}
Michael Davis7f89fad2017-07-31 18:36:45 -0500112.firmware__upload-file-name {
113 text-transform: none;
114}
Michael Davis9486f542017-05-30 15:35:31 -0500115.firmware__upload-chooser {
116 width: 100%;
117 background: $lightgrey;
118 padding-left: 1em;
119 padding-right: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500120 margin-bottom: 1em;
Michael Davisc8a099e2017-08-03 13:39:03 -0500121 .button {
Michael Davis9486f542017-05-30 15:35:31 -0500122 vertical-align: middle;
123 margin: 1em .5em 1em 0;
Michael Davisc8a099e2017-08-03 13:39:03 -0500124 min-width: 3em;
Michael Davis9486f542017-05-30 15:35:31 -0500125 }
126 &.uploading {
127 @include indeterminate-bar;
128 }
129 @include mediaQuery(medium) {
130 width: 70%;
131 }
Michael Davis43366db2017-05-15 18:12:35 -0500132}
133.firmware__upload-station {
Michael Davis8af8d242017-07-20 15:22:01 -0500134 padding-bottom: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500135 border-bottom: 1px solid $medgrey;
136 padding-left: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500137 margin-top: 2em;
Michael Davis43366db2017-05-15 18:12:35 -0500138}
139.firmware__upload-tftp {
140 padding-top: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500141 padding-left: 1em;
Michael Davis43366db2017-05-15 18:12:35 -0500142}