Skip to content

Commit fef3d57

Browse files
committed
update dev copy of vocabulary-theme to 1.12 (14e4660)
1 parent ee82e69 commit fef3d57

File tree

3 files changed

+28
-20
lines changed

3 files changed

+28
-20
lines changed

cc_legal_tools/static/wp-content/themes/vocabulary-theme/chooser/js/chooser.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function setStatePossibilities(state) {
7373
}
7474
state.possibilities[tool].push(fullPath);
7575
state.possibilities[tool].push(noOptionalsPath);
76-
76+
7777
});
7878
}
7979

@@ -91,7 +91,7 @@ function updateStateParts(element, index, event, state) {
9191
state.parts[index] = element.id + '/' + event.target.value + '/';
9292

9393
// check if checkbox, with siblings
94-
if (event.target.getAttribute('type') == 'checkbox') {
94+
if (event.target.getAttribute('type') == 'checkbox') {
9595
let checkboxElements = element.querySelectorAll('input[type="checkbox"]');
9696
let checkboxes = [];
9797
checkboxElements.forEach((checkbox, index) => {
@@ -420,7 +420,7 @@ function renderMarkYourWork(state) {
420420
// load attribution details template,
421421
// populate from attribution text values
422422
document.querySelector('#mark-your-work').classList.remove('disable');
423-
423+
424424
renderMarkingFormats(state);
425425

426426
}
@@ -464,7 +464,7 @@ function renderSteps(applyDefaults, state) {
464464
});
465465
document.querySelector('#which-license-do-you-need').classList.toggle('disable');
466466
document.querySelector('#waive-your-copyright').classList.add('disable');
467-
467+
468468
}
469469

470470
// if visitor doesn't need help

cc_legal_tools/static/wp-content/themes/vocabulary-theme/style.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Theme Name: CC Vocabulary Theme
33
Author: the Creative Commons team; possumbilities, Timid Robot
44
Author URI: https://opensource.creativecommons.org/
55
Description: Theme based on the Vocabulary Design System
6-
Version: 1.11.1
6+
Version: 1.12
77
Requires at least: 5.0
88
Tested up to: 6.2.2
99
Requires PHP: 7.0
@@ -1011,6 +1011,14 @@ main .content figure:has(img.alignright), .blog-post main figure:has(img.alignri
10111011
float: right;
10121012
}
10131013

1014+
.course-index, course-page {
1015+
background: white;
1016+
}
1017+
1018+
.course-page main .content {
1019+
grid-column: 2 / span 9;
1020+
}
1021+
10141022
@media (max-width:400px) {
10151023

10161024
div[id^="attachment_"].alignleft {

cc_legal_tools/static/wp-content/themes/vocabulary-theme/vocabulary/css/vocabulary.css

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ main > aside.sidebar nav.filter-menu ul li.current a {
334334
main > aside.sidebar nav ul {
335335
margin: 0;
336336
padding: 0;
337-
337+
338338
text-indent: none;
339339
list-style: none;
340340
font-size: 1rem;
@@ -396,7 +396,7 @@ main h2 {
396396

397397
main h3 {
398398
box-sizing: border-box;
399-
399+
400400
font-family: 'Roboto Condensed';
401401
font-style: normal;
402402
font-weight: 700;
@@ -640,7 +640,7 @@ main article.posts.related .post header {
640640

641641
main article.posts.related .post figure {
642642
display: none;
643-
order: -1;
643+
order: -1;
644644
}
645645

646646
main article.posts.related .post a {
@@ -666,7 +666,7 @@ main nav.pagination ol {
666666
width: 100%;
667667
margin: 0;
668668
padding: 0;
669-
669+
670670
text-indent: none;
671671
font-size: 1em;
672672
list-style: none;
@@ -702,7 +702,7 @@ main .attribution-list {
702702
grid-column: 3 / span 7;
703703
box-sizing: border-box;
704704
position: relative;
705-
padding: 4em;
705+
padding: 4em;
706706

707707
background: var(--vocabulary-neutral-color-lighter-gray);
708708
text-align: left;
@@ -1525,7 +1525,7 @@ body > footer .license svg {
15251525
order: initial;
15261526
}
15271527

1528-
.blog-index main .posts.featured ul {
1528+
.blog-index main .posts.featured ul {
15291529
padding: 0 var(--vocabulary-page-edges-space);
15301530
}
15311531

@@ -1747,14 +1747,14 @@ body > footer .license svg {
17471747
top: 3.4em;
17481748
left: 0;
17491749
width: 30%;
1750+
max-height: 21.8rem;
1751+
overflow: hidden;
1752+
border: 16px solid white;
17501753
}
17511754

17521755
.person-page main > header figure img {
17531756
box-sizing: border-box;
17541757
width: 100%;
1755-
max-height: 21.8rem;
1756-
1757-
border: 16px solid white;
17581758
}
17591759

17601760
.person-page main > header .bio {
@@ -1957,7 +1957,7 @@ body > footer .license svg {
19571957
padding: 0 var(--vocabulary-page-edges-space);
19581958
}
19591959

1960-
main:has( > aside.sidebar) > aside.sidebar {
1960+
main:has( > aside.sidebar) > aside.sidebar {
19611961
padding: 0 var(--vocabulary-page-edges-space);
19621962
}
19631963

@@ -1966,7 +1966,7 @@ body > footer .license svg {
19661966
}
19671967

19681968
main > .posts {
1969-
padding: 0 var(--vocabulary-page-edges-space);
1969+
padding: 0 var(--vocabulary-page-edges-space);
19701970
}
19711971

19721972
.posts article figure {
@@ -1979,7 +1979,7 @@ body > footer .license svg {
19791979
padding-right: var(--vocabulary-page-edges-space);
19801980
}
19811981

1982-
.person-page main > header:before {
1982+
.person-page main > header:before {
19831983
left: 0;
19841984
}
19851985

@@ -1988,10 +1988,10 @@ body > footer .license svg {
19881988
padding-right: var(--vocabulary-page-edges-space);
19891989
}
19901990

1991-
.search-index main > header:before {
1991+
.search-index main > header:before {
19921992
left: 0;
19931993
}
1994-
1994+
19951995
.team-index main > header {
19961996
padding: 0 var(--vocabulary-page-edges-space);
19971997
}
@@ -2077,4 +2077,4 @@ body > footer .license svg {
20772077
body > header .ancillary-menu button:before, body > header .ancillary-menu a:before {
20782078
display: none;
20792079
}
2080-
}
2080+
}

0 commit comments

Comments
 (0)