Browse Source

fixed gulp

master
rdrew 3 years ago
parent
commit
abcfb934ec
  1. 22
      css/sass/_components.scss
  2. 2
      css/sass/style.scss
  3. 753
      css/style.css
  4. 2
      css/style.css.map
  5. 114
      css_bkup/fonts.css
  6. 24
      css_bkup/maintenance.css
  7. 244
      css_bkup/sass/_base.scss
  8. 0
      css_bkup/sass/_blocks.scss
  9. 43
      css_bkup/sass/_comment.scss
  10. 90
      css_bkup/sass/_components.scss
  11. 89
      css_bkup/sass/_fonticons.scss
  12. 0
      css_bkup/sass/_fonts.scss
  13. 61
      css_bkup/sass/_footer.scss
  14. 123
      css_bkup/sass/_header.scss
  15. 34
      css_bkup/sass/_homepage.scss
  16. 99
      css_bkup/sass/_icofont.scss
  17. 7
      css_bkup/sass/_layout.scss
  18. 35
      css_bkup/sass/_main.scss
  19. 125
      css_bkup/sass/_responsive.scss
  20. 164
      css_bkup/sass/_shortcodes.scss
  21. 13
      css_bkup/sass/_sidebar.scss
  22. 40
      css_bkup/sass/style.scss
  23. 169
      css_bkup/slider.css
  24. 981
      css_bkup/style.css
  25. 1
      css_bkup/style.css.map
  26. 30
      css_bkup/theme-settings.css
  27. 26
      gulpfile.js

22
css/sass/_components.scss

@ -1,3 +1,17 @@
//search-bar
#edit-submit-dataset-search {
//display: none;
background-color: var(--dark-grey);
}
form#views-exposed-form-dataset-search-page-1 {
display: flex;
justify-content: center;
}
.js-form-item-search-api-fulltext {
margin: 0;
}
input#edit-search-api-fulltext {height: 54px;}
/* Components -> Social icons */ /* Components -> Social icons */
.footer-social { .footer-social {
padding: 1rem 0; padding: 1rem 0;
@ -56,12 +70,12 @@
} }
form#node-data-management-plan-form { form#node-data-management-plan-form {
td { td {
padding: 1rem; padding: 1rem;
} }
td.field-multiple-drag { td.field-multiple-drag {
padding: 0; padding: 0;
padding-top: 1rem; padding-top: 1rem;
} }
margin-top: 1rem; margin-top: 1rem;
.button, .button,

2
css/sass/style.scss

@ -1,3 +1,5 @@
.test-class {
}
//@format //@format
@import 'fonts'; @import 'fonts';
@import 'base'; @import 'base';

753
css/style.css

File diff suppressed because it is too large Load Diff

2
css/style.css.map

File diff suppressed because one or more lines are too long

114
css_bkup/fonts.css

@ -0,0 +1,114 @@
/* noto-sans-regular */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: local('Noto Sans'), local('NotoSans'),
url('../fonts/noto-sans.woff2') format('woff2'),
url('../fonts/noto-sans.woff') format('woff'),
url('../fonts/noto-sans.ttf') format('truetype'),
url('../fonts/noto-sans.svg#NotoSans') format('svg');
}
/* noto-sans-700 */
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 700;
src: local('Noto Sans Bold'), local('NotoSans-Bold'),
url('../fonts/noto-sans-bold.woff2') format('woff2'),
url('../fonts/noto-sans-bold.woff') format('woff'),
url('../fonts/noto-sans-bold.ttf') format('truetype'),
url('../fonts/noto-sans-bold.svg#NotoSans') format('svg');
}
/*//Adelle*/
/* #### Generated By: http://www.cufonfonts.com #### */
@font-face {
font-family: "Adelle Regular";
font-style: normal;
font-weight: normal;
src: local("Adelle Regular"), url("../fonts/adelle/Adelle_Reg.woff") format("woff");
}
@font-face {
font-family: "Adelle Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle Italic"), url("../fonts/adelle/Adelle_Italic.woff") format("woff");
}
@font-face {
font-family: "Adelle Light Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle Light Italic"),
url("../fonts/adelle/Adelle_LightItalic.woff") format("woff");
}
@font-face {
font-family: "Adelle Light";
font-style: normal;
font-weight: normal;
src: local("Adelle Light"), url("../fonts/adelle/Adelle_light.woff") format("woff");
}
@font-face {
font-family: "Adelle SemiBold Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle SemiBold Italic"),
url("../fonts/adelle/Adelle_SemiBoldItalic.woff") format("woff");
}
@font-face {
font-family: "Adelle SemiBold";
font-style: normal;
font-weight: normal;
src: local("Adelle SemiBold"), url("../fonts/adelle/Adelle_Semibold.woff") format("woff");
}
@font-face {
font-family: "Adelle Bold";
font-style: normal;
font-weight: normal;
src: local("Adelle Bold"), url("../fonts/adelle/Adelle_Bold.woff") format("woff");
}
@font-face {
font-family: "Adelle Bold Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle Bold Italic"), url("../fonts/adelle/Adelle_BoldItalic.woff") format("woff");
}
@font-face {
font-family: "Adelle ExtraBold";
font-style: normal;
font-weight: normal;
src: local("Adelle ExtraBold"), url("../fonts/adelle/Adelle_ExtraBold.woff") format("woff");
}
@font-face {
font-family: "Adelle ExtraBold Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle ExtraBold Italic"),
url("Adelle_ExtraBoldItalic.woff") format("woff");
}
@font-face {
font-family: "Adelle Heavy";
font-style: normal;
font-weight: normal;
src: local("Adelle Heavy"), url("Adelle_Heavy.woff") format("woff");
}
@font-face {
font-family: "Adelle Heavy Italic";
font-style: normal;
font-weight: normal;
src: local("Adelle Heavy Italic"),
url("Adelle_HeavyItalic.woff") format("woff");
}

24
css_bkup/maintenance.css

@ -0,0 +1,24 @@
.header {
padding: 2rem 0;
}
.site-name {
font-size: 1.2rem;
}
#maintenance {
padding: 2rem 0;
}
.maintenance {
display: flex;
justify-content: center;
flex-direction: column;
}
.maintenance-title,
.maintenance-message {
text-align: center;
}
.maintenance-icon {
margin: 2rem auto;
}
.maintenance-icon img {
max-height: 60vh;
}

244
css_bkup/sass/_base.scss

@ -0,0 +1,244 @@
//@format
/* Variables
---------------------------------------- */
:root {
/* Theme Colors */
//--theme-color: #FFCC18;
--upei-red: #7c2529;
--upei-green: #789d4a;
--upei-yellow: #f1b434;
--theme-color: green;
--theme-color-two: #383a68;
--primary: #ffcc18;
--secondary: #3e4182;
//--dark: #2a2e52;
--dark: #333;
//--dark-grey: #9e9e9e;
--dark-grey: #838383;
--light: #edeef5;
--border: #cccccc;
--bold-color: var(--upei-red);
--content-bg: #f2f2f2;
--text-color: #222222;
--body-font: 'Noto Sans', sans-serif;
//--heading-font: 'Noto Sans', sans-serif;
--heading-font: 'Adelle Regular', serif;
}
/* HTML and Body
---------------------------------------- */
body {
font-family: var(--body-font);
background: #ffffff;
color: var(--text-color);
background-color: #fff !important;
}
/* Regions
---------------------------------------- */
summary {
color: var(--text-color);
}
/* Typography
---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--heading-font);
color: var(--bold-color);
}
strong {
color: var(--bold-color);
}
em {
//color: var(--primary);
color: var(--upei-green);
}
a {
-webkit-transition: color 0.4s ease;
-o-transition: color 0.4s ease;
transition: color 0.4s ease;
}
a,
a:active,
li a.active {
color: var(--upei-green);
}
a:hover {
color: var(--primary);
}
/* Typography-> code tags */
code,
kbd,
pre,
samp {
background: var(--secondary);
color: #ffffff;
}
mark {
background: var(--primary);
color: #ffffff;
}
figcaption {
background: var(--secondary);
color: #ffffff;
}
/* Form
---------------------------------------- */
/* Form -> Button */
a.button,
.button,
button,
[type='button'],
[type='reset'],
[type='submit'] {
background-color: var(--secondary);
color: #ffffff;
border: 4px solid var(--primary);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear;
}
a.button:hover,
.button:hover,
button:hover,
[type='button']:hover,
[type='reset']:hover,
[type='submit']:hover {
background-color: var(--dark);
color: var(--primary);
}
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea {
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea {
color: var(--text-color);
background: var(--light);
border: 1px solid var(--border);
}
input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
textarea:focus {
border: 1px solid var(--primary);
background: #f0f0f0;
}
fieldset {
border: 1px solid var(--border);
}
/* Form -> Label */
.form-item label,
form label {
font-weight: 700;
color: var(--bold-color);
}
summary {
font-family: var(--heading-font);
font-weight: 700;
}
/* Form -> Radio buttons */
input[type='radio'],
input[type='checkbox'] {
border: 2px solid var(--secondary);
}
input[type='radio']:hover,
input[type='checkbox']:hover {
border: 2px solid var(--primary);
}
input[type='radio']:checked,
input[type='checkbox']:checked {
background-color: var(--primary);
color: #000000;
}
input[type='checkbox'] {
appearance: none;
}
input[type='checkbox']::after {
content: '\2714';
text-align: center;
display: none;
}
input[type='checkbox']:checked::after {
display: block;
}
select {
color: var(--text-color);
background: #eeeeee;
border: 1px solid var(--border);
}
::-webkit-input-placeholder {
color: var(--border);
}
::placeholder {
color: var(--border);
opacity: 1;
}
:-ms-input-placeholder {
color: var(--border);
}
::-ms-input-placeholder {
color: #969696;
}
:-moz-placeholder {
color: var(--border);
}
::-moz-placeholder {
color: var(--border);
}
/* Table
---------------------------------------- */
th {
background: var(--light);
color: #fff;
color: var(--upei-red);
border: 1px solid var(--dark);
}
td {
border: 1px solid var(--border);
}
/* Common HTML Elements
---------------------------------------- */
hr {
background: var(--border);
}
dt {
color: var(--bold-color);
}
blockquote {
background: var(--light);
box-shadow: 2px 2px 6px var(--border);
border-left: 8px solid var(--secondary);
}
/* Selection
---------------------------------------- */
::-moz-selection {
background: var(--primary);
color: #fff;
text-shadow: none;
}
::selection {
background: var(--primary);
color: #fff;
text-shadow: none;
}

0
css_bkup/sass/_blocks.scss

43
css_bkup/sass/_comment.scss

@ -0,0 +1,43 @@
/* Comments
--------------------------------------*/
#comments {
border-top: 1px solid var(--border);
}
#comments i {
color: var(--primary);
}
/* Comments -> single comment */
.comment {
box-shadow: 3px 3px #cccccc;
}
.comment-header {
background-color: #dcdee2;
border-bottom: 2px solid #cccccc;
}
.comment-user-picture {
padding: 0 1rem;
border-right: 2px solid #cccccc;
-ms-flex: 0 0 100px;
flex: 0 0 100px;
}
.comment-title,
.comment-title a {
color: var(--secondary);
font-weight: 400;
}
.comment-reply a,
.comment-delete a,
.comment-edit a {
padding: 5px 12px;
color: #fff;
background: var(--secondary);
border-radius: 4px;
-webkit-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.comment-reply a:hover,
.comment-delete a:hover,
.comment-edit a:hover {
background: var(--primary);
color: #ffffff;
}

90
css_bkup/sass/_components.scss

@ -0,0 +1,90 @@
/* Components -> Social icons */
.footer-social {
padding: 1rem 0;
}
.social-icons {
position: relative;
margin: 0;
padding: 0;
list-style: none;
}
.social-icons li {
display: inline-block;
margin: 0;
}
.social-icons li a {
display: flex;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
border: 2px solid #000000;
border-radius: 6px;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.social-icons li a:hover {
border: 2px solid var(--primary);
}
.social-icons i {
padding: 10px;
}
/* components -> Scroll To Top. */
.scrolltop {
background: var(--primary);
color: #000000;
transition: all 0.3s ease;
}
.scrolltop:hover {
background: var(--secondary);
color: #ffffff;
}
//accordionJs
#accordion {
.accordion_question * {
margin: 0;
font-weight: bold;
}
.accordion_answer * {
margin: 0;
}
//p {
//margin: 0;
//}
}
form#node-data-management-plan-form {
td {
padding: 1rem;
}
td.field-multiple-drag {
padding: 0;
padding-top: 1rem;
}
margin-top: 1rem;
.button,
.button,
button,
[type='button'],
[type='reset'],
[type='submit'] {
background-color: #ccc;
color: initial;
border: 1px solid var(--upei-red);
border-radius: 4px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear;
padding: 0 5px;
}
button {
//background-color: #fff;
}
}
.footer-bottom-blocks .button {
background: var(--upei-green);
border: 4px solid var(--upei-yello);
padding: 0 9px;
}

89
css_bkup/sass/_fonticons.scss

@ -0,0 +1,89 @@
@font-face {
font-family: 'ficon';
src:
url('../fonts/ficon.ttf?ce63e9') format('truetype'),
url('../fonts/ficon.woff?ce63e9') format('woff'),
url('../fonts/ficon.svg?ce63e9#ficon') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
}
[class^="ficon-"], [class*=" ficon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'ficon' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ficon-mail:before {
content: "\f003";
}
.ficon-map:before {
content: "\f041";
}
.ficon-calendar:before {
content: "\f073";
}
.ficon-phone:before {
content: "\f095";
}
.ficon-twitter:before {
content: "\f099";
}
.ficon-facebook:before {
content: "\f09a";
}
.ficon-github:before {
content: "\f09b";
}
.ficon-linkedin:before {
content: "\f0e1";
}
.ficon-youtube:before {
content: "\f16a";
}
.ficon-instagram:before {
content: "\f16d";
}
.ficon-vk:before {
content: "\f189";
}
.ficon-whatsapp:before {
content: "\f232";
}
.ficon-vimeo:before {
content: "\f27d";
}
.ficon-user:before {
content: "\f2c0";
}
.ficon-telegram:before {
content: "\f2c6";
}
.ficon-comments:before {
content: "\e900";
}
.ficon-add_comment:before {
content: "\e901";
}
.ficon-tag:before {
content: "\e902";
}
.ficon-file:before {
content: "\e903";
}
.ficon-search:before {
content: "\e904";
}
.ficon-tag:before {
content: "\e902";
}

0
css_bkup/sass/_fonts.scss

61
css_bkup/sass/_footer.scss

@ -0,0 +1,61 @@
/*
* Footer
*/
.footer-top {
//background-color: var(--secondary);
background-color: var(--upei-red);
color: #ffffff;
}
.footer-blocks,
.footer-bottom-blocks,
.footer-bottom,
.footer-social {
background-color: var(--dark);
color: #ffffff;
}
.footer .block-title {
position: relative;
font-size: 1.6rem;
color: #ffffff;
padding-bottom: 12px;
margin-bottom: 12px;
}
.footer .block-title::before,
.footer .block-title::after {
content: '';
position: absolute;
left: 0;
height: 2px;
background: var(--primary);
}
.footer .block-title::before {
width: 30px;
bottom: 6px;
}
.footer .block-title::after {
width: 60px;
bottom: 0;
}
.footer a {
color: var(--primary);
}
.footer a:hover {
color: #ffffff;
}
.footer-block ul {
margin: 0;
padding: 0;
list-style: none;
}
.footer-block li {
padding: 10px 0;
border-bottom: 1px solid #000000;
}
.footer-bottom-container {
border-top: 2px solid #000000;
}
/* Footer -> customization */
.footer-logo {
max-height: 100px;
width: auto;
}

123
css_bkup/sass/_header.scss

@ -0,0 +1,123 @@
/* Header Top
------------------------------- */
.header-top {
//background: var(--dark);
background: var(--upei-red);
//color: var(--light);
color: var(--light);
}
.header-top a {
color: var(--light);
}
.header-top a:hover,
.header-top i {
color: var(--primary);
}
.header-top-block {
text-align: center;
}
/* Header
------------------------------- */
.header {
//background: var(--secondary);
background: #fff;
color: #ffffff;
}
.header a,
.page-header a {
color: var(--primary);
color: var(--dark-grey);
}
.header-container {
padding: 1rem 0;
}
.site-brand img {
max-height: 50px;
display: block;
}
.site-name {
font-family: var(--heading-font);
color: var(--primary);
font-weight: 700;
font-size: 2rem !important;
}
.site-name a:hover {
color: var(--primary);
}
/* Header -> Main menu */
.mobile-menu {
border-top: 2px solid #ffffff;
border-bottom: 2px solid #ffffff;
}
.mobile-menu span {
background-color: #ffffff;
}
.menu-wrap {
font-family: var(--heading-font);
font-weight: 700;
.menu a {
color: var(--dark-grey);
}
}
.menu-wrap ul.menu > li {
margin-left: 6px;
}
.menu-wrap ul.menu li > a {
padding: 10px;
}
/* Header -> search block region */
.search-icon {
width: 36px;
height: 36px;
}
.search-icon img {
max-height: 30px;
}
.search-box {
background-color: var(--dark);
}
.search-box-content .block-title,
.search-box-content form label {
color: var(--light);
}
.search-box-content input[type='search'] {
background: url(../images/icons/search-icon.svg) top right no-repeat;
color: #ffffff;
-webkit-text-fill-color: #ffffff;
border-bottom: 2px solid var(--border);
}
.search-box-content input[type='search']:focus {
background: url(../images/icons/search-icon.svg) top right no-repeat;
border: 0;
border-bottom: 2px solid var(--border);
}
.search-box-content input[type='search']:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px var(--dark) inset;
background-color: transparent;
color: #ffffff;
}
.header-search-close {
border: 3px solid var(--primary);
}
/* Header -> Page header */
.page-header {
//background: var(--secondary);
background: #fff;
color: var(--upei-green);
box-shadow: inset 0px 11px 8px -10px #ccc, inset 0px -11px 8px -10px #ccc;
}
.page-header a:hover {
color: #ffffff;
}
.region-page-header {
align-items: center;
}
.breadcrumb {
color: var(--light);
}
.page-header .page-title {
color: #ffffff;
color: var(--upei-green);
color: var(--dark);
font-variant: small-caps;
}

34
css_bkup/sass/_homepage.scss

@ -0,0 +1,34 @@
//@format
.homepage-content .block-title {
text-align: center;
margin-bottom: 1rem;
}
.frontpage-main .block,
.homepage-content-bottom .block {
margin-bottom: 5rem;
}
.region-content-home-top .block {
padding: 4rem 0;
}
.region-content-home-top .block:nth-child(even) {
position: relative;
background: #f0f0f0;
}
.region-content-home-top .block:last-child {
margin: 0;
}
//$slider-height: calc(75vh - 2rem);
$slider-height: 400px;
.slider {
height: $slider-height;
&-container {
height: $slider-height;
}
&-text {
flex: 80%;
}
&-image {
flex: 20%;
margin-top: 0 !important;
}
}

99
css_bkup/sass/_icofont.scss

@ -0,0 +1,99 @@
@font-face {
font-family: "IcoFont";
font-weight: normal;
font-style: "Regular";
src: url("../fonts/icofont.woff2") format("woff2"),
url("../fonts/icofont.woff") format("woff");
}
[class^="icofont-"], [class*=" icofont-"] {
font-family: 'IcoFont' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
}
.icofont-facebook:before {
content: "\ed37";
}
.icofont-twitter:before {
content: "\ed7a";
}
.icofont-instagram:before {
content: "\ed46";
}
.icofont-linkedin:before {
content: "\ed4d";
}
.icofont-youtube-play:before {
content: "\ecbb";
}
.icofont-vimeo:before {
content: "\ed7f";
}
.icofont-telegram:before {
content: "\ed75";
}
.icofont-brand-whatsapp:before {
content: "\e957";
}
.icofont-github:before {
content: "\ed3e";
}
.icofont-vk:before {
content: "\ed83";
}
.icofont-xs {
font-size: .5em;
}
.icofont-sm {
font-size: .75em;
}
.icofont-md {
font-size: 1.25em;
}
.icofont-lg {
font-size: 1.5em;
}
.icofont-1x {
font-size: 1em;
}
.icofont-2x {
font-size: 2em;
}
.icofont-3x {
font-size: 3em;
}
.icofont-4x {
font-size: 4em;
}
.icofont-5x {
font-size: 5em;
}
.icofont-6x {
font-size: 6em;
}
.icofont-7x {
font-size: 7em;
}
.icofont-8x {
font-size: 8em;
}
.icofont-9x {
font-size: 9em;
}
.icofont-10x {
font-size: 10em;
}

7
css_bkup/sass/_layout.scss

@ -0,0 +1,7 @@
.main-wrapper {
padding:0;}
div#block-menudetailsforhomepage {
h4 a {
color: var(--upei-red);}
li {
color: #333;}}

35
css_bkup/sass/_main.scss

@ -0,0 +1,35 @@
//@format
/* Main
---------------------------------------- */
/* Main -> Admin tabs */
ul.page-tabs {
border-bottom: 2px solid var(--upei-red);
margin-top: 1rem;
}
.page-tabs li a {
background: #dddddd;
color: var(--upei-red);
border-right: 2px solid #fff;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.page-tabs li.active-page-tab a,
.page-tabs li a:hover {
background: var(--upei-red);
color: #fff;
}
/* Main -> Filter Module */
.filter-wrapper {
border: 1px solid var(--border);
}
/* Node Submitted Details */
.submitted-icons {
color: var(--primary);
}
.node-taxonomy-container .term-title::before {
font-family: 'ficon';
content: '\e902';
color: var(--primary);
padding-right: 6px;
}

125
css_bkup/sass/_responsive.scss

@ -0,0 +1,125 @@
@media (min-width: 576px) {
}
@media (min-width: 768px) {
/* Header */
.header-top-block {
text-align: left;
}
.site-brand img {
max-height: 60px;
}
/* Header -> Page Header */
.page-header {
padding: 2rem 0 2rem 0;
}
/* Frontpage */
.homepage-content .block-title::before {
position: absolute;
content: '';
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(-50px);
transform: translateX(-50px);
}
.homepage-content .block-title::after {
position: absolute;
content: '';
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(10px);
transform: translateX(10px);
}
.region-content-home-top .block:nth-child(odd) {
margin-bottom: 10rem;
}
.region-content-home-top .block:last-child:nth-child(odd) {
margin-bottom: 0;
}
.region-content-home-top .block:nth-child(even) {
padding: 0 0 4rem 0;
}
.region-content-home-top .block:nth-child(even)::before {
position: absolute;
content: '';
top: -10rem;
left: 0;
height: 10rem;
width: 100%;
background: #f0f0f0;
clip-path: polygon(0 0, 100% 90%, 100% 100%, 0% 100%);
}
/* Notice */
.notice-block {
width: 98%;
}
.notice-block::before {
position: absolute;
content: '';
top: 0;
left: 0;
background-color: var(--secondary);
width: 95%;
height: 100%;
z-index: -1;
transform: rotate(-5deg);
}
.feature {
padding: 2rem;
}
}
@media (min-width: 992px) {
/* Header */
.site-brand img {
max-height: 80px;
}
/* Header -> Main menu */
.menu-wrap ul.menu li {
background: linear-gradient(to bottom, transparent 50%, var(--dark) 50%);
background-size: 100% 200%;
transition: all 0.2s linear;
}
.menu-wrap ul.menu li:hover {
a {
color: var(--light);
}
background-position: 0 -100%;
}
ul.main-menu li a:hover {
color: var(--primary);
}
.menu-wrap .menu li span.dropdown-arrow {
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.menu-wrap ul.menu li.expanded:hover .dropdown-arrow,
.menu-wrap ul.menu li.collapsed:hover .dropdown-arrow {
-webkit-transform: rotate(135deg);
-ms-transform: rotate(135deg);
transform: rotate(135deg);
}
.menu-wrap ul.menu ul.submenu {
top: 36px;
background-color: var(--dark);
}
.menu-wrap ul.menu ul.submenu li {
border-bottom: 1px solid var(--primary);
}
.menu-wrap ul.menu ul.submenu li a:hover {
color: #ffffff;
}
}
@media (min-width: 1170px) {
/* Header */
.site-brand img {
max-height: 90px;
}
}

164
css_bkup/sass/_shortcodes.scss

@ -0,0 +1,164 @@
/*
* Custom Shortcodes
*/
/* Shortcodes -> Buttons */
.link-button,
.button-link,
.button-dark {
display: inline-block;
border-radius: 30px;
padding: 0.8rem 1.8rem;
transition: all 0.3s ease;
border: 4px solid var(--upei-red);
}
a.button,
.button,
button,
[type='button'],
[type='reset'],
[type='submit'] {
background-color: var(--dark);
color: #ffffff;
border: 4px solid var(--upei-red);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear;
}
.link-button,
.button-link {
color: #ffffff;
//background-color: var(--secondary);
background-color: var(--dark);
border: 6px solid var(--upei-red);
}
.feature h3 {
color: var(--upei-green);
}
.footer a {
color: #fff;
font-family: var(--body-font);
font-weight: 100;
font-size: 1.2rem;
}
.footer-bottom-blocks .button {
background: var(--upei-green);
border: 4px solid var(--upei-yello);
}
.link-button:hover,
.button-link:hover {
color: var(--light);
background-color: var(--dark);
border: 4px solid var(--primary);
}
.button-dark {
background-color: var(--dark);
color: var(--light);
border: 6px solid var(--upei-red);
}
.button-dark:hover {
color: #ffffff;
border: 6px solid var(--upei-green);
}
/* Elements -> Box */
.box {
background-color: #ffffff;
-webkit-box-shadow: 0 0 8px 4px var(--light);
box-shadow: 0 0 8px 4px var(--light);
}
/* Icon Box */
.icon-box {
font-family: var(--body-font);
line-height: 1.7;
background-color: var(--content-bg);
box-shadow: 0 3px 6px #bbbbbb;
display: flex;
}
.icon-box-icon {
padding-right: 1rem;
flex: 0 0 auto;
}
.icon-box-text {
font-family: var(--body-font);
line-height: 1.7;
}
/*
* Features
*/
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
grid-gap: 1rem;
gap: 1rem;
}
.feature {
background-color: #ffffff;
padding: 1rem;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: all 0.4s linear;
backface-visibility: hidden;
}
.feature:hover {
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px);
}
.feature-icon {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1.5rem;
padding: 2rem;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: var(--primary);
color: #ffffff;
transition: all 0.4s ease;
box-shadow: 0 0 10px 2px #ffffff;
}
.feature:hover .feature-icon {
background-color: #ffffff;
-webkit-box-shadow: 0 0 10px 2px var(--secondary);
box-shadow: 0 0 10px 2px var(--secondary);
}
.feature .link-button {
display: inline-block;
}
/*
* Notice
*/
.notice-block {
position: relative;
background-color: var(--primary);
padding: 2rem;
width: 100%;
}
.notice-block .views-row {
padding: 1rem 0;
}
.notice-block .views-field-title {
font-family: var(--heading-font);
font-size: 1.4rem;
font-weight: 700;
}
.notice-block .views-field-title a {
color: var(--dark);
}
.notice-block .views-field-title a:hover {
color: #ffffff;
}
.notice-block .views-row {
border-bottom: 1px solid var(--dark);
}

13
css_bkup/sass/_sidebar.scss

@ -0,0 +1,13 @@
//@format
/* Sidebar
---------------------------------------- */
.sidebar .block {
background-color: #f5f5ff;
padding: 20px;
margin-bottom: 2rem;
box-shadow: 0 2px 2px var(--border);
}
.sidebar .block-title {
font-size: 2.2rem;
text-transform: none;
}

40
css_bkup/sass/style.scss

@ -0,0 +1,40 @@
//@format
@import 'fonts';
@import 'base';
@import 'fonts';
@import 'fonticons';
@import 'layout';
@import 'header';
@import 'blocks';
@import 'main';
@import 'sidebar';
@import 'comment';
@import 'footer';
@import 'homepage';
@import 'components';
@import 'shortcodes';
@import 'responsive';
.slider-image {
margin-top: 4rem;
}
.slider-text,
.slider-text h1,
.slider-text h2,
.slider-text h3,
.slider-text h4 {
color: var(--dark-grey);
}
.slider {
background: var(--content-bg);
}
div#block-homepagewelcome {
a {
color: var(--upei-red);
}
h2,
p {
color: #fff !important;
}
color: #fff !important;
background: #789d4a;
}

169
css_bkup/slider.css

@ -0,0 +1,169 @@
/* Homepage -> Slider */
.slider {
background-color: var(--secondary);
height: calc(100vh - 2rem);
width: 100%;
z-index: 20;
overflow: hidden;
}
.slider-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: calc(100vh - 2rem);
z-index: 20;
overflow: hidden;
}
.slider-container ul {
padding: 0;
}
.morphist > * {
display: none;
}
.morphist > .animated {
display: inline-block;
}
.slider-text {
flex: 50%;
z-index: 20;
}
.slider-image {
flex: 50%;
background-color: var(--dark);
background-size: contain;
border-radius: 43% 57% 56% 44% / 40% 53% 47% 60%;
-webkit-animation: slider-image 5s linear infinite;
animation: slider-image 5s linear infinite;
z-index: 20;
}
.slider-text,
.slider-text h1,
.slider-text h2,
.slider-text h3,
.slider-text h4 {
color: #ffffff;
}
@-webkit-keyframes slider-image {
0%, 100% {
border-radius: 43% 57% 56% 44% / 40% 53% 47% 60%;
}
50% {
border-radius: 64% 36% 56% 44% / 60% 69% 31% 40%;
}
}
@keyframes slider-image {
0%, 100% {
border-radius: 43% 57% 56% 44% / 40% 53% 47% 60%;
}
50% {
border-radius: 64% 36% 56% 44% / 60% 69% 31% 40%;
}
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.fadeInUp {
-webkit-animation-name: fadeInUp;
animation-name: fadeInUp;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes fadeOutLeft {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
@keyframes fadeOutLeft {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
.fadeOutLeft {
-webkit-animation-name: fadeOutLeft;
animation-name: fadeOutLeft;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@media (max-width: 991px) {
.slider-container {
flex-direction: column;
}
.slider-text {
height: 60%;
max-height: 60%;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
.slider-text h1,
.slider-text h2,
.slider-text h3 {
line-height: 1.2;
}
.slider-text h1 {
font-size: 1.8rem;
}
.slider-text h2 {
font-size: 1.6rem;
}
.slider-text h3 {
font-size: 1.4rem;
}
.slider-text .button-dark {
padding: 0.6rem 1rem;
border-radius: 6px;
}
.slider-image {
height: 40%;
max-height: 40%;
display: flex;
flex-direction: column;
justify-content: center;
}
.slider-image img {
max-height: 100%
}
}

981
css_bkup/style.css

@ -0,0 +1,981 @@
/* Variables
---------------------------------------- */
:root {
/* Theme Colors */
--upei-red: #7c2529;
--upei-green: #789d4a;
--upei-yellow: #f1b434;
--theme-color: green;
--theme-color-two: #383a68;
--primary: #ffcc18;
--secondary: #3e4182;
--dark: #333;
--dark-grey: #838383;
--light: #edeef5;
--border: #cccccc;
--bold-color: var(--upei-red);
--content-bg: #f2f2f2;
--text-color: #222222;
--body-font: 'Noto Sans', sans-serif;
--heading-font: 'Adelle Regular', serif; }
/* HTML and Body
---------------------------------------- */
body {
font-family: var(--body-font);
background: #ffffff;
color: var(--text-color);
background-color: #fff !important; }
/* Regions
---------------------------------------- */
summary {
color: var(--text-color); }
/* Typography
---------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--heading-font);
color: var(--bold-color); }
strong {
color: var(--bold-color); }
em {
color: var(--upei-green); }
a {
-webkit-transition: color 0.4s ease;
-o-transition: color 0.4s ease;
transition: color 0.4s ease; }
a,
a:active,
li a.active {
color: var(--upei-green); }
a:hover {
color: var(--primary); }
/* Typography-> code tags */
code,
kbd,
pre,
samp {
background: var(--secondary);
color: #ffffff; }
mark {
background: var(--primary);
color: #ffffff; }
figcaption {
background: var(--secondary);
color: #ffffff; }
/* Form
---------------------------------------- */
/* Form -> Button */
a.button,
.button,
button,
[type='button'],
[type='reset'],
[type='submit'] {
background-color: var(--secondary);
color: #ffffff;
border: 4px solid var(--primary);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear; }
a.button:hover,
.button:hover,
button:hover,
[type='button']:hover,
[type='reset']:hover,
[type='submit']:hover {
background-color: var(--dark);
color: var(--primary); }
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea {
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out; }
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
textarea {
color: var(--text-color);
background: var(--light);
border: 1px solid var(--border); }
input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
textarea:focus {
border: 1px solid var(--primary);
background: #f0f0f0; }
fieldset {
border: 1px solid var(--border); }
/* Form -> Label */
.form-item label,
form label {
font-weight: 700;
color: var(--bold-color); }
summary {
font-family: var(--heading-font);
font-weight: 700; }
/* Form -> Radio buttons */
input[type='radio'],
input[type='checkbox'] {
border: 2px solid var(--secondary); }
input[type='radio']:hover,
input[type='checkbox']:hover {
border: 2px solid var(--primary); }
input[type='radio']:checked,
input[type='checkbox']:checked {
background-color: var(--primary);
color: #000000; }
input[type='checkbox'] {
appearance: none; }
input[type='checkbox']::after {
content: '\2714';
text-align: center;
display: none; }
input[type='checkbox']:checked::after {
display: block; }
select {
color: var(--text-color);
background: #eeeeee;
border: 1px solid var(--border); }
::-webkit-input-placeholder {
color: var(--border); }
::placeholder {
color: var(--border);
opacity: 1; }
:-ms-input-placeholder {
color: var(--border); }
::-ms-input-placeholder {
color: #969696; }
:-moz-placeholder {
color: var(--border); }
::-moz-placeholder {
color: var(--border); }
/* Table
---------------------------------------- */
th {
background: var(--light);
color: #fff;
color: var(--upei-red);
border: 1px solid var(--dark); }
td {
border: 1px solid var(--border); }
/* Common HTML Elements
---------------------------------------- */
hr {
background: var(--border); }
dt {
color: var(--bold-color); }
blockquote {
background: var(--light);
box-shadow: 2px 2px 6px var(--border);
border-left: 8px solid var(--secondary); }
/* Selection
---------------------------------------- */
::-moz-selection {
background: var(--primary);
color: #fff;
text-shadow: none; }
::selection {
background: var(--primary);
color: #fff;
text-shadow: none; }
@font-face {
font-family: 'ficon';
src: url("../fonts/ficon.ttf?ce63e9") format("truetype"), url("../fonts/ficon.woff?ce63e9") format("woff"), url("../fonts/ficon.svg?ce63e9#ficon") format("svg");
font-weight: normal;
font-style: normal;
font-display: block; }
[class^="ficon-"], [class*=" ficon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'ficon' !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
.ficon-mail:before {
content: "\f003"; }
.ficon-map:before {
content: "\f041"; }
.ficon-calendar:before {
content: "\f073"; }
.ficon-phone:before {
content: "\f095"; }
.ficon-twitter:before {
content: "\f099"; }
.ficon-facebook:before {
content: "\f09a"; }
.ficon-github:before {
content: "\f09b"; }
.ficon-linkedin:before {
content: "\f0e1"; }
.ficon-youtube:before {
content: "\f16a"; }
.ficon-instagram:before {
content: "\f16d"; }
.ficon-vk:before {
content: "\f189"; }
.ficon-whatsapp:before {
content: "\f232"; }
.ficon-vimeo:before {
content: "\f27d"; }
.ficon-user:before {
content: "\f2c0"; }
.ficon-telegram:before {
content: "\f2c6"; }
.ficon-comments:before {
content: "\e900"; }
.ficon-add_comment:before {
content: "\e901"; }
.ficon-tag:before {
content: "\e902"; }
.ficon-file:before {
content: "\e903"; }
.ficon-search:before {
content: "\e904"; }
.ficon-tag:before {
content: "\e902"; }
.main-wrapper {
padding: 0; }
div#block-menudetailsforhomepage h4 a {
color: var(--upei-red); }
div#block-menudetailsforhomepage li {
color: #333; }
/* Header Top
------------------------------- */
.header-top {
background: var(--upei-red);
color: var(--light); }
.header-top a {
color: var(--light); }
.header-top a:hover,
.header-top i {
color: var(--primary); }
.header-top-block {
text-align: center; }
/* Header
------------------------------- */
.header {
background: #fff;
color: #ffffff; }
.header a,
.page-header a {
color: var(--primary);
color: var(--dark-grey); }
.header-container {
padding: 1rem 0; }
.site-brand img {
max-height: 50px;
display: block; }
.site-name {
font-family: var(--heading-font);
color: var(--primary);
font-weight: 700;
font-size: 2rem !important; }
.site-name a:hover {
color: var(--primary); }
/* Header -> Main menu */
.mobile-menu {
border-top: 2px solid #ffffff;
border-bottom: 2px solid #ffffff; }
.mobile-menu span {
background-color: #ffffff; }
.menu-wrap {
font-family: var(--heading-font);
font-weight: 700; }
.menu-wrap .menu a {
color: var(--dark-grey); }
.menu-wrap ul.menu > li {
margin-left: 6px; }
.menu-wrap ul.menu li > a {
padding: 10px; }
/* Header -> search block region */
.search-icon {
width: 36px;
height: 36px; }
.search-icon img {
max-height: 30px; }
.search-box {
background-color: var(--dark); }
.search-box-content .block-title,
.search-box-content form label {
color: var(--light); }
.search-box-content input[type='search'] {
background: url(../images/icons/search-icon.svg) top right no-repeat;
color: #ffffff;
-webkit-text-fill-color: #ffffff;
border-bottom: 2px solid var(--border); }
.search-box-content input[type='search']:focus {
background: url(../images/icons/search-icon.svg) top right no-repeat;
border: 0;
border-bottom: 2px solid var(--border); }
.search-box-content input[type='search']:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px var(--dark) inset;
background-color: transparent;
color: #ffffff; }
.header-search-close {
border: 3px solid var(--primary); }
/* Header -> Page header */
.page-header {
background: #fff;
color: var(--upei-green);
box-shadow: inset 0px 11px 8px -10px #ccc, inset 0px -11px 8px -10px #ccc; }
.page-header a:hover {
color: #ffffff; }
.region-page-header {
align-items: center; }
.breadcrumb {
color: var(--light); }
.page-header .page-title {
color: #ffffff;
color: var(--upei-green);
color: var(--dark);
font-variant: small-caps; }
/* Main
---------------------------------------- */
/* Main -> Admin tabs */
ul.page-tabs {
border-bottom: 2px solid var(--upei-red);
margin-top: 1rem; }
.page-tabs li a {
background: #dddddd;
color: var(--upei-red);
border-right: 2px solid #fff;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease; }
.page-tabs li.active-page-tab a,
.page-tabs li a:hover {
background: var(--upei-red);
color: #fff; }
/* Main -> Filter Module */
.filter-wrapper {
border: 1px solid var(--border); }
/* Node Submitted Details */
.submitted-icons {
color: var(--primary); }
.node-taxonomy-container .term-title::before {
font-family: 'ficon';
content: '\e902';
color: var(--primary);
padding-right: 6px; }
/* Sidebar
---------------------------------------- */
.sidebar .block {
background-color: #f5f5ff;
padding: 20px;
margin-bottom: 2rem;
box-shadow: 0 2px 2px var(--border); }
.sidebar .block-title {
font-size: 2.2rem;
text-transform: none; }
/* Comments
--------------------------------------*/
#comments {
border-top: 1px solid var(--border); }
#comments i {
color: var(--primary); }
/* Comments -> single comment */
.comment {
box-shadow: 3px 3px #cccccc; }
.comment-header {
background-color: #dcdee2;
border-bottom: 2px solid #cccccc; }
.comment-user-picture {
padding: 0 1rem;
border-right: 2px solid #cccccc;
-ms-flex: 0 0 100px;
flex: 0 0 100px; }
.comment-title,
.comment-title a {
color: var(--secondary);
font-weight: 400; }
.comment-reply a,
.comment-delete a,
.comment-edit a {
padding: 5px 12px;
color: #fff;
background: var(--secondary);
border-radius: 4px;
-webkit-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out; }
.comment-reply a:hover,
.comment-delete a:hover,
.comment-edit a:hover {
background: var(--primary);
color: #ffffff; }
/*
* Footer
*/
.footer-top {
background-color: var(--upei-red);
color: #ffffff; }
.footer-blocks,
.footer-bottom-blocks,
.footer-bottom,
.footer-social {
background-color: var(--dark);
color: #ffffff; }
.footer .block-title {
position: relative;
font-size: 1.6rem;
color: #ffffff;
padding-bottom: 12px;
margin-bottom: 12px; }
.footer .block-title::before,
.footer .block-title::after {
content: '';
position: absolute;
left: 0;
height: 2px;
background: var(--primary); }
.footer .block-title::before {
width: 30px;
bottom: 6px; }
.footer .block-title::after {
width: 60px;
bottom: 0; }
.footer a {
color: var(--primary); }
.footer a:hover {
color: #ffffff; }
.footer-block ul {
margin: 0;
padding: 0;
list-style: none; }
.footer-block li {
padding: 10px 0;
border-bottom: 1px solid #000000; }
.footer-bottom-container {
border-top: 2px solid #000000; }
/* Footer -> customization */
.footer-logo {
max-height: 100px;
width: auto; }
.homepage-content .block-title {
text-align: center;
margin-bottom: 1rem; }
.frontpage-main .block,
.homepage-content-bottom .block {
margin-bottom: 5rem; }
.region-content-home-top .block {
padding: 4rem 0; }
.region-content-home-top .block:nth-child(even) {
position: relative;
background: #f0f0f0; }
.region-content-home-top .block:last-child {
margin: 0; }
.slider {
height: 400px; }
.slider-container {
height: 400px; }
.slider-text {
flex: 80%; }
.slider-image {
flex: 20%;
margin-top: 0 !important; }
/* Components -> Social icons */
.footer-social {
padding: 1rem 0; }
.social-icons {
position: relative;
margin: 0;
padding: 0;
list-style: none; }
.social-icons li {
display: inline-block;
margin: 0; }
.social-icons li a {
display: flex;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
border: 2px solid #000000;
border-radius: 6px;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease; }
.social-icons li a:hover {
border: 2px solid var(--primary); }
.social-icons i {
padding: 10px; }
/* components -> Scroll To Top. */
.scrolltop {
background: var(--primary);
color: #000000;
transition: all 0.3s ease; }
.scrolltop:hover {
background: var(--secondary);
color: #ffffff; }
#accordion .accordion_question * {
margin: 0;
font-weight: bold; }
#accordion .accordion_answer * {
margin: 0; }
form#node-data-management-plan-form {
margin-top: 1rem; }
form#node-data-management-plan-form td {
padding: 1rem; }
form#node-data-management-plan-form td.field-multiple-drag {
padding: 0;
padding-top: 1rem; }
form#node-data-management-plan-form .button,
form#node-data-management-plan-form .button,
form#node-data-management-plan-form button,
form#node-data-management-plan-form [type='button'],
form#node-data-management-plan-form [type='reset'],
form#node-data-management-plan-form [type='submit'] {
background-color: #ccc;
color: initial;
border: 1px solid var(--upei-red);
border-radius: 4px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear;
padding: 0 5px; }
.footer-bottom-blocks .button {
background: var(--upei-green);
border: 4px solid var(--upei-yello);
padding: 0 9px; }
/*
* Custom Shortcodes
*/
/* Shortcodes -> Buttons */
.link-button,
.button-link,
.button-dark {
display: inline-block;
border-radius: 30px;
padding: 0.8rem 1.8rem;
transition: all 0.3s ease;
border: 4px solid var(--upei-red); }
a.button,
.button,
button,
[type='button'],
[type='reset'],
[type='submit'] {
background-color: var(--dark);
color: #ffffff;
border: 4px solid var(--upei-red);
border-radius: 8px;
-webkit-transition: all 0.4s linear;
-o-transition: all 0.4s linear;
transition: all 0.4s linear; }
.link-button,
.button-link {
color: #ffffff;
background-color: var(--dark);
border: 6px solid var(--upei-red); }
.feature h3 {
color: var(--upei-green); }
.footer a {
color: #fff;
font-family: var(--body-font);
font-weight: 100;
font-size: 1.2rem; }
.footer-bottom-blocks .button {
background: var(--upei-green);
border: 4px solid var(--upei-yello); }
.link-button:hover,
.button-link:hover {
color: var(--light);
background-color: var(--dark);
border: 4px solid var(--primary); }
.button-dark {
background-color: var(--dark);
color: var(--light);
border: 6px solid var(--upei-red); }
.button-dark:hover {
color: #ffffff;
border: 6px solid var(--upei-green); }
/* Elements -> Box */
.box {
background-color: #ffffff;
-webkit-box-shadow: 0 0 8px 4px var(--light);
box-shadow: 0 0 8px 4px var(--light); }
/* Icon Box */
.icon-box {
font-family: var(--body-font);
line-height: 1.7;
background-color: var(--content-bg);
box-shadow: 0 3px 6px #bbbbbb;
display: flex; }
.icon-box-icon {
padding-right: 1rem;
flex: 0 0 auto; }
.icon-box-text {
font-family: var(--body-font);
line-height: 1.7; }
/*
* Features
*/
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
grid-gap: 1rem;
gap: 1rem; }
.feature {
background-color: #ffffff;
padding: 1rem;
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: all 0.4s linear;
backface-visibility: hidden; }
.feature:hover {
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-ms-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
transform: translateY(-20px); }
.feature-icon {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1.5rem;
padding: 2rem;
width: 100px;
height: 100px;
border-radius: 50%;
background-color: var(--primary);
color: #ffffff;
transition: all 0.4s ease;
box-shadow: 0 0 10px 2px #ffffff; }
.feature:hover .feature-icon {
background-color: #ffffff;
-webkit-box-shadow: 0 0 10px 2px var(--secondary);
box-shadow: 0 0 10px 2px var(--secondary); }
.feature .link-button {
display: inline-block; }
/*
* Notice
*/
.notice-block {
position: relative;
background-color: var(--primary);
padding: 2rem;
width: 100%; }
.notice-block .views-row {
padding: 1rem 0; }
.notice-block .views-field-title {
font-family: var(--heading-font);
font-size: 1.4rem;
font-weight: 700; }
.notice-block .views-field-title a {
color: var(--dark); }
.notice-block .views-field-title a:hover {
color: #ffffff; }
.notice-block .views-row {
border-bottom: 1px solid var(--dark); }
@media (min-width: 768px) {
/* Header */
.header-top-block {
text-align: left; }
.site-brand img {
max-height: 60px; }
/* Header -> Page Header */
.page-header {
padding: 2rem 0 2rem 0; }
/* Frontpage */
.homepage-content .block-title::before {
position: absolute;
content: '';
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(-50px);
transform: translateX(-50px); }
.homepage-content .block-title::after {
position: absolute;
content: '';
width: 40px;
height: 2px;
background: var(--primary);
top: 50%;
-webkit-transform: translateX(10px);
transform: translateX(10px); }
.region-content-home-top .block:nth-child(odd) {
margin-bottom: 10rem; }
.region-content-home-top .block:last-child:nth-child(odd) {
margin-bottom: 0; }
.region-content-home-top .block:nth-child(even) {
padding: 0 0 4rem 0; }
.region-content-home-top .block:nth-child(even)::before {
position: absolute;
content: '';
top: -10rem;
left: 0;
height: 10rem;
width: 100%;
background: #f0f0f0;
clip-path: polygon(0 0, 100% 90%, 100% 100%, 0% 100%); }
/* Notice */
.notice-block {
width: 98%; }
.notice-block::before {
position: absolute;
content: '';
top: 0;
left: 0;
background-color: var(--secondary);
width: 95%;
height: 100%;
z-index: -1;
transform: rotate(-5deg); }
.feature {
padding: 2rem; } }
@media (min-width: 992px) {
/* Header */
.site-brand img {
max-height: 80px; }
/* Header -> Main menu */
.menu-wrap ul.menu li {
background: linear-gradient(to bottom, transparent 50%, var(--dark) 50%);
background-size: 100% 200%;
transition: all 0.2s linear; }
.menu-wrap ul.menu li:hover {
background-position: 0 -100%; }
.menu-wrap ul.menu li:hover a {
color: var(--light); }
ul.main-menu li a:hover {
color: var(--primary); }
.menu-wrap .menu li span.dropdown-arrow {
-webkit-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out; }
.menu-wrap ul.menu li.expanded:hover .dropdown-arrow,
.menu-wrap ul.menu li.collapsed:hover .dropdown-arrow {
-webkit-transform: rotate(135deg);
-ms-transform: rotate(135deg);
transform: rotate(135deg); }
.menu-wrap ul.menu ul.submenu {
top: 36px;
background-color: var(--dark); }
.menu-wrap ul.menu ul.submenu li {
border-bottom: 1px solid var(--primary); }
.menu-wrap ul.menu ul.submenu li a:hover {
color: #ffffff; } }
@media (min-width: 1170px) {
/* Header */
.site-brand img {
max-height: 90px; } }
.slider-image {
margin-top: 4rem; }
.slider-text,
.slider-text h1,
.slider-text h2,
.slider-text h3,
.slider-text h4 {
color: var(--dark-grey); }
.slider {
background: var(--content-bg); }
div#block-homepagewelcome {
color: #fff !important;
background: #789d4a; }
div#block-homepagewelcome a {
color: var(--upei-red); }
div#block-homepagewelcome h2,
div#block-homepagewelcome p {
color: #fff !important; }
/*# sourceMappingURL=style.css.map */

1
css_bkup/style.css.map

File diff suppressed because one or more lines are too long

30
css_bkup/theme-settings.css

@ -0,0 +1,30 @@
label[for="edit-rdm"] {
width: 100%;
text-align: center;
}
.settings-form-title {
background-color: #222;
background-image: url("../logo.svg");
background-size: auto 70%;
background-position: calc(50% - 100px) center;
background-repeat: no-repeat;
padding: 2rem 2rem 2rem 5rem;
color: #fff;
margin: 0 auto;
}
/* Fieldset */
fieldset.set-default-fieldset,
details.set-default-fieldset {
background-color: #ffeaa7;
}
fieldset.info-fieldset,
details.info-fieldset {
background-image: url(../images/theme-settings/info.svg);
background-position: 3px 3px;
background-repeat: no-repeat;
background-color: #bbd9ff;
border: 1px solid #2e86de;
padding: 30px 18px 18px 40px;
}

26
gulpfile.js

@ -1,7 +1,7 @@
//@format //@format
const yaml = require('js-yaml'); const yaml = require('js-yaml');
const fs = require('fs'); const fs = require('fs');
const { SITE, PORT, BSREWRITE, PATHS } = loadConfig(); const {SITE, PORT, BSREWRITE, PATHS} = loadConfig();
//var server = require('browser-sync').create(); //var server = require('browser-sync').create();
//global.server = server; //global.server = server;
const gulp = require('gulp'); const gulp = require('gulp');
@ -20,7 +20,8 @@ function loadConfig() {
function bsInit(done) { function bsInit(done) {
browsersync.init({ browsersync.init({
logLevel: 'debug', logLevel: 'debug',
proxy: 'https://roblib_2022.lndo.site' //proxy: 'https://roblib_2022.lndo.site'
proxy: 'https://rdm2.researchspaces.ca',
}); });
done(); done();
} }
@ -33,14 +34,16 @@ function bsInit__remote(done) {
plugins: ['bs-rewrite-rules'], plugins: ['bs-rewrite-rules'],
rewriteRules: [ rewriteRules: [
{ {
match: BSREWRITE.Css.Match, //match: BSREWRITE.Css.Match,
replace: BSREWRITE.Css.Replace match: "/themes/contrib/RDM/css/style.css",
replace: "/css/style.css",
//replace: BSREWRITE.Css.Replace,
}, },
{ {
match: BSREWRITE.Js.Match, match: BSREWRITE.Js.Match,
replace: BSREWRITE.Js.Replace replace: BSREWRITE.Js.Replace,
} },
] ],
}); });
done(); done();
} }
@ -66,9 +69,9 @@ function styles() {
.pipe( .pipe(
sass sass
.sync({ .sync({
includePaths: PATHS.Scss.Libraries includePaths: PATHS.Scss.Libraries,
}) })
.on('error', sass.logError) .on('error', sass.logError),
) )
.pipe(sourcemaps.write('.')) .pipe(sourcemaps.write('.'))
.pipe(gulp.dest(PATHS.Css.Dir)) .pipe(gulp.dest(PATHS.Css.Dir))
@ -78,13 +81,14 @@ function styles() {
// Watch Files // Watch Files
function watchFiles() { function watchFiles() {
'use strict'; 'use strict';
gulp.watch(PATHS.Scss.Dir + '/**/*.scss', styles); //gulp.watch(PATHS.Scss.Dir + '/**/*.scss', styles);
gulp.watch('css/sass/**/*.scss', styles);
gulp.watch('./templates/**/*.twig', drush); gulp.watch('./templates/**/*.twig', drush);
} }
// Group complex tasks // Group complex tasks
const build = gulp.parallel(styles); const build = gulp.parallel(styles);
const watch = gulp.series(styles, gulp.parallel(watchFiles, bsInit)); const watch = gulp.series(styles, gulp.parallel(watchFiles, bsInit__remote));
// Export tasks // Export tasks
exports.build = build; exports.build = build;

Loading…
Cancel
Save