@ilo-org/styles 0.3.5 → 0.5.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ilo-org/styles",
3
3
  "description": "Styles for products using ILO's Design System",
4
- "version": "0.3.5",
4
+ "version": "0.5.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/international-labour-organization/designsystem.git",
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@ilo-org/fonts": "0.1.0",
22
- "@ilo-org/icons": "0.1.17",
23
- "@ilo-org/themes": "0.1.15"
22
+ "@ilo-org/icons": "0.2.1",
23
+ "@ilo-org/themes": "0.2.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "cssnano": "^5.1.13",
@@ -94,88 +94,10 @@
94
94
  margin: px-to-rem(55px) 0;
95
95
  }
96
96
 
97
- .social--headline {
98
- color: $color-base-neutrals-white;
99
- font-family: $fonts-display;
100
- font-weight: map-get($type, "weights", "label");
101
- @include font-styles("body-small");
102
- @include textmargin("margin-bottom", 28px, "body-small", "display", 0, 0);
103
- }
104
-
105
97
  .social--links {
106
- display: flex;
107
98
  margin-bottom: px-to-rem(45px);
108
99
  }
109
100
 
110
- .social--links--link {
111
- background-repeat: no-repeat;
112
- background-size: contain;
113
- border: 0;
114
- display: inline-block;
115
- height: px-to-rem(16px);
116
- margin: -1px;
117
- padding: 0;
118
- position: absolute;
119
- overflow: hidden;
120
- text-indent: -999rem;
121
- width: px-to-rem(16px);
122
-
123
- &.facebook {
124
- @include dataurlicon("facebook", $color-base-neutrals-lighter);
125
- }
126
-
127
- &.instagram {
128
- @include dataurlicon("instagram", $color-base-neutrals-lighter);
129
- }
130
-
131
- &.twitter {
132
- @include dataurlicon("twitter", $color-base-neutrals-lighter);
133
- }
134
-
135
- &.youtube {
136
- @include dataurlicon("youtube", $color-base-neutrals-lighter);
137
- }
138
- }
139
-
140
- .social--links--item {
141
- align-items: center;
142
- background-color: transparent;
143
- border-radius: px-to-rem(3px);
144
- display: flex;
145
- height: px-to-rem(24px);
146
- justify-content: center;
147
- margin-right: px-to-rem(20px);
148
- position: relative;
149
- width: px-to-rem(24px);
150
-
151
- &:last-of-type {
152
- margin-right: none;
153
- }
154
-
155
- &:hover,
156
- &:focus {
157
- background-color: $color-base-blue-light;
158
-
159
- .social--links--link {
160
- &.facebook {
161
- @include dataurlicon("facebook", $color-base-blue-medium);
162
- }
163
-
164
- &.instagram {
165
- @include dataurlicon("instagram", $color-base-blue-medium);
166
- }
167
-
168
- &.twitter {
169
- @include dataurlicon("twitter", $color-base-blue-medium);
170
- }
171
-
172
- &.youtube {
173
- @include dataurlicon("youtube", $color-base-blue-medium);
174
- }
175
- }
176
- }
177
- }
178
-
179
101
  .legal,
180
102
  .secondarylinks {
181
103
  color: $color-base-neutrals-medium;
@@ -348,10 +270,6 @@
348
270
  margin: 0 0 0 calc(18.9% + 64px);
349
271
  }
350
272
 
351
- .social--headline {
352
- text-align: left;
353
- }
354
-
355
273
  .ilo--button {
356
274
  align-self: start;
357
275
  justify-self: start;
@@ -380,18 +298,6 @@
380
298
  text-align: right;
381
299
  }
382
300
 
383
- .social--links {
384
- flex-direction: row-reverse;
385
- }
386
-
387
- .social--links--item:first-of-type {
388
- margin-right: 0;
389
- }
390
-
391
- .social--links--link {
392
- text-indent: 999em;
393
- }
394
-
395
301
  .legal,
396
302
  .secondarylinks {
397
303
  display: block;