forked from goodybag/bootstrap-notify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix goodybag#9 issue, added less support, generated css by less
- Loading branch information
1 parent
10a115f
commit 565a523
Showing
7 changed files
with
314 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.DS_Store | ||
|
||
./idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
/** | ||
* Created less By Vitaly @Laboratory | ||
*/ | ||
.notifications { | ||
position: fixed; | ||
} | ||
|
||
/* Positioning */ | ||
/* Positioning */ | ||
.notifications.top-right { | ||
right: 10px; | ||
top: 25px; | ||
} | ||
|
||
.notifications.top-left { | ||
left: 10px; | ||
top: 25px; | ||
} | ||
|
||
.notifications.bottom-left { | ||
left: 10px; | ||
bottom: 25px; | ||
} | ||
|
||
.notifications.bottom-right { | ||
right: 10px; | ||
bottom: 25px; | ||
} | ||
|
||
/* Notification Element */ | ||
.notifications > div { | ||
position: relative; | ||
z-index: 9999; | ||
margin: 5px 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* Created less By Vitaly @Laboratory | ||
*/ | ||
|
||
@right: 10px; | ||
@left: @right; | ||
@top: 25px; | ||
@bottom: @top; | ||
|
||
.notifications { | ||
position: fixed; | ||
} | ||
|
||
/* Positioning */ | ||
.notifications.top-right { | ||
right: @right; | ||
top: @top; | ||
} | ||
|
||
.notifications.top-left { | ||
left: @left; | ||
top: @top; | ||
} | ||
|
||
.notifications.bottom-left { | ||
left: @left; | ||
bottom: @bottom; | ||
} | ||
|
||
.notifications.bottom-right { | ||
right: @right; | ||
bottom: @bottom; | ||
} | ||
|
||
/* Notification Element */ | ||
.notifications { | ||
> div { | ||
position: relative; | ||
z-index: 9999; | ||
margin: 5px 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* bangTidy2 Style - Ported from Growl Style | ||
* Ported By Nijikokun @vizualover @nijikokun | ||
* Created less By Vitaly @Laboratory | ||
* Original Author Daryl Ginn | ||
* Based On http://dribbble.com/shots/527056-Growl-Theme-2 | ||
* | ||
* To use, for style use: bangTidy | ||
* | ||
*/ | ||
@rgba80: rgba(0, 0, 0, 0.80); | ||
@rgba88: rgba(0, 0, 0, 0.88); | ||
@box_shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 1px rgba(255, 255, 255, 0.1); | ||
@text_shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
@border_radius: 4px; | ||
|
||
.alert-bangTidy { | ||
box-sizing: border-box; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
background: @rgba80; | ||
background: -moz-linear-gradient(top, @rgba80 0%, @rgba88 100%); | ||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @rgba80), color-stop(100%, @rgba88)); | ||
background: -webkit-linear-gradient(top, @rgba80 0%, @rgba88 100%); | ||
background: -o-linear-gradient(top, @rgba80 0%, @rgba88 100%); | ||
background: -ms-linear-gradient(top, @rgba80 0%, @rgba88 100%); | ||
background: linear-gradient(top, @rgba80 0%, @rgba88 100%); | ||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '@{rgba80}', endColorstr = '@{rgba88}', GradientType = 0); | ||
border: 1px solid #000; | ||
-webkit-box-shadow: @box_shadow; | ||
-moz-box-shadow: @box_shadow; | ||
-o-box-shadow: @box_shadow; | ||
box-shadow: @box_shadow; | ||
-webkit-border-radius: @border_radius; | ||
-moz-border-radius: @border_radius; | ||
-o-border-radius: @border_radius; | ||
border-radius: @border_radius; | ||
overflow: hidden; | ||
color: white; | ||
-webkit-text-shadow: @text_shadow; | ||
-moz-text-shadow: @text_shadow; | ||
-o-text-shadow: @text_shadow; | ||
text-shadow: @text_shadow; | ||
-webkit-font-smoothing: antialiased; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.