mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 19:29:27 +00:00
Now, upon load, the app fetched versions from the server and then the devices for that particular version. Then the user can search for their device and download an image accordingly. Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
148 lines
2.6 KiB
SCSS
148 lines
2.6 KiB
SCSS
$bg-color: #f0f0f0;
|
|
|
|
.home-container {
|
|
margin-top: 30px;
|
|
|
|
.home-container-paper {
|
|
padding: 30px;
|
|
text-align: left;
|
|
|
|
.warning-432 {
|
|
background-color: $bg-color;
|
|
padding: 10px;
|
|
margin-top: 20px;
|
|
border: 1px solid #e3e3e3;
|
|
color: #666;
|
|
|
|
.icon {
|
|
margin: 0 20px 0 10px;
|
|
color: #F9A825
|
|
}
|
|
}
|
|
|
|
.device-info {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.version-select {
|
|
width: 200px;
|
|
|
|
.version-label {
|
|
background-color: inherit;
|
|
padding: 5px;
|
|
margin-top: -10px;
|
|
margin-left: 10px;
|
|
display: block;
|
|
z-index: 10;
|
|
}
|
|
|
|
@media all and (max-width: 820px) {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.search-field {
|
|
width: calc(100% - 220px);
|
|
margin-left: 20px;
|
|
position: relative;
|
|
|
|
.search-label {
|
|
background-color: #fff;
|
|
padding: 0 10px;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-results {
|
|
position: absolute;
|
|
left: 0;
|
|
width: 100%;
|
|
top: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
@media all and (max-width: 820px) {
|
|
width: 100%;
|
|
margin: 20px 0 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.MuiTypography-h4 {
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.download-button {
|
|
margin-top: 10px;
|
|
|
|
.download-icon {
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
.interface-switch-bar {
|
|
border: 1px solid #e3e3e3;
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
z-index: 9;
|
|
overflow: hidden;
|
|
|
|
.interface-switch {
|
|
color: #000;
|
|
}
|
|
|
|
.advanced-settings {
|
|
border: 1px solid #999;
|
|
background-color: $bg-color;
|
|
border-radius: 6px;
|
|
margin-top: 20px;
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
|
|
.icon {
|
|
font-size: 1em;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.options {
|
|
padding-top: 30px;
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.package-list-input {
|
|
.package {
|
|
margin: 5px 10px 5px 0px;
|
|
border-radius: 30px;
|
|
vertical-align: middle;
|
|
user-select: none;
|
|
}
|
|
|
|
.package:hover {
|
|
background-color: $bg-color;
|
|
}
|
|
|
|
.package:focus, .package:active {
|
|
transition: .2s;
|
|
background-color: darken($bg-color, 15%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.device-table {
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
|
|
td {
|
|
padding: 20px 30px;
|
|
}
|
|
|
|
tr:nth-child(odd) {
|
|
background-color: rgba(104, 74, 238, 0.07);
|
|
}
|
|
}
|