houdini/app/assets/stylesheets/components/pastel_boxes.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

59 lines
1.2 KiB
SCSS

/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
@import 'mixins';
@mixin pastelBox {
border: 1px solid rgba(black, 0.03);
header {
text-align: center;
background: rgba(black, 0.04);
font-size: 20px;
font-weight: bold;
padding: 10px 15px;
}
header i {
font-size: 18px;
margin-right: 5px;
@include opacity(0.7);
}
footer {
padding: 10px 15px;
text-align: center;
border-top: 1px solid rgba(black, 0.03);
background: rgba(black, 0.01);
}
}
.pastelBox-body {
padding: 15px;
}
.pastelBox--green {
@include pastelBox;
background: rgb(242, 249, 241);
} // used for donation related
.pastelBox--orange {
@include pastelBox;
background: rgb(255, 247, 243);
} // used for donor related
.pastelBox--blue {
@include pastelBox;
background: rgb(241, 252, 252);
} // used for recurring related
.pastelBox--white{
@include pastelBox;
background: rgba(white, 0.9);
}
.pastelBox--grey--dark{
@include pastelBox;
background: darken($fog, 2);
}
.pastelBox--grey{
@include pastelBox;
background: $fog;
}
.pastelBox--yellow {
@include pastelBox;
background: rgb(254, 251, 233);
} // used for events and campaigns related
.pastelBox--looseleaf {
@include pastelBox;
background: $looseleaf;
}