blob: 1c50dc008d2b7ae6a742bf1b8394f791211c2fd6 [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
Michael Davis9486f542017-05-30 15:35:31 -050062.firmware__active-version {
63 color: $medblue;
64 font-size: .8em;
65 float: right;
66 font-weight: 400;
67}
68
69.firmware__action-link {
70 color: $links;
71 padding: 5px;
72 min-width: 90px;
73 text-align: left;
74}
75
76.firmware__version {
77 position: relative;
78 .icon {
79 position: absolute;
80 right: 0;
81 top: 20%;
82 }
Michael Davis9486f542017-05-30 15:35:31 -050083}
84
85
86.icon__more-dropdown {
Michael Davis75f94d92017-08-08 14:00:03 -050087 width: 100%;
88 top: 68%;
89 right: 0;
90 @include mediaQuery(medium){
91 width: 30%;
92 right: 18%;
93 top: 74%;
94 }
Michael Davis9486f542017-05-30 15:35:31 -050095}
96
97// Upload firmware
Michael Davis43366db2017-05-15 18:12:35 -050098.firmware__upload-form {
99 label {
100 font-weight: 700;
101 }
Michael Davis43366db2017-05-15 18:12:35 -0500102 input {
103 height: 2.4em;
104 }
Michael Davisc8a099e2017-08-03 13:39:03 -0500105 .button {
106 min-width: 210px;
Michael Davis9486f542017-05-30 15:35:31 -0500107 width: auto;
Michael Davisc8a099e2017-08-03 13:39:03 -0500108 margin-top: 1em;
Michael Davis9486f542017-05-30 15:35:31 -0500109 }
110}
Michael Davis7f89fad2017-07-31 18:36:45 -0500111.firmware__upload-file-name {
112 text-transform: none;
113}
Michael Davis9486f542017-05-30 15:35:31 -0500114.firmware__upload-chooser {
115 width: 100%;
116 background: $lightgrey;
117 padding-left: 1em;
118 padding-right: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500119 margin-bottom: 1em;
Michael Davisc8a099e2017-08-03 13:39:03 -0500120 .button {
Michael Davis9486f542017-05-30 15:35:31 -0500121 vertical-align: middle;
122 margin: 1em .5em 1em 0;
Michael Davisc8a099e2017-08-03 13:39:03 -0500123 min-width: 3em;
Michael Davis9486f542017-05-30 15:35:31 -0500124 }
125 &.uploading {
126 @include indeterminate-bar;
127 }
128 @include mediaQuery(medium) {
129 width: 70%;
130 }
Michael Davis43366db2017-05-15 18:12:35 -0500131}
132.firmware__upload-station {
Michael Davis8af8d242017-07-20 15:22:01 -0500133 padding-bottom: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500134 border-bottom: 1px solid $medgrey;
135 padding-left: 1em;
Michael Davis8af8d242017-07-20 15:22:01 -0500136 margin-top: 2em;
Michael Davis43366db2017-05-15 18:12:35 -0500137}
138.firmware__upload-tftp {
139 padding-top: 2em;
Michael Davis9486f542017-05-30 15:35:31 -0500140 padding-left: 1em;
Michael Davis43366db2017-05-15 18:12:35 -0500141}