summaryrefslogtreecommitdiff
path: root/superhero
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2012-03-17 20:14:45 -0400
committerThomas Park <thomas@thomaspark.me>2012-03-17 20:14:45 -0400
commita81dfee3ed6b7b4a34f8f140f0cba49494699b92 (patch)
treea31bc196fde46175ae1402250baf5dabffb6c31e /superhero
parent0887b39681ec6578ec9ca9010e729db956d310c2 (diff)
all: modal support
Diffstat (limited to 'superhero')
-rw-r--r--superhero/bootstrap.css22
-rw-r--r--superhero/bootstrap.min.css4
-rwxr-xr-xsuperhero/bootswatch.less23
3 files changed, 49 insertions, 0 deletions
diff --git a/superhero/bootstrap.css b/superhero/bootstrap.css
index 00bf5087..d113ad2e 100644
--- a/superhero/bootstrap.css
+++ b/superhero/bootstrap.css
@@ -4536,6 +4536,28 @@ label {
background-color: #dff0d8;
border-color: #58a959;
}
+.modal {
+ background-color: transparent;
+}
+.modal-header,
+.modal-body,
+.modal-footer {
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ background-color: #2a333c;
+ border: none;
+}
+.modal-header {
+ -webkit-border-radius: 4px 4px 0 0;
+ -moz-border-radius: 4px 4px 0 0;
+ border-radius: 4px 4px 0 0;
+}
+.modal-footer {
+ -webkit-border-radius: 0 0 4px 4px;
+ -moz-border-radius: 0 0 4px 4px;
+ border-radius: 0 0 4px 4px;
+}
.page-header {
border-bottom: none;
}
diff --git a/superhero/bootstrap.min.css b/superhero/bootstrap.min.css
index 91ff2b0f..d7e30162 100644
--- a/superhero/bootstrap.min.css
+++ b/superhero/bootstrap.min.css
@@ -776,6 +776,10 @@ label{color:#ece9d7;line-height:15px;}
.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#58a959;}
.control-group.success input,.control-group.success select,.control-group.success textarea{color:#58a959;border-color:#58a959;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#468847;-webkit-box-shadow:0 0 6px #9bcc9c;-moz-box-shadow:0 0 6px #9bcc9c;box-shadow:0 0 6px #9bcc9c;}
.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#58a959;background-color:#dff0d8;border-color:#58a959;}
+.modal{background-color:transparent;}
+.modal-header,.modal-body,.modal-footer{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#2a333c;border:none;}
+.modal-header{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}
+.modal-footer{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}
.page-header{border-bottom:none;}
footer.footer{border-top:1px solid #20262d;}
.well,.hero-unit{background-color:#45515f;border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
diff --git a/superhero/bootswatch.less b/superhero/bootswatch.less
index e6784f59..6a3552d3 100755
--- a/superhero/bootswatch.less
+++ b/superhero/bootswatch.less
@@ -513,6 +513,29 @@ label {
.formFieldState(lighten(@successText, 10%), lighten(@successText, 10%), @successBackground);
}
+// MODALS
+// --------------------------------------------------
+
+.modal {
+ background-color: transparent;
+}
+
+.modal-header,
+.modal-body,
+.modal-footer {
+ .box-shadow(none);
+ background-color: @bodyBackground;
+ border: none;
+}
+
+.modal-header {
+ .border-radius(4px 4px 0 0);
+}
+
+.modal-footer {
+ .border-radius(0 0 4px 4px);
+}
+
// MISCELLANEOUS
// --------------------------------------------------