@miljodirektoratet/md-css 6.3.0 → 6.3.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": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "description": "CSS for Miljødirektoratet",
5
5
  "author": "Miljødirektoratet",
6
6
  "main": "./src/index.css",
@@ -26,6 +26,7 @@
26
26
  background-color: #fff;
27
27
  line-height: 150%;
28
28
  border: 1px solid var(--mdGreyColor60);
29
+ border-radius: 4px;
29
30
  padding: 0.6875rem 6rem 0.6875rem 2.5rem;
30
31
  }
31
32
  .md-combobox--large .md-combobox__input {
@@ -51,6 +52,7 @@
51
52
  .md-combobox__input[aria-expanded='true'] {
52
53
  outline: 2px solid var(--mdPrimaryColor);
53
54
  outline-offset: -2px;
55
+ border-radius: 4px 4px 0 0;
54
56
  }
55
57
 
56
58
  .md-combobox__input[aria-expanded='true']::placeholder {
@@ -132,6 +134,7 @@
132
134
  overflow: auto;
133
135
  overscroll-behavior: contain;
134
136
  border: 2px solid var(--mdPrimaryColor);
137
+ border-radius: 0 0 4px 4px;
135
138
  border-top: 0;
136
139
  opacity: 0;
137
140
  transition-duration: 200ms;
@@ -27,7 +27,7 @@
27
27
 
28
28
  .md-input:not(.md-input.md-input--readonly):not(.md-input.md-input--disabled):active,
29
29
  .md-input:not(.md-input.md-input--readonly):not(.md-input.md-input--disabled):focus-visible {
30
- outline: 2px solid var(--mdPrimaryColor80);
30
+ outline: 2px solid var(--mdPrimaryColor);
31
31
  outline-offset: -2px;
32
32
  border-color: transparent;
33
33
  }
@@ -28,6 +28,7 @@
28
28
  font-size: 1rem;
29
29
  line-height: 150%;
30
30
  border: 1px solid var(--mdPrimaryColor);
31
+ border-radius: 4px;
31
32
  padding: 0.6875rem 1rem;
32
33
  background-color: #fff;
33
34
  position: relative;
@@ -47,6 +48,7 @@
47
48
  .md-select__button[aria-expanded='true'] {
48
49
  outline-width: 2px;
49
50
  transition: outline-width 0.1s ease-in;
51
+ border-radius: 4px 4px 0 0;
50
52
  }
51
53
  .md-select__button[aria-disabled='true'] {
52
54
  background-color: var(--mdGreyColor20);
@@ -107,6 +109,7 @@
107
109
  overflow: auto;
108
110
  overscroll-behavior: contain;
109
111
  border: 2px solid var(--mdPrimaryColor);
112
+ border-radius: 0 0 4px 4px;
110
113
  border-top: 0;
111
114
  opacity: 0;
112
115
  transition-duration: 200ms;
@@ -9,7 +9,7 @@
9
9
  max-width: 100%;
10
10
  width: 100%;
11
11
  background-color: #fff;
12
- border-radius: 0;
12
+ border-radius: 4px;
13
13
  border: 1px solid var(--mdGreyColor60);
14
14
  margin: 1px;
15
15
  color: var(--mdGreyColor);
@@ -19,7 +19,7 @@
19
19
 
20
20
  .md-textarea:not(.md-textarea.md-textarea--readonly):not(.md-textarea.md-textarea--disabled):active,
21
21
  .md-textarea:not(.md-textarea.md-textarea--readonly):not(.md-textarea.md-textarea--disabled):focus-visible {
22
- outline: 2px solid var(--mdPrimaryColor80);
22
+ outline: 2px solid var(--mdPrimaryColor);
23
23
  outline-offset: -2px;
24
24
  border-color: transparent;
25
25
  }