Skip to content

Commit

Permalink
Merge pull request needim#35 from loicknuchel/master
Browse files Browse the repository at this point in the history
New types and new theme for issue #33
  • Loading branch information
needim committed May 22, 2012
2 parents 936336d + d887238 commit 6b82673
Show file tree
Hide file tree
Showing 15 changed files with 903 additions and 10 deletions.
62 changes: 58 additions & 4 deletions css/noty_theme_default.css
Expand Up @@ -123,7 +123,7 @@
.noty_bar.noty_theme_default.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_layout_bottomRight .noty_message .noty_buttons {
float: none;
border-top: 1px solid #CCCCCC;
border-top: 1px solid #ccc;
margin-left: 0;
margin-top: 10px;
padding-top: 10px;
Expand Down Expand Up @@ -158,11 +158,44 @@

/* NOTIFICATION TYPES */

/* noty_alert */
/* noty_notification */
.noty_bar.noty_theme_default.noty_notification {
background-color: #fff;
border-color: #ccc;
color: #555;
}
.noty_bar.noty_theme_default.noty_notification.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #ccc;
}

/* noty_warning */
.noty_bar.noty_theme_default.noty_warning {
background-color: #FFEAA8;
border-color: #FFC237;
color: #826200;
}
.noty_bar.noty_theme_default.noty_warning.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #FFC237;
}

/* noty_alert */
.noty_bar.noty_theme_default.noty_alert {
background-color: #fff;
border-color: #ccc;
}
.noty_bar.noty_theme_default.noty_alert.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #ccc;
}

/* noty_error */
.noty_bar.noty_theme_default.noty_error {
background-color: red;
Expand All @@ -172,15 +205,36 @@
.noty_bar.noty_theme_default.noty_error .noty_message {
font-weight: bold;
}
.noty_bar.noty_theme_default.noty_error.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: darkred;
}

/* noty_success */
.noty_bar.noty_theme_default.noty_success {
background-color: lightgreen;
color: darkgreen;
border-color: #50C24E;
}
/* noty_alert */
.noty_bar.noty_theme_default.noty_success.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #50C24E;
}

/* noty_information */
.noty_bar.noty_theme_default.noty_information {
background-color: #57B7E2;
border-color: #0B90C4;
color: #fff;
}
}
.noty_bar.noty_theme_default.noty_information.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #0B90C4;
}

64 changes: 62 additions & 2 deletions css/noty_theme_facebook.css
Expand Up @@ -91,7 +91,7 @@
.noty_bar.noty_theme_facebook.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_facebook.noty_layout_bottomRight .noty_message .noty_buttons {
float: none;
border-top: 1px solid #FBEED5;
border-top: 1px solid #99A8C7;
margin-left: 0;
margin-top: 10px;
padding-top: 10px;
Expand All @@ -106,6 +106,38 @@

/* NOTIFICATION TYPES */

/* noty_notification */
.noty_bar.noty_theme_facebook.noty_notification {
background-color: #E1E6EE;
border: 1px solid #99A8C7;
color: #3B5998;
}
.noty_bar.noty_theme_facebook.noty_notification:hover {
background-color: #CAD1DE;
}
.noty_bar.noty_theme_default.noty_notification.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_notification.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

/* noty_warning */
.noty_bar.noty_theme_facebook.noty_warning {
background-color: #E1E6EE;
border: 1px solid #99A8C7;
color: #3B5998;
}
.noty_bar.noty_theme_facebook.noty_warning:hover {
background-color: #CAD1DE;
}
.noty_bar.noty_theme_default.noty_warning.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_warning.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

/* noty_alert */
.noty_bar.noty_theme_facebook.noty_alert {
background-color: #E1E6EE;
Expand All @@ -115,6 +147,13 @@
.noty_bar.noty_theme_facebook.noty_alert:hover {
background-color: #CAD1DE;
}
.noty_bar.noty_theme_default.noty_alert.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_alert.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

/* noty_error */
.noty_bar.noty_theme_facebook.noty_error {
background-color: #E1E6EE;
Expand All @@ -124,6 +163,13 @@
.noty_bar.noty_theme_facebook.noty_error:hover {
background-color: #CAD1DE;
}
.noty_bar.noty_theme_default.noty_error.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_error.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

/* noty_success */
.noty_bar.noty_theme_facebook.noty_success {
background-color: #E1E6EE;
Expand All @@ -133,6 +179,13 @@
.noty_bar.noty_theme_facebook.noty_success:hover {
background-color: #CAD1DE;
}
.noty_bar.noty_theme_default.noty_success.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_success.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

/* noty_information */
.noty_bar.noty_theme_facebook.noty_information {
background-color: #E1E6EE;
Expand All @@ -141,4 +194,11 @@
}
.noty_bar.noty_theme_facebook.noty_information:hover {
background-color: #CAD1DE;
}
}
.noty_bar.noty_theme_default.noty_information.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_default.noty_information.noty_layout_bottomRight .noty_message .noty_buttons {
border-color: #99A8C7;
}

174 changes: 174 additions & 0 deletions css/noty_theme_growl.css
@@ -0,0 +1,174 @@
/* CORE STYLES*/

/* noty bar */
.noty_bar.noty_theme_growl {
font-family: Verdana,Helvetica,Arial,sans-serif;
font-size: 11px;
background: rgba(0,0,0,0.8);
border: 2px solid #222;
color: white;
}
.noty_bar.noty_theme_growl:hover {
border-color: white;
}
.noty_bar.noty_theme_growl.noty_layout_top:hover, .noty_bar.noty_theme_growl.noty_layout_bottom:hover {
border-color: #222;
}

/* custom container */
.noty_custom_container.noty_theme_growl.noty_layout_inline {
position: relative;
}

/* custom growl container */
.noty_custom_container.noty_theme_growl.noty_layout_inline .noty_cont.noty_layout_inline {
position: static;
}
/* custom noty bar */
.noty_custom_container.noty_theme_growl.noty_layout_inline .noty_bar {
position: static;
}
.noty_custom_container.noty_theme_growl.noty_layout_inline .noty_bar .noty_message {
font-size: 13px;
padding: 4px;
}
.noty_custom_container.noty_theme_growl.noty_layout_inline .noty_bar .noty_message .noty_buttons {
margin-top: -1px;
}

/* noty_message */
.noty_bar.noty_theme_growl .noty_message {
padding: 10px 10px;
}
.noty_bar.noty_theme_growl .noty_message a {
color: #CCC;
text-decoration: underline;
}
.noty_bar.noty_theme_growl .noty_message .header {
font-size: 14px;
font-weight: bold;
padding: 0 0 7px 0;
display: block;
text-shadow: 1px 1px 0 black;
}
.noty_bar.noty_theme_growl .noty_message .icon {
height: 100%;
float:left;
}
.noty_bar.noty_theme_growl .noty_message .icon img {
width:48px;
height:48px;
margin-right: 10px;
margin-bottom: 10px;
}
/* noty_has_close_button */
.noty_bar.noty_theme_growl.noty_closable .noty_message {
padding: 8px 35px 8px 14px;
}

/* noty_buttons */
.noty_bar.noty_theme_growl .noty_message .noty_buttons {
float: right;
margin-top: -5px;
margin-left: 4px;
}

/* noty_button */
.noty_bar.noty_theme_growl .noty_message .noty_buttons button {
margin-left: 5px;
}

/* noty close button */
.noty_bar.noty_theme_growl .noty_close {
display: none !important;
position: absolute;
top: 0px;
left: 4px;
font-size: 18px;
line-height: 18px;
font-weight: bold;
color: #eee;
opacity: 0.2;
text-shadow: 0 1px 0 #fff;
}
.noty_bar.noty_theme_growl:hover .noty_close {
display: block !important;
}

/* noty close button hover */
.noty_bar.noty_theme_growl .noty_close:hover {
opacity: 0.4;
}

.noty_bar.noty_theme_growl .noty_close:after {
content: "✘";
}

/* noty modal */
.noty_modal.noty_theme_growl {
opacity: 0.7;
}

/* LAYOUTS */

/* noty_layout_topLeft & noty_layout_topRight */
.noty_bar.noty_theme_growl.noty_layout_center,
.noty_bar.noty_theme_growl.noty_layout_topCenter,
.noty_bar.noty_theme_growl.noty_layout_topLeft,
.noty_bar.noty_theme_growl.noty_layout_topRight,
.noty_bar.noty_theme_growl.noty_layout_bottomLeft,
.noty_bar.noty_theme_growl.noty_layout_bottomRight {
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
border-radius: 9px;
}
.noty_bar.noty_theme_growl.noty_layout_topLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_growl.noty_layout_topRight .noty_message .noty_buttons,
.noty_bar.noty_theme_growl.noty_layout_bottomLeft .noty_message .noty_buttons,
.noty_bar.noty_theme_growl.noty_layout_bottomRight .noty_message .noty_buttons {
float: none;
border-top: 1px solid #222;
margin-left: 0;
margin-top: 10px;
padding-top: 10px;
text-align: right;
}

.noty_bar.noty_theme_growl.noty_layout_center .noty_message .noty_buttons,
.noty_bar.noty_theme_growl.noty_layout_topCenter .noty_message .noty_buttons {
margin-left: 15px;
margin-top: -2px
}

/* NOTIFICATION TYPES */

/* noty_notification */
.noty_bar.noty_theme_growl.noty_notification {

}

/* noty_warning */
.noty_bar.noty_theme_growl.noty_warning {

}

/* noty_alert */
.noty_bar.noty_theme_growl.noty_alert {

}

/* noty_error */
.noty_bar.noty_theme_growl.noty_error {

}

/* noty_success */
.noty_bar.noty_theme_growl.noty_success {

}

/* noty_information */
.noty_bar.noty_theme_growl.noty_information {

}

2 changes: 2 additions & 0 deletions css/noty_theme_mitgux.css

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

0 comments on commit 6b82673

Please sign in to comment.