Skip to content

Commit

Permalink
[add] Sign in/up Modal effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy-port committed Aug 20, 2021
1 parent 4eed4f8 commit b5a3216
Show file tree
Hide file tree
Showing 15 changed files with 200 additions and 84 deletions.
4 changes: 4 additions & 0 deletions app/assets/js/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ AOS.init({
var swiper = new Swiper(".swiper-js", {
slidesPerView: 1,
spaceBetween: 0,
autoplay: {
delay: 2500,
disableOnInteraction: true,
},

breakpoints: {
576: {
Expand Down
27 changes: 3 additions & 24 deletions app/assets/style/all.css

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

3 changes: 1 addition & 2 deletions app/assets/style/all.css.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions app/assets/style/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
@import './utilities/spacing';
@import './utilities/utilities';



@import './mixin/sizing';
@import './mixin/spacing';

@import './components/notification';
@import './components/swiper';
@import './components/timeline';
@import './components/scrollbar';
18 changes: 0 additions & 18 deletions app/assets/style/components/_notification.scss

This file was deleted.

8 changes: 4 additions & 4 deletions app/assets/style/components/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
left: 0;
right: 0;
height: 3px;
background-color: #e31277;
background-color: map-get($theme-colors, "primary");
}
}

Expand All @@ -28,14 +28,14 @@
height: 8px;
border-radius: 50%;
transform: translate(-50%, -25%);
background-color: #e31277;
background-color:map-get($theme-colors, "primary");
}

&-undone {
&::after {
content: " ";
border: 1px solid #e31277;
background-color: #fff;
border: 1px solid map-get($theme-colors, "primary");
background-color: map-get($theme-colors, "white");;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/style/helpers/bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
@import "./variables";
@import "../../../../node_modules/bootstrap/scss/bootstrap";

// 應該是沒用到拉XD
//因為此gulp使用助教提供的bs5 fix 版本因此無法做刪除
7 changes: 0 additions & 7 deletions app/assets/style/mixin/_sizing.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/* width */
.w-md-350 {
@include media-breakpoint-up(md) {
width: 350px;
}
}

/* height */
.h-md-256 {
@include media-breakpoint-up(md) {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/style/utilities/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
}

/* z-index */
.z-index-1080{
z-index: 1080;
.z-index-1055{
z-index: 1055;
}
2 changes: 1 addition & 1 deletion app/design.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<main>
<!-- exhibition display -->
<section class="m-0">
<ul class="ps-0 mb-7 mb-7 mb-md-13">
<ul class="list-unstyled mb-7 mb-7 mb-md-13">
<li class="bg-primary">
<div class="container-md">
<div class="card bg-transparent border-0 py-44 | pt-md-80 pb-md-52" data-aos="fade-left" data-aos-duration="1200">
Expand Down
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2 class="fw-bold text-white | mb-2">台北當代藝術展</h2>
>
熱門特展
</h3>
<ul class="ps-0">
<ul class="list-unstyled">
<li class="card border-0 bg-light | py-7 px-5 mb-5 | p-md-0 mb-md-6"
data-aos="fade-left"
data-aos-duration="1400">
Expand Down
2 changes: 1 addition & 1 deletion app/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2 class="h6 fw-bold mb-0 me-2">2020 台味設計展</h2>
<a href="#" class="px-2 | hvr-underline-from-center"
>學生</a
>
<a href="#" class="px-2 | hvr-underline-from-center"
<a href="#" class="border-secondary border-bottom px-2 | hvr-underline-from-center"
>全票</a
>
<a href="#" class="px-2 | hvr-underline-from-center"
Expand Down
Loading

0 comments on commit b5a3216

Please sign in to comment.