source: RedSur/app/assets/stylesheets/publisher.scss

profile_fields
Last change on this file was a5c4926, checked in by aosorio <aosorio@…>, 8 years ago

Agregadas nuevas estructuras del profile para el registro de entes de apoyo

  • Property mode set to 100644
File size: 5.8 KB
Line 
1.publisher {
2  z-index: 1;
3  color: $text-grey;
4  margin: 0;
5  margin-bottom: 20px;
6
7  &.closed {
8    #button_container,
9    .location-container,
10    #hide_publisher,
11    #photodropzone_container,
12    .counter,
13    .options_and_submit {
14      display: none !important;
15    }
16
17    #publisher_textarea_wrapper { border: 1px solid $border-grey !important; }
18  }
19
20  .container-fluid{ padding: 0; }
21
22  .twitter-typeahead {
23    width: calc(100% + 2px);
24
25    .tt-menu { width: 100%; }
26  }
27
28  form {
29    margin: 0;
30    #fileInfo { display: none !important; }
31
32    #publisher_spinner {
33      margin: 20px;
34      text-align: center;
35    }
36
37    .options_and_submit {
38      padding: 10px 0;
39
40      #publisher-service-icons {
41        text-decoration: none;
42
43        .entypo-cog, .service_icon {
44          color: $text-grey;
45          font-size: 16px;
46          line-height: 16px;
47        }
48        .service_icon { padding: 6px 5px; }
49        .btn.btn-link.question_mark:hover .entypo-cog { color: $black; }
50        .dim { opacity: 0.3; }
51        .social-media-logos-wordpress-16x16 {
52          display: inline-block;
53          height: 16px;
54          width: 16px;
55        }
56      }
57
58      @media(max-width: $screen-xs) {
59        .btn-toolbar {
60          width: 100%;
61          display: flex;
62          .btn, .aspect_dropdown{ flex-grow: 1; }
63          .aspect_dropdown .btn { width: 100%; }
64        }
65        .btn-group:first-child { margin: 0; }
66        .dropdown-menu.pull-right {
67          left: 0;
68          right: auto;
69        }
70      }
71    }
72
73    #publisher_textarea_wrapper {
74      background-color: white;
75      border-radius: 3px;
76      border: 1px solid $border-dark-grey;
77
78      input[type='text']#status_message_text {
79        border: none;
80        box-shadow: none;
81        margin: 0;
82      }
83
84      textarea {
85        border: none;
86        margin: 0;
87        box-shadow: none;
88        resize: none;
89        height: 50px;
90      }
91
92      &.active textarea {
93        min-height: 90px;
94      }
95
96      .markdownIndications {
97        line-height: 30px;
98        padding-left: 10px;
99        margin-bottom: 0;
100        color: lighten($text-grey,20%);
101        a { color: lighten($blue,20%); }
102      }
103
104      .mentions-input-box .mentions {
105        line-height: $line-height-base !important;
106      }
107
108      &.with_attachments #photodropzone_container {
109        border-top: 1px dashed $border-grey;
110      }
111
112      #poll_creator_container {
113        display: none;
114        border-top: 1px dashed $border-grey;
115        padding:4px 6px 4px 6px;
116        box-sizing: border-box;
117        .remove-answer.entypo-cross {
118          display: none;
119          color: lighten($black,75%);
120          &.active { display: block; }
121          &:hover { color: $black; }
122          line-height: 30px;
123          font-size: 18px;
124          cursor: pointer;
125        }
126      }
127
128      &.active #button_container {
129        border-top: 1px solid $border-grey;
130      }
131
132      #photodropzone {
133        margin: 0;
134        > li.publisher_photo {
135          list-style: none;
136          float: left;
137          margin: 8px;
138          height: 80px;
139          width: 80px;
140          overflow: hidden;
141          line-height: 80px;
142          vertical-align: middle;
143
144          img {
145            vertical-align: middle;
146            width: 80px;
147          }
148
149          .x {
150            display: none;
151            width: 50px;
152            height: 50px;
153            border-radius: 25px;
154            text-align: center;
155            background-color: white;
156            color: black;
157            font-size: 50px;
158            line-height: 50px;
159            font-weight: bold;
160            position: absolute;
161            z-index: 2;
162            opacity: 0.85;
163            cursor: pointer;
164            top: 15px;
165            left: 15px;
166
167            &:before {
168              content: '\2716';
169              font-family: 'entypo';
170            }
171          }
172
173          &:hover .x {
174            display: inline-block;
175          }
176
177          .progress {
178            width: 100%;
179            height: 20px;
180            margin: 30px 0;
181          }
182
183          .ajax-loader { display: none; }
184        }
185      }
186
187      #upload_error {
188        color: white;
189        font-weight: bold;
190        border-top: 1px solid white;
191        background-color: $red;
192        text-align: center;
193      }
194
195      .warning {
196        color: orange;
197      }
198      .exceeded {
199        color: red;
200      }
201    }
202  }
203
204  .aspect_dropdown {
205    .radio {
206      min-height: 0;
207      padding-left: 0;
208      margin-top: 0;
209      margin-bottom: 0;
210    }
211  }
212}
213
214.publisher-textarea-wrapper {
215  &:not(.with-location) .location-container { display: none; }
216
217  &.with-location .loader {
218    height: 20px;
219    width: 20px;
220  }
221
222  &.with-location .location-container {
223    border-top: 1px dashed $border-grey;
224    height: 30px;
225    margin-bottom: 0;
226
227    [type='text'] {
228      border: 0;
229      color: $text-grey;
230      height: 20px;
231      margin-bottom: 0;
232      padding: 0;
233    }
234  }
235
236  &.with-location .counter {
237    bottom: -62px;
238  }
239
240  .counter {
241    bottom: -25px;
242    height: 30px;
243    line-height: 30px;
244    position: absolute;
245    right: 10px;
246  }
247
248  &:not(.with-location) .publisher-buttonbar {
249    .hide-location { display: none; }
250    .locator { display: inline-block; }
251  }
252
253  &.with-location .publisher-buttonbar {
254    .hide-location { display: inline-block; }
255    .locator { display: none; }
256  }
257
258  &.submitting .mentions-box { display: none; }
259
260  .twitter-typeahead {
261    left: -1px;
262    position: absolute;
263  }
264}
265
266.publisher-buttonbar {
267  float: right;
268  margin-right: 5px;
269
270  .btn.btn-link {
271    font-size: 16px;
272    line-height: $line-height-computed;
273    padding: 4px 2px;
274    text-decoration: none;
275    i { color: $text-grey; }
276
277    [type='file'],
278    [type='file']::-webkit-file-upload-button {
279      cursor: pointer;
280    }
281  }
282
283  .btn.btn-link:hover {
284    i { color: $black; }
285  }
286}
Note: See TracBrowser for help on using the repository browser.