Skip to content

Commit

Permalink
Add Modals Style to T3 Components
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Jan 20, 2014
1 parent 4206987 commit af43fb5
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions source/tpl_t3_bs3_blank/less/components.less
Expand Up @@ -349,6 +349,62 @@ a.thumbnail.active {



//
// MODALS (modals.less)
// --------------------------------------------------
// Container that the modal scrolls within
.modal {
}

// Shell div to position the modal with bottom padding
.modal-dialog {
}

// Actual modal
.modal-content {
}

// Modal background
.modal-backdrop {
// Fade for backdrop
&.fade { .opacity(0); }
&.in { .opacity(.5); }
}

// Modal header
// Top section of the modal w/ title and dismiss
.modal-header {
}
// Close icon
.modal-header .close {
}

// Title text within header
.modal-title {
}

// Modal body
// Where all modal content resides (sibling of .modal-header and .modal-footer)
.modal-body {
}

// Footer (for actions)
.modal-footer {
}

// Scale up the modal
@media screen and (min-width: @screen-sm-min) {
.modal-dialog {
width: 600px;
margin: 30px auto;
}
.modal-content {
.box-shadow(0 5px 15px rgba(0,0,0,.5));
}
}



//
// TOOLTIPS (tooltips.less)
// --------------------------------------------------
Expand Down

0 comments on commit af43fb5

Please sign in to comment.