Commit 6c660576 authored by Houtan Bastani's avatar Houtan Bastani

fix bug introduced in 31667478: when the page...

fix bug introduced in 31667478: when the page was displayed on a phone the download icons were not displaying correctly
parent 17288d60
<div class="dynare_main"> <div class="dynare_main">
<input class="dynare_input" id="snapshot_tab1" type="radio" name="snapshot_tabs"> <input class="dynare_input" id="snapshot_tab1" type="radio" name="snapshot_tabs">
<label class="dynare_label" for="snapshot_tab1"><i class="fab fa-windows"></i> Windows</label> <label class="dynare_label" for="snapshot_tab1">Windows</label>
<input class="dynare_input" id="snapshot_tab2" type="radio" name="snapshot_tabs"> <input class="dynare_input" id="snapshot_tab2" type="radio" name="snapshot_tabs">
<label class="dynare_label" for="snapshot_tab2"><i class="fab fa-apple"></i> macOS</label> <label class="dynare_label" for="snapshot_tab2">macOS</label>
<input class="dynare_input" id="snapshot_tab3" type="radio" name="snapshot_tabs"> <input class="dynare_input" id="snapshot_tab3" type="radio" name="snapshot_tabs">
<label class="dynare_label" for="snapshot_tab3"><i class="fab fa-linux"></i> GNU/Linux</label> <label class="dynare_label" for="snapshot_tab3">GNU/Linux</label>
<input class="dynare_input" id="snapshot_tab4" type="radio" name="snapshot_tabs"> <input class="dynare_input" id="snapshot_tab4" type="radio" name="snapshot_tabs">
<label class="dynare_label" for="snapshot_tab4"><i class="fas fa-code"></i> Source</label> <label class="dynare_label" for="snapshot_tab4">Source</label>
<section class="dynare_section" id="snapshot_content1"> <section class="dynare_section" id="snapshot_content1">
<p> <p>
......
<div class="dynare_main"> <div class="dynare_main">
<input class="dynare_input" id="stable_tab1" type="radio" name="stable_tabs"> <input class="dynare_input" id="stable_tab1" type="radio" name="stable_tabs">
<label class="dynare_label" for="stable_tab1"><i class="fab fa-windows"></i> Windows</label> <label class="dynare_label" for="stable_tab1">Windows</label>
<input class="dynare_input" id="stable_tab2" type="radio" name="stable_tabs"> <input class="dynare_input" id="stable_tab2" type="radio" name="stable_tabs">
<label class="dynare_label" for="stable_tab2"><i class="fab fa-apple"></i> macOS</label> <label class="dynare_label" for="stable_tab2">macOS</label>
<input class="dynare_input" id="stable_tab3" type="radio" name="stable_tabs"> <input class="dynare_input" id="stable_tab3" type="radio" name="stable_tabs">
<label class="dynare_label" for="stable_tab3"><i class="fab fa-linux"></i> GNU/Linux</label> <label class="dynare_label" for="stable_tab3">GNU/Linux</label>
<input class="dynare_input" id="stable_tab4" type="radio" name="stable_tabs"> <input class="dynare_input" id="stable_tab4" type="radio" name="stable_tabs">
<label class="dynare_label" for="stable_tab4"><i class="fas fa-code"></i> Source</label> <label class="dynare_label" for="stable_tab4">Source</label>
<section class="dynare_section" id="stable_content1"> <section class="dynare_section" id="stable_content1">
<p> <p>
......
...@@ -349,15 +349,14 @@ label.dynare_label { ...@@ -349,15 +349,14 @@ label.dynare_label {
} }
label.dynare_label:before { label.dynare_label:before {
font-family: 'Font Awesome 5 Free' !important;
font-weight: normal; font-weight: normal;
margin-right: 10px; margin-right: 10px;
} }
label.dynare_label[for*='1']:before { content: ''; } label.dynare_label[for*='1']:before { font-family: 'Font Awesome 5 Brands' !important; font-weight: 400; content: '\f17a'; }
label.dynare_label[for*='2']:before { content: ''; } label.dynare_label[for*='2']:before { font-family: 'Font Awesome 5 Brands' !important; font-weight: 400; content: '\f179'; }
label.dynare_label[for*='3']:before { content: ''; } label.dynare_label[for*='3']:before { font-family: 'Font Awesome 5 Brands' !important; font-weight: 400; content: '\f17c'; }
label.dynare_label[for*='4']:before { content: ''; } label.dynare_label[for*='4']:before { font-family: 'Font Awesome 5 Free' !important; font-weight: 900; content: '\f121'; }
label.dynare_label:hover { label.dynare_label:hover {
color: $download-tab-label-hover-color; color: $download-tab-label-hover-color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment