Skip to content

Commit

Permalink
add readme and explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbojinov committed Oct 29, 2014
1 parent d868e4f commit f6598c1
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 2 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Tappifications

> Because we need another jquery notification library...
Used to promote content on the top of the site.

## Look and Feel

Currently three flavors are available

### info

![info](media/info.jpg)

### warning

![warning](media/warning.jpg)

### danger

![danger](media/danger.jpg)


Binary file added media/danger.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/info.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/warning.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/css/tappifications.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
.tappification {
background: #ffffff;
}
.tappification .container {
max-width: 933px;
margin-left: auto;
margin-right: auto;
border-left: 1px solid black;
border-right: 1px solid black;
}
.tappification button {
background: none;
border: none;
outline: none;
}
.tappification-info {
background-color: #167afb;
color: #ffffff;
Expand Down
6 changes: 5 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

<head>
<title>tappification examples</title>

<!-- external dependencies -->
<link rel="stylesheet" type="text/css" href="bower_components/normalize.css/normalize.css">
<link rel="stylesheet" type="text/css" href="bower_components/font-awesome/css/font-awesome.css">

<!-- app styles -->
<link rel="stylesheet" type="text/css" href="css/tappifications.css">
</head>

Expand All @@ -14,7 +19,6 @@
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true"><i class="fa fa-times-circle-o"></i>
</span>
<span class="sr-only">Close</span>
</button>
<p>Your Membership is going to expire in 5 days!</p>
<p>
Expand Down
5 changes: 4 additions & 1 deletion src/less/_variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
@tappification-text-dark: black;

// Typography
@basefont: 'Open Sans', helvetica, arial, tahoma;
@basefont: 'Open Sans', helvetica, arial, tahoma;

// container sizing
@tappification-max-width: 933px;
15 changes: 15 additions & 0 deletions src/less/tappifications.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
// Tappifications
.tappification {
background: @tappification-default;

.container {
max-width: @tappification-max-width;
margin-left: auto;
margin-right: auto;
border-left: 1px solid black;
border-right: 1px solid black;
}

// override default button styles
button {
background: none;
border: none;
outline: none;
}
}

// Different flavors
Expand Down

0 comments on commit f6598c1

Please sign in to comment.