@miljodirektoratet/md-css 3.0.0 → 3.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miljodirektoratet/md-css",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "CSS for Miljødirektoratet",
5
5
  "author": "Miljødirektoratet",
6
6
  "main": "./src/index.css",
@@ -7,12 +7,6 @@
7
7
  transition: all 0.2s linear;
8
8
  }
9
9
 
10
- .md-accordion-item:focus-within {
11
- /* outline: 2px solid var(--mdPrimaryColor80);
12
- outline-offset: -2px; */
13
- outline: none;
14
- }
15
-
16
10
  .md-accordion-item.md-accordion-item--rounded {
17
11
  border-radius: 4px;
18
12
  }
@@ -62,7 +56,8 @@
62
56
  }
63
57
 
64
58
  .md-accordion-item__header:focus {
65
- outline: none;
59
+ outline: 2px solid var(--mdPrimaryColor80);
60
+ outline-offset: -8px;
66
61
  }
67
62
 
68
63
  .md-accordion-item__header-left {
@@ -88,7 +88,7 @@
88
88
  width: 16px;
89
89
  display: flex;
90
90
  color: var(--mdPrimaryColor);
91
- z-index: 0;
91
+ z-index: 2;
92
92
  }
93
93
 
94
94
  .md-autocomplete--small > .md-autocomplete__input__prefix {
@@ -197,7 +197,7 @@
197
197
  border-left: 2px solid var(--mdPrimaryColor);
198
198
  border-bottom: 2px solid var(--mdPrimaryColor);
199
199
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
200
- z-index: 2;
200
+ z-index: 3;
201
201
  }
202
202
 
203
203
  /* Focus state */
@@ -88,7 +88,7 @@
88
88
  width: 16px;
89
89
  display: flex;
90
90
  color: var(--mdPrimaryColor);
91
- z-index: 0;
91
+ z-index: 2;
92
92
  }
93
93
 
94
94
  .md-multiautocomplete--small > .md-multiautocomplete__input__prefix {
@@ -221,7 +221,7 @@
221
221
  border-left: 2px solid var(--mdPrimaryColor);
222
222
  border-bottom: 2px solid var(--mdPrimaryColor);
223
223
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
224
- z-index: 2;
224
+ z-index: 3;
225
225
  }
226
226
 
227
227
  /* Focus state */