@uqds/lists 0.0.15-alpha.0 → 0.1.0-alpha.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/dist/css/main.css +1 -1
- package/package.json +3 -3
- package/src/scss/_component.scss +8 -8
- package/src/scss/_global.scss +0 -4
package/dist/css/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.vertical-list{font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;list-style-type:none;margin-bottom:1rem;padding:0}.vertical-list__title{font-size:1.5rem}.vertical-list__item{list-style:none;padding:.5rem 0}.vertical-list--large-spacing .vertical-list__item{padding:2rem 0}.vertical-list--large-spacing .vertical-list__item__date{font-size:90%}.vertical-list--ruled .vertical-list__title{border-top:2px solid #dcdcdd;padding-top:2rem}.vertical-list--ruled .vertical-list__item{border-bottom:1px solid #dcdcdd;padding-top:1rem}.vertical-list--ruled .vertical-list__item:first-child{padding-top:0}.vertical-list--ruled .vertical-list__item--first{border-top:1px solid #dcdcdd;padding-top:1rem}.vertical-list--ruled .vertical-list__item__date{font-size:90%}.vertical-list--shaded .vertical-list__item{background:#f3f3f4;margin-bottom:.5rem;padding:1.5rem}.vertical-list--shaded .vertical-list__item__date{font-size:90%}.horizontal-list{display:inline-block;font-family:"Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;list-style-type:none;padding:0;margin-bottom:1rem}.horizontal-list__title{font-size:1.5rem}.horizontal-list__item{float:left;list-style:none;padding:0 1rem;margin:0 0 1rem 0}.horizontal-list--ruled .horizontal-list__title{border-top:2px solid #dcdcdd;padding-top:2rem}.horizontal-list--ruled .horizontal-list__item{border-right:1px solid #dcdcdd;padding-right:1rem}.horizontal-list--ruled .horizontal-list__item:last-child{border:0}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uqds/lists",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
4
|
"description": "The list component package",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"uqds",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"url": "https://github.com/uq-its-ss/design-system/issues"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@uqds/core": "^1.
|
|
43
|
+
"@uqds/core": "^1.2.0-alpha.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "78891f49ec037688e08f67f30a52691404325da7"
|
|
46
46
|
}
|
package/src/scss/_component.scss
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
padding: core.$space-none;
|
|
23
23
|
|
|
24
24
|
&__title {
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: core.$font-size-xxl;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&__item {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
|
|
43
43
|
&--ruled {
|
|
44
44
|
.vertical-list__title {
|
|
45
|
-
border-top: 2px solid
|
|
45
|
+
border-top: 2px solid core.$grey-200;
|
|
46
46
|
padding-top: core.$space-xl;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.vertical-list__item {
|
|
50
|
-
border-bottom: 1px solid
|
|
50
|
+
border-bottom: 1px solid core.$grey-200;
|
|
51
51
|
padding-top: core.$space-m; //.75rem
|
|
52
52
|
|
|
53
53
|
&:first-child {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&--first {
|
|
58
|
-
border-top: 1px solid
|
|
58
|
+
border-top: 1px solid core.$grey-200;
|
|
59
59
|
padding-top: core.$space-m; // .75rem
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
&--shaded {
|
|
68
68
|
.vertical-list__item {
|
|
69
|
-
background:
|
|
69
|
+
background: core.$grey-50;
|
|
70
70
|
margin-bottom: core.$space-s;
|
|
71
71
|
padding: core.$space-l;
|
|
72
72
|
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
margin-bottom: core.$space-m;
|
|
89
89
|
|
|
90
90
|
&__title {
|
|
91
|
-
font-size:
|
|
91
|
+
font-size: core.$font-size-xxl;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&__item {
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
|
|
101
101
|
&--ruled {
|
|
102
102
|
.horizontal-list__title {
|
|
103
|
-
border-top: 2px solid
|
|
103
|
+
border-top: 2px solid core.$grey-200;
|
|
104
104
|
padding-top: core.$space-xl;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.horizontal-list__item {
|
|
108
|
-
border-right: 1px solid
|
|
108
|
+
border-right: 1px solid core.$grey-200;
|
|
109
109
|
padding-right: core.$space-m; // .75rem;
|
|
110
110
|
|
|
111
111
|
&:last-child {
|