agenda-libre-ruby/app/assets/stylesheets/all.css.sass

208 lines
4.0 KiB
Sass
Raw Normal View History

@import "compass"
2013-12-10 23:49:01 +01:00
@import "font-awesome"
*
height: auto
margin: 0 auto
2013-12-10 23:49:01 +01:00
padding: 0
max-width: 100%
box-sizing: border-box
2013-12-10 23:49:01 +01:00
line-height: 1em
2013-11-24 16:11:44 +01:00
2013-12-10 23:49:01 +01:00
html
color: black
2013-12-10 23:49:01 +01:00
line-height: 1.3em
font-family: georgia, serif
2013-12-28 23:45:13 +01:00
padding-bottom: 6px
2013-12-10 23:49:01 +01:00
background-color: #9CC5EE
body
2013-12-28 23:45:13 +01:00
border: 1px solid #68A6E5
2013-12-10 23:49:01 +01:00
margin: 5px 5px 0
padding: 0 10px 10px 10px
2013-12-10 23:49:01 +01:00
text-align: center
2013-12-28 23:45:13 +01:00
border-bottom: 0px
background-color: white
header, main, footer
*
@include transition-duration(0.5s)
2013-12-10 23:49:01 +01:00
a:link, a:visited
2014-06-29 10:29:43 +02:00
color: #258
2013-12-10 23:49:01 +01:00
font-weight: bold
text-decoration: none
a:hover, a:active, a:focus
color: #2E97FF
2013-12-10 23:49:01 +01:00
2014-06-29 10:29:43 +02:00
#flash_messages
left: 0
width: 100%
z-index: 1000
position: absolute
margin-top: -2.5em
.flash
color: white
border: solid 1px #007ba0
margin: 1em auto
padding: 0.5em 1.1em
max-width: 40em
font-size: x-large
text-align: justify
background-color: #008cba
@include box-shadow(0 0 0.3em gray)
@include border-radius(3px)
&.notice
border-color: #3a945b
background-color: #43ac6a
&.alert
border-color: #de2b0f
background-color: #f04124
2014-06-29 10:29:43 +02:00
.fa:before
font-style: normal
font-weight: normal !important
2014-03-07 22:21:52 +01:00
2013-12-10 23:49:01 +01:00
header.top
img.logo
2014-07-02 00:37:53 +02:00
float: left
margin-left: 20px
ul.countries
float: right
height: 81px
font-size: 0.7em
margin-top: 2px
2014-07-02 00:37:53 +02:00
margin-right: 16px
list-style-type: none
li
text-align: left
line-height: 1.3em
img
margin-left: 2.2em
margin-right: 0.75em
vertical-align: middle
2013-12-10 23:49:01 +01:00
h1
margin: 10px 5px 12px
2013-12-10 23:49:01 +01:00
font-size: 2.1em
padding-top: 10px
2013-12-10 23:49:01 +01:00
letter-spacing: 2px
h2
font-size: 0.8em
font-style: italic
font-weight: normal
margin-bottom: 22px
2014-03-06 23:10:36 +01:00
main
position: relative
*
max-width: 80em
2013-12-29 23:25:38 +01:00
h1
margin: 10px auto 5px auto
2013-12-29 23:25:38 +01:00
letter-spacing: 2px
h2
margin: 50px auto 20px
2013-12-29 23:25:38 +01:00
h3
margin: 1.1em auto 1em
2013-12-29 23:25:38 +01:00
font-size: 1.2em
text-align: left
ul, ol
text-align: left
li
margin-left: 2em
line-height: 1.3em
p
2014-07-26 18:27:19 +02:00
margin: 0.95em auto
2013-12-29 23:25:38 +01:00
text-align: justify
2014-07-07 22:32:26 +02:00
line-height: 1.3em
2014-02-18 09:28:04 +01:00
&.label
text-align: center
span.label:after
content: ':'
hr
margin: 10px 20px
2014-07-27 16:42:40 +02:00
label
text-align: right
padding-right: 0.4em
.mce-tinymce
border: 1px solid darkgray
@include box-shadow(1px 1px 2px lightgray)
@include border-radius(0.4em)
input, textarea, select, a.button
color: black
margin: 3px 0
border: 1px solid darkgray
outline: none
2014-07-27 16:42:40 +02:00
padding: 2px 4px
font-size: inherit
font-family: inherit
background-color: white
@include box-shadow(1px 1px 2px lightgray)
@include border-radius(0.4em)
&:focus
background-color: #F0F8FF
@include box-shadow(1px 1px 4px gray)
2014-07-27 16:42:40 +02:00
&[type=submit], &.button
2014-06-29 10:29:43 +02:00
color: black
2014-07-27 16:42:40 +02:00
border: none
cursor: pointer
padding: 0.2em 0.6em
font-size: larger
line-height: 1.1em
font-weight: bolder
background-color: #9CC5EE
@include box-shadow(2px 2px 2px gray)
select, option
color: black
padding: 2px 4px
background-color: white
2014-07-27 16:42:40 +02:00
button.ws-popover-opener
color: darkgray
background-color: transparent
2014-07-27 16:42:40 +02:00
.field_with_errors
display: inline
input, textarea, select, a.button
background-color: pink
2014-05-26 01:06:43 +02:00
2014-02-18 09:28:04 +01:00
/*
input, textarea, select
color: black
margin: 3px 0
border: 1px solid #868686
padding: 0.2em 0.8em
font-family: georgia, serif
background-color: white
@include border-radius(0.7em)
&:focus
outline: 0
background-color: #F0F8FF
input[type=submit]
border: none
font-size: x-large
@include box-shadow(0 0 1em lightblue)
@include text-shadow(1px 1px 1px white)
&:hover
@include box-shadow(5px 5px 5px lightblue)
footer.bottom nav
clear: both
2014-01-02 00:21:49 +01:00
margin: 26px auto -3px
font-size: smaller
a + a:before
color: black
content: '- '
font-weight: normal
#loading
top: 45%
left: 45%
color: gray
display: none
position: fixed
font-size: 10vw
vertical-align: baseline
@include text-shadow(0 0 4px gray)