Browse Source

form required icon fixed

master
rdrew 1 year ago
parent
commit
45986864b5
  1. 19872
      css/global-style.css
  2. 2
      css/global-style.css.map
  3. 2
      css/sass/components/_diy.scss
  4. 2
      css/sass/components/_form.scss
  5. 4
      css/sass/components/_megamenu.scss
  6. 6
      css/sass/components/_search-results.scss
  7. 2
      css/sass/components/_tabs.scss
  8. 6
      css/sass/components/_user.scss
  9. 50
      gulpfile.js

19872
css/global-style.css

File diff suppressed because one or more lines are too long

2
css/global-style.css.map

File diff suppressed because one or more lines are too long

2
css/sass/components/_diy.scss

@ -91,7 +91,7 @@ $diy-header-height: initial;
//margin: 0; //margin: 0;
//} //}
.item-list a { .item-list a {
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
text-decoration: none; text-decoration: none;
} }
.field-content { .field-content {

2
css/sass/components/_form.scss

@ -84,7 +84,7 @@ label.option {
content: ''; content: '';
vertical-align: super; vertical-align: super;
/* Use a background image to prevent screen readers from announcing the text. */ /* Use a background image to prevent screen readers from announcing the text. */
background-image: url(../../images/icons/required.svg); background-image: url(../../../images/icons/required.svg);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 6px 6px; background-size: 6px 6px;
} }

4
css/sass/components/_megamenu.scss

@ -21,7 +21,7 @@ nav#tbm-menu-center-navigation {
justify-content: center; justify-content: center;
flex-flow: column; flex-flow: column;
color: #fefefe; color: #fefefe;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
font-size: 0.8em; font-size: 0.8em;
padding: 0.5rem; padding: 0.5rem;
text-decoration: none; text-decoration: none;
@ -176,7 +176,7 @@ a.green-button {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin: 0 0 1rem 0; margin: 0 0 1rem 0;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
padding: 0.85em 1em; padding: 0.85em 1em;
-webkit-appearance: none; -webkit-appearance: none;
border: 1px solid transparent; border: 1px solid transparent;

6
css/sass/components/_search-results.scss

@ -127,7 +127,7 @@ li.facet-item a {
background: darken($white, 10%); background: darken($white, 10%);
} }
.roblib-solr-teaser { .roblib-solr-teaser {
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
text-overflow: ellipsis; text-overflow: ellipsis;
min-width: 0; min-width: 0;
} }
@ -144,7 +144,7 @@ li.facet-item a {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
margin: 0 0 1rem 0; margin: 0 0 1rem 0;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
padding: 0.85em 1em; padding: 0.85em 1em;
-webkit-appearance: none; -webkit-appearance: none;
border: 1px solid transparent; border: 1px solid transparent;
@ -165,7 +165,7 @@ li.facet-item a {
margin: 0; margin: 0;
border-radius: 0; border-radius: 0;
text-transform: uppercase; text-transform: uppercase;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
padding: 8px; padding: 8px;
} }
} }

2
css/sass/components/_tabs.scss

@ -22,7 +22,7 @@ ul.tabs {
.tabs a { .tabs a {
display: block; display: block;
padding: 0.2em 1em; padding: 0.2em 1em;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
text-decoration: none; text-decoration: none;
} }
.tabs a.is-active { .tabs a.is-active {

6
css/sass/components/_user.scss

@ -83,7 +83,7 @@
} }
.field--name-field-subjects h2 a { .field--name-field-subjects h2 a {
font-size: 1rem; font-size: 1rem;
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
} }
.field--name-field-subjects .field__label { .field--name-field-subjects .field__label {
background: #333; background: #333;
@ -94,7 +94,7 @@
border-bottom: 4px solid #517e1b; border-bottom: 4px solid #517e1b;
} }
.field--name-field-job-title { .field--name-field-job-title {
font-family: 'Roboto Condensed', sans-serif; font-family: $button-font-family;
color: #517e1b; color: #517e1b;
font-size: 1.77687rem; font-size: 1.77687rem;
} }
@ -123,7 +123,7 @@
} }
.field__label { .field__label {
width: 200px; width: 200px;
font-family: "Roboto Condensed", sans-serif; font-family: $button-font-family;
} }
.field--name-body { .field--name-body {
margin-top: $global-margin;} margin-top: $global-margin;}

50
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');
@ -37,13 +37,13 @@ function bsInit__remote(done) {
rewriteRules: [ rewriteRules: [
{ {
match: BSREWRITE.Css.Match, match: BSREWRITE.Css.Match,
replace: BSREWRITE.Css.Replace replace: BSREWRITE.Css.Replace,
}, },
{ {
match: BSREWRITE.Js.Match, match: BSREWRITE.Js.Match,
replace: BSREWRITE.Js.Replace replace: BSREWRITE.Js.Replace,
} },
] ],
}); });
done(); done();
} }
@ -62,23 +62,25 @@ function drush() {
// Compile CSS // Compile CSS
function styles() { function styles() {
'use strict'; 'use strict';
return gulp return (
//.src(PATHS.Scss.Dir + '/**/*.scss') gulp
.src('./css/sass/**/*.scss') //.src(PATHS.Scss.Dir + '/**/*.scss')
.pipe(plumber()) .src('./css/sass/**/*.scss')
.pipe(sourcemaps.init()) .pipe(plumber())
.pipe( .pipe(sourcemaps.init())
sass .pipe(
.sync({ sass
includePaths: PATHS.Scss.Libraries .sync({
}) includePaths: PATHS.Scss.Libraries,
.on('error', sass.logError) })
) .on('error', sass.logError),
//.pipe(cleanCSS()) )
.pipe(sourcemaps.write('.')) .pipe(cleanCSS())
//.pipe(gulp.dest(PATHS.Css.Dir)) .pipe(sourcemaps.write('.'))
.pipe(gulp.dest('./css')) //.pipe(gulp.dest(PATHS.Css.Dir))
.pipe(browsersync.stream()); .pipe(gulp.dest('./css'))
.pipe(browsersync.stream())
);
} }
// Watch Files // Watch Files
@ -93,11 +95,11 @@ function watchFiles() {
const build = gulp.parallel(styles); const build = gulp.parallel(styles);
const watch_remote = gulp.series( const watch_remote = gulp.series(
styles, styles,
gulp.parallel(watchFiles, bsInit__remote) gulp.parallel(watchFiles, bsInit__remote),
); );
const watch_local = gulp.series( const watch_local = gulp.series(
styles, styles,
gulp.parallel(watchFiles, bsInit__local) gulp.parallel(watchFiles, bsInit__local),
); );
// Export tasks // Export tasks

Loading…
Cancel
Save