[www-doc] [Git][VideoLAN.org/websites][master] 2 commits: Move the wscounter outside of the downloadDetails block
Ludovic Fauvet
gitlab at videolan.org
Mon Feb 15 12:31:29 CET 2016
Ludovic Fauvet pushed to branch master at VideoLAN organization / websites
Commits:
35aafa65 by Ludovic Fauvet at 2016-02-15T12:29:43Z
Move the wscounter outside of the downloadDetails block
This div might be overwritten by some javascript.
- - - - -
29fd7db7 by Ludovic Fauvet at 2016-02-15T12:31:10Z
Revert "Show the counter everywhere the script is loaded"
This reverts commit db296e84b0bf5a10ebdcb78a4c4b0dcd4b5643d4.
- - - - -
2 changed files:
- www.videolan.org/include/os-specific.php
- www.videolan.org/style/style.scss
Changes:
=====================================
www.videolan.org/include/os-specific.php
=====================================
--- a/www.videolan.org/include/os-specific.php
+++ b/www.videolan.org/include/os-specific.php
@@ -92,7 +92,6 @@ function downloadButton()
<span id='downloadDetails' style='font-size: 12px; color: white;'>
Version <span id='downloadVersion'><?php echo $win32version ?>
</span> • <span id='downloadOS'>Windows</span> • <span id='downloadSize'>20MB</span>
- <br/><span id="wscounter"></span>
</span>
</a>
<a class='extraInfoLink' href='/vlc/#download' style="padding-left: 100px;"><?php echo _("Other Systems");?></a>
@@ -282,8 +281,8 @@ function downloadButton2($dropdownItems = null, $targetOS = null, $displayMainOS
<div id="downloadDetails">
Version <span id='downloadVersion'>
<?php echo $defaultDetail["latestVersion"] ?></span> • <span id='downloadOS'><?php echo $defaultDetail["name"]; ?></span> • <span id='downloadSize'><?php echo $defaultDetail["size"] ?></span>
- <br/><span id="wscounter"></span>
</div>
+ <div id="wscounter"></div>
<?php if ($displayMainOSicons) { ?>
<div class="platform-icons main-os-icons">
<a class="icon icon-windows" href="/vlc/download-windows.html"></a>
=====================================
www.videolan.org/style/style.scss
=====================================
--- a/www.videolan.org/style/style.scss
+++ b/www.videolan.org/style/style.scss
@@ -340,7 +340,7 @@ html[dir="rtl"] #donate .button {
text-decoration: none;
}
-#downloadDetails
+#downloadDetails, #wscounter
{
padding-left: 3px;
color: white;
@@ -1017,6 +1017,13 @@ img, .normalButton {
padding-top: 10px;
}
+.download-wrapper #wscounter {
+ clear: both;
+ text-align: center;
+ color: #777777;
+ font-size: 12px;
+}
+
.platform-icons.dropdown-menu {
width: 100%;
margin-top: -1px;
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/db296e84b0bf5a10ebdcb78a4c4b0dcd4b5643d4...29fd7db757c50ce1b9a4dc5245da0e47cbdab042
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20160215/b7ddaf8e/attachment.html>
More information about the www-doc
mailing list