@digigov/css 0.23.0 → 0.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,13 @@
7
7
  @apply w-full;
8
8
  }
9
9
  }
10
+ .govgr-filter--closed {
11
+ @apply hidden md:block;
12
+ }
10
13
  .govgr-filter__close-link {
11
14
  @apply flex flex-nowrap md:hidden text-right w-max float-right;
12
15
  .govgr-close-icon {
13
- @apply w-5 h-5 z-30 float-right;
16
+ @apply w-5 h-5 float-right;
14
17
  @apply ml-1 !important;
15
18
  fill: var(--color-link);
16
19
  }
@@ -37,6 +40,9 @@
37
40
  .govgr-filter__selected {
38
41
  @apply bg-gray100 p-4 m-2 mt-0 rounded;
39
42
  }
43
+ .govgr-filter__selected--indicator {
44
+ @apply md:hidden;
45
+ }
40
46
  .govgr-filter__selected-heading {
41
47
  @apply flex flex-wrap sm:flex-nowrap mb-4 md:mb-6 justify-between gap-x-2;
42
48
  .govgr-link, .govgr-heading-s, .govgr-heading-m, .govgr-heading-l, .govgr-heading-xl {
@@ -6,8 +6,7 @@
6
6
  }
7
7
  .govgr-loader {
8
8
  animation: rotate 10s linear infinite;
9
- width: 3rem;
10
- height: 3rem;
9
+ @apply w-fit h-10;
11
10
  }
12
11
  .govgr-loader__circle {
13
12
  fill: none;
@@ -23,6 +22,31 @@
23
22
  stroke-dashoffset: 0;
24
23
  animation: dash 4s ease-in-out 0s forwards infinite;
25
24
  }
25
+
26
+ .govgr-loader--inverse{
27
+ .govgr-loader__circle--1 {
28
+ @apply opacity-40;
29
+ stroke: var(--color-white);
30
+ }
31
+
32
+ .govgr-loader__circle--2 {
33
+ stroke: var(--color-white);
34
+ }
35
+ }
36
+
37
+
38
+ .govgr-loader--small {
39
+ @apply h-5 w-5;
40
+ }
41
+
42
+ .govgr-loader--medium {
43
+ @apply h-10 w-10;
44
+ }
45
+
46
+ .govgr-loader--large {
47
+ @apply h-12 w-12;
48
+ }
49
+
26
50
  @keyframes dash {
27
51
  0% {
28
52
  stroke-dashoffset: 0;
@@ -42,7 +42,7 @@
42
42
  }
43
43
  &:hover {
44
44
  .tooltiptext {
45
- @apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-10;
45
+ @apply block opacity-100 absolute w-64 -ml-32 top-8 left-1/2 px-4 py-2 z-1;
46
46
  @apply text-white rounded-sm bg-primary200 bg-opacity-90 shadow;
47
47
 
48
48
  &::after {
@@ -1,7 +1,7 @@
1
1
  .govgr-modal {
2
2
  @apply hidden justify-center items-center content-center
3
3
  mb-7 text-base-content bg-opacity-50 bg-gray200
4
- fixed z-10 left-0 top-0 w-full h-full overflow-auto;
4
+ fixed z-30 left-0 top-0 w-full h-full overflow-auto;
5
5
  }
6
6
  .govgr-modal__body {
7
7
  @apply w-full max-w-md md:max-w-lg lg:max-w-4xl
@@ -17,7 +17,7 @@
17
17
  @apply text-white;
18
18
  }
19
19
  .govgr-phase-banner_header {
20
- @apply bg-focus sticky top-0 z-50;
20
+ @apply bg-focus sticky top-0 z-10;
21
21
  .govgr-phase-banner {
22
22
  @apply mb-0;
23
23
  }
@@ -16,7 +16,7 @@
16
16
  @apply inline-block py-1 px-2 cursor-pointer text-lg ;
17
17
  }
18
18
  .govgr-radios__input {
19
- @apply absolute z-10 left-0.5 -top-1 m-0 rounded-3xl
19
+ @apply absolute z-1 left-0.5 -top-1 m-0 rounded-3xl
20
20
  w-10 h-10 opacity-100 cursor-pointer;
21
21
  appearance: none;
22
22
  background-color: #fff;
@@ -5,13 +5,16 @@
5
5
  .govgr-btn {
6
6
  @apply m-0 inline-flex;
7
7
  }
8
+ .govgr-dropdown__content {
9
+ @apply mt-2;
10
+ }
8
11
  .govgr-button-group {
9
12
  @apply mb-0 text-right sm:justify-end gap-y-2;
10
13
  }
11
14
  }
12
15
 
13
16
  .govgr-summary-list__row {
14
- @apply block sm:table-row
17
+ @apply block sm:flex
15
18
  pb-4 mb-4 border-b border-solid border-gray50
16
19
  sm:pb-0 sm:mb-0 sm:border-0 ;
17
20
  }
@@ -13,7 +13,7 @@
13
13
  @apply relative px-4 py-2 m-0 shadow-none cursor-pointer;
14
14
  @apply md:float-left md:border md:border-base100 md:bg-base100 md:rounded-t-sm md:mr-2 ;
15
15
  &.govgr-tabs__list-item-selected {
16
- @apply no-underline md:border-gray200 md:border bg-white z-20 md:border-b-0 md:px-5 md:pb-4 md:-mt-1 md:pt-4;
16
+ @apply no-underline md:border-gray200 md:border bg-white md:border-b-0 md:px-5 md:pb-4 md:-mt-1 md:pt-4;
17
17
  margin-bottom: -1px;
18
18
  &:hover {
19
19
  text-decoration-thickness: 2px;
@@ -43,7 +43,7 @@
43
43
  }
44
44
  }
45
45
  .govgr-tabs__panel {
46
- @apply bg-white md:hidden block md:px-4 py-4 pt-8 md:border md:border-base150 md:z-10 mb-0;
46
+ @apply bg-white md:hidden block md:px-4 py-4 pt-8 md:border md:border-base150 mb-0;
47
47
  &.govgr-tabs__panel-visible {
48
48
  @apply block;
49
49
  }
@@ -78,4 +78,19 @@
78
78
  }
79
79
  .govgr-xs-up {
80
80
  @apply xs:hidden;
81
+ }
82
+ .govgr-lg-up-block {
83
+ @apply lg:block !important;
84
+ }
85
+ .govgr-md-up-block {
86
+ @apply md:block !important;
87
+ }
88
+ .govgr-sm-up-block {
89
+ @apply sm:block !important;
90
+ }
91
+ .govgr-xl-up-block {
92
+ @apply xl:block !important;
93
+ }
94
+ .govgr-xs-up-block {
95
+ @apply xs:block !important;
81
96
  }
@@ -93,4 +93,19 @@
93
93
  .govgr-xs-up {
94
94
  @apply xs:hidden;
95
95
  }
96
+ .govgr-lg-up-block {
97
+ @apply lg:block !important;
98
+ }
99
+ .govgr-md-up-block {
100
+ @apply md:block !important;
101
+ }
102
+ .govgr-sm-up-block {
103
+ @apply sm:block !important;
104
+ }
105
+ .govgr-xl-up-block {
106
+ @apply xl:block !important;
107
+ }
108
+ .govgr-xs-up-block {
109
+ @apply xs:block !important;
110
+ }
96
111
  };
@@ -56,6 +56,7 @@ module.exports = {
56
56
  },
57
57
  zIndex: {
58
58
  '/1': -1,
59
+ '1': 1,
59
60
  },
60
61
  opacity: {
61
62
  '85': '0.85',