source: RedSur/app/assets/stylesheets/stream_element.scss @ 40f563a

modelo_minuta
Last change on this file since 40f563a was 1b91e02, checked in by aosorio <aosorio@…>, 8 years ago

Version para desarrollo local

  • Property mode set to 100755
File size: 3.7 KB
Line 
1#main_stream .stream_element,
2#main_stream > div > .photo {
3  & > .media {
4    margin: 0px;
5  }
6  &.deleting {
7    > .media { opacity: 0.3; }
8    .controls { display: none !important; }
9  }
10}
11
12#main_stream > div > .photo {
13  & > .media {
14    overflow: visible;
15    > .bd {
16      position: relative;
17      overflow: inherit;
18      > .controls {
19        position: absolute;
20        right: 6px;
21        top: 1px;
22        width: 15px;
23        height: 15px;
24        text-align: center;
25        line-height: 15px;
26      }
27    }
28    &:hover > .bd > .controls { background: #fff; }
29  }
30  .thumbnail {
31    height: 200px;
32    padding: 10px;
33    margin: 0 5px 10px;
34    text-align: center;
35    line-height: 200px;
36    border: 1px solid $border-grey;
37    background: #fefefe;
38    box-shadow: 3px 3px 2px #eee;
39    img {
40      &.big_photo { max-height: 200px; }
41    }
42  }
43}
44
45#main_stream .stream_element {
46  border-bottom: 1px solid $border-grey;
47  padding: 10px;
48  & > .media {
49    & > .img > .avatar {
50      margin-top: 5px;
51      &.small {
52        height: 50px;
53        width: 50px;
54      }
55    }
56    .author {
57      font-weight: bold;
58      margin-bottom: 4px;
59      unicode-bidi: bidi-override;
60    }
61    a.author { color: $blue; }
62    .feedback {
63      margin-top: 5px;
64      font-size: 11px;
65      line-height: 11px;
66    }
67    .likes {
68      margin-top: 10px;
69      font-size: 12px;
70      line-height: 16px;
71      .bd { display: inline-block; }
72      .entypo.heart {
73        display: inline-block;
74        font-size: 16px;
75        vertical-align: top;
76        margin-top: -2px;
77        margin-right: 5px;
78      }
79    }
80    .youtube-player, .vimeo-player {
81      border: none;
82      height: 304px;
83      width: 410px;
84    }
85    .photo_attachments {
86      margin-top: 7px;
87      padding-bottom: 10px;
88      text-align: center;
89      img {
90        &.big_stream_photo {
91          display: block;
92          max-width: 90%;
93        }
94        &.thumb_small {
95          display: inline;
96          max-width: 50px;
97          max-height: 50px;
98        }
99        margin-left: auto;
100        margin-right: auto;
101        padding-bottom: 5px;
102      }
103    }
104    .stream_photo {
105      float: left;
106      margin-top: 6px;
107    }
108    .status-message-location .near-from {
109      font-size: 11px;
110      color: $text-grey;
111    }
112    .grey { color: $text-grey; }
113    .post-content p:last-of-type { margin-bottom: 0; }
114    .nsfw-shield {
115      color: $text-grey;
116      padding: 5px 10px;
117      background-color: $background-grey;
118      border: 1px solid $border-grey;
119      border-radius: 3px;
120    }
121  }
122
123  div.reshare {
124    border-left: 2px solid $border-grey;
125    margin-top: 3px;
126
127    & > .media .avatar {
128      margin-top: 5px;
129      height: 30px;
130      width: 30px;
131    }
132  }
133
134  .collapsible {
135    overflow: hidden;
136    position: relative;
137
138    p {
139      margin: 0 0 0.8em;
140    }
141    p:last-of-type {
142      margin: 0;
143    }
144
145    .expander {
146      position: absolute;
147      bottom: 0;
148      left: 0;
149      right: 0;
150      height: 30px;
151      text-align: center;
152      line-height: 48px;
153      font-size: .8em;
154      color: $grey;
155      text-shadow: 0 0 7px #FFF;
156      cursor: pointer;
157      border-bottom: 2px solid $border-grey;
158      border-radius: 0 0 3px 3px;
159      @include linear-gradient(rgba(255,255,255,0) , #EEE, 0%, 95%);
160      background-color: transparent;
161    }
162
163    .oembed {
164      background: image-url('ajax-loader2.gif') no-repeat center center;
165      float: left;
166      width: 100%;
167
168      .thumb {
169        @include video-overlay();
170      }
171
172      iframe, .thumb img {
173        width: 100%;
174      }
175    }
176  }
177
178  &.highlighted {
179    padding-left: 8px;
180    border-left: 3px solid $creation-blue;
181  }
182
183  &.post_preview {
184    background-color: lighten($creation-blue,45%);
185    border: 1px solid $creation-blue;
186  }
187}
Note: See TracBrowser for help on using the repository browser.