@internetstiftelsen/styleguide 5.1.16 → 5.1.17-beta.0.1
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
|
@@ -76,12 +76,32 @@
|
|
|
76
76
|
word-break: normal !important;
|
|
77
77
|
hyphens: none !important;
|
|
78
78
|
overflow-wrap: normal !important;
|
|
79
|
+
background-color: transparent;
|
|
80
|
+
appearance: none;
|
|
81
|
+
|
|
82
|
+
&::after {
|
|
83
|
+
display: none;
|
|
84
|
+
content: attr(data-tooltip);
|
|
85
|
+
}
|
|
79
86
|
|
|
80
87
|
&:hover,
|
|
81
88
|
&:focus {
|
|
82
89
|
border: 0 !important;
|
|
83
90
|
background-color: transparent !important;
|
|
84
91
|
text-decoration: underline !important;
|
|
92
|
+
|
|
93
|
+
&::after {
|
|
94
|
+
display: block;
|
|
95
|
+
position: absolute;
|
|
96
|
+
background-color: colors.$color-cyberspace;
|
|
97
|
+
color: colors.$color-snow;
|
|
98
|
+
padding: func.rhythm(0.5) func.rhythm(1);
|
|
99
|
+
border-radius: var.$border-radius;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
z-index: func.z_index(foreground);
|
|
102
|
+
font-size: var.$size-medium;
|
|
103
|
+
font-family: var.$font-family-base;
|
|
104
|
+
}
|
|
85
105
|
}
|
|
86
106
|
}
|
|
87
107
|
|
|
@@ -111,10 +131,18 @@
|
|
|
111
131
|
}
|
|
112
132
|
}
|
|
113
133
|
}
|
|
134
|
+
|
|
135
|
+
@include bem.e(servicename) {
|
|
136
|
+
max-width: 15ch;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
overflow:hidden;
|
|
139
|
+
white-space: nowrap;
|
|
140
|
+
}
|
|
114
141
|
}
|
|
115
142
|
|
|
116
143
|
@include bem.e(first-col) {
|
|
117
144
|
width: 100px;
|
|
145
|
+
text-align: center !important;
|
|
118
146
|
|
|
119
147
|
@include breakpoint.bp-up(md) {
|
|
120
148
|
width: 130px;
|