Commit 9ac380bc authored by sajolida's avatar sajolida

Rework the "Back" button

The simplification in e69f7ed5 introduced a glitch on the Back button, so
let's take solve this by further simplifying the specific code for this
button.
parent e8eea96b
......@@ -5,7 +5,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/os]]
<div id="back">[[Back|install/os]]</div>
<h1 class="text-center"><strong>Debian</strong>, <strong>Ubuntu</strong>, or <strong>Mint</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/debian]]
<div id="back">[[Back|install/debian]]</div>
<h1 class="text-center">Install from <strong>another Tails</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/debian]]
<div id="back">[[Back|install/debian]]</div>
<h1 class="text-center">Install from <strong>Debian</strong>, <strong>Ubuntu</strong>, or <strong>Mint</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/debian]]
<div id="back">[[Back|install/debian]]</div>
<h1 class="text-center">Install from <strong>Debian</strong>, <strong>Ubuntu</strong>, or <strong>Mint</strong> <small>using the command line and GnuPG</small></h1>
......
......@@ -135,34 +135,23 @@ td, th {
/* BACK BUTTON */
#pagebody .back {
#back a {
border: solid 1px #56347C;
border-radius: 4px;
display: inline-block;
padding: 5px;
position: relative;
left: -30px;
top: -5px;
text-decoration: none !important;
background: white;
color: #0A0;
}
#pagebody .back:hover {
#back a:hover {
color: #56347C;
border: solid 1px #0A0;
background: #0A0;
color: white;
}
#pagebody .back:hover a {
color: #56347C;
}
#pagebody .back a {
color: #56347C;
}
/* PANELS */
......
......@@ -6,7 +6,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/os]]
<div id="back">[[Back|install/os]]</div>
<h1 class="text-center">Other <strong>Linux</strong> <small>(Red Hat, Fedora, etc.)</small></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/linux]]
<div id="back">[[Back|install/linux]]</div>
<h1 class="text-center">Install from <strong>another Tails</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/linux]]
<div id="back">[[Back|install/linux]]</div>
<h1 class="text-center">Install from <strong>Linux</strong></h1>
......
......@@ -6,7 +6,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/os]]
<div id="back">[[Back|install/os]]</div>
<h1 class="text-center"><strong>Mac</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/mac]]
<div id="back">[[Back|install/mac]]</div>
<h1 class="text-center">Install from <strong>another Tails</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/mac]]
<div id="back">[[Back|install/mac]]</div>
<h1 class="text-center">Install from <strong>Mac</strong> <small>by burning a DVD first</small></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/mac]]
<div id="back">[[Back|install/mac]]</div>
<h1 class="text-center">Install from <strong>Mac</strong> <small>using the command line</small></h1>
......
......@@ -4,7 +4,7 @@
[[!meta stylesheet="inc/stylesheets/assistant" rel="stylesheet" title=""]]
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install]]
<div id="back">[[Back|install]]</div>
<h1>Which <strong>operating system</strong> are you installing Tails from?</h1>
......
......@@ -6,7 +6,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/os]]
<div id="back">[[Back|install/os]]</div>
<h1 class="text-center"><strong>Windows</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/win]]
<div id="back">[[Back|install/win]]</div>
<h1 class="text-center">Install from <strong>another Tails</strong></h1>
......
......@@ -7,7 +7,7 @@
[[!inline pages="install/inc/tails-installation-assistant.inline" raw="yes"]]
[[<span class="back">Back</span>|install/win]]
<div id="back">[[Back|install/win]]</div>
<h1 class="text-center">Install from <strong>Windows</strong></h1>
......
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