xref: /openbmc/phosphor-webui/app/configuration/styles/firmware.scss (revision 8af8d24f272510f942f8a413e8ba3a7139dc9ec5)
1
2
3.firmware__ready {
4  font-weight: 300;
5}
6
7.firmware__table {
8  margin-top: 2.5em;
9  margin-bottom: 2.5em;
10
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    }
24    .icon.icon-as-spacer {
25      text-indent: 0;
26      color: $btn__disabled-txt;
27    }
28  }
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  }
43  .firmware__primary {
44    background-color: lighten($status-ok, 40%);
45  }
46}
47
48.firmware__version {
49  flex: 30%;
50}
51
52.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
85.firmware__upload-form {
86  label {
87    font-weight: 700;
88  }
89
90  input {
91    height: 2.4em;
92  }
93  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;
103    margin-bottom: 1em;
104  .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  }
114}
115.firmware__upload-station {
116  padding-bottom: 2em;
117  border-bottom: 1px solid $medgrey;
118  padding-left: 1em;
119  margin-top: 2em;
120}
121.firmware__upload-tftp {
122  padding-top: 2em;
123  padding-left: 1em;
124}