Unverified Commit 9198141c authored by Daniel's avatar Daniel Committed by GitHub

Minor style changes (#31)

- Removed double margin from .table-details > .row
- Fixed panel borders
parent 98d559c7
@import 'variables'; @import 'variables';
.table-detail { .table-detail {
margin: 40px auto 48px; margin: 64px auto 48px;
display: flex;
flex-direction: row;
}
/*
white-space: nowrap breaks without this width on the row
*/
.table-detail .row {
width: 100%;
margin: 0;
}
.error-label { .error-label {
margin: 48px auto; margin: 48px auto;
width: fit-content; width: fit-content;
} }
.detail-header { .detail-header {
margin-bottom: 32px; margin-bottom: 32px;
} }
.detail-header .title { .detail-header .title {
font-size: 32px; font-size: 32px;
overflow-wrap: break-word; overflow-wrap: break-word;
font-family: $font-family-sans-serif-bold; font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold; font-weight: $font-weight-sans-serif-bold;
} }
.detail-list-header > label { .detail-list-header > label {
font-size: 20px; font-size: 20px;
margin-top: auto; margin-top: auto;
margin-bottom: 32px; margin-bottom: 32px;
width: fit-content; width: fit-content;
line-height: 24px; line-height: 24px;
font-family: $font-family-sans-serif-bold; font-family: $font-family-sans-serif-bold;
font-weight: $font-weight-sans-serif-bold; font-weight: $font-weight-sans-serif-bold;
} }
@media (min-width: $screen-md-min) { @media (min-width: $screen-md-min) {
/* TODO: Delete this with Bootstrap V4 */ /* TODO: Delete this with Bootstrap V4 */
.float-md-right { .float-md-right {
float: right; float: right;
} }
.detail-header { .detail-header {
margin-bottom: 72px; margin-bottom: 72px;
}
} }
} }
@import 'variables'; @import 'variables';
.entity-card { .entity-card {
-webkit-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46); border-radius: 2px;
-moz-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
border: 1px solid $gray-lighter;
border-top: 4px solid $gradient-4; border-top: 4px solid $gradient-4;
border-radius: 5px; box-shadow: 0 0 24px -2px rgba(0, 0, 0, .2);
padding: 24px; padding: 32px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
} }
@media (max-width: $screen-sm-max) { @media (max-width: $screen-sm-max) {
.entity-card { .entity-card {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
border: 0; border: 0;
box-shadow: none;
padding: 0; padding: 0;
margin-bottom: 32px; margin-bottom: 32px;
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} }
.radio-set .radio-set-item:not(:first-child) { .radio-set .radio-set-item:not(:first-child) {
margin: 0px 0px 0px 14px; margin-left: 12px;
} }
.radio-set-item label { .radio-set-item label {
......
@import 'variables'; @import 'variables';
.feedback-component { .feedback-component {
box-shadow: 0 0 24px -2px rgba(0, 0, 0, .2);
bottom: 75px;
position: fixed; position: fixed;
right: 25px; right: 25px;
bottom: 75px;
z-index: 2; z-index: 2;
-webkit-box-shadow: 0 0 10px -1px rgba(0, 0, 0, .5);
-moz-box-shadow: 0 0 10px -1px rgba(0, 0, 0, .5);
box-shadow: 0 0 10px -1px rgba(0, 0, 0, .5);
&.expanded { &.expanded {
background-color: white; background-color: white;
padding: 24px; border-radius: 2px;
width: 400px; border-top: 4px solid $brand-primary;
height: auto; height: auto;
min-height: 450px; min-height: 450px;
border: 1px solid $gray-lighter; padding: 32px;
border-top: 4px solid $brand-primary; width: 400px;
border-radius: 0 0 5px 5px;
} }
&.collapsed { &.collapsed {
align-items: center;
background-color: $brand-primary; background-color: $brand-primary;
border: 2px solid white; border: 2px solid white;
margin: 0; border-radius: 50%; /* makes it a circle */
height: 48px; cursor: pointer;
width: 48px;
border-radius: 100px; /* makes it a circle */
display: flex; display: flex;
height: 48px;
justify-content: center; justify-content: center;
align-items: center; margin: 0;
cursor: pointer; width: 48px;
&:hover { &:hover {
opacity: 0.5; opacity: 0.5;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment