Browse Source

Table UI changes

master
kj1352 3 years ago
parent
commit
54e57ab005
2 changed files with 15 additions and 9 deletions
  1. +2
    -2
      src/app/dashboard/table/table.component.html
  2. +13
    -7
      src/app/dashboard/table/table.component.scss

+ 2
- 2
src/app/dashboard/table/table.component.html View File

@@ -70,7 +70,7 @@


<section class="page-settings"> <section class="page-settings">
<div class="input-holder side-label"> <div class="input-holder side-label">
<input type="tel" value="10">
<input type="number" value="10">
<label> Show </label> <label> Show </label>
</div> </div>


@@ -82,7 +82,7 @@
<img src="assets/chevron-left.svg" alt=""> <img src="assets/chevron-left.svg" alt="">
</button> </button>
<div class="input-holder side-label"> <div class="input-holder side-label">
<input type="tel" value="1">
<input type="number" value="1">
<label> Page </label> <label> Page </label>
</div> </div>
<div class="text"> <div class="text">


+ 13
- 7
src/app/dashboard/table/table.component.scss View File

@@ -84,6 +84,7 @@
height: 70vh; height: 70vh;
overflow: auto; overflow: auto;
line-height: 1.8; line-height: 1.8;
letter-spacing: 0.5px;


header, .row { header, .row {
display: flex; display: flex;
@@ -107,6 +108,10 @@
width: 100%; width: 100%;
} }


a {
color: var(--primary);
}

&:nth-child(1) { &:nth-child(1) {
width: 70px; width: 70px;
} }
@@ -140,20 +145,21 @@
background-color: white; background-color: white;
border-radius: var(--common-border-radius); border-radius: var(--common-border-radius);
cursor: pointer; cursor: pointer;
transition: background-color 0.3s, color 0.3s;
transition: border-color 0.3s, box-shadow 0.3s;
height: 100px; height: 100px;
border: 2px solid transparent;
box-shadow: none;


&:nth-child(even) { &:nth-child(even) {
background-color: var(--input-background); background-color: var(--input-background);
} }


&:hover { &:hover {
background-color: var(--primary);
color: white;

a {
color: var(--secondary);
}
position: relative;
color: var(--primary-text);
font-weight: 500;
border-color: var(--primary);
box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024, 0 3px 14px 2px #0000001f;
} }
} }
} }


Loading…
Cancel
Save