Skip to content

Commit

Permalink
Merge pull request #862 from Inter-Actief/763-make-youtube-upload-but…
Browse files Browse the repository at this point in the history
…ton-more-obscure

Added css that makes youtube upload button more obscure
  • Loading branch information
supertom01 authored May 27, 2024
2 parents 1987652 + af5377e commit 9fa8bf2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions amelie/style/static/css/compiled.css
Original file line number Diff line number Diff line change
Expand Up @@ -11002,6 +11002,12 @@ li.courses-soon {
overflow-y: auto;
}
}
a.looks-like-a-button.obscure {
color: darkgray;
background-color: lightgray;
opacity: 40%;
margin-right: 5px;
}
.ia-datepicker {
width: 125px;
}
Expand Down
8 changes: 8 additions & 0 deletions amelie/style/static/less/classes/helper-classes.less
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@
}
}

//Styling to make obscure buttons (used for upload from youtube)
a.looks-like-a-button.obscure {
color: darkgray;
background-color: lightgray;
opacity: 40%;
margin-right: 5px;
}

.ia-datepicker {
width: 125px;
}
2 changes: 1 addition & 1 deletion amelie/videos/templates/videos/videos.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h2 class="h2-with-buttons">
{% endif %}

{% if can_create %}
<a class="looks-like-a-button" href="{% url 'videos:new_yt_video' %}">{% trans 'Add video from YouTube' %}</a>
<a class="looks-like-a-button" style="margin-right: 8px;" href="{% url 'videos:new_ia_video' %}">{% trans 'Add video from Streaming.IA' %}</a>
<a class="looks-like-a-button obscure" href="{% url 'videos:new_yt_video' %}">{% trans 'Add video from YouTube' %}</a>
{% endif %}
</h2>

Expand Down

0 comments on commit 9fa8bf2

Please sign in to comment.