Skip to content

Commit b27f43a

Browse files
authored
Merge pull request #536 from picturepan2/0.5.7
0.5.7
2 parents 81ee834 + 4da76f6 commit b27f43a

File tree

154 files changed

+1751
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1751
-317
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#### Spectre.css Changelog
22

3+
##### [v0.5.7](https://github.com/picturepan2/spectre/releases/tag/v0.5.7)
4+
5+
- Add pure CSS 360-Degree Viewer
6+
- Improve Docs SEO
7+
- Change Carousels image number to variable #428
8+
- Fix Form textarea height issue
9+
310
##### [v0.5.6](https://github.com/picturepan2/spectre/releases/tag/v0.5.6)
411

512
- Add Docs Search #509 #291
@@ -10,7 +17,6 @@
1017
- Fix #511 issue
1118
- Fix sidebar background height for short docs pages
1219

13-
1420
##### [v0.5.5](https://github.com/picturepan2/spectre/releases/tag/v0.5.5)
1521

1622
- IMPORTANT: New Docs
@@ -145,7 +151,7 @@ IMPORTANT: Move Autocomplete to the Experimentals
145151

146152
##### [v0.3.1](https://github.com/picturepan2/spectre/releases/tag/v0.3.1)
147153

148-
*IMPORTANT*: The default root font-size has been changed to `20px`, please update your `rem` numbers if you're using the custom sizes. [Learn more](https://picturepan2.github.io/spectre/getting-started.html#variables-sizes).
154+
*IMPORTANT*: The default root font-size has been changed to `20px`, please update your `rem` numbers if you're using the custom sizes. [Learn more](https://picturepan2.github.io/spectre/getting-started/custom.html#variables-sizes).
149155

150156
- Fix margin and padding utilities bug
151157
- Add grid offset

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can compile your custom version of Spectre.css. Read [the documentation](htt
5050
- [Tables](https://picturepan2.github.io/spectre/elements/tables.html)
5151
- [Buttons](https://picturepan2.github.io/spectre/elements/buttons.html)
5252
- [Forms](https://picturepan2.github.io/spectre/elements/forms.html)
53-
- [Icons](https://picturepan2.github.io/spectre/elements/icons.html) - CSS only
53+
- [Icons](https://picturepan2.github.io/spectre/elements/icons.html) - CSS ONLY
5454
- [Labels](https://picturepan2.github.io/spectre/elements/labels.html)
5555
- [Code](https://picturepan2.github.io/spectre/elements/code.html)
5656
- [Media](https://picturepan2.github.io/spectre/elements/media.html)
@@ -87,14 +87,15 @@ You can compile your custom version of Spectre.css. Read [the documentation](htt
8787
- [Utilities](https://picturepan2.github.io/spectre/utilities.html) - colors, display, divider, loading, position, shapes and text utilities
8888

8989
### Experimentals
90+
- [360-Degree Viewer](https://picturepan2.github.io/spectre/experimentals/viewer-360.html) - CSS ONLY
9091
- [Autocomplete](https://picturepan2.github.io/spectre/experimentals/autocomplete.html)
9192
- [Calendars](https://picturepan2.github.io/spectre/experimentals/calendars.html)
92-
- [Carousels](https://picturepan2.github.io/spectre/experimentals/carousels.html) - CSS only
93-
- [Comparison Sliders](https://picturepan2.github.io/spectre/experimentals/comparison.html) - CSS only
94-
- [Filters](https://picturepan2.github.io/spectre/experimentals/filters.html) - CSS only
93+
- [Carousels](https://picturepan2.github.io/spectre/experimentals/carousels.html) - CSS ONLY
94+
- [Comparison Sliders](https://picturepan2.github.io/spectre/experimentals/comparison.html) - CSS ONLY
95+
- [Filters](https://picturepan2.github.io/spectre/experimentals/filters.html) - CSS ONLY
9596
- [Meters](https://picturepan2.github.io/spectre/experimentals/meters.html)
96-
- [Off-canvas](https://picturepan2.github.io/spectre/experimentals/off-canvas.html) - CSS only
97-
- [Parallax](https://picturepan2.github.io/spectre/experimentals/parallax.html) - CSS only
97+
- [Off-canvas](https://picturepan2.github.io/spectre/experimentals/off-canvas.html) - CSS ONLY
98+
- [Parallax](https://picturepan2.github.io/spectre/experimentals/parallax.html) - CSS ONLY
9899
- [Progress](https://picturepan2.github.io/spectre/experimentals/progress.html)
99100
- [Sliders](https://picturepan2.github.io/spectre/experimentals/sliders.html)
100101
- [Timelines](https://picturepan2.github.io/spectre/experimentals/timelines.html)

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spectre.css",
3-
"version": "0.5.6",
3+
"version": "0.5.7",
44
"description": "Spectre.css: A lightweight, responsive and modern CSS framework",
55
"homepage": "http://picturepan2.github.io/spectre",
66
"repository": "picturepan2/spectre",

dist/spectre-exp.css

Lines changed: 196 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Spectre.css Experimentals v0.5.6 | MIT License | github.com/picturepan2/spectre */
1+
/*! Spectre.css Experimentals v0.5.7 | MIT License | github.com/picturepan2/spectre */
22
.form-autocomplete {
33
position: relative;
44
}
@@ -271,6 +271,30 @@
271271
white-space: nowrap;
272272
}
273273

274+
.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
275+
.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
276+
.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3),
277+
.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4),
278+
.carousel .carousel-locator:nth-of-type(5):checked ~ .carousel-container .carousel-item:nth-of-type(5),
279+
.carousel .carousel-locator:nth-of-type(6):checked ~ .carousel-container .carousel-item:nth-of-type(6),
280+
.carousel .carousel-locator:nth-of-type(7):checked ~ .carousel-container .carousel-item:nth-of-type(7),
281+
.carousel .carousel-locator:nth-of-type(8):checked ~ .carousel-container .carousel-item:nth-of-type(8) {
282+
animation: carousel-slidein .75s ease-in-out 1;
283+
opacity: 1;
284+
z-index: 100;
285+
}
286+
287+
.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-nav .nav-item:nth-of-type(1),
288+
.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-nav .nav-item:nth-of-type(2),
289+
.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-nav .nav-item:nth-of-type(3),
290+
.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-nav .nav-item:nth-of-type(4),
291+
.carousel .carousel-locator:nth-of-type(5):checked ~ .carousel-nav .nav-item:nth-of-type(5),
292+
.carousel .carousel-locator:nth-of-type(6):checked ~ .carousel-nav .nav-item:nth-of-type(6),
293+
.carousel .carousel-locator:nth-of-type(7):checked ~ .carousel-nav .nav-item:nth-of-type(7),
294+
.carousel .carousel-locator:nth-of-type(8):checked ~ .carousel-nav .nav-item:nth-of-type(8) {
295+
color: #f7f8f9;
296+
}
297+
274298
.carousel {
275299
background: #f7f8f9;
276300
display: block;
@@ -330,22 +354,6 @@
330354
right: 1rem;
331355
}
332356

333-
.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
334-
.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
335-
.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3),
336-
.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4) {
337-
animation: carousel-slidein .75s ease-in-out 1;
338-
opacity: 1;
339-
z-index: 100;
340-
}
341-
342-
.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-nav .nav-item:nth-of-type(1),
343-
.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-nav .nav-item:nth-of-type(2),
344-
.carousel .carousel-locator:nth-of-type(3):checked ~ .carousel-nav .nav-item:nth-of-type(3),
345-
.carousel .carousel-locator:nth-of-type(4):checked ~ .carousel-nav .nav-item:nth-of-type(4) {
346-
color: #f7f8f9;
347-
}
348-
349357
.carousel .carousel-nav {
350358
bottom: .4rem;
351359
display: flex;
@@ -1046,4 +1054,175 @@
10461054

10471055
.timeline .timeline-item .timeline-icon.icon-lg::before {
10481056
content: none;
1057+
}
1058+
1059+
.viewer-360 {
1060+
align-items: center;
1061+
display: flex;
1062+
display: -ms-flexbox;
1063+
-ms-flex-align: center;
1064+
-ms-flex-direction: column;
1065+
flex-direction: column;
1066+
}
1067+
1068+
.viewer-360 .viewer-slider[value="1"] + .viewer-image {
1069+
background-position-y: 0;
1070+
}
1071+
1072+
.viewer-360 .viewer-slider[value="2"] + .viewer-image {
1073+
background-position-y: 2.8571428571%;
1074+
}
1075+
1076+
.viewer-360 .viewer-slider[value="3"] + .viewer-image {
1077+
background-position-y: 5.7142857143%;
1078+
}
1079+
1080+
.viewer-360 .viewer-slider[value="4"] + .viewer-image {
1081+
background-position-y: 8.5714285714%;
1082+
}
1083+
1084+
.viewer-360 .viewer-slider[value="5"] + .viewer-image {
1085+
background-position-y: 11.4285714286%;
1086+
}
1087+
1088+
.viewer-360 .viewer-slider[value="6"] + .viewer-image {
1089+
background-position-y: 14.2857142857%;
1090+
}
1091+
1092+
.viewer-360 .viewer-slider[value="7"] + .viewer-image {
1093+
background-position-y: 17.1428571429%;
1094+
}
1095+
1096+
.viewer-360 .viewer-slider[value="8"] + .viewer-image {
1097+
background-position-y: 20%;
1098+
}
1099+
1100+
.viewer-360 .viewer-slider[value="9"] + .viewer-image {
1101+
background-position-y: 22.8571428571%;
1102+
}
1103+
1104+
.viewer-360 .viewer-slider[value="10"] + .viewer-image {
1105+
background-position-y: 25.7142857143%;
1106+
}
1107+
1108+
.viewer-360 .viewer-slider[value="11"] + .viewer-image {
1109+
background-position-y: 28.5714285714%;
1110+
}
1111+
1112+
.viewer-360 .viewer-slider[value="12"] + .viewer-image {
1113+
background-position-y: 31.4285714286%;
1114+
}
1115+
1116+
.viewer-360 .viewer-slider[value="13"] + .viewer-image {
1117+
background-position-y: 34.2857142857%;
1118+
}
1119+
1120+
.viewer-360 .viewer-slider[value="14"] + .viewer-image {
1121+
background-position-y: 37.1428571429%;
1122+
}
1123+
1124+
.viewer-360 .viewer-slider[value="15"] + .viewer-image {
1125+
background-position-y: 40%;
1126+
}
1127+
1128+
.viewer-360 .viewer-slider[value="16"] + .viewer-image {
1129+
background-position-y: 42.8571428571%;
1130+
}
1131+
1132+
.viewer-360 .viewer-slider[value="17"] + .viewer-image {
1133+
background-position-y: 45.7142857143%;
1134+
}
1135+
1136+
.viewer-360 .viewer-slider[value="18"] + .viewer-image {
1137+
background-position-y: 48.5714285714%;
1138+
}
1139+
1140+
.viewer-360 .viewer-slider[value="19"] + .viewer-image {
1141+
background-position-y: 51.4285714286%;
1142+
}
1143+
1144+
.viewer-360 .viewer-slider[value="20"] + .viewer-image {
1145+
background-position-y: 54.2857142857%;
1146+
}
1147+
1148+
.viewer-360 .viewer-slider[value="21"] + .viewer-image {
1149+
background-position-y: 57.1428571429%;
1150+
}
1151+
1152+
.viewer-360 .viewer-slider[value="22"] + .viewer-image {
1153+
background-position-y: 60%;
1154+
}
1155+
1156+
.viewer-360 .viewer-slider[value="23"] + .viewer-image {
1157+
background-position-y: 62.8571428571%;
1158+
}
1159+
1160+
.viewer-360 .viewer-slider[value="24"] + .viewer-image {
1161+
background-position-y: 65.7142857143%;
1162+
}
1163+
1164+
.viewer-360 .viewer-slider[value="25"] + .viewer-image {
1165+
background-position-y: 68.5714285714%;
1166+
}
1167+
1168+
.viewer-360 .viewer-slider[value="26"] + .viewer-image {
1169+
background-position-y: 71.4285714286%;
1170+
}
1171+
1172+
.viewer-360 .viewer-slider[value="27"] + .viewer-image {
1173+
background-position-y: 74.2857142857%;
1174+
}
1175+
1176+
.viewer-360 .viewer-slider[value="28"] + .viewer-image {
1177+
background-position-y: 77.1428571429%;
1178+
}
1179+
1180+
.viewer-360 .viewer-slider[value="29"] + .viewer-image {
1181+
background-position-y: 80%;
1182+
}
1183+
1184+
.viewer-360 .viewer-slider[value="30"] + .viewer-image {
1185+
background-position-y: 82.8571428571%;
1186+
}
1187+
1188+
.viewer-360 .viewer-slider[value="31"] + .viewer-image {
1189+
background-position-y: 85.7142857143%;
1190+
}
1191+
1192+
.viewer-360 .viewer-slider[value="32"] + .viewer-image {
1193+
background-position-y: 88.5714285714%;
1194+
}
1195+
1196+
.viewer-360 .viewer-slider[value="33"] + .viewer-image {
1197+
background-position-y: 91.4285714286%;
1198+
}
1199+
1200+
.viewer-360 .viewer-slider[value="34"] + .viewer-image {
1201+
background-position-y: 94.2857142857%;
1202+
}
1203+
1204+
.viewer-360 .viewer-slider[value="35"] + .viewer-image {
1205+
background-position-y: 97.1428571429%;
1206+
}
1207+
1208+
.viewer-360 .viewer-slider[value="36"] + .viewer-image {
1209+
background-position-y: 100%;
1210+
}
1211+
1212+
.viewer-360 .viewer-slider {
1213+
cursor: ew-resize;
1214+
-ms-flex-order: 2;
1215+
margin: 1rem;
1216+
order: 2;
1217+
width: 60%;
1218+
}
1219+
1220+
.viewer-360 .viewer-image {
1221+
background-position-y: 0;
1222+
background-repeat: no-repeat;
1223+
background-size: 100%;
1224+
-ms-flex-order: 1;
1225+
height: 9rem;
1226+
order: 1;
1227+
width: 24rem;
10491228
}

dist/spectre-exp.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/spectre-icons.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Spectre.css Icons v0.5.6 | MIT License | github.com/picturepan2/spectre */
1+
/*! Spectre.css Icons v0.5.7 | MIT License | github.com/picturepan2/spectre */
22
.icon {
33
box-sizing: border-box;
44
display: inline-block;

0 commit comments

Comments
 (0)