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

280 lines
5.6 KiB
Sass
Raw Normal View History

@import compass
@import font-awesome-sprockets
@import font-awesome
*
height: auto
2013-12-10 23:49:01 +01:00
padding: 0
max-width: 100%
margin-left: auto
margin-right: auto
+box-sizing(border-box)
2013-11-24 16:11:44 +01:00
2013-12-10 23:49:01 +01:00
html
color: black
height: 100%
text-align: center
font-family: Palatino, 'URW Palladio L', 'dejavu serif', georgia, serif
2013-12-10 23:49:01 +01:00
background-color: #9CC5EE
// Integrating adl in another website
&.iframe
background-color: transparent
body
border: none
margin: 0
padding: 0
background-color: transparent
2015-02-15 17:10:17 +01:00
h2, nav, .region_selector, .orga_search, .formats, #banner
display: none
2013-12-10 23:49:01 +01:00
body
2013-12-28 23:45:13 +01:00
border: 1px solid #68A6E5
margin: 0.3em
padding: 10px
padding-top: 0
background-color: white
header, main, footer
*
+transition-duration(0.5s)
2013-12-10 23:49:01 +01:00
a
+link-colors(#258, #2E97FF, #2E97FF, #258, #2E97FF)
&:link, &:visited
text-decoration: none
2013-12-10 23:49:01 +01:00
#flash_messages .flash
color: white
border: solid 1px #007ba0
margin: 1em auto
padding: 0.5em 1.1em
max-width: 50em
font-size: x-large
text-align: justify
background-color: #008cba
+box-shadow(0 0 0.3em gray)
+border-radius(3px)
&.notice
border-color: #3a945b
background-color: #43ac6a
&.alert
border-color: #de2b0f
background-color: #f04124
h3.warning
color: white
margin: 0
padding: 1em
text-align: center
background-color: orange
+box-shadow(0 0 0.3em gray)
+inline-block()
+border-radius(1em)
2014-06-29 10:29:43 +02: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
font-size: smaller
2014-12-29 01:29:01 +01:00
margin-top: 0.2em
line-height: 1em
2014-12-29 01:29:01 +01:00
margin-left: 2em
margin-right: 1em
2014-07-02 00:37:53 +02:00
list-style-type: none
li
text-align: left
& a:before
2014-07-02 00:37:53 +02:00
margin-right: 0.75em
&.map_france a:before
content: image-url('france.png')
&.map_quebec a:before
content: image-url('quebec.png')
&.map_belgique a:before
content: image-url('belgique.png')
&.map_suisse a:before
content: image-url('suisse.png')
2014-07-02 00:37:53 +02:00
2013-12-10 23:49:01 +01:00
h1
margin: 0.5em 0
2013-12-10 23:49:01 +01:00
font-size: 2.1em
h2
font:
size: 1.2em
style: italic
weight: normal
margin-top: -0.8em
2014-03-06 23:10:36 +01:00
main, body.mce-content-body
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
h3
text-align: left
ul, ol
text-align: left
li
margin-left: 2em
p
text-align: justify
2014-02-18 09:28:04 +01:00
&.label
text-align: center
span.label:after
content: ':'
hr
margin: 10px 20px
&.mce-content-body
margin: 0
border: solid thin transparent
font-size: initial
min-height: 100%
font-family: Palatino, 'URW Palladio L', 'dejavu serif', georgia, serif
aside
float: right
width: 16em
border: 1px solid #96CFFF
margin: 0 1.2em
padding: 5px
font-size: 0.7em
margin-right: -4em
background-color: #D6ECFF
+box-shadow(4px 4px 1em gray)
+border-radius(10px)
h1
font-weight: normal
border-bottom: 1px black solid
padding-bottom: 0.3em
h2
margin: 0
font-size: larger
a
padding: 0.5em 0
display: block
2014-10-13 22:50:59 +02:00
iframe
border: none
max-width: 100%
margin-bottom: 1.6em
+border-radius(1em)
2014-10-13 22:50:59 +02:00
fieldset
border: none
margin: 1em auto
padding: 1em
+box-shadow(1px 1px 5px gray)
+border-radius(0.4em)
legend
float: left
color: gray
padding: 0 1em
margin-top: -1.6em
background-color: white
h2
margin-top: 0
2014-07-27 16:42:40 +02:00
label
text-align: right
padding-right: 0.4em
.mce-tinymce
border: 1px solid darkgray
+box-shadow(1px 1px 2px lightgray)
+border-radius(0.4em)
input, textarea, select, a.button, button, .select2-container ul
2014-07-27 16:42:40 +02:00
color: black
margin: 3px 0
2014-07-27 16:42:40 +02:00
border: 1px solid darkgray
outline: none
padding: 0.2em 0.4em
2014-07-27 16:42:40 +02:00
font-size: inherit
font-family: inherit
background-color: white
+box-shadow(1px 1px 2px lightgray)
+border-radius(0.4em)
2014-07-27 16:42:40 +02:00
&:focus
background-color: #F0F8FF
+box-shadow(1px 1px 4px gray)
&[type=radio]
+box-shadow(none)
&[type=radio] + label
text-align: left
&[type=submit], &.button, button
2014-06-29 10:29:43 +02:00
color: black
2014-07-27 16:42:40 +02:00
border: none
cursor: pointer
2014-10-27 11:21:13 +01:00
margin: 3px 0.4em
2014-07-27 16:42:40 +02:00
padding: 0.2em 0.6em
font-size: larger
font-weight: bolder
background-color: #9CC5EE
+box-shadow(2px 2px 2px gray)
2014-07-27 16:42:40 +02:00
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: Palatino, 'URW Palladio L', 'dejavu serif', georgia, serif
2014-02-18 09:28:04 +01:00
background-color: white
+border-radius(0.7em)
2014-02-18 09:28:04 +01:00
&:focus
outline: 0
background-color: #F0F8FF
input[type=submit]
border: none
font-size: x-large
+box-shadow(0 0 1em lightblue)
+text-shadow(1px 1px 1px white)
2014-02-18 09:28:04 +01:00
&:hover
+box-shadow(5px 5px 5px lightblue)
2014-02-18 09:28:04 +01:00
footer.bottom nav
clear: both
a
2014-10-31 14:24:40 +01:00
padding: 1.8%
2014-12-29 01:29:01 +01:00
font-weight: bolder
+inline-block()
em.fa
font-size: x-large
&:hover
+text-shadow(0 0 1em lightgray)
#loading
top: 45%
left: 45%
color: gray
display: none
position: fixed
font-size: 10vw
vertical-align: baseline
+text-shadow(0 0 4px gray)
.select2-container ul
min-width: 46em
.select2-container-multi.select2-container-active .select2-choices, .select2-drop
border: none !important
+box-shadow(1px 1px 4px gray)
// Otherwise the cross to remove tags is centered
.select2-container *, .select2-choices *
margin: initial
+transition-duration(0)