houdini/app/assets/stylesheets/campaigns/show/page.css.scss
Bradley M. Kuhn 46193ab5fe Relicense all .scss files under new project license.
The primary license of the project is changing to:
  AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later

with some specific files to be licensed under the one of two licenses:
   CC0-1.0
   LGPL-3.0-or-later

This commit is one of the many steps to relicense the entire codebase.

Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00

129 lines
2.1 KiB
SCSS

/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
@import 'mixins';
@import 'pikaday';
@import 'bootstrap-tour';
@import 'common/donate_button';
@import 'common/editable';
@import 'components/admin_top_nav';
@import 'common/image_uploader';
@import 'components/info_card';
@import 'components/activity_feed';
@import 'components/page_tabs';
@import 'components/fixed_top_action';
@import 'components/draggable';
@import 'gift_levels';
@import '../../nonprofits/donation_form/form';
.button--gift {
font-size: 17px;
padding: 8px 8px 5px 8px;
width: 100%;
line-height: 1;
}
.button--gift * {
line-height: 1 !important;
}
.button--gift small {
font-size: 12px;
}
.button--gift .dollar {
font-size: 14px;
margin-right: -3px;
}
.campaignMedia-image {
width: 100%;
}
.campaignMedia-video {
position: relative;
height: 0;
width: 100%;
padding-bottom: 56.25%;
background: $fog;
}
.campaignMedia-video iframe {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.box,
.box-l {
padding-right: 15px;
}
.box-l,
.box-r {
margin-bottom: 15px;
}
.box {
@include columns(7.5);
}
.box-l {
@include columns-left(7.5);
}
.box-r {
@include columns-right(4.5);
}
.adminSidebar--sidebar-pledge.is-done {
text-decoration: line-through;
}
.adminSidebar--sidebar-pledge.is-done a {
color: rgba(black, 0.1);
}
.showWhenMobile {
display: none;
}
.globalFooter {
margin-top: 40px;
}
.editVideoButton {
position: absolute;
top: 10px;
left: 10px;
}
.campaignMetrics h4 {
margin: 0 0 0 0;
font-size: 32px;
line-height: 32px;
}
.campaignMetrics h4 .dollar {
font-size: 20px;
line-height: 25px;
margin-right: 2px;
}
.campaignMetrics p {
margin-bottom: 15px;
@include opacity(0.9);
}
.goalAmount .dollar {
margin-right: 1px;
}
@media screen and (max-width: 1000px) {
.box,
.box-l {
padding: 0 15px;
}
.box-r {
padding-right: 15px;
}
}
@media screen and (max-width: 700px) {
.box,
.box-l,
.box-r {
@include columns(12);
padding: 0 10px;
}
.hideWhenMobile {
display: none;
}
.showWhenMobile {
display: block;
}
}