Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • asc-web-services/drupal-upstream
1 result
Show changes
Commits on Source (19)
Showing
with 167 additions and 38 deletions
...@@ -278,7 +278,8 @@ ...@@ -278,7 +278,8 @@
}, },
"patches": { "patches": {
"drupal/core": { "drupal/core": {
"rm nolink": "patches/rm-nolink.patch" "rm nolink": "patches/rm-nolink.patch",
"set viewmode to string": "patches/set_viewmode_to_string.patch"
}, },
"drupal/addtocalendar": { "drupal/addtocalendar": {
"UTC Time Adjustment": "patches/utc-time-adjustment.patch" "UTC Time Adjustment": "patches/utc-time-adjustment.patch"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "93bb43fdcf2ab8cbc619bd7d2538a7b7", "content-hash": "1dae3715e7ac8d9307dd16503b582442",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
......
diff --git a/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php b/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
index c6b9f345a9..9b6031da03 100644
--- a/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
+++ b/core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
@@ -115,12 +115,13 @@ private function configureViewModes(EditorInterface $editor) {
if (array_key_exists($view_mode, $bundles_per_view_mode)) {
$specific_bundles = $bundles_per_view_mode[$view_mode];
if ($view_mode == $default_view_mode) {
+ $view_mode_str = strval($view_mode);
$element_style_configuration[] = [
'isDefault' => TRUE,
'name' => $default_view_mode,
'title' => $all_view_modes[$view_mode],
'attributeName' => 'data-view-mode',
- 'attributeValue' => $view_mode,
+ 'attributeValue' => $view_mode_str,
'modelElements' => ['drupalMedia'],
'modelAttributes' => [
'drupalMediaType' => array_keys($media_bundles),
@@ -128,11 +129,12 @@ private function configureViewModes(EditorInterface $editor) {
];
}
else {
+ $view_mode_str = strval($view_mode);
$element_style_configuration[] = [
'name' => $view_mode,
'title' => $all_view_modes[$view_mode],
'attributeName' => 'data-view-mode',
- 'attributeValue' => $view_mode,
+ 'attributeValue' => $view_mode_str,
'modelElements' => ['drupalMedia'],
'modelAttributes' => [
'drupalMediaType' => $specific_bundles,
...@@ -2467,7 +2467,8 @@ ...@@ -2467,7 +2467,8 @@
} }
}, },
"patches_applied": { "patches_applied": {
"rm nolink": "patches/rm-nolink.patch" "rm nolink": "patches/rm-nolink.patch",
"set viewmode to string": "patches/set_viewmode_to_string.patch"
} }
}, },
"installation-source": "dist", "installation-source": "dist",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
'name' => 'osu-asc-webservices/d8-upstream', 'name' => 'osu-asc-webservices/d8-upstream',
'pretty_version' => 'dev-main', 'pretty_version' => 'dev-main',
'version' => 'dev-main', 'version' => 'dev-main',
'reference' => '83a6cc7700ce11d7660742b1824a5e31a66677fa', 'reference' => '1b2ba447336c6bf78c7325a84f7b87f5f2c9b9ff',
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
...@@ -1411,7 +1411,7 @@ ...@@ -1411,7 +1411,7 @@
'osu-asc-webservices/d8-upstream' => array( 'osu-asc-webservices/d8-upstream' => array(
'pretty_version' => 'dev-main', 'pretty_version' => 'dev-main',
'version' => 'dev-main', 'version' => 'dev-main',
'reference' => '83a6cc7700ce11d7660742b1824a5e31a66677fa', 'reference' => '1b2ba447336c6bf78c7325a84f7b87f5f2c9b9ff',
'type' => 'project', 'type' => 'project',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
......
...@@ -5,3 +5,7 @@ rm nolink ...@@ -5,3 +5,7 @@ rm nolink
Source: patches/rm-nolink.patch Source: patches/rm-nolink.patch
set viewmode to string
Source: patches/set_viewmode_to_string.patch
...@@ -115,12 +115,13 @@ private function configureViewModes(EditorInterface $editor) { ...@@ -115,12 +115,13 @@ private function configureViewModes(EditorInterface $editor) {
if (array_key_exists($view_mode, $bundles_per_view_mode)) { if (array_key_exists($view_mode, $bundles_per_view_mode)) {
$specific_bundles = $bundles_per_view_mode[$view_mode]; $specific_bundles = $bundles_per_view_mode[$view_mode];
if ($view_mode == $default_view_mode) { if ($view_mode == $default_view_mode) {
$view_mode_str = strval($view_mode);
$element_style_configuration[] = [ $element_style_configuration[] = [
'isDefault' => TRUE, 'isDefault' => TRUE,
'name' => $default_view_mode, 'name' => $default_view_mode,
'title' => $all_view_modes[$view_mode], 'title' => $all_view_modes[$view_mode],
'attributeName' => 'data-view-mode', 'attributeName' => 'data-view-mode',
'attributeValue' => $view_mode, 'attributeValue' => $view_mode_str,
'modelElements' => ['drupalMedia'], 'modelElements' => ['drupalMedia'],
'modelAttributes' => [ 'modelAttributes' => [
'drupalMediaType' => array_keys($media_bundles), 'drupalMediaType' => array_keys($media_bundles),
...@@ -128,11 +129,12 @@ private function configureViewModes(EditorInterface $editor) { ...@@ -128,11 +129,12 @@ private function configureViewModes(EditorInterface $editor) {
]; ];
} }
else { else {
$view_mode_str = strval($view_mode);
$element_style_configuration[] = [ $element_style_configuration[] = [
'name' => $view_mode, 'name' => $view_mode,
'title' => $all_view_modes[$view_mode], 'title' => $all_view_modes[$view_mode],
'attributeName' => 'data-view-mode', 'attributeName' => 'data-view-mode',
'attributeValue' => $view_mode, 'attributeValue' => $view_mode_str,
'modelElements' => ['drupalMedia'], 'modelElements' => ['drupalMedia'],
'modelAttributes' => [ 'modelAttributes' => [
'drupalMediaType' => $specific_bundles, 'drupalMediaType' => $specific_bundles,
......
...@@ -16,7 +16,6 @@ global-styling: ...@@ -16,7 +16,6 @@ global-styling:
theme: theme:
css/bux-styles.min.css: {} css/bux-styles.min.css: {}
css/style.css: {} css/style.css: {}
css/osu_navbar-resp-white.css: {}
css/ekko-lightbox.css: {} css/ekko-lightbox.css: {}
js: js:
js/scripts.js: {} js/scripts.js: {}
......
...@@ -19,7 +19,7 @@ function asc_bootstrap_bux_preprocess_page(&$vars, $hook) ...@@ -19,7 +19,7 @@ function asc_bootstrap_bux_preprocess_page(&$vars, $hook)
//adds site name variable which is used as logo alt and title text //adds site name variable which is used as logo alt and title text
$vars['site_name'] = \Drupal::config('system.site')->get('name'); $vars['site_name'] = \Drupal::config('system.site')->get('name');
$vars['osu_logo'] = theme_get_setting('osu_logo', 'asc_bootstrap'); $vars['osu_logo'] = theme_get_setting('osu_logo', 'asc_bootstrap_bux');
} }
function asc_bootstrap_bux_preprocess_node(&$vars, $hook) function asc_bootstrap_bux_preprocess_node(&$vars, $hook)
......
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
} }
.field--name-field-pull-quote { .field--name-field-pull-quote {
border-top: solid 2px $blue-green; font-family: 'BuckeyeSerifBold';
border-bottom: solid 2px $blue-green; font-size: 1.5rem;
font-size: $font-size-h3; line-height: 2.25rem;
font-family: 'Capita', Times, serif; margin: 0;
font-weight: 400; padding: 0;
padding: 5px; color: $brand-gray;
} }
article .field--name-body { article .field--name-body {
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
li{ li{
font-family: 'BuckeyeSansBold'; font-family: 'BuckeyeSansBold';
color: $brand-gray color: $brand-gray;
font-weight: normal;
} }
} }
......
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
.btn-par { .btn-par {
font-family: 'BuckeyeSansSemiBold'; font-family: 'BuckeyeSansSemiBold';
text-transform: capitalize; text-transform: none;
white-space: initial; white-space: initial;
.fa-angle-right { .fa-angle-right {
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
color: $white; color: $white;
background: $brand-red; background: $brand-red;
padding: 10px 15px; padding: 10px 15px;
text-transform: capitalize; text-transform: none;
font-family: 'BuckeyeSansBold'; font-family: 'BuckeyeSansBold';
&:hover{ &:hover{
...@@ -624,7 +624,7 @@ ...@@ -624,7 +624,7 @@
background: $brand-red; background: $brand-red;
padding: 10px; padding: 10px;
font-weight: 600; font-weight: 600;
text-transform: uppercase; text-transform: none;
@media (max-width: 768px) { @media (max-width: 768px) {
width: 100%; width: 100%;
...@@ -702,7 +702,10 @@ ...@@ -702,7 +702,10 @@
//## Pull Quote //## Pull Quote
.paragraph--type--pull-quote { .paragraph--type--pull-quote {
padding: 20px; padding: 11px 22px;
margin: 30px;
font-size: 20px;
border-left: 5px solid $brand-red;
} }
......
...@@ -74,14 +74,11 @@ ...@@ -74,14 +74,11 @@
.views-field-field-last-name { .views-field-field-last-name {
font-family: 'BuckeyeSansBold'; font-family: 'BuckeyeSansBold';
font-size: 18px; font-size: 18px;
color: $brand-gray;
a { &:hover {
color: $brand-gray; color: $brand-red;
text-decoration: none;
&:hover {
color: $brand-red;
text-decoration: none;
}
} }
@media (max-width: 768px) { @media (max-width: 768px) {
...@@ -227,7 +224,7 @@ ...@@ -227,7 +224,7 @@
} }
} }
.profile_social{ .profile-social{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 10px; gap: 10px;
......
...@@ -8,12 +8,13 @@ aside { ...@@ -8,12 +8,13 @@ aside {
width: 100%; width: 100%;
li { li {
border-top: 2px solid #eff1f2;
line-height: 1.15; line-height: 1.15;
float: left; float: left;
width: 100%; width: 100%;
.link-wrapper { .link-wrapper {
padding: 8px 0; padding: 15px 0;
&:hover{ &:hover{
padding-left: 5px; padding-left: 5px;
...@@ -156,6 +157,9 @@ aside { ...@@ -156,6 +157,9 @@ aside {
} }
} }
.nav {
border-bottom: 2px solid #eff1f2;
}
@media (max-width: 768px) { @media (max-width: 768px) {
width: 100%; width: 100%;
......
...@@ -68,8 +68,8 @@ ...@@ -68,8 +68,8 @@
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
text-transform: capitalize; text-transform: none;
font-family: 'BuckeyeSansRegular'; font-family: 'BuckeyeSansBold';
.fa-angle-right { .fa-angle-right {
margin-left: 10px; margin-left: 10px;
......
...@@ -202,10 +202,11 @@ h1, h2, h3, h4, h5, h6 { ...@@ -202,10 +202,11 @@ h1, h2, h3, h4, h5, h6 {
margin: 11px 0; margin: 11px 0;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
font-weight: normal;
} }
h1 { h1 {
font-size: 2.625rem; font-size: 2.5rem;
line-height: 1.2; line-height: 1.2;
font-family: 'BuckeyeSerifBlack'; font-family: 'BuckeyeSerifBlack';
color: $brand-gray; color: $brand-gray;
......
...@@ -66,6 +66,10 @@ ...@@ -66,6 +66,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
font-size: $font-size-h3; font-size: $font-size-h3;
font-weight: $headings-font-weight; font-weight: $headings-font-weight;
a {
text-decoration: none;
}
} }
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// -------------------------------------------------- // --------------------------------------------------
#header-logos { #header-logos {
padding: 0 15px; padding: 20px 15px;
max-width: fit-content; max-width: fit-content;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -24,17 +24,24 @@ ...@@ -24,17 +24,24 @@
color: $brand-red; color: $brand-red;
} }
@media (max-width: 768px) {
padding: 20px 15px;
height: auto;
}
} }
.unit-name{ .unit-name{
color: $brand-gray; color: $brand-gray;
font-size: 3rem; font-size: 2rem;
font-family: 'BuckeyeSansBlack'; line-height: 2.5rem;
font-family: 'BuckeyeSansBlack';
} }
.parent-name{ .parent-name{
color: $brand-gray; color: $brand-gray;
font-size: 1.5rem; font-size: 1.25rem;
line-height: 1.625rem;
} }
...@@ -60,6 +67,20 @@ ...@@ -60,6 +67,20 @@
// --------------------------------------------------
//## OSU Navbar
.bux-osu-nav__link {
font-family: 'BuckeyeSansSemiBold';
a {
font-weight: normal;
}
}
// -------------------------------------------------- // --------------------------------------------------
//## Search Form. //## Search Form.
......
...@@ -57,6 +57,10 @@ ...@@ -57,6 +57,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
// .lgray-bg:before { // .lgray-bg:before {
...@@ -98,6 +102,10 @@ ...@@ -98,6 +102,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
.lviolet-bg { .lviolet-bg {
...@@ -129,6 +137,10 @@ ...@@ -129,6 +137,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
.ltaupe-bg { .ltaupe-bg {
...@@ -160,6 +172,10 @@ ...@@ -160,6 +172,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
.lturquoise-bg { .lturquoise-bg {
...@@ -191,6 +207,10 @@ ...@@ -191,6 +207,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
.lteal-bg { .lteal-bg {
...@@ -222,6 +242,10 @@ ...@@ -222,6 +242,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
.lyellow-bg { .lyellow-bg {
...@@ -253,6 +277,10 @@ ...@@ -253,6 +277,10 @@
.sec-title { .sec-title {
margin-top: 20px; margin-top: 20px;
} }
.btn-fullw {
background-color: $white;
}
} }
...@@ -317,10 +345,23 @@ ...@@ -317,10 +345,23 @@
} }
.btn-fullw { .btn-fullw {
background-color: $white;
color: $brand-gray;
border: solid $white 2px; border: solid $white 2px;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; color: $white;
background-color: $brand-red;
}
}
.btn-fullw-red {
&:hover {
background-color: $white;
color: $brand-gray;
border: solid $white 2px;
} }
} }
...@@ -387,6 +428,8 @@ ...@@ -387,6 +428,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
...@@ -456,6 +499,8 @@ ...@@ -456,6 +499,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
...@@ -525,6 +570,8 @@ ...@@ -525,6 +570,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
...@@ -594,6 +641,8 @@ ...@@ -594,6 +641,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
...@@ -663,6 +712,8 @@ ...@@ -663,6 +712,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
...@@ -732,6 +783,8 @@ ...@@ -732,6 +783,8 @@
.btn-fullw { .btn-fullw {
border: solid $white 2px; border: solid $white 2px;
color: $white;
text-decoration: none;
&:hover { &:hover {
border: solid $brand-gray 2px; border: solid $brand-gray 2px;
......
...@@ -28,6 +28,11 @@ article.page { ...@@ -28,6 +28,11 @@ article.page {
background: $brand-gray; background: $brand-gray;
color: $white; color: $white;
padding: 20px; padding: 20px;
p {
font-family: "BuckeyeSansRegular";
color: $white;
}
} }
@media (max-width: 1030px) { @media (max-width: 1030px) {
......