Skip to content

Commit

Permalink
[FEATURE] Create session tags detail pages (#41)
Browse files Browse the repository at this point in the history
* Migrate build tool from deprecated node-sass to sass
* Add tag detail pages
* Add tag edit link to BE module
* Remove unused imports
* Move path_segment after label
* Add missing plugin icon
  • Loading branch information
buchmarv authored Jan 6, 2025
1 parent 1e7eb2a commit fc4dd7e
Show file tree
Hide file tree
Showing 31 changed files with 858 additions and 1,839 deletions.
20 changes: 20 additions & 0 deletions Build/Sources/Sass/frontend/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,29 @@ $session-tag-border-radius: 4px !default;
border-radius: $session-tag-border-radius;
margin: 2px;
}
.sessionplaner-tag-title {
text-decoration-line: underline;
text-decoration-thickness: 5px;
text-decoration-skip-ink: none;
}
@each $name, $color in $session-colors {
.sessionplaner-tag-#{$name} {
color: color-contrast($color);
background-color: $color;
}
.sessionplaner-tag-title-#{$name} {
text-decoration-color: $color;
}
}

//
// Detail
//
.sessionplaner-tagdetail {
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.sessionplaner-tagdetail-backlink {
margin-top: 2rem;
}
4 changes: 2 additions & 2 deletions Build/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import terser from 'gulp-terser';
import jshint from 'gulp-jshint';

// CSS
import nodeSass from 'node-sass';
import dartSass from 'sass';
import gulpSass from 'gulp-sass';
import autoprefixer from 'autoprefixer';
import postcss from 'gulp-postcss';

const sass = gulpSass(nodeSass);
const sass = gulpSass(dartSass);

const paths = {
src: './Sources/',
Expand Down
Loading

0 comments on commit fc4dd7e

Please sign in to comment.