common.scss 2.4 KB
Newer Older
D
Dmitriy Zaporozhets 已提交
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
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }

/** COMMON STYLES **/
.left {
  float:left;
}
.right {
  float:right;
}
.width-50p{
  width:50%;
}
.width-49p{
  width:49%;
}
.width-30p{
  width:30%;
}
.width-65p{
  width:65%;
}
.width-100p{
  width:100%;
}
.append-bottom-10 {
  margin-bottom:10px;
}
.append-bottom-20 {
  margin-bottom:20px;
}
.prepend-top-10 {
  margin-top:10px;
}
.no-borders { 
  border:none;
}
.no-padding { 
  padding:0 !important;
}
43 44 45
.underlined { 
  border-bottom: 1px solid $border_color;
}
D
Dmitriy Zaporozhets 已提交
46

47
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
48

49
.container-fluid { 
50 51
  min-width:$min_app_width;
  max-width:$max_app_width;
52
  margin:auto;
53
  margin-top:62px;
54 55 56
}

.container-fluid > .sidebar { 
57
  width: 140px;
58
  border-right: 1px solid $border_color;
59
  height:100%;
60
  min-height:450px;
61 62 63 64 65 66 67 68

  .fixed { 
    position:fixed;
  }

  aside a {
    display:block;
    position:relative;
69
    padding:12px 10px;
70 71 72
    margin:10px 0 0 0;
    font-size:13px;
    font-weight:bold;
73
    color:#444;
74
  }
D
Dmitriy Zaporozhets 已提交
75 76
}

77
.container-fluid > .content {
78
  margin-left: 160px;
79
  margin-top:20px;
80
}
D
Dmitriy Zaporozhets 已提交
81

D
Dmitriy Zaporozhets 已提交
82 83 84
aside.projects,
aside.project-side
{ 
85 86 87 88 89 90
  margin-left: 0;
  padding-left: 20px;
}

img.avatar { 
  float:left;
D
Dmitriy Zaporozhets 已提交
91 92 93 94 95
  margin-right:15px;
  width:40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
96 97
}

98 99 100 101 102 103
img.lil_av { 
  padding-left: 5px;
  position: relative;
  top: 3px;
}

D
Dmitriy Zaporozhets 已提交
104 105 106 107 108 109 110 111 112
.media-grid { 
  h3, h2 , h4 {
    &.media_h { 
      padding-left:10px;
      float:left;
    }
  }
}

D
Dmitriy Zaporozhets 已提交
113 114 115 116 117 118 119 120 121 122 123 124
.wll { 
  background-color: #FFF;
  margin-bottom: 10px;
  padding: 5px;
  min-height: 20px;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  .author { color: #999; }
  &:last-child { border:none }
  p { padding-top:5px;}
}

125
.visible_link,
D
Dmitriy Zaporozhets 已提交
126 127 128
.author_link { 
  color: $active_link_color;
}
D
Dmitriy Zaporozhets 已提交
129 130 131 132 133 134 135 136 137 138 139 140 141
.entry { 
  position: relative;
  padding: 7px 15px;
  margin-bottom: 18px;
  color: #404040;
  filter:none;

  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
D
Dmitriy Zaporozhets 已提交
142

D
Dmitriy Zaporozhets 已提交
143 144 145
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
146

D
Dmitriy Zaporozhets 已提交
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
  background:#F1F1F1;
  border: 1px solid #ccc;

  p { 
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
}

.widget { 
  padding:20px;
  margin-bottom:20px;
}
163