Merge pull request #158 from Budibase/navigator-panel-touch-ups

navigator panel touch ups
This commit is contained in:
Joe 2020-03-19 17:49:31 +00:00 committed by GitHub
commit 2630213776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 18 deletions

View File

@ -59,7 +59,7 @@
cursor: pointer; cursor: pointer;
padding: 0 7px 0 3px; padding: 0 7px 0 3px;
height: 35px; height: 35px;
margin: 5px 0; margin: 5px 20px 5px 0px;
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -71,7 +71,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
font-size: 0.85rem; font-size: 14px;
font-weight: 400; font-weight: 400;
text-transform: uppercase; text-transform: uppercase;
color: var(--secondary60); color: var(--secondary60);

View File

@ -34,6 +34,7 @@
grid-template-rows: 1fr; grid-template-rows: 1fr;
grid-template-columns: 70px 1fr; grid-template-columns: 70px 1fr;
grid-gap: 10px; grid-gap: 10px;
align-items: baseline;
} }
h5 { h5 {

View File

@ -43,7 +43,9 @@
<div class="pages-list-container"> <div class="pages-list-container">
<div class="nav-header"> <div class="nav-header">
<span class="navigator-title">Navigator</span> <span class="navigator-title">Navigator</span>
<span class="components-nav-header">Pages</span> <div class="border-line" />
<span class="components-nav-page">Pages</span>
</div> </div>
<div class="nav-items-container"> <div class="nav-items-container">
@ -152,25 +154,29 @@
overflow-y: hidden; overflow-y: hidden;
} }
.components-nav-header { .components-nav-page {
font-size: 12px; font-size: 12px;
color: #000333; color: #000333;
text-transform: uppercase; text-transform: uppercase;
margin-top: 1rem; padding-left: 20px;
margin-top: 20px;
font-weight: 700; font-weight: 700;
opacity: 0.6; opacity: 0.6;
} }
.nav-group-header { .components-nav-header {
font-size: 0.9rem; font-size: 12px;
padding-left: 1rem; color: #000333;
text-transform: uppercase;
margin-top: 20px;
font-weight: 700;
opacity: 0.6;
} }
.nav-header { .nav-header {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 1.5rem; margin-top: 20px;
padding: 0 1.8rem;
} }
.nav-items-container { .nav-items-container {
@ -179,7 +185,7 @@
.nav-group-header { .nav-group-header {
display: flex; display: flex;
padding: 1.5rem 0 0 1.8rem; padding: 0px 20px 0px 20px;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: bold; font-weight: bold;
justify-content: space-between; justify-content: space-between;
@ -212,20 +218,20 @@
} }
.navigator-title { .navigator-title {
font-size: 14px;
color: var(--secondary100);
font-weight: 500;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; padding: 0 20px 20px 20px;
color: #999; line-height: 1rem !important;
font-size: 0.9rem;
} }
.border-line { .border-line {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #d8d8d8;
margin-top: 1.5rem;
width: calc(100% + 1.5rem);
} }
.components-list-container { .components-list-container {
overflow: auto; overflow: auto;
padding: 0 30px 0 0; padding: 20px 0px 0 0;
} }
</style> </style>