More actions
No edit summary Tag: Manual revert |
No edit summary |
||
| (23 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
border: 1px solid var(--border-color-base); | border: 1px solid var(--border-color-base); | ||
border-radius: var(--border-radius--medium); | border-radius: var(--border-radius--medium); | ||
display: grid; | |||
grid-template-columns: 3rem auto; | |||
line-height: 1.35; | |||
flex-grow: 1; | |||
} | |||
.template-component__card__link { | |||
position: relative; | |||
border: 1px solid var(--border-color-base); | |||
border-radius: var(--border-radius--medium) var(--border-radius--medium) 0 0; | |||
display: grid; | display: grid; | ||
grid-template-columns: 3rem auto; | grid-template-columns: 3rem auto; | ||
| Line 9: | Line 18: | ||
} | } | ||
.template-component__port { | .template-component__port { | ||
border-right: 1px solid var(--border-color-base); | border-right: 1px solid var(--border-color-base); | ||
border-top-left-radius: var(--border-radius--medium); | border-top-left-radius: var(--border-radius--medium); | ||
| Line 16: | Line 24: | ||
background-color: var(--color-surface-0); | background-color: var(--color-surface-0); | ||
font-weight: 500; | font-weight: 500; | ||
line-height: 1.25; | line-height: 1.25; | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | } | ||
.template-component__item { | .template-component__item { | ||
padding: | padding: var(--space-sm); | ||
border-top-right-radius: var(--border-radius--medium); | border-top-right-radius: var(--border-radius--medium); | ||
border-bottom-right-radius: var(--border-radius--medium); | border-bottom-right-radius: var(--border-radius--medium); | ||
background-color: var(--color-surface-2); | |||
} | |||
.template-component__port__link { | |||
border-right: 1px solid var(--border-color-base); | |||
border-top-left-radius: var(--border-radius--medium); | |||
justify-items: center; | |||
background-color: var(--color-surface-0); | |||
font-weight: 500; | |||
line-height: 1.25; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
.template-component__item__link { | |||
padding: var(--space-sm); | |||
border-top-right-radius: var(--border-radius--medium); | |||
background-color: var(--color-surface-2); | background-color: var(--color-surface-2); | ||
} | } | ||
| Line 33: | Line 59: | ||
color: var(--color-base--subtle); | color: var(--color-base--subtle); | ||
font-size: 0.8125rem; | font-size: 0.8125rem; | ||
} | |||
.template-component__subtitle p, .template-component__title p { | |||
margin: 0; | |||
} | |||
.template-components__section { | |||
position: relative; | |||
padding-top: var(--space-sm); | |||
padding-bottom: var(--space-sm); | |||
display: flex; | |||
flex-direction: column; | |||
gap: var(--space-xs); | |||
} | |||
.template-components__group { | |||
display: flex; | |||
gap: var(--space-xs); | |||
flex-wrap: wrap; | |||
flex-grow: 1; | |||
} | |||
.template-components__subgroup { | |||
display: flex; | |||
flex-direction: column; | |||
gap: var(--space-xs); | |||
flex-grow: 1; | |||
min-width: 32.4%; | |||
} | |||
.template-component { | |||
display: flex; | |||
} | |||
.component-link__button { | |||
display: flex; | |||
text-align: center; | |||
} | |||
.component-link__button a { | |||
flex-grow: 1; | |||
padding: 0; | |||
border: 1px solid; | |||
border-color: var( --border-color-base ); | |||
background: var( --color-primary ); | |||
border-radius: 0 0 12px 12px; | |||
color: var( --color-base--emphasized ) !important; | |||
margin-top: -0.5rem; | |||
} | |||
.component-link__button a:hover { | |||
background: var( --color-primary--hover ); | |||
} | |||
.component-link__button a:active { | |||
background: var( --color-primary--active ); | |||
} | |||
/*no radius top*/ | |||
.component-link__button-connecttop { | |||
display: flex; | |||
text-align: center; | |||
} | |||
.component-link__button-connecttop a { | |||
flex-grow: 1; | |||
padding: 0.3rem 0.6rem; | |||
border: 1px solid; | |||
border-color: var( --border-color-base ); | |||
background: var( --color-surface-2 ); | |||
border-radius: 0 0 12px 12px; | |||
color: var( --color-base--emphasized ) !important; | |||
} | |||
.component-link__button-connecttop a:hover { | |||
background: var( --color-surface-2--hover ); | |||
} | |||
.component-link__button-connecttop a:active { | |||
background: var( --color-surface-2--active ); | |||
} | } | ||
Latest revision as of 14:07, 9 July 2024
.template-component__card {
position: relative;
border: 1px solid var(--border-color-base);
border-radius: var(--border-radius--medium);
display: grid;
grid-template-columns: 3rem auto;
line-height: 1.35;
flex-grow: 1;
}
.template-component__card__link {
position: relative;
border: 1px solid var(--border-color-base);
border-radius: var(--border-radius--medium) var(--border-radius--medium) 0 0;
display: grid;
grid-template-columns: 3rem auto;
line-height: 1.35;
flex-grow: 1;
}
.template-component__port {
border-right: 1px solid var(--border-color-base);
border-top-left-radius: var(--border-radius--medium);
border-bottom-left-radius: var(--border-radius--medium);
justify-items: center;
background-color: var(--color-surface-0);
font-weight: 500;
line-height: 1.25;
display: flex;
align-items: center;
justify-content: center;
}
.template-component__item {
padding: var(--space-sm);
border-top-right-radius: var(--border-radius--medium);
border-bottom-right-radius: var(--border-radius--medium);
background-color: var(--color-surface-2);
}
.template-component__port__link {
border-right: 1px solid var(--border-color-base);
border-top-left-radius: var(--border-radius--medium);
justify-items: center;
background-color: var(--color-surface-0);
font-weight: 500;
line-height: 1.25;
display: flex;
align-items: center;
justify-content: center;
}
.template-component__item__link {
padding: var(--space-sm);
border-top-right-radius: var(--border-radius--medium);
background-color: var(--color-surface-2);
}
.template-component__title {
color: var(--color-base--emphasized);
font-weight: 500;
font-size: 0.875rem;
}
.template-component__subtitle {
color: var(--color-base--subtle);
font-size: 0.8125rem;
}
.template-component__subtitle p, .template-component__title p {
margin: 0;
}
.template-components__section {
position: relative;
padding-top: var(--space-sm);
padding-bottom: var(--space-sm);
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.template-components__group {
display: flex;
gap: var(--space-xs);
flex-wrap: wrap;
flex-grow: 1;
}
.template-components__subgroup {
display: flex;
flex-direction: column;
gap: var(--space-xs);
flex-grow: 1;
min-width: 32.4%;
}
.template-component {
display: flex;
}
.component-link__button {
display: flex;
text-align: center;
}
.component-link__button a {
flex-grow: 1;
padding: 0;
border: 1px solid;
border-color: var( --border-color-base );
background: var( --color-primary );
border-radius: 0 0 12px 12px;
color: var( --color-base--emphasized ) !important;
margin-top: -0.5rem;
}
.component-link__button a:hover {
background: var( --color-primary--hover );
}
.component-link__button a:active {
background: var( --color-primary--active );
}
/*no radius top*/
.component-link__button-connecttop {
display: flex;
text-align: center;
}
.component-link__button-connecttop a {
flex-grow: 1;
padding: 0.3rem 0.6rem;
border: 1px solid;
border-color: var( --border-color-base );
background: var( --color-surface-2 );
border-radius: 0 0 12px 12px;
color: var( --color-base--emphasized ) !important;
}
.component-link__button-connecttop a:hover {
background: var( --color-surface-2--hover );
}
.component-link__button-connecttop a:active {
background: var( --color-surface-2--active );
}