@oslokommune/punkt-css 0.21.6 → 0.22.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/CHANGELOG.md +19 -0
- package/CONTRIBUTING.md +23 -31
- package/README.md +183 -67
- package/dist/css/pkt-base.css +5 -5
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt.css +5 -5
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/base/_accessibility.scss +1 -1
- package/dist/scss/base/_typography.scss +4 -4
- package/package.json +3 -3
package/dist/css/pkt.css
CHANGED
|
@@ -9803,15 +9803,15 @@ a:active {
|
|
|
9803
9803
|
/*
|
|
9804
9804
|
* Alignment
|
|
9805
9805
|
*/
|
|
9806
|
-
.
|
|
9806
|
+
.pkt-txt-start {
|
|
9807
9807
|
text-align: left !important;
|
|
9808
9808
|
}
|
|
9809
9809
|
|
|
9810
|
-
.
|
|
9810
|
+
.pkt-txt-end {
|
|
9811
9811
|
text-align: right !important;
|
|
9812
9812
|
}
|
|
9813
9813
|
|
|
9814
|
-
.
|
|
9814
|
+
.pkt-txt-center {
|
|
9815
9815
|
text-align: center !important;
|
|
9816
9816
|
}
|
|
9817
9817
|
|
|
@@ -9819,7 +9819,7 @@ a:active {
|
|
|
9819
9819
|
* Truncate text
|
|
9820
9820
|
* requires inline-block or block
|
|
9821
9821
|
*/
|
|
9822
|
-
.truncate-
|
|
9822
|
+
.pkt-truncate-txt {
|
|
9823
9823
|
overflow: hidden;
|
|
9824
9824
|
text-overflow: ellipsis;
|
|
9825
9825
|
white-space: nowrap;
|
|
@@ -9930,7 +9930,7 @@ a:active {
|
|
|
9930
9930
|
* Accessibility
|
|
9931
9931
|
* https://kittygiraudel.com/2016/10/13/css-hide-and-seek/#undesirable-overflows-18012019
|
|
9932
9932
|
*/
|
|
9933
|
-
.pkt-btn--icon-only .pkt-btn__text, .sr-only {
|
|
9933
|
+
.pkt-btn--icon-only .pkt-btn__text, .pkt-sr-only {
|
|
9934
9934
|
border: 0 !important;
|
|
9935
9935
|
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
9936
9936
|
-webkit-clip-path: inset(50%) !important;
|