summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/gemeinschaft-generic.css.scss
blob: 9448b841e9e31d58401f0bcc78c813b1203e844e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Place all the styles related to the Page controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

body {
  padding-top: 60px;
  padding-bottom: 40px;
}

// Nav
li.display {
  line-height: 40px;
  img {
    vertical-align: middle;
    width: 26px;
    margin-top: -2px;
  }
}

// SimpleForm Inline Checkbox Fix
.simple-checkbox .checkbox {
  text-align: left;
  width: auto;
  float: none;
}
input, textarea, .uneditable-input {
  width: 500px;
  @media (max-width: 979px) {
    width: 200px;
  }
  @media (max-width: 480px) {
    width: 96%;
  }
}
input, textarea {
  &.invalid {
    box-shadow: inset -9px 0px 0px rgb(255, 219, 219), inset -14px 0px 0px rgb(255, 245, 245) !important;
  }
}

select {
  width: 520px;
  @media (max-width: 979px) {
    width: 220px;
  }
  @media (max-width: 480px) {
    width: 99.5%;
  }

}

@media (max-width: 979px) {
  body {
    padding-top: 0px;
  }
}