diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e4b3b98 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,22 @@ +# Change Log +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/) +and this project does not adheres to [Semantic Versioning](http://semver.org/). + +## [Unreleased] + +### Changed +- Improved styling using card layout + +## [0.1.3] - 2017-03-24 +### Changed +- new nicer login form +- layout optimized (show html now on the right) +- tell user that mails will be deleted + +### Added +- set delete period in config + +## [<=0.1.2] +See https://github.com/synox/disposable-mailbox/releases diff --git a/src/client-libs/spinner.css b/src/client-libs/spinner.css new file mode 100644 index 0000000..5297db8 --- /dev/null +++ b/src/client-libs/spinner.css @@ -0,0 +1,59 @@ +/* http://tobiasahlin.com/spinkit/ */ + +.spinner { + margin: 20px auto; + width: 50px; + height: 40px; + text-align: center; + font-size: 10px; +} + +.spinner > div { + background-color: #333; + height: 100%; + width: 6px; + display: inline-block; + + -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out; + animation: sk-stretchdelay 1.2s infinite ease-in-out; +} + +.spinner .rect2 { + -webkit-animation-delay: -1.1s; + animation-delay: -1.1s; +} + +.spinner .rect3 { + -webkit-animation-delay: -1.0s; + animation-delay: -1.0s; +} + +.spinner .rect4 { + -webkit-animation-delay: -0.9s; + animation-delay: -0.9s; +} + +.spinner .rect5 { + -webkit-animation-delay: -0.8s; + animation-delay: -0.8s; +} + +@-webkit-keyframes sk-stretchdelay { + 0%, 40%, 100% { + -webkit-transform: scaleY(0.4) + } + 20% { + -webkit-transform: scaleY(1.0) + } +} + +@keyframes sk-stretchdelay { + 0%, 40%, 100% { + transform: scaleY(0.4); + -webkit-transform: scaleY(0.4); + } + 20% { + transform: scaleY(1.0); + -webkit-transform: scaleY(1.0); + } +} \ No newline at end of file diff --git a/src/client-libs/spinner.gif b/src/client-libs/spinner.gif deleted file mode 100644 index 69a69cc..0000000 Binary files a/src/client-libs/spinner.gif and /dev/null differ diff --git a/src/client-libs/style.css b/src/client-libs/style.css index 4f09eff..28aa1d2 100644 --- a/src/client-libs/style.css +++ b/src/client-libs/style.css @@ -28,50 +28,25 @@ header { margin-top: 6px; } +.email-table > .email { + border-top: 5px solid #7C96AB; + + /* idea: card shadow arround: + see https://blog.alexdevero.com/mastering-card-design-with-bootstrap-4/ + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + */ +} + +.header-shadow { + box-shadow: 0 2px 2px rgba(182, 182, 182, 0.75); +} + .sticky-header { top: 0; z-index: 1000; -} - -.email { - border-bottom: 1px solid #7C96AB; -} - -.email .email-summary { - font-weight: bold; - border-top: 5px solid #7C96AB; - border-bottom: 1px solid #7C96AB; - padding: 10px; background-color: white; } -.email .email-headers { - background-color: white; -} - -.email .email-headers dl { - padding: 0 0 4px; - color: black; - overflow: hidden; -} - -.email .email-headers dl dt { - float: left; - color: black; - margin: 0 3px 0 0; -} - -.email .email-headers dl dd { - display: block; - overflow: hidden; - margin-bottom: .3rem; -} - -.email .mail-content { - background-color: white; - padding-left: 20px; - overflow: hidden; -} .waiting-screen { padding: 40px 15px; diff --git a/src/index.html b/src/index.html index a40a7c2..1b480f8 100644 --- a/src/index.html +++ b/src/index.html @@ -10,6 +10,7 @@ + @@ -48,74 +49,82 @@
Sorry, there was a problem.
{{$ctrl.error.desc}}
--
{{$ctrl.error.detail|json}}- +
{{$ctrl.error.detail|json}}+
If you are the developer you might want to check the developer tools console of your web browser and your php error logs.
Your mailbox {{$ctrl.address}} is ready.
-Emails will appear here automatically. They will be deleted after 30 days.
-
-
-
-
Your mailbox {{$ctrl.address}} is ready.
+Emails will appear here automatically. They will be deleted after 30 days.
+