-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option 'animate' for fading effect control.
Note: Sorry guys, the new files are compressed by YUI compressor because I don't have gulp installed on this computer.
- Loading branch information
Showing
11 changed files
with
246 additions
and
170 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,120 +1,120 @@ | ||
.bootstrap-dialog { | ||
/* dialog types */ | ||
/* dialog sizes */ | ||
/** | ||
* Icon animation | ||
* Copied from font-awesome: http://fontawesome.io/ | ||
**/ | ||
/** End of icon animation **/ | ||
|
||
} | ||
.bootstrap-dialog .modal-header { | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
} | ||
.bootstrap-dialog .bootstrap-dialog-title { | ||
color: #fff; | ||
display: inline-block; | ||
color: #fff; | ||
display: inline-block; | ||
} | ||
.bootstrap-dialog .bootstrap-dialog-button-icon { | ||
margin-right: 3px; | ||
.bootstrap-dialog.type-default .bootstrap-dialog-title { | ||
color: #333; | ||
} | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-title { | ||
font-size: 16px; | ||
} | ||
.bootstrap-dialog.size-large .bootstrap-dialog-title { | ||
font-size: 24px; | ||
} | ||
.bootstrap-dialog .bootstrap-dialog-close-button { | ||
float: right; | ||
filter: alpha(opacity=90); | ||
-moz-opacity: 0.9; | ||
-khtml-opacity: 0.9; | ||
opacity: 0.9; | ||
float: right; | ||
filter:alpha(opacity=90); | ||
-moz-opacity:0.9; | ||
-khtml-opacity: 0.9; | ||
opacity: 0.9; | ||
} | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-close-button { | ||
font-size: 20px; | ||
} | ||
.bootstrap-dialog.size-large .bootstrap-dialog-close-button { | ||
font-size: 30px; | ||
} | ||
.bootstrap-dialog .bootstrap-dialog-close-button:hover { | ||
cursor: pointer; | ||
filter: alpha(opacity=100); | ||
-moz-opacity: 1; | ||
-khtml-opacity: 1; | ||
opacity: 1; | ||
cursor: pointer; | ||
filter: alpha(opacity=100); | ||
-moz-opacity: 1; | ||
-khtml-opacity: 1; | ||
opacity: 1; | ||
} | ||
.bootstrap-dialog.type-default .modal-header { | ||
background-color: #fff; | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-message { | ||
font-size: 14px; | ||
} | ||
.bootstrap-dialog.type-default .bootstrap-dialog-title { | ||
color: #333; | ||
.bootstrap-dialog.size-large .bootstrap-dialog-message { | ||
font-size: 18px; | ||
} | ||
.bootstrap-dialog.type-default .modal-header { | ||
background-color: #fff; | ||
} | ||
.bootstrap-dialog.type-info .modal-header { | ||
background-color: #5bc0de; | ||
background-color: #5bc0de; | ||
} | ||
.bootstrap-dialog.type-primary .modal-header { | ||
background-color: #428bca; | ||
background-color: #428bca; | ||
} | ||
.bootstrap-dialog.type-success .modal-header { | ||
background-color: #5cb85c; | ||
background-color: #5cb85c; | ||
} | ||
.bootstrap-dialog.type-warning .modal-header { | ||
background-color: #f0ad4e; | ||
background-color: #f0ad4e; | ||
} | ||
.bootstrap-dialog.type-danger .modal-header { | ||
background-color: #d9534f; | ||
} | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-title { | ||
font-size: 16px; | ||
} | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-close-button { | ||
font-size: 20px; | ||
background-color: #d9534f; | ||
} | ||
.bootstrap-dialog.size-normal .bootstrap-dialog-message { | ||
font-size: 14px; | ||
} | ||
.bootstrap-dialog.size-large .bootstrap-dialog-title { | ||
font-size: 24px; | ||
} | ||
.bootstrap-dialog.size-large .bootstrap-dialog-close-button { | ||
font-size: 30px; | ||
} | ||
.bootstrap-dialog.size-large .bootstrap-dialog-message { | ||
font-size: 18px; | ||
} | ||
.bootstrap-dialog .icon-spin { | ||
display: inline-block; | ||
-moz-animation: spin 2s infinite linear; | ||
-o-animation: spin 2s infinite linear; | ||
-webkit-animation: spin 2s infinite linear; | ||
animation: spin 2s infinite linear; | ||
.bootstrap-dialog .bootstrap-dialog-button-icon { | ||
margin-right: 3px; | ||
} | ||
|
||
/** | ||
* Icon animation | ||
* Copied from font-awesome: http://fontawesome.io/ | ||
**/ | ||
.icon-spin { | ||
display: inline-block; | ||
-moz-animation: spin 2s infinite linear; | ||
-o-animation: spin 2s infinite linear; | ||
-webkit-animation: spin 2s infinite linear; | ||
animation: spin 2s infinite linear; | ||
} | ||
@-moz-keyframes spin { | ||
0% { | ||
0% { | ||
-moz-transform: rotate(0deg); | ||
} | ||
100% { | ||
} | ||
100% { | ||
-moz-transform: rotate(359deg); | ||
} | ||
} | ||
} | ||
@-webkit-keyframes spin { | ||
0% { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
} | ||
100% { | ||
} | ||
100% { | ||
-webkit-transform: rotate(359deg); | ||
} | ||
} | ||
} | ||
@-o-keyframes spin { | ||
0% { | ||
0% { | ||
-o-transform: rotate(0deg); | ||
} | ||
100% { | ||
} | ||
100% { | ||
-o-transform: rotate(359deg); | ||
} | ||
} | ||
} | ||
@-ms-keyframes spin { | ||
0% { | ||
0% { | ||
-ms-transform: rotate(0deg); | ||
} | ||
100% { | ||
} | ||
100% { | ||
-ms-transform: rotate(359deg); | ||
} | ||
} | ||
} | ||
@keyframes spin { | ||
0% { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
} | ||
100% { | ||
transform: rotate(359deg); | ||
} | ||
} | ||
} | ||
/** End of icon animation **/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.