Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update .caret and .modal

  • Loading branch information...
commit e282afa080a4d8c16baf83062d6addd2c0b493c6 1 parent 561ab9d
@najeira authored
Showing with 124 additions and 6 deletions.
  1. +123 −5 smartstrap.css
  2. +1 −1  smartstrap.min.css
View
128 smartstrap.css
@@ -970,6 +970,18 @@ legend + .control-group {
.form-horizontal .form-actions {
padding-left: 160px;
}
+.caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ vertical-align: top;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #000000;
+ opacity: 0.3;
+ filter: alpha(opacity=30);
+ content: "";
+}
.well {
min-height: 20px;
padding: 19px;
@@ -1476,8 +1488,8 @@ input[type="submit"].btn.btn-mini {
box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn .caret {
- margin-top: 7px;
- margin-left: 0;
+ margin-top: 10px;
+ margin-left: 7px;
}
.btn:hover .caret,
.open.btn-group .caret {
@@ -1997,6 +2009,114 @@ input[type="submit"].btn.btn-mini {
background-color: #fff;
cursor: default;
}
+.modal-open .dropdown-menu {
+ z-index: 2050;
+}
+.modal-open .dropdown.open {
+ *z-index: 2050;
+}
+.modal-open .popover {
+ z-index: 2060;
+}
+.modal-open .tooltip {
+ z-index: 2070;
+}
+.modal-backdrop {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 1040;
+ background-color: #000000;
+}
+.modal-backdrop.fade {
+ opacity: 0;
+}
+.modal-backdrop,
+.modal-backdrop.fade.in {
+ opacity: 0.8;
+ filter: alpha(opacity=80);
+}
+.modal {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ z-index: 1050;
+ overflow: auto;
+ width: 560px;
+ margin: -250px 0 0 -280px;
+ background-color: #ffffff;
+ border: 1px solid #999;
+ border: 1px solid rgba(0, 0, 0, 0.3);
+ *border: 1px solid #999;
+ /* IE6-7 */
+
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding-box;
+ background-clip: padding-box;
+}
+.modal.fade {
+ -webkit-transition: opacity .3s linear, top .3s ease-out;
+ -moz-transition: opacity .3s linear, top .3s ease-out;
+ -ms-transition: opacity .3s linear, top .3s ease-out;
+ -o-transition: opacity .3s linear, top .3s ease-out;
+ transition: opacity .3s linear, top .3s ease-out;
+ top: -25%;
+}
+.modal.fade.in {
+ top: 50%;
+}
+.modal-header {
+ padding: 9px 15px;
+ border-bottom: 1px solid #eee;
+}
+.modal-header .close {
+ margin-top: 2px;
+}
+.modal-body {
+ overflow-y: auto;
+ max-height: 400px;
+ padding: 15px;
+}
+.modal-form {
+ margin-bottom: 0;
+}
+.modal-footer {
+ padding: 14px 15px 15px;
+ margin-bottom: 0;
+ text-align: right;
+ background-color: #f5f5f5;
+ border-top: 1px solid #ddd;
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ -webkit-box-shadow: inset 0 1px 0 #ffffff;
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
+ box-shadow: inset 0 1px 0 #ffffff;
+ *zoom: 1;
+}
+.modal-footer:before,
+.modal-footer:after {
+ display: table;
+ content: "";
+}
+.modal-footer:after {
+ clear: both;
+}
+.modal-footer .btn + .btn {
+ margin-left: 5px;
+ margin-bottom: 0;
+}
+.modal-footer .btn-group .btn + .btn {
+ margin-left: -1px;
+}
.label {
padding: 0 6px;
font-size: 12px;
@@ -2291,6 +2411,7 @@ input[type="submit"].btn.btn-mini {
.cell-3, .grid-3 a { width: 33.333%; }
.cell-4, .grid-4 a { width: 25%; }
.cell-5, .grid-5 a { width: 20%; }
+.cell-1, .cell-2, .cell-3, .cell-4, .cell-5 { display: inline-block; }
.grid, .cell-2, .cell-3, .cell-4, .cell-5 { clear: left; }
.grid-1 a, .grid-2 a, .grid-3 a, .grid-4 a,
{ padding-left: inherit; padding-right: inherit; }
@@ -2302,9 +2423,6 @@ input[type="submit"].btn.btn-mini {
clear: both;
height: 0;
}
-.grid {
- border-bottom: 1px solid #ccc;
-}
.grid .btn {
text-overflow: ellipsis;
overflow: hidden;
View
2  smartstrap.min.css
1 addition, 1 deletion not shown
Please sign in to comment.
Something went wrong with that request. Please try again.