Final adjustments on filters nad metadata list page css.

This commit is contained in:
Mateus Machado Luna 2018-11-14 13:35:50 -02:00
parent d3349a6707
commit aceea4e29a
2 changed files with 651 additions and 641 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="filters-list-page">
<b-loading :active.sync="isLoadingMetadatumTypes"/> <b-loading :active.sync="isLoadingMetadatumTypes"/>
<tainacan-title v-if="!isRepositoryLevel"/> <tainacan-title v-if="!isRepositoryLevel"/>
<p v-if="isRepositoryLevel">{{ $i18n.get('info_repository_filters_inheritance') }}</p> <p v-if="isRepositoryLevel">{{ $i18n.get('info_repository_filters_inheritance') }}</p>
@ -502,315 +502,321 @@ export default {
@import "../../scss/_variables.scss"; @import "../../scss/_variables.scss";
.loading-spinner { .filters-list-page {
animation: spinAround 500ms infinite linear;
border: 2px solid #dbdbdb; .column:not(.available-metadata-area){
border-radius: 290486px; overflow: hidden;
border-right-color: transparent;
border-top-color: transparent;
content: "";
display: inline-block;
height: 1em;
width: 1em;
}
.active-filters-area {
font-size: 14px;
margin-right: 0.8em;
margin-left: -0.8em;
padding-right: 6em;
min-height: 330px;
@media screen and (max-width: 769px) {
min-height: 45px;
margin: 0;
padding-right: 0em;
}
@media screen and (max-width: 1216px) {
padding-right: 1em;
} }
&.filters-area-receive { .loading-spinner {
border: 1px dashed gray; animation: spinAround 500ms infinite linear;
border: 2px solid #dbdbdb;
border-radius: 290486px;
border-right-color: transparent;
border-top-color: transparent;
content: "";
display: inline-block;
height: 1em;
width: 1em;
} }
.collapse { .active-filters-area {
display: initial; font-size: 14px;
} margin-right: 0.8em;
margin-left: -0.8em;
padding-right: 6em;
min-height: 330px;
.active-filter-item { @media screen and (max-width: 769px) {
background-color: white; min-height: 45px;
padding: 0.7em 0.9em; margin: 0;
margin: 4px; padding-right: 0em;
min-height: 40px;
position: relative;
display: block;
transition: top 0.1s ease;
cursor: grab;
form.tainacan-form {
padding: 1.0em 2.0em;
margin-top: 1.0em;
border-top: 1px solid $gray2;
border-bottom: 1px solid $gray2;
} }
@media screen and (max-width: 1216px) {
&>.field, form { padding-right: 1em;
background-color: white !important;
} }
.handle { &.filters-area-receive {
padding-right: 6em; border: 1px dashed gray;
white-space: nowrap;
} }
.grip-icon {
color: $gray3; .collapse {
display: initial;
}
.active-filter-item {
background-color: white;
padding: 0.7em 0.9em;
margin: 4px;
min-height: 40px;
position: relative; position: relative;
} display: block;
.filter-name { transition: top 0.1s ease;
text-overflow: ellipsis; cursor: grab;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
margin-right: 0.4em;
&.is-danger { form.tainacan-form {
color: $danger !important; padding: 1.0em 2.0em;
margin-top: 1.0em;
border-top: 1px solid $gray2;
border-bottom: 1px solid $gray2;
} }
}
.label-details {
font-weight: normal;
color: $gray3;
}
.not-saved {
font-style: italic;
font-weight: bold;
color: $danger;
margin-left: 0.5rem;
}
.controls {
position: absolute;
right: 5px;
top: 10px;
.switch {
position: relative;
bottom: 3px;
}
.icon {
bottom: 1px;
position: relative;
i, i:before { font-size: 20px; }
}
}
&.not-sortable-item, &.not-sortable-item:hover {
cursor: default;
background-color: white !important;
}
&.not-focusable-item, &.not-focusable-item:hover {
cursor: default;
.metadatum-name {
color: $secondary;
}
.handle .label-details, .handle .icon {
color: $gray3 !important;
}
}
&.disabled-metadatum {
color: $gray3;
}
}
.active-filter-item:hover:not(.not-sortable-item) {
background-color: $secondary;
border-color: $secondary;
color: white !important;
&>.field, form {
background-color: white !important;
}
.grip-icon {
color: $white;
}
.label-details, .icon, .icon-level-identifier>i {
color: white !important;
}
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $secondary !important;
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
input[type="checkbox"]:checked + .check {
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
&:hover input[type="checkbox"] + .check {
border: 1.5px solid white !important;
background-color: $secondary !important;
}
}
}
.sortable-ghost {
border: 1px dashed $gray2;
display: block;
padding: 0.7em 0.9em;
margin: 4px;
height: 40px;
position: relative;
.grip-icon {
color: $gray3;
top: 2px;
position: relative;
}
}
}
.available-metadata-area {
padding: 10px 0px 10px 10px;
margin: 0;
max-width: 340px;
font-size: 14px;
@media screen and (max-width: 769px) {
max-width: 100%;
padding: 10px;
h3 {
margin: 1em 0em 1em 0em !important;
}
.available-metadatum-item::before,
.available-metadatum-item::after {
display: none !important;
}
}
h3 {
margin: 0.2em 0em 1em -1.2em;
font-weight: 500;
}
.available-metadatum-item {
padding: 0.7em;
margin: 4px;
background-color: white;
cursor: pointer;
left: 0;
line-height: 1.3em;
height: 40px;
position: relative;
border: 1px solid $gray2;
border-radius: 1px;
transition: left 0.2s ease;
.grip-icon { &>.field, form {
color: $gray3; background-color: white !important;
top: -4px; }
position: relative;
display: inline-block; .handle {
padding-right: 6em;
white-space: nowrap;
}
.grip-icon {
color: $gray3;
position: relative;
}
.filter-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
margin-right: 0.4em;
&.is-danger {
color: $danger !important;
}
}
.label-details {
font-weight: normal;
color: $gray3;
}
.not-saved {
font-style: italic;
font-weight: bold;
color: $danger;
margin-left: 0.5rem;
}
.controls {
position: absolute;
right: 5px;
top: 10px;
.switch {
position: relative;
bottom: 3px;
}
.icon {
bottom: 1px;
position: relative;
i, i:before { font-size: 20px; }
}
}
&.not-sortable-item, &.not-sortable-item:hover {
cursor: default;
background-color: white !important;
}
&.not-focusable-item, &.not-focusable-item:hover {
cursor: default;
.metadatum-name {
color: $secondary;
}
.handle .label-details, .handle .icon {
color: $gray3 !important;
}
}
&.disabled-metadatum {
color: $gray3;
}
} }
.icon { .active-filter-item:hover:not(.not-sortable-item) {
position: relative;
bottom: 4px;
}
.metadatum-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
display: inline-block;
max-width: 180px;
width: 60%;
}
&:after,
&:before {
content: '';
display: block;
position: absolute;
right: 100%;
width: 0;
height: 0;
border-style: solid;
}
&:after {
top: -1px;
border-color: transparent white transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -19px;
}
&:before {
top: -1px;
border-color: transparent $gray2 transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -20px;
}
}
.sortable-drag {
opacity: 1 !important;
}
.available-metadatum-item:not(.disabled-metadatum) {
&:hover{
background-color: $secondary; background-color: $secondary;
border-color: $secondary; border-color: $secondary;
color: white !important; color: white !important;
position: relative;
left: -4px;
&>.field, form {
background-color: white !important;
}
.grip-icon {
color: $white;
}
.label-details, .icon, .icon-level-identifier>i {
color: white !important;
}
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $secondary !important;
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
input[type="checkbox"]:checked + .check {
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
&:hover input[type="checkbox"] + .check {
border: 1.5px solid white !important;
background-color: $secondary !important;
}
}
}
.sortable-ghost {
border: 1px dashed $gray2;
display: block;
padding: 0.7em 0.9em;
margin: 4px;
height: 40px;
position: relative;
.grip-icon {
color: $gray3;
top: 2px;
position: relative;
}
}
}
.available-metadata-area {
padding: 10px 0px 10px 10px;
margin: 0;
max-width: 340px;
font-size: 14px;
@media screen and (max-width: 769px) {
max-width: 100%;
padding: 10px;
h3 {
margin: 1em 0em 1em 0em !important;
}
.available-metadatum-item::before,
.available-metadatum-item::after {
display: none !important;
}
}
h3 {
margin: 0.2em 0em 1em -1.2em;
font-weight: 500;
}
.available-metadatum-item {
padding: 0.7em;
margin: 4px;
background-color: white;
cursor: pointer;
left: 0;
line-height: 1.3em;
height: 40px;
position: relative;
border: 1px solid $gray2;
border-radius: 1px;
transition: left 0.2s ease;
.grip-icon {
color: $gray3;
top: -4px;
position: relative;
display: inline-block;
}
.icon {
position: relative;
bottom: 4px;
}
.metadatum-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
display: inline-block;
max-width: 180px;
width: 60%;
}
&:after,
&:before {
content: '';
display: block;
position: absolute;
right: 100%;
width: 0;
height: 0;
border-style: solid;
}
&:after { &:after {
border-color: transparent $secondary transparent transparent; top: -1px;
border-color: transparent white transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -19px;
} }
&:before { &:before {
border-color: transparent $secondary transparent transparent; top: -1px;
border-color: transparent $gray2 transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -20px;
} }
.icon-level-identifier>i { }
color: white !important; .sortable-drag {
} opacity: 1 !important;
.grip-icon { }
.available-metadatum-item:not(.disabled-metadatum) {
&:hover{
background-color: $secondary;
border-color: $secondary;
color: white !important; color: white !important;
position: relative;
left: -4px;
&:after {
border-color: transparent $secondary transparent transparent;
}
&:before {
border-color: transparent $secondary transparent transparent;
}
.icon-level-identifier>i {
color: white !important;
}
.grip-icon {
color: white !important;
}
} }
} }
} }
}
.inherited-filter { .inherited-filter {
&.active-filter-item:hover:not(.not-sortable-item) { &.active-filter-item:hover:not(.not-sortable-item) {
background-color: $blue5; background-color: $blue5;
border-color: $blue5; border-color: $blue5;
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $blue5 !important;
}
&:hover input[type="checkbox"] + .check {
background-color: $blue5 !important;
}
}
}
}
.inherited-metadatum {
&.available-metadatum-item:hover {
background-color: $blue5 !important;
border-color: $blue5 !important;
.switch.is-small { &:after {
input[type="checkbox"] + .check { border-color: transparent $blue5 transparent transparent !important;
background-color: $blue5 !important;
}
&:hover input[type="checkbox"] + .check {
background-color: $blue5 !important;
} }
&:before {
border-color: transparent $blue5 transparent transparent !important;
}
} }
} }
} }
.inherited-metadatum {
&.available-metadatum-item:hover {
background-color: $blue5 !important;
border-color: $blue5 !important;
&:after {
border-color: transparent $blue5 transparent transparent !important;
}
&:before {
border-color: transparent $blue5 transparent transparent !important;
}
}
}
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="metadata-list-page">
<b-loading :active.sync="isLoadingMetadatumTypes"/> <b-loading :active.sync="isLoadingMetadatumTypes"/>
<b-loading :active.sync="isLoadingMetadatumMappers"/> <b-loading :active.sync="isLoadingMetadatumMappers"/>
<tainacan-title v-if="!isRepositoryLevel"/> <tainacan-title v-if="!isRepositoryLevel"/>
@ -792,397 +792,401 @@ export default {
@import "../../scss/_variables.scss"; @import "../../scss/_variables.scss";
.column:not(.available-metadata-area){ .metadata-list-page {
overflow: hidden;
}
.page-title {
border-bottom: 1px solid $secondary;
h2 {
color: $blue5;
font-weight: 500;
}
margin: 1em 0em 2.0em 0em;
}
.w-100 {
width: 100%;
position: relative;
float: left;
}
.modal-new-link {
padding: 0.5em 1em 3em 1em;
}
.loading-spinner {
animation: spinAround 500ms infinite linear;
border: 2px solid #dbdbdb;
border-radius: 290486px;
border-right-color: transparent;
border-top-color: transparent;
content: "";
display: inline-block;
height: 1em;
width: 1em;
}
.active-metadata-area {
font-size: 14px;
margin-right: 0.8em;
margin-left: -0.8em;
padding-right: 6em;
min-height: 330px;
@media screen and (max-width: 769px) {
min-height: 45px;
margin: 0;
padding-right: 0em;
}
@media screen and (max-width: 1216px) {
padding-right: 1em;
}
&.metadata-area-receive {
border: 1px dashed gray;
}
.collapse {
display: initial;
}
.active-metadatum-item {
background-color: white;
padding: 0.7em 0.9em;
margin: 4px;
min-height: 40px;
display: block;
position: relative;
cursor: grab;
opacity: 1 !important;
&>.field, form { .column:not(.available-metadata-area){
background-color: white !important; overflow: hidden;
} }
.handle {
padding-right: 6em;
white-space: nowrap;
}
.grip-icon {
color: $gray3;
position: relative;
}
.metadatum-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
margin-right: 0.4em;
&.is-danger { .page-title {
color: $danger !important; border-bottom: 1px solid $secondary;
h2 {
color: $blue5;
font-weight: 500;
}
margin: 1em 0em 2.0em 0em;
}
.w-100 {
width: 100%;
position: relative;
float: left;
}
.modal-new-link {
padding: 0.5em 1em 3em 1em;
}
.loading-spinner {
animation: spinAround 500ms infinite linear;
border: 2px solid #dbdbdb;
border-radius: 290486px;
border-right-color: transparent;
border-top-color: transparent;
content: "";
display: inline-block;
height: 1em;
width: 1em;
}
.active-metadata-area {
font-size: 14px;
margin-right: 0.8em;
margin-left: -0.8em;
padding-right: 6em;
min-height: 330px;
@media screen and (max-width: 769px) {
min-height: 45px;
margin: 0;
padding-right: 0em;
}
@media screen and (max-width: 1216px) {
padding-right: 1em;
}
&.metadata-area-receive {
border: 1px dashed gray;
}
.collapse {
display: initial;
}
.active-metadatum-item {
background-color: white;
padding: 0.7em 0.9em;
margin: 4px;
min-height: 40px;
display: block;
position: relative;
cursor: grab;
opacity: 1 !important;
&>.field, form {
background-color: white !important;
}
.handle {
padding-right: 6em;
white-space: nowrap;
}
.grip-icon {
color: $gray3;
position: relative;
}
.metadatum-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
margin-right: 0.4em;
&.is-danger {
color: $danger !important;
}
}
.label-details {
font-weight: normal;
color: $gray3;
}
.not-saved {
font-style: italic;
font-weight: bold;
color: $danger;
margin-left: 0.5rem;
}
.controls {
position: absolute;
right: 5px;
top: 10px;
.switch {
position: relative;
bottom: 3px;
}
.icon {
bottom: 1px;
position: relative;
i, i:before { font-size: 20px; }
}
}
&.not-sortable-item, &.not-sortable-item:hover {
cursor: default;
background-color: white !important;
}
&.not-focusable-item, &.not-focusable-item:hover {
cursor: default;
.metadatum-name {
color: $secondary;
}
.handle .label-details, .handle .icon {
color: $gray3 !important;
}
}
&.disabled-metadatum {
color: $gray3;
}
}
.active-metadatum-item:hover:not(.not-sortable-item) {
background-color: $secondary;
border-color: $secondary;
color: white !important;
&>.field, form {
background-color: white !important;
}
.label-details, .icon, .not-saved, .icon-level-identifier>i {
color: white !important;
}
.grip-icon {
color: white;
}
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $secondary !important;
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
input[type="checkbox"]:checked + .check {
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
&:hover input[type="checkbox"] + .check {
border: 1.5px solid white !important;
background-color: $secondary !important;
}
} }
} }
.label-details { .sortable-ghost {
font-weight: normal; border: 1px dashed $gray2;
color: $gray3; display: block;
padding: 0.7em 0.9em;
margin: 4px;
height: 40px;
position: relative;
.grip-icon {
color: white;
}
} }
.not-saved { }
font-style: italic;
font-weight: bold; .available-metadata-area {
color: $danger; padding: 10px 0px 10px 10px;
margin-left: 0.5rem; margin: 0;
max-width: 340px;
font-size: 14px;
@media screen and (max-width: 769px) {
max-width: 100%;
padding: 10px;
h3 {
margin: 1em 0em 1em 0em !important;
}
.available-metadatum-item::before,
.available-metadatum-item::after {
display: none !important;
}
} }
.controls {
position: absolute; h3 {
right: 5px; margin: 0.2em 0em 1em -1.2em;
top: 10px; font-weight: 500;
.switch { }
.available-metadatum-item {
padding: 0.7em;
margin: 4px;
background-color: white;
cursor: pointer;
left: 0;
line-height: 1.3em;
height: 40px;
position: relative;
border: 1px solid $gray2;
border-radius: 1px;
transition: left 0.2s ease;
.grip-icon {
color: $gray3;
top: -4px;
position: relative; position: relative;
bottom: 3px; display: inline-block;
} }
.icon { .icon {
bottom: 1px;
position: relative; position: relative;
i, i:before { font-size: 20px; } bottom: 1px;
} }
}
&.not-sortable-item, &.not-sortable-item:hover {
cursor: default;
background-color: white !important;
}
&.not-focusable-item, &.not-focusable-item:hover {
cursor: default;
.metadatum-name { .metadatum-name {
color: $secondary; text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
display: inline-block;
max-width: 180px;
width: 60%;
} }
.handle .label-details, .handle .icon { &:after,
color: $gray3 !important; &:before {
content: '';
display: block;
position: absolute;
right: 100%;
width: 0;
height: 0;
border-style: solid;
}
&:after {
top: -1px;
border-color: transparent white transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -19px;
}
&:before {
top: -1px;
border-color: transparent $gray2 transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -20px;
} }
} }
&.disabled-metadatum {
color: $gray3; .sortable-drag {
} opacity: 1 !important;
}
.active-metadatum-item:hover:not(.not-sortable-item) {
background-color: $secondary;
border-color: $secondary;
color: white !important;
&>.field, form {
background-color: white !important;
} }
.label-details, .icon, .not-saved, .icon-level-identifier>i { @keyframes hightlighten {
color: white !important; 0% {
} color: #222;
background-color: white;
.grip-icon { border-color: white;
color: white;
}
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $secondary !important;
border: 1.5px solid white !important;
&::before { background-color: white !important; }
}
input[type="checkbox"]:checked + .check {
border: 1.5px solid white !important;
&::before { background-color: white !important; }
} }
&:hover input[type="checkbox"] + .check { 25% {
border: 1.5px solid white !important; color: white;
background-color: $secondary !important; background-color: #2cb4c1;
border-color: #2cb4c1;
}
75% {
color: white;
background-color: #2cb4c1;
border-color: #2cb4c1;
}
100% {
color: #222;
background-color: white;
border-color: white;
} }
} }
} @keyframes hightlighten-icon {
.sortable-ghost { 0% { color: #b1b1b1; }
border: 1px dashed $gray2; 25% { color: white; }
display: block; 75% { color: white; }
padding: 0.7em 0.9em; 100% { color: #b1b1b1; }
margin: 4px;
height: 40px;
position: relative;
.grip-icon {
color: white;
} }
} @keyframes hightlighten-arrow {
} 0% {
border-color: transparent white transparent transparent;
.available-metadata-area { border-color: transparent white transparent transparent;
padding: 10px 0px 10px 10px; }
margin: 0; 25% {
max-width: 340px; border-color: transparent #2cb4c1 transparent transparent;
font-size: 14px; border-color: transparent #2cb4c1 transparent transparent;
}
@media screen and (max-width: 769px) { 75% {
max-width: 100%; border-color: transparent #2cb4c1 transparent transparent;
padding: 10px; border-color: transparent #2cb4c1 transparent transparent;
h3 { }
margin: 1em 0em 1em 0em !important; 100% {
border-color: transparent white transparent transparent;
border-color: transparent white transparent transparent;
}
} }
.available-metadatum-item::before, .hightlighted-metadatum {
.available-metadatum-item::after {
display: none !important;
}
}
h3 {
margin: 0.2em 0em 1em -1.2em;
font-weight: 500;
}
.available-metadatum-item {
padding: 0.7em;
margin: 4px;
background-color: white;
cursor: pointer;
left: 0;
line-height: 1.3em;
height: 40px;
position: relative;
border: 1px solid $gray2;
border-radius: 1px;
transition: left 0.2s ease;
.grip-icon {
color: $gray3;
top: -4px;
position: relative;
display: inline-block;
}
.icon {
position: relative;
bottom: 1px;
}
.metadatum-name {
text-overflow: ellipsis;
overflow-x: hidden;
white-space: nowrap;
font-weight: bold;
margin-left: 0.4em;
display: inline-block;
max-width: 180px;
width: 60%;
}
&:after,
&:before {
content: '';
display: block;
position: absolute;
right: 100%;
width: 0;
height: 0;
border-style: solid;
}
&:after {
top: -1px;
border-color: transparent white transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -19px;
}
&:before {
top: -1px;
border-color: transparent $gray2 transparent transparent;
border-right-width: 16px;
border-top-width: 20px;
border-bottom-width: 20px;
left: -20px;
}
}
.sortable-drag {
opacity: 1 !important;
}
@keyframes hightlighten {
0% {
color: #222;
background-color: white; background-color: white;
border-color: white; position: relative;
} left: 0px;
25% { animation-name: hightlighten;
color: white;
background-color: #2cb4c1;
border-color: #2cb4c1;
}
75% {
color: white;
background-color: #2cb4c1;
border-color: #2cb4c1;
}
100% {
color: #222;
background-color: white;
border-color: white;
}
}
@keyframes hightlighten-icon {
0% { color: #b1b1b1; }
25% { color: white; }
75% { color: white; }
100% { color: #b1b1b1; }
}
@keyframes hightlighten-arrow {
0% {
border-color: transparent white transparent transparent;
border-color: transparent white transparent transparent;
}
25% {
border-color: transparent #2cb4c1 transparent transparent;
border-color: transparent #2cb4c1 transparent transparent;
}
75% {
border-color: transparent #2cb4c1 transparent transparent;
border-color: transparent #2cb4c1 transparent transparent;
}
100% {
border-color: transparent white transparent transparent;
border-color: transparent white transparent transparent;
}
}
.hightlighted-metadatum {
background-color: white;
position: relative;
left: 0px;
animation-name: hightlighten;
animation-duration: 1.0s;
animation-iteration-count: 2;
.grip-icon{
animation-name: hightlighten-icon;
animation-duration: 1.0s;
animation-iteration-count: 2;
}
&::before,
&::after {
animation-name: hightlighten-arrow;
animation-duration: 1.0s; animation-duration: 1.0s;
animation-iteration-count: 2; animation-iteration-count: 2;
}
} .grip-icon{
.available-metadatum-item:hover { animation-name: hightlighten-icon;
background-color: $secondary; animation-duration: 1.0s;
border-color: $secondary; animation-iteration-count: 2;
color: white; }
position: relative;
left: -4px;
&:after { &::before,
border-color: transparent $secondary transparent transparent; &::after {
} animation-name: hightlighten-arrow;
&:before { animation-duration: 1.0s;
border-color: transparent $secondary transparent transparent; animation-iteration-count: 2;
}
.icon {
color: white !important;
}
.grip-icon {
color: white;
}
}
}
.inherited-metadatum {
&.active-metadatum-item:hover:not(.not-sortable-item) {
background-color: $blue5;
border-color: $blue5;
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $blue5 !important;
}
&:hover input[type="checkbox"] + .check {
background-color: $blue5 !important;
} }
} }
} .available-metadatum-item:hover {
&.available-metadatum-item:hover { background-color: $secondary;
background-color: $blue5 !important; border-color: $secondary;
border-color: $blue5 !important; color: white;
position: relative;
&:after { left: -4px;
border-color: transparent $blue5 transparent transparent !important;
}
&:before {
border-color: transparent $blue5 transparent transparent !important;
}
&:after {
border-color: transparent $secondary transparent transparent;
}
&:before {
border-color: transparent $secondary transparent transparent;
}
.icon {
color: white !important;
}
.grip-icon {
color: white;
}
}
} }
} .inherited-metadatum {
#mappers-options-dropdown { &.active-metadatum-item:hover:not(.not-sortable-item) {
background-color: transparent; background-color: $blue5;
color: #fff; border-color: $blue5;
.switch.is-small {
input[type="checkbox"] + .check {
background-color: $blue5 !important;
}
&:hover input[type="checkbox"] + .check {
background-color: $blue5 !important;
}
}
}
&.available-metadatum-item:hover {
background-color: $blue5 !important;
border-color: $blue5 !important;
&:after {
border-color: transparent $blue5 transparent transparent !important;
}
&:before {
border-color: transparent $blue5 transparent transparent !important;
}
}
}
#mappers-options-dropdown {
background-color: transparent;
color: #fff;
}
} }
</style> </style>