From 1b111dfcfa4f5cd4f55d9f16ac06c00823a56c87 Mon Sep 17 00:00:00 2001 From: Alexandre Junges Date: Fri, 17 Jan 2014 13:15:09 -0200 Subject: [PATCH] Created Metro style --- dist/styles/metro/notify-metro.css | 40 +++++++++++++++++++++++++++++ dist/styles/metro/notify-metro.js | 39 ++++++++++++++++++++++++++++ examples/images/Mail.png | Bin 0 -> 1010 bytes examples/metro.html | 37 ++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 dist/styles/metro/notify-metro.css create mode 100644 dist/styles/metro/notify-metro.js create mode 100644 examples/images/Mail.png create mode 100644 examples/metro.html diff --git a/dist/styles/metro/notify-metro.css b/dist/styles/metro/notify-metro.css new file mode 100644 index 0000000..b53f358 --- /dev/null +++ b/dist/styles/metro/notify-metro.css @@ -0,0 +1,40 @@ +.notifyjs-metro-base { + position: relative; + min-height: 52px; + color:#444; +} + + .notifyjs-metro-base .image { + display: table; + position: absolute; + height: auto; + width: auto; + left: 25px; + top: 50%; + + -moz-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + } + + .notifyjs-metro-base .text-wrapper { + display: inline-block; + vertical-align: top; + text-align: left; + margin: 10px 10px 10px 52px; + clear: both; + font-family: 'Segoe UI'; + } + + .notifyjs-metro-base .title { + font-size: 15px; + font-weight: bold; + } + + .notifyjs-metro-base .text { + font-size: 12px; + font-weight: normal; + vertical-align: middle; + } \ No newline at end of file diff --git a/dist/styles/metro/notify-metro.js b/dist/styles/metro/notify-metro.js new file mode 100644 index 0000000..9ba6155 --- /dev/null +++ b/dist/styles/metro/notify-metro.js @@ -0,0 +1,39 @@ +$.notify.addStyle("metro", { + html: + "
" + + "
" + + "
" + + "
" + + "
" + + "
" + + "
", + classes: { + error: { + "color": "#fafafa !important", + "background-color": "#F71919", + "border": "1px solid #FF0026" + }, + success: { + "background-color": "#32CD32", + "border": "1px solid #4DB149" + }, + info: { + "color": "#fafafa !important", + "background-color": "#1E90FF", + "border": "1px solid #1E90FF" + }, + warning: { + "background-color": "#FAFA47", + "border": "1px solid #EEEE45" + }, + black: { + "color": "#fafafa !important", + "background-color": "#333", + "border": "1px solid #000" + }, + white: { + "background-color": "#f1f1f1", + "border": "1px solid #ddd" + } + } +}); \ No newline at end of file diff --git a/examples/images/Mail.png b/examples/images/Mail.png new file mode 100644 index 0000000000000000000000000000000000000000..1515c922f3badd0645bc25ea68410b2893e18438 GIT binary patch literal 1010 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGmbN~PnbOGLGA9w%&1BXdOK~zXfwN}eZ zR8buM?mWzKe4*o*kgKAS3Q8?3T=bxVHr1juA;^lLO+nGZS_Ex!5k39@voZ<|Q(Hvz zgh~s3Mz085ij{!IrX)xv3 zOgQ)2hdnQSYGX@oLe$XAA}sSXBoOFYAEe%(T zl7YcdAj;1FL1Hl06~=tQ*qQfx(bySOIVJZW#;qpw1tZXIx^Q%9B05VmfdB~`Wq`TV zAwJ^E7#)mtY+0g;?IGQgYYY=xPL7HkCEs$Pr8f+{+zE@Ug;~hI6d|_s5nqYX>IuVs z!=+-Y95I;O^FoTyR@}DkOvlMJNjR}O32mG&Y4Sj;?mqEG0a3 z0pch}%b_1}!jY&!yWT??L2)aETwZ6#wF0}E{}^OKzDSgW-Jw}aIDP@*FcLv7rK2Cr z!ubz=-$aknb3oBC0s-YBSA*HwwAMvGxt(0Z^z^LjA zmC=x`z@(=958x!f!uO^20P^nj0(@1fqn%6gSQve==W#y{y&Z&J>Og^m5|+Low3?29 zUiCGI7hBU%K)&Doq}CVeZxMfJR+ + + + + + + + + + +

Index

+ + + + + + + + +
+ + + + \ No newline at end of file