source: RedSur/app/assets/stylesheets/publisher.scss @ 8a68681

modelo_minuta
Last change on this file since 8a68681 was 332db9d, checked in by aosorio <aosorio@…>, 8 years ago

Probando con nuevo modelo para campo checkbox

  • Property mode set to 100755
File size: 10.0 KB
Line 
1#publisher {
2  z-index: 1;
3  color: $text-grey;
4
5  &.closed {
6    #button_container,
7    #location_container,
8    #hide_publisher,
9    #photodropzone_container,
10    .options_and_submit {
11      display: none !important;
12    }
13
14    #publisher_textarea_wrapper { border: 1px solid $border-grey !important; }
15  }
16
17  .mentions-autocomplete-list ul { width: 100% !important; }
18
19  form {
20    margin: 0;
21    #fileInfo { display: none !important; }
22    #hide_publisher {
23      margin-top: 10px;
24    }
25
26    #publisher_spinner {
27      text-align: center;
28    }
29
30    .options_and_submit {
31      #publisher_service_icons {
32        .btn-link { text-decoration: none; }
33        .btn-link.question_mark .entypo { color: $text-grey; }
34        .btn-link.question_mark:hover .entypo { color: $black; }
35        .btn-link.service_icon {
36          padding-left: 5px;
37          padding-right: 5px;
38        }
39        .dim { opacity: 0.3; }
40        .social_media_logos-wordpress-16x16 {
41          display: inline-block;
42          height: 16px;
43          width: 16px;
44        }
45      }
46    }
47
48    #publisher_textarea_wrapper {
49      background-color: white;
50      border-radius: 3px;
51      border: 1px solid $border-dark-grey;
52
53      input[type='text']#status_message_text {
54        border: none;
55        box-shadow: none;
56        margin: none;
57      }
58
59      textarea {
60        border: none;
61        margin: 0;
62        box-shadow: none;
63        resize: none;
64        height: 50px;
65      }
66
67      &.active textarea {
68        min-height: 70px;
69      }
70
71      .help-block {
72        font-size: 13px;
73        line-height: 30px;
74        padding-left: 10px;
75        margin-bottom: 0;
76        color: lighten($text-grey,20%);
77        a { color: lighten($blue,20%); }
78      }
79
80      .mentions-input-box .mentions {
81        line-height: $line-height !important;
82      }
83
84      &.with_attachments .row-fluid#photodropzone_container {
85        border-top: 1px dashed $border-grey;
86      }
87
88      .row-fluid#poll_creator_container {
89        display: none;
90        border-top: 1px dashed $border-grey;
91        padding:4px 6px 4px 6px;
92        box-sizing: border-box;
93        .remove-answer.entypo.cross {
94          display: none;
95          color: lighten($black,75%);
96          &.active { display: block; }
97          &:hover { color: $black; }
98          line-height: 30px;
99          font-size: 18px;
100          cursor: pointer;
101        } 
102
103        .remove-textfield.entypo.cross {
104          display: none;
105          color: lighten($black,75%);
106          &.active { display: block; }
107          &:hover { color: $black; }
108          line-height: 30px;
109          font-size: 18px;
110          cursor: pointer;
111        }
112
113        .remove-textarea.entypo.cross {
114          display: none;
115          color: lighten($black,75%);
116          &.active { display: block; }
117          &:hover { color: $black; }
118          line-height: 30px;
119          font-size: 18px;
120          cursor: pointer;
121        }
122
123        .remove-textarealarga.entypo.cross {
124          display: none;
125          color: lighten($black,75%);
126          &.active { display: block; }
127          &:hover { color: $black; }
128          line-height: 30px;
129          font-size: 18px;
130          cursor: pointer;
131        }
132
133        .remove-seleccion.entypo.cross {
134          display: none;
135          color: lighten($black,75%);
136          &.active { display: block; }
137          &:hover { color: $black; }
138          line-height: 30px;
139          font-size: 18px;
140          cursor: pointer;
141        }
142       
143        .add-textarea.entypo.plus {
144          //display: none;
145          color: lighten($black,75%);
146          //&.active { display: block; }
147          &:hover { color: $black; }
148          line-height: 30px;
149          font-size: 18px;
150          cursor: pointer;
151        }
152
153        .textfield {
154          /*height: 80px;*/
155          width: 91.5%;
156          border: 1px solid #DDDDDD !important;
157        }
158
159        .textarea {
160          height: 80px;
161          width: 91.5%;
162          border: 1px solid #DDDDDD !important;
163        }
164
165        .textarealarga {
166          height: 160px;
167          width: 91.5%;
168          border: 1px solid #DDDDDD !important;
169        }
170
171        .poll-textarea-template {
172          /*border: 1px solid green;*/
173          width: 100%;
174          margin-left: 0px;
175        }
176
177        .poll-textfield-template {
178          /*border: 1px solid green;*/
179          width: 100%;
180          margin-left: 0px;
181        }
182
183        .poll-textarealarga-template {
184          /*border: 1px solid green;*/
185          width: 100%;
186          margin-left: 0px;
187        }
188
189        .poll-seleccion-template {
190          border: 1px solid gray;
191          border-radius: 5px;
192          width: 100%;
193          margin-left: 0px;
194        }
195
196        #boton_agregar_campo_texto {
197          background-color: #FAFAFA;
198          width: 130px;
199          border: solid 1px #808080;
200          border-radius: 5px;
201          cursor: pointer;
202          text-align: center;
203          padding: 5px;
204          text-decoration: none;
205        }
206        #boton_agregar_campo_texto:hover {
207          background-color: #FAFAFA;
208          color: #3F8FBA;
209          width: 130px;
210          border: solid 1px #808080;
211          border-radius: 5px;
212          cursor: pointer;
213          text-align: center;
214          padding: 5px;
215          text-decoration: none;
216        }
217        #boton_agregar_area_texto {
218          background-color: #FAFAFA;
219          width: 130px;
220          border: solid 1px #808080;
221          border-radius: 5px;
222          cursor: pointer;
223          text-align: center;
224          padding: 5px;
225          text-decoration: none;
226        }
227        #boton_agregar_area_texto:hover {
228          background-color: #FAFAFA;
229          color: #3F8FBA;
230          width: 130px;
231          border: solid 1px #808080;
232          border-radius: 5px;
233          cursor: pointer;
234          text-align: center;
235          padding: 5px;
236          text-decoration: none;
237        }
238        #boton_agregar_area_textolarga {
239          background-color: #FAFAFA;
240          width: 130px;
241          border: solid 1px #808080;
242          border-radius: 5px;
243          cursor: pointer;
244          text-align: center;
245          padding: 5px;
246          text-decoration: none;
247        }
248        #boton_agregar_area_textolarga:hover {
249          background-color: #FAFAFA;
250          color: #3F8FBA;
251          width: 130px;
252          border: solid 1px #808080;
253          border-radius: 5px;
254          cursor: pointer;
255          text-align: center;
256          padding: 5px;
257          text-decoration: none;
258        }
259        #boton_agregar_seleccion {
260          background-color: #FAFAFA;
261          width: 130px;
262          border: solid 1px #808080;
263          border-radius: 5px;
264          cursor: pointer;
265          text-align: center;
266          padding: 5px;
267          text-decoration: none;
268        }
269        #boton_agregar_seleccion:hover {
270          background-color: #FAFAFA;
271          color: #3F8FBA;
272          width: 130px;
273          border: solid 1px #808080;
274          border-radius: 5px;
275          cursor: pointer;
276          text-align: center;
277          padding: 5px;
278          text-decoration: none;
279        }
280        .span1234 {
281          /*border: 1px solid red;*/
282          margin-top: 10px;
283          margin-left: 0px;
284          margin-bottom: 10px;
285        }
286      }
287
288      &.with_location .row-fluid#location_container {
289        height: 30px;
290        #hide_location { display: none !important; }
291        border-top: 1px dashed $border-grey;
292        input[type='text'] {
293          margin-bottom: 0;
294          color: $text-grey;
295        }
296      }
297      &.active .row-fluid#button_container {
298        border-top: 1px solid $border-grey;
299      }
300
301      #photodropzone {
302        margin: 0;
303        > li.publisher_photo {
304          list-style: none;
305          float: left;
306          margin: 8px;
307          height: 80px;
308          width: 80px;
309          overflow: hidden;
310          line-height: 80px;
311          vertical-align: middle;
312
313          img {
314            vertical-align: middle;
315            width: 80px;
316          }
317
318          .x {
319            display: none;
320            width: 50px;
321            height: 50px;
322            border-radius: 25px;
323            text-align: center;
324            background-color: white;
325            color: black;
326            font-size: 50px;
327            line-height: 50px;
328            font-style: bold;
329            position: absolute;
330            z-index: 2;
331            opacity: 0.85;
332            cursor: pointer;
333            top: 15px;
334            left: 15px;
335
336            &:before {
337              content: '\2716';
338              font-family: 'entypo';
339            }
340          }
341
342          &:hover .x {
343            display: inline-block;
344          }
345
346          .progress {
347            width: 100%;
348            height: 20px;
349            margin: 30px 0;
350          }
351
352          .ajax-loader { display: none; }
353        }
354      }
355
356      #upload_error {
357        color: white;
358        font-style: bold;
359        border-top: 1px solid white;
360        background-color: $red;
361        text-align: center;
362      }
363
364      #publisher-images {
365        margin-right: 5px;
366        #file-upload,
367        #locator,
368        #poll_creator,
369        #hide_location {
370          text-decoration: none !important;
371          font-size: 16px;
372          padding: 4px 5px;
373          i {
374            color: $text-grey;
375          }
376          &:hover{
377            i { color: black; }
378          }
379          input[type='file'] {
380            cursor: pointer;
381            &::-webkit-file-upload-button {
382              cursor: pointer;
383            }
384          }
385        }
386        #hide_location {
387          display: none;
388        }
389      }
390      &.with_location #publisher-images {
391        #hide_location { display: inline-block; }
392        #locator { display: none; }
393      }
394
395      .counter {
396        height: 30px;
397        line-height: 30px;
398        position: absolute;
399        right: 100px;
400        bottom: -31px;
401        font-size: 13px;
402      }
403      &.with_location .counter {
404        bottom: -62px;
405      }
406      .warning {
407        color: orange;
408      }
409      .exceeded {
410        color: red;
411      }
412    }
413  }
414
415  .aspect_dropdown {
416    .radio {
417      min-height: 0px;
418      padding-left: 0px;
419    }
420  }
421}
Note: See TracBrowser for help on using the repository browser.