More actions
No edit summary |
No edit summary |
||
| Line 89: | Line 89: | ||
} | } | ||
. | .component-link__button { | ||
display: flex; | display: flex; | ||
text-align: center; | text-align: center; | ||
} | } | ||
. | .component-link__button a { | ||
flex-grow: 1; | flex-grow: 1; | ||
padding: 0; | padding: 0; | ||
| Line 105: | Line 105: | ||
} | } | ||
. | .component-link__button a:hover { | ||
background: var( --color-primary--hover ); | background: var( --color-primary--hover ); | ||
} | } | ||
. | .component-link__button a:active { | ||
background: var( --color-primary--active ); | background: var( --color-primary--active ); | ||
} | } | ||
/*no radius top*/ | /*no radius top*/ | ||
. | .component-link__button-connecttop { | ||
display: flex; | display: flex; | ||
text-align: center; | text-align: center; | ||
} | } | ||
. | .component-link__button-connecttop a { | ||
flex-grow: 1; | flex-grow: 1; | ||
padding: 0.3rem 0.6rem; | padding: 0.3rem 0.6rem; | ||
| Line 128: | Line 128: | ||
} | } | ||
. | .component-link__button-connecttop a:hover { | ||
background: var( --color-surface-2--hover ); | background: var( --color-surface-2--hover ); | ||
} | } | ||
. | .component-link__button-connecttop a:active { | ||
background: var( --color-surface-2--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 );
}