Skip to content

Commit

Permalink
Merge pull request #76 from ubc-web-services/feature/d11
Browse files Browse the repository at this point in the history
Fixes #75 Merged a more recent version of starter_kit from Drupal 11 and remove extra templates
  • Loading branch information
occupant authored Aug 28, 2024
2 parents f44edae + b2161e7 commit b477478
Show file tree
Hide file tree
Showing 99 changed files with 300 additions and 1,493 deletions.
39 changes: 0 additions & 39 deletions css/ckeditor-iframe.css

This file was deleted.

6 changes: 1 addition & 5 deletions css/ckeditor5-iframe.css → css/ckeditor5.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/components/action-links.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
text-decoration: none;
line-height: 160%;
}
.button-action:before {
.button-action::before {
margin-left: -0.1em; /* LTR */
padding-right: 0.2em; /* LTR */
content: "+";
font-weight: 900;
}
[dir="rtl"] .button-action:before {
[dir="rtl"] .button-action::before {
margin-right: -0.1em;
margin-left: 0;
padding-right: 0;
Expand Down
40 changes: 0 additions & 40 deletions css/components/book-navigation.css

This file was deleted.

4 changes: 2 additions & 2 deletions css/components/breadcrumb.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
list-style-type: none;
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb li:before {
.breadcrumb li::before {
content: " \BB ";
}
.breadcrumb li:first-child:before {
.breadcrumb li:first-child::before {
content: none;
}
32 changes: 0 additions & 32 deletions css/components/collapse-processed.css

This file was deleted.

8 changes: 4 additions & 4 deletions css/components/container-inline.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
* Inline items.
*/

.container-inline label:after,
.container-inline .label:after {
.container-inline label::after,
.container-inline .label::after {
content: ":";
}
.form-type-radios .container-inline label:after,
.form-type-checkboxes .container-inline label:after {
.form-type-radios .container-inline label::after,
.form-type-checkboxes .container-inline label::after {
content: "";
}
.form-type-radios .container-inline .form-type-radio,
Expand Down
3 changes: 0 additions & 3 deletions css/components/details.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ details {
details > .details-wrapper {
padding: 0.5em 1.5em;
}
/* @todo Regression: The summary of uncollapsible details are no longer
vertically aligned with the .details-wrapper in browsers without native
details support. */
summary {
padding: 0.2em 0.5em;
cursor: pointer;
Expand Down
5 changes: 3 additions & 2 deletions css/components/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
background: #fff;
}

@media all and (max-width: 48em) { /* 768px */
@media all and (max-width: 48em) {
/* 768px */
.ui-dialog {
width: 92% !important;
}
Expand Down Expand Up @@ -62,7 +63,7 @@
opacity: 0.9;
border-radius: 7px;
background-color: #232323;
background-image: url(../../img/misc/loading-small.gif);
background-image: url(../../img/icons/loading-small.gif);
background-repeat: no-repeat;
background-position: center center;
}
Expand Down
8 changes: 4 additions & 4 deletions css/components/form.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ label.option {
.marker {
color: #e00;
}
.form-required:after {
.form-required::after {
display: inline-block;
width: 6px;
height: 6px;
margin: 0 0.3em;
content: "";
vertical-align: super;
/* Use a background image to prevent screen readers from announcing the text. */
background-image: url(../../img/icons/ee0000/required.svg);
background-image: url(../../img/icons/required.svg);
background-repeat: no-repeat;
background-size: 6px 6px;
}
Expand All @@ -93,12 +93,12 @@ abbr.ajax-changed {
}

/* Inline error messages. */
.form-item--error-message:before {
.form-item--error-message::before {
display: inline-block;
width: 14px;
height: 14px;
content: "";
vertical-align: sub;
background: url(../../img/icons/e32700/error.svg) no-repeat;
background: url(../../img/icons/error.svg) no-repeat;
background-size: contain;
}
46 changes: 0 additions & 46 deletions css/components/forum.css

This file was deleted.

4 changes: 2 additions & 2 deletions css/components/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.icon-help {
padding: 1px 0 1px 20px; /* LTR */
background: url(../../img/misc/help.png) 0 50% no-repeat; /* LTR */
background: url(../../img/icons/help.png) 0 50% no-repeat; /* LTR */
}
[dir="rtl"] .icon-help {
padding: 1px 20px 1px 0;
Expand All @@ -17,5 +17,5 @@
width: 16px;
height: 16px;
text-indent: -9999px;
background: url(../../img/misc/feed.svg) no-repeat;
background: url(../../img/icons/feed.svg) no-repeat;
}
11 changes: 0 additions & 11 deletions css/components/image-widget.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
/**
* @file
* Image upload widget.
*
* This CSS file is not used in this theme (Classy). It was intended to be used,
* but due to a bug, Drupal 8 shipped with it not being used. To not break
* backwards compatibility, we continue to not load it in Classy. Every
* subtheme of Classy is encouraged to use it, by attaching the
* classy/image-widget asset library in their image-widget.html.twig file.
*
* @see core/themes/seven/templates/content-edit/image-widget.html.twig.
*
* @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig
* attach the classy/image-widget asset library.
*/

.image-preview {
Expand Down
20 changes: 0 additions & 20 deletions css/components/media-embed-error.css

This file was deleted.

6 changes: 3 additions & 3 deletions css/components/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ ul.menu {
}
.menu-item--expanded {
list-style-type: circle;
list-style-image: url(../../img/misc/menu-expanded.png);
list-style-image: url(../../img/icons/menu-expanded.png);
}
.menu-item--collapsed {
list-style-type: disc;
list-style-image: url(../../img/misc/menu-collapsed.png); /* LTR */
list-style-image: url(../../img/icons/menu-collapsed.png); /* LTR */
}
[dir="rtl"] .menu-item--collapsed {
list-style-image: url(../../img/misc/menu-collapsed-rtl.png);
list-style-image: url(../../img/icons/menu-collapsed-rtl.png);
}
.menu-item {
margin: 0;
Expand Down
Loading

0 comments on commit b477478

Please sign in to comment.