mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
- cut down on size of bootstrap.css file - remove unecessary styles - fixed typo in javascript comment
334 lines
8.5 KiB
CSS
334 lines
8.5 KiB
CSS
/* This is a subset of bootstrap.css */
|
|
.navbar-brand img {
|
|
max-width: 4em; }
|
|
|
|
.navbar {
|
|
display: none; }
|
|
|
|
.navbar {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 1rem; }
|
|
.navbar > .container,
|
|
.navbar > .container-fluid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between; }
|
|
|
|
.navbar-brand {
|
|
display: inline-block;
|
|
padding-top: 0.3125rem;
|
|
padding-bottom: 0.3125rem;
|
|
margin-right: 1rem;
|
|
font-size: 1.25rem;
|
|
line-height: inherit;
|
|
white-space: nowrap; }
|
|
.navbar-brand:focus, .navbar-brand:hover {
|
|
text-decoration: none; }
|
|
|
|
.navbar-dark .navbar-brand {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-nav .nav-link {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
|
|
color: rgba(255, 255, 255, 0.75); }
|
|
.navbar-dark .navbar-nav .nav-link.disabled {
|
|
color: rgba(255, 255, 255, 0.25); }
|
|
.navbar-dark .navbar-nav .show > .nav-link,
|
|
.navbar-dark .navbar-nav .active > .nav-link,
|
|
.navbar-dark .navbar-nav .nav-link.show,
|
|
.navbar-dark .navbar-nav .nav-link.active {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-toggler {
|
|
color: #FFFFFF;
|
|
border-color: rgba(255, 255, 255, 0.1); }
|
|
.navbar-dark .navbar-toggler-icon {
|
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }
|
|
.navbar-dark .navbar-text {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-text a {
|
|
color: #FFFFFF; }
|
|
.navbar-dark .navbar-text a:focus, .navbar-dark .navbar-text a:hover {
|
|
color: #FFFFFF; }
|
|
|
|
.navbar {
|
|
background-image: url("./images/onion-bg.svg");
|
|
background-repeat: no-repeat;
|
|
background-position: 10px 12px; }
|
|
|
|
.navbar-brand span {
|
|
font-size: 0.6em;
|
|
display: flex; }
|
|
|
|
.no-gutters {
|
|
margin-right: 0;
|
|
margin-left: 0; }
|
|
.no-gutters > .col,
|
|
.no-gutters > [class*="col-"] {
|
|
padding-right: 0;
|
|
padding-left: 0; }
|
|
|
|
.no-gutters {
|
|
margin-bottom: 0 !important; }
|
|
|
|
.no-background {
|
|
background-image: none !important; }
|
|
|
|
.bg-dark {
|
|
background-color: #59316B !important; }
|
|
|
|
a.bg-dark:focus, a.bg-dark:hover {
|
|
background-color: #3c2148 !important; }
|
|
|
|
.p-4 {
|
|
padding: 1.5rem !important; }
|
|
|
|
.btn-group,
|
|
.btn-group-vertical {
|
|
position: relative;
|
|
display: inline-flex;
|
|
vertical-align: middle; }
|
|
.btn-group > .btn,
|
|
.btn-group-vertical > .btn {
|
|
position: relative;
|
|
flex: 0 1 auto; }
|
|
.btn-group > .btn:hover,
|
|
.btn-group-vertical > .btn:hover {
|
|
z-index: 2; }
|
|
.btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active,
|
|
.btn-group-vertical > .btn:focus,
|
|
.btn-group-vertical > .btn:active,
|
|
.btn-group-vertical > .btn.active {
|
|
z-index: 2; }
|
|
.btn-group .btn + .btn,
|
|
.btn-group .btn + .btn-group,
|
|
.btn-group .btn-group + .btn,
|
|
.btn-group .btn-group + .btn-group,
|
|
.btn-group-vertical .btn + .btn,
|
|
.btn-group-vertical .btn + .btn-group,
|
|
.btn-group-vertical .btn-group + .btn,
|
|
.btn-group-vertical .btn-group + .btn-group {
|
|
margin-left: -1px; }
|
|
|
|
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
|
border-radius: 0; }
|
|
|
|
.btn-group > .btn:first-child {
|
|
margin-left: 0; }
|
|
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0; }
|
|
|
|
.btn-group > .btn:last-child:not(:first-child),
|
|
.btn-group > .dropdown-toggle:not(:first-child) {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0; }
|
|
|
|
.btn-group > .btn-group {
|
|
float: left; }
|
|
|
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
|
border-radius: 0; }
|
|
|
|
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
|
|
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0; }
|
|
|
|
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0; }
|
|
|
|
.dropup,
|
|
.dropdown {
|
|
position: relative; }
|
|
|
|
.dropdown-toggle::after {
|
|
display: inline-block;
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 0.255em;
|
|
vertical-align: 0.255em;
|
|
content: "";
|
|
border-top: 0.3em solid;
|
|
border-right: 0.3em solid transparent;
|
|
border-bottom: 0;
|
|
border-left: 0.3em solid transparent; }
|
|
.dropdown-toggle:empty::after {
|
|
margin-left: 0; }
|
|
|
|
.dropup .dropdown-toggle::after {
|
|
display: inline-block;
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 0.255em;
|
|
vertical-align: 0.255em;
|
|
content: "";
|
|
border-top: 0;
|
|
border-right: 0.3em solid transparent;
|
|
border-bottom: 0.3em solid;
|
|
border-left: 0.3em solid transparent; }
|
|
.dropup .dropdown-toggle:empty::after {
|
|
margin-left: 0; }
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: none;
|
|
float: left;
|
|
min-width: 10rem;
|
|
padding: 0.5rem 0;
|
|
margin: 0.125rem 0 0;
|
|
font-size: 1rem;
|
|
color: #212529;
|
|
text-align: left;
|
|
list-style: none;
|
|
background-color: #FFFFFF;
|
|
background-clip: padding-box;
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
border-radius: 0.25rem; }
|
|
|
|
.dropup .dropdown-menu {
|
|
margin-top: 0;
|
|
margin-bottom: 0.125rem; }
|
|
.dropup .dropdown-toggle::after {
|
|
display: inline-block;
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 0.255em;
|
|
vertical-align: 0.255em;
|
|
content: "";
|
|
border-top: 0;
|
|
border-right: 0.3em solid transparent;
|
|
border-bottom: 0.3em solid;
|
|
border-left: 0.3em solid transparent; }
|
|
.dropup .dropdown-toggle:empty::after {
|
|
margin-left: 0; }
|
|
|
|
.dropdown-menu.show {
|
|
display: block; }
|
|
|
|
.dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.25rem 1.5rem;
|
|
clear: both;
|
|
font-weight: 400;
|
|
color: #212529;
|
|
text-align: inherit;
|
|
white-space: nowrap;
|
|
background: none;
|
|
border: 0; }
|
|
.dropdown-item:focus, .dropdown-item:hover {
|
|
color: #16181b;
|
|
text-decoration: none;
|
|
background-color: #F8F9FA; }
|
|
.dropdown-item.active, .dropdown-item:active {
|
|
color: #FFFFFF;
|
|
text-decoration: none;
|
|
background-color: #7D4698; }
|
|
.dropdown-item.disabled, .dropdown-item:disabled {
|
|
color: #848E97;
|
|
background-color: transparent; }
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
user-select: none;
|
|
border: 1px solid transparent;
|
|
padding: 0.375rem 0.75rem;
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
border-radius: 0.25rem;
|
|
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
|
.btn:focus, .btn:hover {
|
|
text-decoration: none; }
|
|
.btn:focus, .btn.focus {
|
|
outline: 0;
|
|
box-shadow: 0 0 0 0.2rem rgba(125, 70, 152, 0.25); }
|
|
.btn.disabled, .btn:disabled {
|
|
opacity: .65; }
|
|
.btn:not([disabled]):not(.disabled):active, .btn:not([disabled]):not(.disabled).active {
|
|
background-image: none; }
|
|
|
|
a.btn.disabled,
|
|
fieldset[disabled] a.btn {
|
|
pointer-events: none; }
|
|
|
|
.btn-dark {
|
|
color: #fff;
|
|
background-color: #59316B;
|
|
border-color: #59316B; }
|
|
.btn-dark:hover {
|
|
color: #fff;
|
|
background-color: #432551;
|
|
border-color: #3c2148; }
|
|
.btn-dark:focus, .btn-dark.focus {
|
|
box-shadow: 0 0 0 0.2rem rgba(89, 49, 107, 0.5); }
|
|
.btn-dark.disabled, .btn-dark:disabled {
|
|
background-color: #59316B;
|
|
border-color: #59316B; }
|
|
.btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active, .show > .btn-dark.dropdown-toggle {
|
|
color: #fff;
|
|
background-color: #3c2148;
|
|
border-color: #351d3f;
|
|
box-shadow: 0 0 0 0.2rem rgba(89, 49, 107, 0.5); }
|
|
|
|
|
|
.btn-block {
|
|
display: block;
|
|
width: 100%; }
|
|
|
|
.btn-block + .btn-block {
|
|
margin-top: 0.5rem; }
|
|
|
|
input[type="submit"].btn-block,
|
|
input[type="reset"].btn-block,
|
|
input[type="button"].btn-block {
|
|
width: 100%; }
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box; }
|
|
|
|
a,
|
|
area,
|
|
button,
|
|
[role="button"],
|
|
input:not([type="range"]),
|
|
label,
|
|
select,
|
|
summary,
|
|
textarea {
|
|
touch-action: manipulation; }
|
|
|
|
a {
|
|
color: #7D4698;
|
|
text-decoration: none;
|
|
background-color: transparent;
|
|
-webkit-text-decoration-skip: objects; }
|
|
a:hover {
|
|
color: #522e64;
|
|
text-decoration: underline; }
|
|
|
|
a:not([href]):not([tabindex]) {
|
|
color: inherit;
|
|
text-decoration: none; }
|
|
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
|
color: inherit;
|
|
text-decoration: none; }
|
|
a:not([href]):not([tabindex]):focus {
|
|
outline: 0; }
|
|
|