frontend panel nav items highlights

Changes include
Font updates
Font spacing added
Font weights changed
This commit is contained in:
Joe 2020-03-24 11:12:08 +00:00
parent 38a19dc930
commit 0d7cd5ec2e
3 changed files with 23 additions and 29 deletions

View File

@ -59,27 +59,28 @@
.switcher { .switcher {
display: flex; display: flex;
justify-content: space-between;
margin-bottom: 20px; margin-bottom: 20px;
padding: 0 20px 20px; padding: 0 20px 20px;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
.switcher > button { .switcher > button {
text-rendering: optimizeLegibility;
display: inline-block; display: inline-block;
border: none; border: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 500;
text-transform: uppercase; color: var(--secondary40);
color: var(--secondary60); margin-right: 20px;
letter-spacing: 1px;
} }
.switcher > .selected { .switcher > .selected {
color: var(--secondary100); color: var(--secondary100);
font-weight: 500; font-weight: 600;
} }
.panel { .panel {

View File

@ -54,9 +54,7 @@
const newValue = n => Array(n).fill("") const newValue = n => Array(n).fill("")
</script> </script>
<h3>Styles</h3> <h3>Layout</h3>
<h4>Display</h4>
<div class="layout-pos"> <div class="layout-pos">
{#each Object.entries(display) as [key, [name, meta, size]] (component._id + key)} {#each Object.entries(display) as [key, [name, meta, size]] (component._id + key)}
<div class="grid"> <div class="grid">
@ -87,7 +85,7 @@
{/each} {/each}
</div> --> </div> -->
<h4>Spacing</h4> <h3>Spacing</h3>
<div class="layout-spacing"> <div class="layout-spacing">
{#each Object.entries(spacing) as [key, [name, meta, size]] (component._id + key)} {#each Object.entries(spacing) as [key, [name, meta, size]] (component._id + key)}
<div class="grid"> <div class="grid">
@ -102,7 +100,7 @@
{/each} {/each}
</div> </div>
<h4>Size</h4> <h3>Size</h3>
<div class="layout-layer"> <div class="layout-layer">
{#each Object.entries(size) as [key, [name, meta, size]] (component._id + key)} {#each Object.entries(size) as [key, [name, meta, size]] (component._id + key)}
<div class="grid"> <div class="grid">
@ -117,7 +115,7 @@
{/each} {/each}
</div> </div>
<h4>Z-Index</h4> <h3>Order</h3>
<div class="layout-layer"> <div class="layout-layer">
{#each Object.entries(zindex) as [key, [name, meta, size]] (component._id + key)} {#each Object.entries(zindex) as [key, [name, meta, size]] (component._id + key)}
<div class="grid"> <div class="grid">
@ -135,19 +133,11 @@
h3 { h3 {
text-transform: uppercase; text-transform: uppercase;
font-size: 12px; font-size: 12px;
font-weight: 700; font-weight: 600;
color: #000333;
opacity: 0.6;
margin-bottom: 10px;
}
h4 {
text-transform: uppercase;
font-size: 10px;
font-weight: 700;
color: #000333; color: #000333;
opacity: 0.4; opacity: 0.4;
margin-bottom: 15px; margin-bottom: 10px;
letter-spacing: 1px;
} }
h5 { h5 {
@ -168,6 +158,6 @@
} }
.grid { .grid {
grid-template-columns: 70px 1fr; grid-template-columns: 70px 2fr;
} }
</style> </style>

View File

@ -160,8 +160,9 @@
text-transform: uppercase; text-transform: uppercase;
padding-left: 20px; padding-left: 20px;
margin-top: 20px; margin-top: 20px;
font-weight: 700; font-weight: 600;
opacity: 0.6; opacity: 0.4;
letter-spacing: 1px;
} }
.components-nav-header { .components-nav-header {
@ -169,8 +170,9 @@
color: #000333; color: #000333;
text-transform: uppercase; text-transform: uppercase;
margin-top: 20px; margin-top: 20px;
font-weight: 700; font-weight: 600;
opacity: 0.6; opacity: 0.4;
letter-spacing: 1px;
} }
.nav-header { .nav-header {
@ -220,10 +222,11 @@
.navigator-title { .navigator-title {
font-size: 14px; font-size: 14px;
color: var(--secondary100); color: var(--secondary100);
font-weight: 500; font-weight: 600;
text-transform: uppercase;
padding: 0 20px 20px 20px; padding: 0 20px 20px 20px;
line-height: 1rem !important; line-height: 1rem !important;
letter-spacing: 1px;
} }
.border-line { .border-line {