2016-02-15 08:27:41 -06:00
|
|
|
//
|
|
|
|
// Modals
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Background
|
|
|
|
.modal-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2016-02-16 07:39:45 -06:00
|
|
|
z-index: $zindex-modal-backdrop;
|
2016-02-15 08:27:41 -06:00
|
|
|
background-color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-backdrop,
|
|
|
|
.modal-backdrop.fade.in {
|
|
|
|
@include opacity(70);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Base modal
|
|
|
|
.modal {
|
|
|
|
position: fixed;
|
2016-02-16 07:39:45 -06:00
|
|
|
z-index: $zindex-modal;
|
2016-02-15 08:27:41 -06:00
|
|
|
width: 100%;
|
2016-02-16 01:30:37 -06:00
|
|
|
background-color: $panel-bg;
|
2016-02-15 08:27:41 -06:00
|
|
|
@include box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
|
|
|
@include background-clip(padding-box);
|
|
|
|
outline: none;
|
|
|
|
|
2016-03-02 14:27:08 -06:00
|
|
|
max-width: 750px;
|
2016-02-15 08:27:41 -06:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
top: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
2016-03-02 13:56:04 -06:00
|
|
|
background-color: $body-bg;
|
|
|
|
@include brand-bottom-border();
|
|
|
|
@include clearfix();
|
|
|
|
|
|
|
|
.gf-tabs-link.active {
|
|
|
|
background-color: $panel-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header-title {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: $font-size-h3;
|
|
|
|
float: left;
|
|
|
|
padding-top: $spacer * 0.75;
|
|
|
|
margin: 0 $spacer*3 0 $spacer*1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header-close {
|
|
|
|
float: right;
|
2016-03-02 14:27:08 -06:00
|
|
|
padding: 0.75rem $spacer;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
// Body (where all modal content resides)
|
|
|
|
.modal-body {
|
|
|
|
position: relative;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2016-03-02 14:27:08 -06:00
|
|
|
.modal-content {
|
|
|
|
padding: $spacer*2;
|
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
// Remove bottom margin if need be
|
|
|
|
.modal-form {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Footer (for actions)
|
|
|
|
.modal-footer {
|
|
|
|
padding: 14px 15px 15px;
|
2016-02-16 01:30:37 -06:00
|
|
|
border-top: 1px solid $panel-bg;
|
|
|
|
background-color: $panel-bg;
|
2016-02-15 08:27:41 -06:00
|
|
|
text-align: right; // right align buttons
|
|
|
|
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
|
|
|
}
|
|
|
|
|
2016-03-02 14:27:08 -06:00
|
|
|
.modal--narrow {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.confirm-modal {
|
|
|
|
max-width: 500px;
|
|
|
|
|
|
|
|
.confirm-modal-icon {
|
|
|
|
padding-top: 41px;
|
|
|
|
font-size: 280%;
|
|
|
|
color: $green;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2016-03-04 13:56:53 -06:00
|
|
|
.confirm-modal-text {
|
|
|
|
font-size: $font-size-h4;
|
2016-02-16 02:42:46 -06:00
|
|
|
color: $link-color;
|
2016-03-04 13:56:53 -06:00
|
|
|
margin-bottom: $spacer*2;
|
|
|
|
padding-top: $spacer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm-modal-text2 {
|
|
|
|
font-size: $font-size-h5;
|
|
|
|
padding-top: $spacer;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.confirm-modal-buttons {
|
2016-03-04 13:56:53 -06:00
|
|
|
margin-bottom: $spacer;
|
2016-02-15 08:27:41 -06:00
|
|
|
button {
|
2016-03-04 13:56:53 -06:00
|
|
|
margin-right: $spacer/2;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-modal-body {
|
|
|
|
padding: 10px 0;
|
|
|
|
|
|
|
|
.tight-form {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.share-modal-options {
|
2016-05-25 05:30:27 -05:00
|
|
|
margin: 11px 0px 33px 0px;
|
2016-04-10 13:58:52 -05:00
|
|
|
display: inline-block;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.share-modal-big-icon {
|
2016-05-25 05:30:27 -05:00
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-right: 2rem;
|
2016-02-15 08:27:41 -06:00
|
|
|
.fa, .icon-gf {
|
2016-05-25 05:30:27 -05:00
|
|
|
font-size: 50px;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-25 05:30:27 -05:00
|
|
|
.share-modal-info-text {
|
|
|
|
margin-top: 5px;
|
2016-02-15 08:27:41 -06:00
|
|
|
strong {
|
2016-02-16 03:42:06 -06:00
|
|
|
color: $headings-color;
|
2016-02-15 08:27:41 -06:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-25 05:30:27 -05:00
|
|
|
.share-modal-header {
|
|
|
|
display: flex;
|
|
|
|
margin: 0px 0 22px 0;
|
2016-02-15 08:27:41 -06:00
|
|
|
}
|
|
|
|
|
2016-05-25 06:01:40 -05:00
|
|
|
.share-modal-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2016-02-15 08:27:41 -06:00
|
|
|
.tight-form {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2016-05-25 05:30:27 -05:00
|
|
|
.share-modal-link {
|
2016-02-15 08:27:41 -06:00
|
|
|
max-width: 716px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|