aboutsummaryrefslogtreecommitdiffstats
path: root/uikit/static/css/components/notify.almost-flat.css
diff options
context:
space:
mode:
authorValentin Heinz <inktrap@users.noreply.github.com>2017-04-08 14:03:25 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-04-08 14:03:25 +0200
commit5c231ceade17e7f5b1bba90e845dd2d17e54da1c (patch)
treef4f07dbbac2c51c8a0af1e1a24f11e030a2e4155 /uikit/static/css/components/notify.almost-flat.css
parent00986ab80df4b6be2d1306671907e2b2378e487f (diff)
downloadpelican-themes-5c231ceade17e7f5b1bba90e845dd2d17e54da1c.tar.gz
uikit demo theme ported to pelican (#385)
Diffstat (limited to 'uikit/static/css/components/notify.almost-flat.css')
-rw-r--r--uikit/static/css/components/notify.almost-flat.css99
1 files changed, 99 insertions, 0 deletions
diff --git a/uikit/static/css/components/notify.almost-flat.css b/uikit/static/css/components/notify.almost-flat.css
new file mode 100644
index 0000000..6421119
--- /dev/null
+++ b/uikit/static/css/components/notify.almost-flat.css
@@ -0,0 +1,99 @@
+/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
+/* ========================================================================
+ Component: Notify
+ ========================================================================== */
+/*
+ * Message container for positioning
+ */
+.uk-notify {
+ position: fixed;
+ top: 10px;
+ left: 10px;
+ z-index: 1040;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ width: 350px;
+}
+/* Position modifiers
+========================================================================== */
+.uk-notify-top-right,
+.uk-notify-bottom-right {
+ left: auto;
+ right: 10px;
+}
+.uk-notify-top-center,
+.uk-notify-bottom-center {
+ left: 50%;
+ margin-left: -175px;
+}
+.uk-notify-bottom-left,
+.uk-notify-bottom-right,
+.uk-notify-bottom-center {
+ top: auto;
+ bottom: 10px;
+}
+/* Responsiveness
+========================================================================== */
+/* Phones portrait and smaller */
+@media (max-width: 479px) {
+ /*
+ * Fit in small screen
+ */
+ .uk-notify {
+ left: 10px;
+ right: 10px;
+ width: auto;
+ margin: 0;
+ }
+}
+/* Sub-object: `uk-notify-message`
+========================================================================== */
+.uk-notify-message {
+ position: relative;
+ margin-bottom: 10px;
+ padding: 15px;
+ background: #444444;
+ color: #ffffff;
+ font-size: 16px;
+ line-height: 22px;
+ cursor: pointer;
+ border: 1px solid #444444;
+ border-radius: 4px;
+}
+/* Close in notify
+ ========================================================================== */
+.uk-notify-message > .uk-close {
+ visibility: hidden;
+ float: right;
+}
+.uk-notify-message:hover > .uk-close {
+ visibility: visible;
+}
+/* Modifier: `uk-alert-info`
+ ========================================================================== */
+.uk-notify-message-primary {
+ background: #ebf7fd;
+ color: #2d7091;
+ border-color: rgba(45, 112, 145, 0.3);
+}
+/* Modifier: `uk-alert-success`
+ ========================================================================== */
+.uk-notify-message-success {
+ background: #f2fae3;
+ color: #659f13;
+ border-color: rgba(101, 159, 19, 0.3);
+}
+/* Modifier: `uk-notify-message-warning`
+ ========================================================================== */
+.uk-notify-message-warning {
+ background: #fffceb;
+ color: #e28327;
+ border-color: rgba(226, 131, 39, 0.3);
+}
+/* Modifier: `uk-notify-message-danger`
+ ========================================================================== */
+.uk-notify-message-danger {
+ background: #fff1f0;
+ color: #d85030;
+ border-color: rgba(216, 80, 48, 0.3);
+}