aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/refinery/blog/frontend.css.scss
blob: f520f0c67953c7cf7eedf3b45794ace8837cff29 (plain) (blame)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.blog_post {
  header, footer {
    width: auto;
  }
}
.post_categories {
  .filled_in {
    display: inline;
  }
  ul {
    margin: 0px 0px 0px 6px;
    padding: 0px;
    display: inline;
    li {
      margin: 0px;
      padding: 0px;
      display: inline;
    }
  }
}
.field.message_field label {
  vertical-align: top;
}
#rss_feed_subscribe {
  display: block;
  padding-left: 25px;
  background: image_url('refinery/blog/rss-feed.png') no-repeat;
}
#next_prev_article{
  overflow: hidden;
  margin: 10px 0;
  position: relative;
  height: 30px;
  a {
    display: block;
    width: 33%;
    height: 30px;
    line-height: 30px;
    position: absolute;
    top:0;
    &.prev {
      left:0;
    }
    &.home {
      left: 33%;
      text-align: center;
    }
    &.next {
      text-align: right;
      right:0;
    }
  }
}
#message, .flash {
  padding: 8px 8px 8px 30px;
  margin-bottom: 15px;
  position: relative;
}
.flash {
  &.flash_notice {
    &, * {
      color: #00A017;
    }
  }
  &.flash_notice, &.flash_message {
    border: 1px solid #00A017;
    color: #00A017;
    background: 7px 7px no-repeat image_url('refinery/icons/accept.png') #E0F5E0;
  }
  &.flash_notice #flash_close, &.flash_error #flash_close {
    text-transform: lowercase;
  }
  &.flash_message {
    background: #E0F5E0;
    padding: 9px;
    position: relative;
    margin-bottom: 32px;
    h2 {
      margin-top: 12px;
    }
  }
  a {
    &, &:hover {
      color: #e20003;
      border-bottom-color: #e20003;
    }
  }
  &.flash_error {
    border: 1px solid #A00027;
    color: #A00027;
    background: 7px 7px no-repeat image_url('refinery/icons/cancel.png') #FFB1B1;
    a {
      &, &:hover {
        display: none;
      }
    }
  }
  &.flash_message {
    &, & * {
      color: #262719;
      font-size: 14px;
    }
  }
}