♻️ (step) extract css styles to appropriate component
This commit is contained in:
@@ -1,72 +1,4 @@
|
|||||||
main {
|
|
||||||
height: calc(100vh - 2 * 1rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
main > ul {
|
|
||||||
display: flex;
|
|
||||||
flex: 1;
|
|
||||||
gap: 1rem;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
align-items: flex-start;
|
|
||||||
margin: 0 1rem;
|
|
||||||
border: 3px solid var(--background-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
flex: 1;
|
|
||||||
height: 100%;
|
|
||||||
margin: 0;
|
|
||||||
color: var(--background-color);
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
main > ul > li:first-child {
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
main > ul > li:last-child {
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
main > ul > li:not(:last-child) {
|
|
||||||
padding-right: 1rem;
|
|
||||||
border-right: 3px solid var(--background-color);
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
padding: 0.5rem;
|
|
||||||
border: solid 2px var(--background-color);
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
|
||||||
margin: 1rem 0;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
section ul {
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
background-color: var(--background-color);
|
|
||||||
padding: 0.35rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blue-bin {
|
|
||||||
margin-top: 1rem;
|
|
||||||
border: 3px solid var(--background-color);
|
|
||||||
height: 60px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ import FeatureSteps from '@/FeatureSteps.vue'
|
|||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
#main-app {
|
main {
|
||||||
|
height: calc(100vh - 2 * 1rem);
|
||||||
}
|
}
|
||||||
</style> -->
|
</style>
|
||||||
|
|||||||
@@ -41,5 +41,35 @@ const remainingBlueBuckets = computed(() =>
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.feature-step {
|
.feature-step {
|
||||||
|
header {
|
||||||
|
padding: 0.5rem;
|
||||||
|
border: solid 2px var(--background-color);
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
margin: 1rem 0;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
section ul {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
background-color: var(--background-color);
|
||||||
|
padding: 0.35rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blue-bin {
|
||||||
|
margin-top: 1rem;
|
||||||
|
border: 3px solid var(--background-color);
|
||||||
|
height: 60px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -11,5 +11,35 @@ import { featureSteps } from '@/feature-steps'
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.features-steps {
|
.features-steps {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
gap: 1rem;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin: 0 1rem;
|
||||||
|
border: 3px solid var(--background-color);
|
||||||
|
|
||||||
|
li:first-child {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li:last-child {
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li:not(:last-child) {
|
||||||
|
padding-right: 1rem;
|
||||||
|
border-right: 3px solid var(--background-color);
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
color: var(--background-color);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user