Spaces:
Runtime error
Runtime error
@import "../css/colors.css"; | |
@import "../css/units.css"; | |
.extensionsTab { | |
display: flex; | |
flex-direction: column; | |
height: 100%; | |
width: 100%; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
padding: 2rem; | |
background-color: $ui-white; | |
} | |
.extensionButtonContainer { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
margin-bottom: 2rem; | |
} | |
.extensionButton { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
padding: 2rem; | |
background: $looks-secondary; | |
border: none; | |
border-radius: 1rem; | |
cursor: pointer; | |
color: white; | |
font-size: 1rem; | |
font-weight: 500; | |
transition: all 0.2s ease; | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); | |
min-width: 200px; | |
} | |
.extensionButton:hover { | |
background: $looks-secondary-dark; | |
transform: translateY(-2px); | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
} | |
.extensionButton:active { | |
transform: translateY(0); | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); | |
} | |
.extensionButtonIcon { | |
width: 3rem; | |
height: 3rem; | |
margin-bottom: 0.5rem; | |
filter: brightness(0) invert(1); | |
} | |
.extensionButtonText { | |
font-family: inherit; | |
font-size: inherit; | |
font-weight: inherit; | |
} | |
/* Grid layout for loaded extensions */ | |
.extensionsGrid { | |
display: grid; | |
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |
gap: 1.5rem; | |
padding: 1rem 0; | |
width: 100%; | |
} | |
.extensionGridItem { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
min-height: 120px; | |
} | |
.extensionCard { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
padding: 1.5rem; | |
background: $ui-white; | |
border: 2px solid $ui-black-transparent; | |
border-radius: 1rem; | |
cursor: default; | |
color: $text-primary; | |
font-size: 0.875rem; | |
font-weight: 500; | |
transition: all 0.2s ease; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
width: 100%; | |
min-height: 120px; | |
text-align: center; | |
} | |
.extensionCard:hover { | |
border-color: $ui-black-transparent; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); | |
transform: translateY(-1px); | |
} | |
.extensionName { | |
font-weight: 600; | |
font-size: 1rem; | |
color: $text-primary; | |
margin-bottom: 0.5rem; | |
word-break: break-word; | |
} | |
.extensionBlockCount { | |
font-size: 0.75rem; | |
color: $text-primary-transparent; | |
font-weight: 400; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
gap: 0.25rem; | |
} | |
.blockCountNumber { | |
font-size: 1.25rem; | |
font-weight: 600; | |
color: $looks-secondary; | |
} | |
.blockCountLabel { | |
font-size: 0.6rem; | |
color: $text-primary-transparent; | |
text-transform: uppercase; | |
letter-spacing: 0.5px; | |
} | |
.addExtensionButton { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
padding: 1.5rem; | |
background: $looks-secondary; | |
border: none; | |
border-radius: 1rem; | |
cursor: pointer; | |
color: white; | |
font-size: 0.875rem; | |
font-weight: 500; | |
transition: all 0.2s ease; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
width: 100%; | |
min-height: 120px; | |
} | |
.addExtensionButton:hover { | |
background: $looks-secondary-dark; | |
transform: translateY(-1px); | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); | |
} | |
.addExtensionButton:active { | |
transform: translateY(0); | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
} | |
.addExtensionIcon { | |
width: 2rem; | |
height: 2rem; | |
margin-bottom: 0.5rem; | |
filter: brightness(0) invert(1); | |
} | |
.addExtensionText { | |
font-family: inherit; | |
font-size: inherit; | |
font-weight: inherit; | |
text-align: center; | |
} | |