Skip to content

Commit 9d3eb9e

Browse files
authored
Merge branch 'develop-postgres' into bug
2 parents 6fbf633 + b1f4903 commit 9d3eb9e

File tree

2 files changed

+154
-147
lines changed

2 files changed

+154
-147
lines changed

src/screens/SubTags/SubTags.module.css

Lines changed: 0 additions & 145 deletions
This file was deleted.

src/style/app.module.css

Lines changed: 154 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@
210210

211211
.btnsContainer {
212212
display: flex;
213+
/* Adjust spacing between items */
213214
margin: 2.5rem 0;
215+
align-items: center;
216+
gap: 10px;
214217
}
215218

216219
.btnsContainer .btnsBlock {
@@ -393,6 +396,11 @@
393396
transform: scale(1.5);
394397
color: var(--bs-danger);
395398
margin-bottom: 1rem;
399+
/* Add error icon for non-color indication */
400+
&::before {
401+
content: '⚠️';
402+
margin-right: 0.5rem;
403+
}
396404
}
397405

398406
.subTagsLink {
@@ -405,13 +413,15 @@
405413
visibility: hidden;
406414
}
407415

408-
.subTagsLink:hover {
416+
.subTagsLink:hover,
417+
.subTagsLink:focus {
409418
color: var(--subtle-blue-grey-hover);
410419
font-weight: 600;
411420
text-decoration: underline;
412421
}
413422

414-
.subTagsLink:hover i {
423+
.subTagsLink:hover i,
424+
.subTagsLink:focus i {
415425
visibility: visible;
416426
}
417427

@@ -606,3 +616,145 @@ hr {
606616
transform: rotate(360deg);
607617
}
608618
}
619+
620+
.btnsContainer .btnsBlock {
621+
display: flex;
622+
width: max-content;
623+
}
624+
625+
.btnsContainer .btnsBlock button {
626+
margin-left: 1rem;
627+
display: flex;
628+
justify-content: center;
629+
align-items: center;
630+
}
631+
632+
.btnsContainer .input {
633+
flex: 1;
634+
position: relative;
635+
max-width: 60%;
636+
justify-content: space-between;
637+
}
638+
639+
.btnsContainer input {
640+
outline: 1px solid var(--bs-gray-400);
641+
}
642+
643+
.btnsContainer .input button {
644+
width: 52px;
645+
}
646+
647+
@media (max-width: 1020px) {
648+
.btnsContainer {
649+
flex-direction: column;
650+
margin: 1.5rem 0;
651+
}
652+
653+
.btnsContainer .btnsBlock {
654+
margin: 1.5rem 0 0 0;
655+
justify-content: space-between;
656+
}
657+
658+
.btnsContainer .btnsBlock button {
659+
margin: 0;
660+
}
661+
662+
.btnsContainer .btnsBlock div button {
663+
margin-right: 1.5rem;
664+
}
665+
}
666+
667+
/* For mobile devices */
668+
669+
@media (max-width: 520px) {
670+
.btnsContainer {
671+
margin-bottom: 0;
672+
}
673+
674+
.btnsContainer .btnsBlock {
675+
display: block;
676+
margin-top: 1rem;
677+
margin-right: 0;
678+
}
679+
680+
.btnsContainer .btnsBlock div {
681+
flex: 1;
682+
}
683+
684+
.btnsContainer .btnsBlock div[title='Sort organizations'] {
685+
margin-right: 0.5rem;
686+
}
687+
688+
.btnsContainer .btnsBlock button {
689+
margin-bottom: 1rem;
690+
margin-right: 0;
691+
width: 100%;
692+
}
693+
}
694+
695+
.errorMessage {
696+
margin-top: 25%;
697+
display: flex;
698+
justify-content: center;
699+
align-items: center;
700+
flex-direction: column;
701+
}
702+
703+
.tableHeader {
704+
background-color: var(--bs-primary-text-emphasis);
705+
color: var(--bs-white);
706+
font-size: 1rem;
707+
}
708+
.rowBackground {
709+
background-color: var(--bs-white);
710+
max-height: 120px;
711+
overflow-y: auto;
712+
}
713+
714+
.subTagsLink {
715+
color: var(--bs-blue);
716+
font-weight: 500;
717+
cursor: pointer;
718+
/* Prevent layout shift */
719+
&::after {
720+
display: block;
721+
content: attr(data-text);
722+
font-weight: 600;
723+
height: 0;
724+
overflow: hidden;
725+
visibility: hidden;
726+
}
727+
}
728+
729+
.subTagsLink i {
730+
visibility: hidden;
731+
}
732+
733+
.tagsBreadCrumbs {
734+
color: var(--bs-gray);
735+
cursor: pointer;
736+
/* Prevent layout shift */
737+
&::after {
738+
display: block;
739+
content: attr(data-text);
740+
font-weight: 600;
741+
height: 0;
742+
overflow: hidden;
743+
visibility: hidden;
744+
}
745+
}
746+
747+
.tagsBreadCrumbs:hover,
748+
.tagsBreadCrumbs:focus {
749+
color: var(--bs-blue);
750+
font-weight: 600;
751+
text-decoration: underline;
752+
}
753+
754+
.subTagsScrollableDiv {
755+
scrollbar-width: auto;
756+
scrollbar-color: var(--bs-gray-400) var(--bs-white);
757+
758+
max-height: calc(100vh - 18rem);
759+
overflow: auto;
760+
}

0 commit comments

Comments
 (0)