Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"presets": [
"es2015"
]
}
"presets": ["@babel/preset-env"]
}
6 changes: 6 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Browsers that we support

last 2 versions
Explorer >= 11
iOS >= 8
Android >= 4.0
185 changes: 113 additions & 72 deletions dist/flip.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,33 +192,39 @@

/*
* @pqina/flip v1.8.0 - A Beautifully Animated Flip Clock
* Copyright (c) 2020 PQINA - https://pqina.nl/flip/
* Copyright (c) 2023 PQINA - https://pqina.nl/flip/
*/
/**
* Layout
*/
.tick-flip {
position: relative;
text-align: center; }
.tick-flip * {
border-radius: inherit;
white-space: pre; }
text-align: center;
}
.tick-flip * {
border-radius: inherit;
white-space: pre;
}

.tick-flip * {
letter-spacing: inherit;
text-indent: inherit; }
text-indent: inherit;
}

.tick-flip-front {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
border-bottom-right-radius: 0;
}

.tick-flip-back {
border-top-left-radius: 0;
border-top-right-radius: 0; }
border-top-right-radius: 0;
}

.tick-flip-spacer {
display: block;
visibility: hidden; }
visibility: hidden;
}

.tick-flip-shadow {
position: absolute;
Expand All @@ -227,13 +233,16 @@
top: 1px;
bottom: 1px;
color: transparent !important;
background: transparent !important; }
background: transparent !important;
}

.tick-flip-shadow-top {
bottom: calc(50% - 1px); }
bottom: calc(50% - 1px);
}

.tick-flip-shadow-bottom {
top: calc(50% + 1px); }
top: calc(50% + 1px);
}

.tick-flip-card-shadow {
position: absolute;
Expand All @@ -246,8 +255,10 @@
opacity: 0;
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.5), 0 0.125em 0.5em rgba(0, 0, 0, 0.75);
z-index: 0; }
-webkit-box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.5), 0 0.125em 0.5em rgba(0, 0, 0, 0.75);
box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.5), 0 0.125em 0.5em rgba(0, 0, 0, 0.75);
z-index: 0;
}

/**
* Card
Expand All @@ -260,7 +271,8 @@
width: 100%;
height: 100%;
-webkit-perspective: 4em;
perspective: 4em; }
perspective: 4em;
}

.tick-flip-panel-front,
.tick-flip-panel-back {
Expand All @@ -271,7 +283,8 @@
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d; }
transform-style: preserve-3d;
}

.tick-flip-panel-front-text,
.tick-flip-panel-back-text {
Expand All @@ -280,53 +293,64 @@
top: 0;
right: -1px;
height: 100%;
overflow: hidden; }
overflow: hidden;
}

.tick-flip-panel-text-wrapper {
position: absolute;
left: 0;
top: 0;
right: 0;
height: 100%; }
height: 100%;
}

.tick-flip-panel-back-text .tick-flip-panel-text-wrapper {
height: 200%;
top: -100%; }
top: -100%;
}

.tick-flip-panel-front {
-webkit-transform-origin: center bottom;
transform-origin: center bottom;
top: 0;
z-index: 2;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05); }
-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.tick-flip-panel-back {
-webkit-transform-origin: center top;
transform-origin: center top;
top: 50%;
z-index: 1;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
.tick-flip-panel-back::after {
z-index: 1;
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.15) 1px, transparent 30%);
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.15) 1px, transparent 30%); }
-webkit-box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1);
}
.tick-flip-panel-back::after {
z-index: 1;
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.15) 1px, rgba(0, 0, 0, 0) 30%);
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.15) 1px, rgba(0, 0, 0, 0) 30%);
}

.tick-flip-panel-back-shadow {
z-index: 2; }
z-index: 2;
}

.tick-flip-panel-back-highlight {
z-index: 3; }
z-index: 3;
}

.tick-flip-panel-back-shadow,
.tick-flip-panel-back-highlight {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit; }
border-bottom-right-radius: inherit;
}

.tick-flip-panel-front-shadow,
.tick-flip-panel-back-shadow,
Expand All @@ -336,61 +360,78 @@
top: 0;
right: 0;
bottom: 0;
opacity: 0; }
opacity: 0;
}

.tick-flip-panel-front-shadow {
background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.3)));
background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)); }
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.tick-flip-panel-back-shadow {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.5)));
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)); }
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.tick-flip-panel-back-highlight {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.15)), to(rgba(255, 255, 255, 0.3)));
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3));
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3)); }

.tick [data-style*='shadow:inner'],
.tick [data-style*='shadow:inner'] .tick-flip-card-shadow {
box-shadow: none; }

.tick [data-style*='shadow:none'] .tick-flip-panel-front,
.tick [data-style*='shadow:none'] .tick-flip-panel-back,
.tick [data-style*='shadow:none'] .tick-flip-shadow,
.tick [data-style*='shadow:none'] .tick-flip-card-shadow {
box-shadow: none; }

.tick [data-style*='shadow:none'] .tick-flip-back::after,
.tick [data-style*='shadow:none'] .tick-flip-panel-front-shadow,
.tick [data-style*='shadow:none'] .tick-flip-panel-back-shadow,
.tick [data-style*='shadow:none'] .tick-flip-panel-back-text::after {
background-image: none; }

.tick [data-style*='rounded:none'] {
border-radius: 0; }
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3));
}

.tick [data-style*="shadow:inner"],
.tick [data-style*="shadow:inner"] .tick-flip-card-shadow {
-webkit-box-shadow: none;
box-shadow: none;
}

.tick [data-style*="shadow:none"] .tick-flip-panel-front,
.tick [data-style*="shadow:none"] .tick-flip-panel-back,
.tick [data-style*="shadow:none"] .tick-flip-shadow,
.tick [data-style*="shadow:none"] .tick-flip-card-shadow {
-webkit-box-shadow: none;
box-shadow: none;
}
.tick [data-style*="shadow:none"] .tick-flip-back::after,
.tick [data-style*="shadow:none"] .tick-flip-panel-front-shadow,
.tick [data-style*="shadow:none"] .tick-flip-panel-back-shadow,
.tick [data-style*="shadow:none"] .tick-flip-panel-back-text::after {
background-image: none;
}

.tick [data-style*="rounded:none"] {
border-radius: 0;
}

.tick [data-style*='rounded:panels'] .tick-flip-shadow-bottom,
.tick [data-style*='rounded:panels'] .tick-flip-front {
.tick [data-style*="rounded:panels"] .tick-flip-shadow-bottom,
.tick [data-style*="rounded:panels"] .tick-flip-front {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit; }

.tick [data-style*='rounded:panels'] .tick-flip-shadow-top,
.tick [data-style*='rounded:panels'] .tick-flip-panel-back::after,
.tick [data-style*='rounded:panels'] .tick-flip-back {
border-bottom-right-radius: inherit;
}
.tick [data-style*="rounded:panels"] .tick-flip-shadow-top,
.tick [data-style*="rounded:panels"] .tick-flip-panel-back::after,
.tick [data-style*="rounded:panels"] .tick-flip-back {
border-top-left-radius: inherit;
border-top-right-radius: inherit; }
border-top-right-radius: inherit;
}

.tick-flip {
margin-left: .0625em;
margin-right: .0625em;
margin-left: 0.0625em;
margin-right: 0.0625em;
min-width: 1.125em;
border-radius: .125em;
letter-spacing: .25em;
text-indent: .25em; }
border-radius: 0.125em;
letter-spacing: 0.25em;
text-indent: 0.25em;
}

.tick-flip-panel {
color: #edebeb;
background-color: #333232; }
background-color: #333232;
}

.tick-flip-shadow {
box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.25), 0 0.02125em 0.06125em rgba(0, 0, 0, 0.25); }
-webkit-box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.25), 0 0.02125em 0.06125em rgba(0, 0, 0, 0.25);
box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.25), 0 0.02125em 0.06125em rgba(0, 0, 0, 0.25);
}
Loading