Files
ch420/app/assets/stylesheets/application.sass
T

115 lines
2.5 KiB
Sass
Raw Normal View History

2015-10-02 21:05:03 +02:00
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
*/
2015-11-01 13:56:21 +01:00
$brand-success: #66903F
2017-03-22 22:57:01 +01:00
$navbar-default-bg: #FFF
$navbar-default-border: none
2017-03-24 17:43:00 +01:00
$font-size-base: 14px
2017-03-22 22:57:01 +01:00
$navbar-padding-horizontal: none
$navbar-default-link-color: #66903F
$navbar-default-link-active-bg: #FFF
$font-size-h1: floor($font-size-base * 1.8)
$font-size-h2: floor($font-size-base * 1.5)
$font-size-h3: floor($font-size-base * 1.2)
2015-11-01 13:56:21 +01:00
2015-10-03 06:38:11 +02:00
@import "bootstrap-sprockets"
@import "bootstrap"
2015-10-06 11:46:27 +02:00
@import "typeaheadjs"
2017-04-12 22:53:08 +02:00
@import "footnotes"
2017-03-31 14:42:37 +02:00
.alert-alert
@extend .alert-danger
.alert-notice
@extend .alert-info
2017-04-14 11:34:01 +02:00
body.admin
background: repeating-linear-gradient(45deg, yellow, yellow 50px, black 50px, black 100px)
2015-10-06 09:16:07 +02:00
body
2017-03-22 22:57:01 +01:00
> .container
2017-03-12 10:21:17 +01:00
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
2017-03-31 14:42:37 +02:00
padding: 20px
2017-04-11 08:06:32 +02:00
margin-top: 10px
2017-04-14 11:34:01 +02:00
background: #FFF
2017-03-22 22:57:01 +01:00
header
h1
font-size: 20px
margin-top: 35px
2017-04-11 08:06:32 +02:00
.navbar
.container
padding-left: 0px
2017-03-22 22:57:01 +01:00
ul#topnav
2017-04-11 08:06:32 +02:00
font-size: 1.2em
li
text-transform: uppercase
ul
li
text-transform: none
2017-03-22 22:57:01 +01:00
li.active
border-bottom: 1px solid #66903F
2015-10-06 09:30:35 +02:00
2015-11-09 09:52:31 +01:00
.lead
font-weight: normal
2016-04-16 17:08:09 +02:00
2015-10-06 09:30:35 +02:00
#new_supporter
label.required
abbr
display: none
2015-10-19 08:25:26 +02:00
#counter
2015-11-01 13:56:21 +01:00
background-color: $brand-success
2016-04-16 17:01:39 +02:00
margin-top: 24px
2015-10-19 08:25:26 +02:00
padding: 3px 6px
2015-11-01 13:56:21 +01:00
border: 1px solid $brand-success
2015-10-19 08:25:26 +02:00
border-radius: 5px
color: white
.counter_char
background-color: white
width: 20px
2015-10-19 10:50:52 +02:00
padding: 2px
2015-11-02 09:15:55 +01:00
margin: 0px 2px
2015-11-01 13:56:21 +01:00
border: 1px solid $brand-success
2015-10-19 08:25:26 +02:00
border-radius: 5px
display: inline-block
text-align: center
2015-11-01 13:56:21 +01:00
color: $brand-success
.text-success
color: $brand-success
2017-03-25 18:21:58 +01:00
.portrait
display: block
float: left
margin: 12px
2017-04-11 11:24:19 +02:00
2017-04-13 09:15:22 +02:00
.table-inherit
width: inherit
2017-04-11 11:24:19 +02:00
footer
h2
margin: 0px
font-size: $font-size-base
ol
padding-left: 1em