forked from M-Labs/web2019
Compare commits
2 Commits
accab24e31
...
537045b36c
Author | SHA1 | Date |
---|---|---|
Egor Savkin | 537045b36c | |
Egor Savkin | a163a269b9 |
|
@ -90,8 +90,9 @@ a {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-light .navbar-nav .nav-link,
|
.navbar {
|
||||||
.dropdown-item {
|
.navbar-light .navbar-nav .nav-link,
|
||||||
|
.dropdown-item {
|
||||||
outline: none;
|
outline: none;
|
||||||
color: $color-primary;
|
color: $color-primary;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -103,17 +104,17 @@ a {
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-light .navbar-nav .active>.nav-link,
|
.navbar-light .navbar-nav .active>.nav-link,
|
||||||
.navbar-light .navbar-nav .nav-link.active,
|
.navbar-light .navbar-nav .nav-link.active,
|
||||||
.navbar-light .navbar-nav .nav-link.show,
|
.navbar-light .navbar-nav .nav-link.show,
|
||||||
.navbar-light .navbar-nav .show>.nav-link {
|
.navbar-light .navbar-nav .show>.nav-link {
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom
|
* Custom
|
||||||
*/
|
*/
|
||||||
|
@ -127,20 +128,29 @@ a {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
.navbar {
|
||||||
|
.dropdown-menu {
|
||||||
border: none;
|
border: none;
|
||||||
margin-top: 0;
|
}
|
||||||
padding-top: 0;
|
.dropdown-item {
|
||||||
}
|
|
||||||
.dropdown-item {
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active {
|
&:active {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.dropdown-item.active {
|
.dropdown-item.active {
|
||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-toggler {
|
||||||
|
outline: none;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:hover {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
|
@ -155,18 +165,11 @@ a {
|
||||||
border: 1px solid $btn-secondary-2 !important;
|
border: 1px solid $btn-secondary-2 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-lg {
|
.btn-lg {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
}
|
}
|
||||||
.navbar-toggler {
|
|
||||||
outline: none;
|
|
||||||
|
|
||||||
&:focus,
|
|
||||||
&:hover {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.th {
|
ul.th {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
@ -200,6 +203,48 @@ ul:not(.navbar-nav) li {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.download-selector {
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
.dropdown-menu {
|
||||||
|
border: none;
|
||||||
|
margin-top: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
background-color: $btn-primary-2;
|
||||||
|
&:hover {
|
||||||
|
background-color: $btn-secondary-2;
|
||||||
|
}
|
||||||
|
&:after {
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
margin-left: 0!important;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
a {
|
||||||
|
padding: 0.75rem 0.5rem 0.75rem 1.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li::before {
|
||||||
|
content: none;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.bg-white-shadow {
|
.bg-white-shadow {
|
||||||
background: url(../images/migen-links@2x.png);
|
background: url(../images/migen-links@2x.png);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
|
@ -51,8 +51,8 @@ const shop_data = {
|
||||||
title: "Optional pre-installed NUC mini-computer",
|
title: "Optional pre-installed NUC mini-computer",
|
||||||
outvar: "nuc",
|
outvar: "nuc",
|
||||||
tip: "Pre-installed NixOS desktop with ARTIQ and other scientific software. " +
|
tip: "Pre-installed NixOS desktop with ARTIQ and other scientific software. " +
|
||||||
"Hardware: Intel® NUC 13 Pro Kit NUC13ANKi7, i7-1360P CPU, " +
|
"Hardware: ASUS® NUC 14 Pro Kit, Intel® i7-155H CPU, " +
|
||||||
"32GB RAM, 1TB NVMe. Other options contact us.",
|
"32GB RAM, 1TB NVMe. For other options contact us.",
|
||||||
fallback: true,
|
fallback: true,
|
||||||
}},
|
}},
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,10 +53,17 @@
|
||||||
<a href="{{ get_url(path='@/experiment-control/place-order.md') }}" class="btn btn-primary btn-inversed btn-lg">Order hardware</a>
|
<a href="{{ get_url(path='@/experiment-control/place-order.md') }}" class="btn btn-primary btn-inversed btn-lg">Order hardware</a>
|
||||||
<a href="https://m-labs.hk/artiq/manual/" class="btn btn-primary btn-lg">Manual</a>
|
<a href="https://m-labs.hk/artiq/manual/" class="btn btn-primary btn-lg">Manual</a>
|
||||||
<a href="https://forum.m-labs.hk" class="btn btn-primary btn-lg">Forum</a>
|
<a href="https://forum.m-labs.hk" class="btn btn-primary btn-lg">Forum</a>
|
||||||
<a href="https://nixbld.m-labs.hk/job/artiq/extra/msys2-offline-installer/latest/download/1" class="btn btn-primary btn-lg d-inline-flex">
|
<div class="dropdown download-selector">
|
||||||
|
<a class="btn btn-primary btn-lg d-inline-flex dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
<img src="/images/icons/icon-download.svg" class="d-inline-block align-self-center mx-1" style="height: 1rem" alt="download">
|
<img src="/images/icons/icon-download.svg" class="d-inline-block align-self-center mx-1" style="height: 1rem" alt="download">
|
||||||
Windows installer
|
Windows installer
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<ul class="dropdown-menu shadow">
|
||||||
|
<li><a class="dropdown-item" href="https://nixbld.m-labs.hk/job/artiq/extra/msys2-offline-installer/latest/download/1">ARTIQ-8 (stable)</a></li>
|
||||||
|
<li><a class="dropdown-item" href="https://nixbld.m-labs.hk/job/artiq/extra-beta/msys2-offline-installer/latest/download/1">ARTIQ-9 (beta)</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<a href="{{ get_url(path='@/experiment-control/artiq.md') }}" class="btn btn-primary btn-lg">More...</a>
|
<a href="{{ get_url(path='@/experiment-control/artiq.md') }}" class="btn btn-primary btn-lg">More...</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue