@miljodirektoratet/md-css 0.0.21 → 0.0.22

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": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "CSS for Miljødirektoratet",
5
5
  "author": "Miljødirektoratet",
6
6
  "main": "./src/index.css",
@@ -1,6 +1,7 @@
1
1
  .md-accordion-item {
2
2
  padding: 1em;
3
3
  background-color: var(--mdPrimaryColor20);
4
+ border: 1px solid var(--mdPrimaryColor20);
4
5
  color: var(--mdGreyColor);
5
6
  font-family: 'Open sans';
6
7
  margin-bottom: 1em;
@@ -13,6 +14,17 @@
13
14
 
14
15
  .md-accordion-item.md-accordion-item--secondary {
15
16
  background-color: var(--mdSecondaryColor60);
17
+ border: 1px solid var(--mdSecondaryColor60);
18
+ }
19
+
20
+ .md-accordion-item.md-accordion-item--add {
21
+ background-color: transparent;
22
+ border: 1px dashed var(--mdGreyColor80);
23
+ transition: all .2s linear;
24
+ }
25
+ .md-accordion-item--expanded.md-accordion-item--add {
26
+ background-color: var(--mdPrimaryColor20);
27
+ border: 1px solid var(--mdPrimaryColor20);
16
28
  }
17
29
 
18
30
  /* Header */
@@ -8,10 +8,6 @@
8
8
  padding: 4px 12px 4px 12px;
9
9
  border-radius: 4px;
10
10
  font-family: 'Open Sans';
11
- font-size: .88em;
12
- font-weight: 400;
13
- line-height: 18px;
14
- letter-spacing: 0em;
15
11
  text-align: left;
16
12
  white-space: nowrap;
17
13
  overflow: hidden;
@@ -33,6 +29,8 @@
33
29
  display: flex;
34
30
  align-self: flex-start;
35
31
  margin-right: 12px;
32
+ font-size: 14px;
33
+ line-height: 18px;
36
34
  }
37
35
 
38
36
  .md-info-tag__icon {