Skip to content
Extraits de code Groupes Projets
Valider 7fafb0e3 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

DG RY; publisher css tweaks

parent b138c914
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -401,7 +401,7 @@ div[data-template=flow] { ...@@ -401,7 +401,7 @@ div[data-template=flow] {
a { a {
display : block; display : block;
span { span:not(.caret) {
padding-left: 5px; padding-left: 5px;
} }
} }
...@@ -412,7 +412,6 @@ div[data-template=flow] { ...@@ -412,7 +412,6 @@ div[data-template=flow] {
margin-left: 100px; margin-left: 100px;
} }
.dropdown-menu { .dropdown-menu {
bottom : 0; bottom : 0;
top: auto; top: auto;
...@@ -445,6 +444,16 @@ div[data-template=flow] { ...@@ -445,6 +444,16 @@ div[data-template=flow] {
.magic-service-selector { .magic-service-selector {
label { display : inline;} label { display : inline;}
img {
cursor : pointer;
height : 28px;
width : 28px;
&:hover {
@include opacity(0.6);
}
}
input:not(:checked) + label { input:not(:checked) + label {
@include opacity(0.4); @include opacity(0.4);
} }
......
...@@ -11,10 +11,12 @@ ...@@ -11,10 +11,12 @@
#photo_upload_button { #photo_upload_button {
position: relative; position: relative;
margin-top: 9px; margin : {
bottom : 9px;
}
input{ input{
opacity: 0; @include opacity(0);
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
......
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
<div style="margin:0;padding:0;display:inline"> <div style="margin:0;padding:0;display:inline">
<input name="utf8" type="hidden" value="✓"/> <input name="utf8" type="hidden" value="✓"/>
</div> </div>
<div id='photo_upload_button'>
<a class='btn'><i class="icon-camera" style="margin-right:4px;"></i>Add Photos</a> <div class="photos well">
<input name="photo[user_file]" type="file"/> <div id='photo_upload_button'>
<div class="photos well"></div> <a class='btn'><i class="icon-camera" style="margin-right:4px;"></i>Add Photos</a>
<input name="photo[user_file]" type="file"/>
</div>
</div> </div>
</form> </form>
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<legend> <legend>
Make Something! Make Something!
</legend> </legend>
<textarea name="text" id='post_text' class="text span8"/> <textarea name="text" id='post_text' class="text span8" placeholder="Add Text"/>
<textarea id="text_with_markup" style="display:none;"/> <textarea id="text_with_markup" style="display:none;"/>
</fieldset> </fieldset>
</form> </form>
......
<span class="service-selector-title">Broadcast</span>
<!--*CSS MAGIC* CHECKBOX IS HIDDEN AND IS CHECKED BY CLICKING THE LABEL, CHANGE THIS AT YOUR OWN PERIL, RUN JASMINE AFTER--> <!--*CSS MAGIC* CHECKBOX IS HIDDEN AND IS CHECKED BY CLICKING THE LABEL, CHANGE THIS AT YOUR OWN PERIL, RUN JASMINE AFTER-->
<div class="magic-service-selector"> <div class="magic-service-selector">
{{#each current_user.services}} {{#each current_user.services}}
<input id="service_toggle_{{provider}}" type="checkbox" name="services" class="service" value="{{provider}}" /> <input id="service_toggle_{{provider}}" type="checkbox" name="services" class="service" value="{{provider}}" />
<label for="service_toggle_{{provider}}"><img class="legacy-provider-image" src="/assets/social_media_logos/{{provider}}-16x16.png" data-provider="{{provider}}" /></label> <label for="service_toggle_{{provider}}"><img class="legacy-provider-image" src="/assets/social_media_logos/{{provider}}-32x32.png" data-provider="{{provider}}" /></label>
{{/each}} {{/each}}
</div> </div>
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter