Styling changes

Font stlyes changed
Margin revised
Table fonts updated
Select component updated
This commit is contained in:
Joe 2020-04-02 15:11:27 +01:00
parent 7a5d80a947
commit 203247f5d3
8 changed files with 57 additions and 19 deletions

View File

@ -37,7 +37,7 @@
.content {
flex: 1 1 auto;
margin: 40px 40px;
margin: 20px 40px;
}
.nav {

View File

@ -46,7 +46,8 @@
.button:hover {
cursor: pointer;
font-weight: 700;
font-weight: 600;
filter:saturate(90%);
}
.button:disabled {

View File

@ -0,0 +1,10 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="100%"
height="100%">
<path fill="none" d="M0 0h24v24H0z"/>
<path
fill="rgba(0,3,51,1)"
d="M12 14l-4-4h8z" />
</svg>

After

Width:  |  Height:  |  Size: 228 B

View File

@ -4,6 +4,7 @@ export { default as TerminalIcon } from "./Terminal.svelte"
export { default as InputIcon } from "./Input.svelte"
export { default as ImageIcon } from "./Image.svelte"
export { default as ArrowDownIcon } from "./ArrowDown.svelte"
export { default as DownArrowIcon } from "./DownArrow.svelte"
export { default as CircleIndicator } from "./CircleIndicator.svelte"
export { default as PencilIcon } from "./Pencil.svelte"
export { default as EventsIcon } from "./Events.svelte"

View File

@ -19,22 +19,22 @@
<style>
.select-container {
font-size: 0.9rem;
color: var(--secondary50);
font-size: 14px;
color: var(--secondary60);
font-weight: bold;
position: relative;
max-width: 300px;
min-width: 200px;
max-width: 400px;
min-width: 275px;
}
.adjusted {
padding-left: 2.5em;
padding-left: 30px;
}
i {
position: absolute;
left: 8px;
top: 8px;
left: 10px;
top: 10px;
}
select {
@ -42,8 +42,9 @@
display: block;
font-family: sans-serif;
font-weight: 400;
font-size: 14px;
color: #000333;
padding: 0 2.6em 0em 1.4em;
padding: 0 40px 0px 20px;
width: 100%;
max-width: 100%;
box-sizing: border-box;
@ -51,7 +52,7 @@
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background: var(--lightslate);
background: var(--white);
}
.arrow {
@ -62,6 +63,6 @@
width: 30px;
height: 30px;
pointer-events: none;
color: var(--primary100);
color: var(--secondary100);
}
</style>

View File

@ -63,7 +63,7 @@
<div class="root">
<div class="node-view">
<div class="database-actions">
<div class="budibase__label--big">{breadcrumbs}</div>
<div class="breadcrumb">{breadcrumbs}</div>
{#if $backendUiStore.selectedDatabase.id}
<ActionButton
primary
@ -92,6 +92,13 @@
flex: 1 1 auto;
}
.breadcrumb {
text-transform: uppercase;
font-size: 12px;
font-weight: 500;
color: var(--secondary60);
}
.database-actions {
display: flex;
justify-content: space-between;

View File

@ -99,9 +99,9 @@
<section>
<div class="table-controls">
<h4 class="budibase__title--3">
<h2 class="title">
{takeRight(2, $backendUiStore.breadcrumbs).join(' / ')}
</h4>
</h2>
<Select icon="ri-eye-line" bind:value={$backendUiStore.selectedView}>
{#each views as view}
<option value={view}>{view.name}</option>
@ -166,6 +166,18 @@
</section>
<style>
.title {
font-size: 24px;
font-weight: 600;
text-rendering: optimizeLegibility;
text-transform: capitalize;
}
.select {
background: white;
}
table {
border: 1px solid #ccc;
background: #fff;
@ -174,19 +186,24 @@
}
thead {
background: var(--background-button);
background: #f9f9f9;
border: 1px solid #ccc;
}
thead th {
color: var(--button-text);
text-transform: capitalize;
font-weight: 500;
font-size: 14px;
text-rendering: optimizeLegibility;
letter-spacing: 1px;
}
tbody tr {
border-bottom: 1px solid #ccc;
transition: 0.3s background-color;
color: var(--darkslate);
color: var(--secondary100);
font-size: 14px;
}
tbody tr:hover {
@ -196,7 +213,8 @@
.table-controls {
display: flex;
justify-content: space-between;
align-items: center;
align-items: baseline;
margin-top: 10px;
}
.ri-more-line:hover,

View File

@ -50,7 +50,7 @@
flex-direction: column;
max-height: 100%;
height: 100%;
background-color: var(--white);
background: var(--white);
}
.nav-group-header {