Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing multiple dialogs in one page
- Loading branch information
Krasimir Tsonev
committed
Sep 6, 2012
1 parent
2a9d1cf
commit 5417d54
Showing
5 changed files
with
161 additions
and
117 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
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,99 @@ | ||
/*! | ||
* avgrund 0.1 | ||
* http://lab.hakim.se/avgrund | ||
* MIT licensed | ||
* | ||
* Created by Hakim El Hattab, http://hakim.se | ||
*/ | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html, | ||
body { | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
html { | ||
background-color: #222; | ||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4D8SMQAwGcAY2AbBKDBUAVuYCBQPd34sAAAAASUVORK5CYII=); | ||
background-repeat: repeat; | ||
} | ||
|
||
h1, | ||
h2 { | ||
font-size: 24px; | ||
} | ||
|
||
p { | ||
margin: 10px 0 10px 0; | ||
font-size: 16px; | ||
line-height: 1.32; | ||
} | ||
|
||
a { | ||
color: #7aa76d; | ||
text-decoration: none; | ||
|
||
-webkit-transition: 0.15s color ease; | ||
-moz-transition: 0.15s color ease; | ||
-ms-transition: 0.15s color ease; | ||
-o-transition: 0.15s color ease; | ||
transition: 0.15s color ease; | ||
} | ||
a:hover { | ||
color: #91cd85; | ||
} | ||
|
||
small { | ||
display: block; | ||
margin-top: 15px; | ||
padding-top: 15px; | ||
color: #333; | ||
font-size: 0.85em; | ||
border-top: 1px dashed #ccc; | ||
|
||
-webkit-text-size-adjust: none; | ||
} | ||
|
||
button { | ||
border: 0px; | ||
padding: 8px 10px; | ||
margin: 5px 0px; | ||
border-radius: 1px; | ||
|
||
cursor: pointer; | ||
color: #fff; | ||
background: #7aa76d; | ||
font-size: 15px; | ||
|
||
-webkit-transition: 0.15s background ease; | ||
-moz-transition: 0.15s background ease; | ||
-ms-transition: 0.15s background ease; | ||
-o-transition: 0.15s background ease; | ||
transition: 0.15s background ease; | ||
} | ||
button:hover { | ||
background: #91cd85; | ||
} | ||
button:active { | ||
background: #60895a; | ||
} | ||
button+button { | ||
margin-left: 5px; | ||
} | ||
|
||
.sharing { | ||
margin-top: 50px; | ||
} | ||
|
||
body { | ||
background: #fff; | ||
|
||
font-family: 'Lato', Helvetica, sans-serif; | ||
font-size: 16px; | ||
color: #222; | ||
} |
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
5417d54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, you have done a nice work with this, but there is one thing that I can't understand: 'Allowing multiple dialogs in one page'. How can it be done? It can be that I Can't see the wood for the trees, can you help me out?
5417d54
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I just added an example in my fork -> https://github.com/krasimir/Avgrund/blob/master/multiple.html