@apolitical/component-library 3.0.3-4117.3 → 3.0.3

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.
@@ -9,9 +9,17 @@
9
9
  text-align: center;
10
10
  }
11
11
 
12
- .content-slim {
13
- max-width: px-to-rem($content-slim-width);
12
+ .content-slim,
13
+ .content-slimmest {
14
14
  margin-left: auto;
15
15
  margin-right: auto;
16
16
  }
17
+
18
+ .content-slim {
19
+ max-width: px-to-rem($content-slim-width);
20
+ }
21
+
22
+ .content-slimmest {
23
+ max-width: px-to-rem($content-slimmest-width);
24
+ }
17
25
  }
@@ -16,11 +16,6 @@ $li: (
16
16
  margin: 0 0 px-to-rem(get-map($ul, 'margin-bottom')) 0;
17
17
  padding-left: px-to-rem(get-map($ul, 'padding-left'));
18
18
  display: block;
19
-
20
- &.unstyled {
21
- list-style: none;
22
- padding-left: 0;
23
- }
24
19
  }
25
20
 
26
21
  li {
@@ -5,9 +5,6 @@ $highlight: (
5
5
  'height': 4,
6
6
  'margin-top': 12,
7
7
  'border-radius': 8,
8
- 'width_position_horizontal': 4,
9
- 'height_position_horizontal': 24,
10
- 'bottom_position_horizontal': 26,
11
8
  );
12
9
  $pre-title: (
13
10
  'font-size': 14,
@@ -107,17 +104,6 @@ $count-icon: (
107
104
  left: 50%;
108
105
  transform: translateX(-50%);
109
106
  }
110
- } @else if $align == 'left' {
111
- padding-left: px-to-rem(
112
- get-map($highlight, 'height') + get-map($highlight, 'margin-top')
113
- );
114
-
115
- &::after {
116
- width: px-to-rem(get-map($highlight, 'width_position_horizontal'));
117
- height: px-to-rem(get-map($highlight, 'height_position_horizontal'));
118
- bottom: px-to-rem(get-map($highlight, 'bottom_position_horizontal'));
119
- max-height: 100%;
120
- }
121
107
  }
122
108
  }
123
109
 
@@ -7,9 +7,7 @@ $base: (
7
7
  background: get-map($c, 'white'),
8
8
  highlight_bg: get-map($c, 'g300'),
9
9
  title: get-map($c, 'n900'),
10
- title_secondary: get-map($c, 'p500'),
11
10
  subtitle: get-map($c, 'n800'),
12
- subtitle_secondary: get-map($c, 'n700'),
13
11
  text: get-map($c, 'n900'),
14
12
  text_error: get-map($c, 'error600'),
15
13
  text_line: get-map($c, 'g50'),
@@ -5,3 +5,6 @@ $outline: 0 0 0 $outline-width;
5
5
 
6
6
  // This is used for the width of a slimmer layout column.
7
7
  $content-slim-width: 1040;
8
+
9
+ // This is used for the width of the slimmest layout column.
10
+ $content-slimmest-width: 752;