blocks.scss 2.25 KB
Newer Older
1
.light-well {
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
2
  background-color: #f8fafc;
3 4
  padding: 15px;
}
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5 6 7

.centered-light-block {
  text-align: center;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
  color: $gl-gray;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
9 10 11 12 13 14
  margin: 20px;
}

.nothing-here-block {
  text-align: center;
  padding: 20px;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
15
  color: $gl-gray;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
16 17 18 19
  font-weight: normal;
  font-size: 16px;
  line-height: 36px;
}
20 21

.gray-content-block {
22
  margin-top: 0;
23
  margin-bottom: -$gl-padding;
24
  background-color: $background-color;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
25
  padding: $gl-padding;
26
  margin-bottom: 0px;
27 28
  border-top: 1px solid $border-color;
  border-bottom: 1px solid $border-color;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
29 30
  color: $gl-gray;

31 32 33 34
  a {
    color: $md-link-color;
  }

35 36 37 38
  &.oneline-block {
    line-height: 42px;
  }

39 40 41 42
  &.white {
    background-color: white;
  }

43 44 45 46
  &.top-block {
    border-top: none;
  }

47 48 49 50 51
  &.middle-block {
    margin-top: 0;
    margin-bottom: 0;
  }

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
52 53 54 55 56
  &.clear-block {
    margin-bottom: $gl-padding - 1px;
    padding-bottom: $gl-padding;
  }

57 58 59 60 61
  &.second-block {
    margin-top: -1px;
    margin-bottom: 0;
  }

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
62 63
  &.footer-block {
    margin-top: 0;
64
    border-bottom: none;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
65 66 67
    margin-bottom: -$gl-padding;
  }

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
68 69 70
  .title {
    color: $gl-text-color;
  }
71 72

  .oneline {
73
    line-height: 35px;
74
  }
Douwe Maan's avatar
Douwe Maan committed
75 76 77 78

  > p:last-child {
    margin-bottom: 0;
  }
79 80 81 82 83 84 85 86 87

  .block-controls {
    float: right;

    .control {
      float: left;
      margin-left: 10px;
    }
  }
88
}
89 90 91

.cover-block {
  text-align: center;
92
  background: $background-color;
93
  padding-top: 44px;
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
  position: relative;

  .avatar-holder {
    margin-bottom: 16px;

    .avatar, .identicon {
      margin: 0 auto;
      float: none;
    }

    .identicon {
      @include border-radius(50%);
    }
  }

  .cover-title {
    color: $gl-header-color;
    margin: 0;
    font-size: 23px;
    font-weight: normal;
    margin: 16px 0 5px 0;
    color: #4c4e54;
    font-size: 23px;
    line-height: 1.1;
  }

  .cover-desc {
121
    padding: 0 $gl-padding 3px;
122 123 124 125 126 127 128
    color: $gl-text-color;
  }

  .cover-controls {
    position: absolute;
    top: 10px;
    right: 10px;
129 130 131 132 133

    &.left {
      left: 10px;
      right: auto;
    }
134 135
  }
}
136 137 138 139

.block-connector {
  margin-top: -1px;
}
140 141 142 143

.nav-block {
  .controls {
    float: right;
144
    margin-top: 11px;
145 146
  }
}
147 148 149 150 151 152

.content-block {
  padding: $gl-padding 0;
  border-bottom: 1px solid $border-color;

  &.oneline-block {
153 154 155 156 157
    line-height: 36px;
  }

  > .controls {
    float: right;
158 159
  }
}