mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-03 11:16:46 +00:00
743 lines
16 KiB
CSS
743 lines
16 KiB
CSS
[data-page="black"] {
|
|
background: #000;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: stretch;
|
|
font-family: var(--font-mono);
|
|
color: #fff;
|
|
|
|
[data-component="header-gradient"] {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 288px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0) 100%);
|
|
}
|
|
|
|
[data-component="header"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 40px;
|
|
flex-shrink: 0;
|
|
|
|
/* [data-component="header-logo"] { */
|
|
/* } */
|
|
}
|
|
|
|
[data-component="content"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
|
|
[data-slot="hero"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
gap: 8px;
|
|
margin-top: 40px;
|
|
padding: 0 20px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top: 60px;
|
|
}
|
|
|
|
h1 {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 18px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%;
|
|
margin: 0;
|
|
|
|
@media (min-width: 768px) {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
p {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 15px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%;
|
|
margin: 0;
|
|
|
|
@media (min-width: 768px) {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-slot="hero-black"] {
|
|
margin-top: 40px;
|
|
padding: 0 20px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top: 60px;
|
|
}
|
|
|
|
svg {
|
|
width: 100%;
|
|
max-width: 540px;
|
|
height: auto;
|
|
filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
|
|
}
|
|
}
|
|
|
|
[data-slot="cta"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin-top: -40px;
|
|
width: 100%;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top: -20px;
|
|
}
|
|
|
|
[data-slot="heading"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
text-align: center;
|
|
font-size: 18px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%; /* 28.8px */
|
|
|
|
span {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
[data-slot="subheading"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 15px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%;
|
|
|
|
@media (min-width: 768px) {
|
|
font-size: 18px;
|
|
line-height: 160%;
|
|
}
|
|
}
|
|
[data-slot="button"] {
|
|
display: inline-flex;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-radius: 4px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
text-decoration: none;
|
|
color: #000;
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
line-height: normal;
|
|
|
|
&:hover {
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.98);
|
|
}
|
|
}
|
|
[data-slot="back-soon"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%; /* 20.8px */
|
|
}
|
|
[data-slot="follow-us"] {
|
|
display: inline-flex;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 14px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
text-decoration: none;
|
|
}
|
|
|
|
[data-slot="pricing"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
width: 100%;
|
|
max-width: 540px;
|
|
padding: 0 20px;
|
|
|
|
@media (min-width: 768px) {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
[data-slot="pricing-card"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
transition: border-color 0.15s ease;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
|
|
&:hover {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
[data-slot="icon"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
}
|
|
|
|
[data-slot="price"] {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
|
|
[data-slot="amount"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
[data-slot="period"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
}
|
|
|
|
[data-slot="multiplier"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-size: 14px;
|
|
|
|
&::before {
|
|
content: "·";
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-slot="selected-plan"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
width: fit-content;
|
|
max-width: calc(100% - 40px);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
[data-slot="selected-card"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
border-radius: 4px;
|
|
width: fit-content;
|
|
|
|
[data-slot="icon"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
}
|
|
|
|
[data-slot="price"] {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
|
|
[data-slot="amount"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
[data-slot="period"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
}
|
|
|
|
[data-slot="multiplier"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-size: 14px;
|
|
|
|
&::before {
|
|
content: "·";
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
|
|
[data-slot="terms"] {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
text-align: left;
|
|
|
|
li {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
padding-left: 16px;
|
|
position: relative;
|
|
white-space: nowrap;
|
|
|
|
&::before {
|
|
content: "▪";
|
|
position: absolute;
|
|
left: 0;
|
|
color: rgba(255, 255, 255, 0.39);
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-slot="actions"] {
|
|
display: flex;
|
|
gap: 16px;
|
|
margin-top: 8px;
|
|
|
|
button,
|
|
a {
|
|
flex: 1;
|
|
display: inline-flex;
|
|
height: 48px;
|
|
padding: 0 16px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
[data-slot="cancel"] {
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
|
|
&:hover {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
}
|
|
|
|
[data-slot="continue"] {
|
|
background: rgba(255, 255, 255, 0.17);
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
color: rgba(255, 255, 255, 0.59);
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-slot="fine-print"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%; /* 20.8px */
|
|
font-style: italic;
|
|
|
|
a {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Subscribe page styles */
|
|
[data-slot="subscribe-form"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
align-items: center;
|
|
margin-top: -18px;
|
|
width: 100%;
|
|
max-width: 540px;
|
|
padding: 0 20px;
|
|
|
|
@media (min-width: 768px) {
|
|
margin-top: 40px;
|
|
padding: 0;
|
|
}
|
|
|
|
[data-slot="form-card"] {
|
|
width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
border-radius: 4px;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
[data-slot="plan-header"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
[data-slot="title"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
[data-slot="icon"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
}
|
|
|
|
[data-slot="price"] {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
|
|
[data-slot="amount"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
[data-slot="period"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
}
|
|
|
|
[data-slot="multiplier"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-size: 14px;
|
|
|
|
&::before {
|
|
content: "·";
|
|
margin: 0 8px;
|
|
}
|
|
}
|
|
|
|
[data-slot="divider"] {
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, 0.17);
|
|
}
|
|
|
|
[data-slot="section-title"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
[data-slot="tax-id-section"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
[data-slot="label"] {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
}
|
|
|
|
[data-slot="input"] {
|
|
width: 100%;
|
|
height: 44px;
|
|
padding: 0 12px;
|
|
background: #1a1a1a;
|
|
border: 1px solid rgba(255, 255, 255, 0.17);
|
|
border-radius: 4px;
|
|
color: #ffffff;
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
outline: none;
|
|
transition: border-color 0.15s ease;
|
|
|
|
&::placeholder {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
}
|
|
|
|
&:focus {
|
|
border-color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-slot="checkout-form"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
[data-slot="error"] {
|
|
color: #ff6b6b;
|
|
font-size: 14px;
|
|
}
|
|
|
|
[data-slot="submit-button"] {
|
|
width: 100%;
|
|
height: 48px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: #000;
|
|
font-family: var(--font-mono);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
|
|
&:hover:not(:disabled) {
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
|
|
[data-slot="charge-notice"] {
|
|
color: #d4a500;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
[data-slot="success"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
|
|
[data-slot="title"] {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
}
|
|
|
|
[data-slot="details"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
|
|
> div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 16px;
|
|
}
|
|
|
|
dt {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
dd {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
[data-slot="charge-notice"] {
|
|
color: #d4a500;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
[data-slot="loading"] {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 40px 0;
|
|
|
|
p {
|
|
color: rgba(255, 255, 255, 0.59);
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
[data-slot="fine-print"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
|
|
a {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
[data-slot="workspace-picker"] {
|
|
[data-slot="workspace-list"] {
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
align-self: stretch;
|
|
outline: none;
|
|
overflow-y: auto;
|
|
max-height: 240px;
|
|
scrollbar-width: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
[data-slot="workspace-item"] {
|
|
width: 100%;
|
|
display: flex;
|
|
padding: 8px 12px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
align-self: stretch;
|
|
cursor: pointer;
|
|
|
|
[data-slot="selected-icon"] {
|
|
visibility: hidden;
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-family: "IBM Plex Mono", monospace;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%;
|
|
}
|
|
|
|
span:last-child {
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 160%;
|
|
}
|
|
|
|
&:hover,
|
|
&[data-active="true"] {
|
|
background: #161616;
|
|
|
|
[data-slot="selected-icon"] {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[data-component="footer"] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 24px;
|
|
flex-shrink: 0;
|
|
|
|
@media (min-width: 768px) {
|
|
height: 120px;
|
|
}
|
|
|
|
[data-slot="footer-content"] {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
@media (min-width: 768px) {
|
|
gap: 40px;
|
|
}
|
|
|
|
span,
|
|
a {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
text-decoration: none;
|
|
}
|
|
|
|
[data-slot="github-stars"] {
|
|
color: rgba(255, 255, 255, 0.25);
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
}
|
|
|
|
[data-slot="anomaly"] {
|
|
display: none;
|
|
|
|
@media (min-width: 768px) {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
[data-slot="anomaly-alt"] {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
text-decoration: none;
|
|
margin-bottom: 24px;
|
|
|
|
a {
|
|
color: rgba(255, 255, 255, 0.39);
|
|
font-family: "JetBrains Mono Nerd Font";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: normal;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|