table beautification complete

This commit is contained in:
Erin
2019-07-27 17:16:21 -05:00
parent 394fdeb6aa
commit 65461a14cc
4 changed files with 57 additions and 97 deletions

View File

@@ -44,24 +44,27 @@ export default {
padding: 0.5rem 1rem 0.5rem 1rem;
font-weight: 600;
}
.toggleWrapper {
display: grid;
grid-template-columns: 1fr 1fr;
width: min-content;
border: 3px;
border-color: #08e5ff;
border-style: solid;
border-radius: .5rem;
overflow:hidden;
}
.viewToggle {
padding: 0 .2rem;
color: #008190;
}
.active {
background-color: #08e5ff;
color: #232331;
}
div {
cursor: pointer;
}
.toggleWrapper {
display: grid;
grid-template-columns: 1fr 1fr;
width: min-content;
border: 3px;
border-color: #08e5ff;
border-style: solid;
border-radius: 0.5rem;
overflow: hidden;
}
.viewToggle {
padding: 0 0.2rem;
color: #008190;
}
.active {
background-color: #08e5ff;
color: #232331;
}
}
@media (max-width: 400px) {

View File

@@ -52,58 +52,26 @@ export default {
<style lang="scss" scoped>
.tableHead {
background: #2d3748;
border-radius: 0.3rem;
padding: 1rem;
padding: 0.25rem;
transition: 0.2s ease-in-out;
// display: flex;
// flex-direction: column;
// position: relative;
&--active {
box-shadow: inset 0px 0px 0px 3px #08e5ff;
}
&--reference {
cursor: pointer;
}
&--links {
display: flex;
justify-content: flex-end;
img {
width: 1rem;
margin-left: 0.5rem;
}
}
width: 1fr;
display: grid;
grid-template-columns: minmax(150px, 2fr) 8fr 125px;
&--title {
font-weight: 900;
margin: 0;
color: #008190;
}
&--description {
// display: flex;
// align-content: stretch;
// flex: 1 1 auto;
// flex-direction: column;
font-size: 13px;
color: white;
margin: 0 0 0.7rem 0;
color: #008190;
line-height: 1.3;
letter-spacing: 0.5px;
max-width: 15rem;
}
a {
font-size: 12px;
line-height: 1;
align-self: flex-end;
margin-left: 1.7rem;
&:hover::before {
opacity: 0.5;
}
&--links {
cursor: pointer;
color: #008190;
}
&--reference {
&::before {
position: absolute;

View File

@@ -57,58 +57,41 @@ export default {
<style lang="scss" scoped>
.tableRow {
background: #2d3748;
border-radius: 0.3rem;
padding: 1rem;
padding: 0.25rem;
transition: 0.2s ease-in-out;
// display: flex;
// flex-direction: column;
// position: relative;
width: 1fr;
display: grid;
grid-template-columns: minmax(150px, 2fr) 8fr 125px;
&--active {
box-shadow: inset 0px 0px 0px 3px #08e5ff;
&--title {
color: white;
}
&--reference {
cursor: pointer;
&--description {
color: #008190;
line-height: 1.3;
margin-right: 10px;
}
&--links {
display: flex;
justify-content: flex-end;
cursor: pointer;
tr {
width: 100%;
display: flex;
justify-content: space-between;
}
img {
width: 1rem;
margin-left: 0.5rem;
}
}
&--title {
font-weight: 900;
margin: 0;
}
&--description {
// display: flex;
// align-content: stretch;
// flex: 1 1 auto;
// flex-direction: column;
font-size: 13px;
color: white;
margin: 0 0 0.7rem 0;
line-height: 1.3;
letter-spacing: 0.5px;
max-width: 15rem;
}
a {
font-size: 12px;
line-height: 1;
align-self: flex-end;
margin-left: 1.7rem;
&:hover::before {
opacity: 0.5;
}
}
&--reference {
&::before {
position: absolute;