blob: d56879da2963a6d2178e150e2c5ac9589eb8ba2c [file]
/*
* Copyright (c) 2022, 2023 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
* Olivier Goulet <olivier.goulet@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
.sponsor-page .grey-link {
color: #9d9fa1;
font-weight: 400;
text-decoration: underline;
&:active,
&:hover {
text-decoration: none;
}
}
.sponsor-form {
border-radius: 1rem;
background-color: #eee;
.btn {
padding: 1em;
border-radius: 0.5rem;
color: black;
font-size: 1.8rem;
font-weight: 500;
}
.btn.disabled {
pointer-events: none;
}
.btn-wide {
width: 100%;
}
.btn-neutral {
background-color: #fff;
border: 1px solid #ddd;
}
.btn-neutral:hover,
.btn-neutral:active,
.btn-neutral.active {
background-color: #f7941e;
border-color: #f77e1e; /* Use darkened @brand-primary */
}
.btn-dark {
color: white;
background-color: black;
}
.form-control.sponsor-form-custom-amount-input-wrapper {
display: flex;
align-items: stretch;
height: min-content;
padding: 0;
border-radius: 0.5rem;
font-size: 1.8rem;
font-weight: 500;
}
input[name="amount"] {
width: 100%;
padding: 1rem;
margin-left: calc(1.5rem + 1.8em);
border: none;
background: transparent;
outline: none;
}
.sponsor-form-custom-amount-input-wrapper select {
padding: 1rem;
border: none;
background-color: transparent;
}
.sponsor-form-custom-amount-container {
position: relative;
}
}
.sponsor-form .btn:focus:not(:focus-visible),
.sponsor-form .sponsor-form-currency-select:focus:not(:focus-visible) {
outline: none;
}
.sponsor-form .sponsor-form-currency,
.sponsor-form .fa {
pointer-events: none;
}
.sponsor-form .sponsor-form-custom-amount-input-wrapper .sponsor-form-currency {
position: absolute;
top: calc(50% - 1.5rem);
left: calc(2 * 1.5rem);
font-size: 3rem;
font-weight: 700;
}