alltube/css/style.css

743 lines
13 KiB
CSS
Raw Normal View History

2014-03-13 19:07:56 +00:00
body {
2020-10-20 20:32:32 +00:00
background-color: #ebebeb;
background-image: url("../img/fond.jpg");
2020-10-19 22:06:25 +00:00
}
.page {
2020-10-20 20:32:32 +00:00
font-family: "Open Sans", sans-serif;
font-weight: 400;
text-align: center;
2014-03-13 19:07:56 +00:00
}
.small-font {
2020-10-20 20:32:32 +00:00
font-size: 13px;
}
.large-font {
2020-10-20 20:32:32 +00:00
font-size: 24px;
}
2017-06-01 09:18:46 +00:00
/* Header */
2014-03-13 19:07:56 +00:00
header {
2020-10-20 20:32:32 +00:00
padding: 0;
position: absolute;
text-align: right;
top: 0;
width: 100%;
2017-05-31 23:38:35 +00:00
}
2017-05-31 23:38:35 +00:00
.social {
2020-10-20 20:32:32 +00:00
padding-right: 21px;
2017-05-31 23:38:35 +00:00
}
2014-03-13 19:07:56 +00:00
2017-05-31 23:38:35 +00:00
header .social a {
2020-10-20 20:32:32 +00:00
background-position: 0 0;
background-repeat: no-repeat;
float: right;
height: 38px;
margin-left: 13px;
margin-right: 0;
margin-top: 13px;
overflow: hidden;
position: relative;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
width: 38px;
}
2014-03-13 19:07:56 +00:00
header a:focus,
2017-05-31 23:38:35 +00:00
header a:hover {
2020-10-20 20:32:32 +00:00
background-position: 0 100%;
outline: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.share {
2020-10-20 20:32:32 +00:00
background-image: url("../img/share.png");
2017-05-31 23:38:35 +00:00
}
.sharemask {
2020-10-20 20:32:32 +00:00
background-image: url("../img/sharemask.png");
background-position: top left;
background-repeat: no-repeat;
height: 38px;
left: 0;
position: absolute;
top: 0;
width: 38px;
z-index: 10;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.facebook {
2020-10-20 20:32:32 +00:00
background-image: url("../img/facebook.png");
2017-05-31 23:38:35 +00:00
}
2017-05-31 23:38:35 +00:00
.facebookmask {
2020-10-20 20:32:32 +00:00
background-image: url("../img/facebookmask.png");
background-position: top left;
background-repeat: no-repeat;
height: 38px;
left: 0;
position: absolute;
top: 0;
width: 38px;
z-index: 10;
}
2017-05-31 23:38:35 +00:00
.twitter {
2020-10-20 20:32:32 +00:00
background-image: url("../img/twitter.png");
2017-05-31 23:38:35 +00:00
}
2017-05-31 23:38:35 +00:00
.twittermask {
2020-10-20 20:32:32 +00:00
background-image: url("../img/twittermask.png");
background-position: top left;
background-repeat: no-repeat;
height: 38px;
left: 0;
position: absolute;
top: 0;
width: 38px;
z-index: 10;
}
2017-06-01 09:18:46 +00:00
/* Footer */
2014-03-13 19:07:56 +00:00
footer {
2020-10-20 20:32:32 +00:00
background-image: url("../img/fondfooter.png");
background-position: top left;
background-repeat: repeat-x;
bottom: 0;
color: #adadad;
padding-top: 20px;
position: fixed;
text-align: center;
width: 100%;
z-index: 11;
2014-03-13 19:07:56 +00:00
}
.footer_wrapper {
2020-10-20 20:32:32 +00:00
height: 28px;
2014-03-13 19:07:56 +00:00
}
footer a {
2020-10-20 20:32:32 +00:00
color: #adadad;
text-decoration: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2014-03-13 19:07:56 +00:00
}
footer a:focus,
2017-05-31 23:38:35 +00:00
footer a:hover {
2020-10-20 20:32:32 +00:00
color: #f2084a;
outline: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2014-03-13 19:07:56 +00:00
}
2017-06-01 09:18:46 +00:00
/* Home content */
2014-03-13 19:07:56 +00:00
.logo {
2020-10-20 20:32:32 +00:00
padding-bottom: 55px;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.labelurl {
2020-10-20 20:32:32 +00:00
color: #3f3f3f;
font-size: 19px;
position: relative;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.champs {
2020-10-20 20:32:32 +00:00
margin-bottom: 70px;
margin-top: 8px;
position: relative;
2014-03-13 19:07:56 +00:00
}
.downloadBtn {
2020-10-20 20:32:32 +00:00
background-color: #3a3a3a;
border: 3px solid #a5a5a5;
border-radius: 10px;
color: #dedede;
cursor: pointer;
display: inline-block;
font-weight: 800;
padding: 12px 14px;
position: relative;
text-decoration: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2014-05-23 17:47:36 +00:00
}
2014-03-13 19:07:56 +00:00
.downloadBtn:focus,
2017-05-31 23:38:35 +00:00
.downloadBtn:hover {
2020-10-20 20:32:32 +00:00
background-color: #f2084a;
outline: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2014-03-13 19:07:56 +00:00
}
.downloadBtn::-moz-focus-inner {
2020-10-20 20:32:32 +00:00
border: none;
2014-03-13 19:07:56 +00:00
}
.URLinput {
2020-10-20 20:32:32 +00:00
background-color: #fff;
border: 3px solid #a5a5a5;
border-radius: 10px;
color: #3f3f3f;
font-weight: 800;
margin-right: 8px;
min-width: 426px;
padding: 12px 12px 12px 12px;
position: relative;
2014-03-13 19:07:56 +00:00
}
.URLinput:focus {
2020-10-20 20:32:32 +00:00
border-color: #3a3a3a;
outline: none;
2014-03-13 19:07:56 +00:00
}
2020-10-20 20:32:32 +00:00
.URLinput::-webkit-input-placeholder {
color: #c1cfcf;
2014-03-13 19:07:56 +00:00
}
2020-10-20 20:32:32 +00:00
.URLinput:-moz-placeholder {
2020-10-20 20:32:32 +00:00
color: #c1cfcf;
2014-03-13 19:07:56 +00:00
}
.combatiblelink {
2020-10-20 20:32:32 +00:00
background-image: url("../img/compatiblerouage.png");
background-position: 0 100%;
background-repeat: no-repeat;
color: #a5a5a5;
padding-bottom: 10px;
padding-left: 41px;
padding-top: 10px;
position: relative;
text-decoration: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
z-index: 10;
2014-03-13 19:07:56 +00:00
}
.combatiblelink:focus,
2017-05-31 23:38:35 +00:00
.combatiblelink:hover {
2020-10-20 20:32:32 +00:00
background-position: 0 0;
color: #f2084a;
outline: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2015-10-28 10:54:35 +00:00
}
2017-05-31 23:38:35 +00:00
.bookmarklet {
2020-10-20 20:32:32 +00:00
border: 2px dotted;
color: gray;
padding: 10px 30px;
position: relative;
text-decoration: none;
z-index: 10;
2015-10-28 10:54:35 +00:00
}
2017-05-31 23:38:35 +00:00
.mp3 {
2020-10-20 20:32:32 +00:00
background-color: #cecece;
border-radius: 6px;
color: #3f3f3f;
height: 26px;
margin-top: 12px;
position: relative;
text-align: left;
2022-02-03 20:57:00 +00:00
width: 100%;
2014-03-13 19:07:56 +00:00
}
2018-07-03 17:47:35 +00:00
.mp3-inner {
2020-10-20 20:32:32 +00:00
padding: 3px;
2017-05-31 23:38:35 +00:00
}
.audio:not(:checked),
.audio:checked {
2020-10-20 20:32:32 +00:00
left: -9999px;
position: absolute;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:not(:checked) + label,
.audio:checked + label {
2020-10-20 20:32:32 +00:00
cursor: pointer;
line-height: 20px;
padding-left: 82px;
position: relative;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:not(:checked) + label:before,
.audio:checked + label:before,
.audio:not(:checked) + label:after,
.audio:checked + label:after {
2020-10-20 20:32:32 +00:00
content: "";
position: absolute;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:not(:checked) + label:before,
.audio:checked + label:before {
2020-10-20 20:32:32 +00:00
background: #ffffff;
border-radius: 6px;
height: 20px;
left: 0;
top: -1px;
-webkit-transition: background-color 0.2s;
-moz-transition: background-color 0.2s;
-o-transition: background-color 0.2s;
transition: background-color 0.2s;
width: 45px;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:not(:checked) + label:after,
.audio:checked + label:after {
2020-10-20 20:32:32 +00:00
background: #3a3a3a;
border-radius: 6px;
height: 16px;
left: 2px;
top: 1px;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
width: 16px;
2017-05-31 23:38:35 +00:00
}
.audio:focus + label {
2020-10-20 20:32:32 +00:00
color: black;
2017-05-31 23:38:35 +00:00
}
/* on checked */
.audio:checked + label:before {
2020-10-20 20:32:32 +00:00
background: #f2084a;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:checked + label:after {
2020-10-20 20:32:32 +00:00
background: #fff;
left: 27px;
top: 1px;
2017-05-31 23:38:35 +00:00
}
.audio:checked + label .ui,
.audio:not(:checked) + label .ui:before,
.audio:checked + label .ui:after {
2020-10-20 20:32:32 +00:00
border-radius: 15px;
font-size: 11px;
font-weight: bold;
height: 20px;
left: 3px;
line-height: 17px;
position: absolute;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
width: 45px;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:not(:checked) + label .ui:before {
2020-10-20 20:32:32 +00:00
background-image: url("../img/mp3hover.png");
background-position: right top;
background-repeat: no-repeat;
content: "no";
left: 0;
min-width: 56px;
padding-left: 23px;
padding-top: 2px;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
2017-05-31 23:38:35 +00:00
}
2020-10-20 20:32:32 +00:00
2017-05-31 23:38:35 +00:00
.audio:checked + label .ui:after {
2020-10-20 20:32:32 +00:00
background-image: url("../img/mp3.png");
background-position: right top;
background-repeat: no-repeat;
color: #fff;
content: "yes";
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
width: 73px;
}
2014-03-13 19:07:56 +00:00
2018-07-03 17:47:35 +00:00
.seekOptions {
2020-10-20 20:32:32 +00:00
display: none;
margin-top: 15px;
text-align: center;
2018-07-03 17:47:35 +00:00
}
2014-03-13 19:07:56 +00:00
2018-07-03 17:47:35 +00:00
.audio:checked ~ .seekOptions {
2020-10-20 20:32:32 +00:00
display: block;
2018-07-03 17:47:35 +00:00
}
2014-03-13 19:07:56 +00:00
2017-04-24 23:53:38 +00:00
/* Playlists */
.playlist-entry .thumb {
2020-10-20 20:32:32 +00:00
float: left;
margin-right: 1em;
2017-04-24 23:53:38 +00:00
}
2014-03-13 19:07:56 +00:00
2017-07-03 10:27:31 +00:00
.playlist-entry {
2020-10-20 20:32:32 +00:00
clear: both;
padding-top: 2em;
text-align: left;
width: 600px;
2017-04-24 23:53:38 +00:00
}
2014-03-13 19:07:56 +00:00
2017-06-01 09:38:35 +00:00
.playlist-entry-title {
2020-10-20 20:32:32 +00:00
margin-top: 0;
2017-04-24 23:53:38 +00:00
}
2014-03-13 19:07:56 +00:00
2017-06-01 09:38:35 +00:00
.playlist-entry-title a {
2020-10-20 20:32:32 +00:00
text-decoration: none;
2017-04-24 23:53:38 +00:00
}
2014-03-13 19:07:56 +00:00
2017-06-01 09:38:35 +00:00
.playlist-entry-title a:hover {
2020-10-20 20:32:32 +00:00
text-decoration: underline;
2017-04-24 23:53:38 +00:00
}
.playlist-entry .downloadBtn {
2020-10-20 20:32:32 +00:00
border-width: 2px;
font-size: 16px;
2017-04-24 23:53:38 +00:00
}
2014-03-13 19:07:56 +00:00
2017-06-01 09:18:46 +00:00
/* Supported websites list */
2014-03-13 19:07:56 +00:00
2017-05-31 23:38:35 +00:00
.logobis {
2020-10-20 20:32:32 +00:00
height: 107px;
margin: 0 auto 10px auto;
position: relative;
width: 447px;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.logocompatible {
2020-10-20 20:32:32 +00:00
background-image: url("../img/logocompatible.png");
background-position: 0 0;
background-repeat: repeat-y;
display: block;
height: 107px;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
width: 447px;
2014-03-13 19:07:56 +00:00
}
.logocompatible:focus,
.logocompatible:hover {
2020-10-20 20:32:32 +00:00
background-position: 0 100%;
outline: none;
-webkit-transition: all 0.1s ease-in;
-moz-transition: all 0.1s ease-in;
-o-transition: all 0.1s ease-in;
2017-05-31 23:38:35 +00:00
}
2014-03-13 19:07:56 +00:00
2017-05-31 23:38:35 +00:00
.logocompatiblemask {
2020-10-20 20:32:32 +00:00
background-image: url("../img/logocompatiblemask.png");
background-position: 0 100%;
background-repeat: no-repeat;
height: 107px;
left: 0;
position: absolute;
top: 0;
width: 447px;
z-index: 10;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.titre {
2020-10-20 20:32:32 +00:00
color: #383838;
font-family: "Open Sans", sans-serif;
font-size: 48px;
font-weight: 300;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.tripleliste {
2020-10-20 20:32:32 +00:00
margin-left: auto;
margin-right: auto;
margin-top: 80px;
position: relative;
width: 800px;
2014-03-13 19:07:56 +00:00
}
2017-05-31 23:38:35 +00:00
.tripleliste ul {
2020-10-20 20:32:32 +00:00
margin-bottom: 1em;
margin-left: 120px;
width: 600px;
2017-05-31 23:38:35 +00:00
}
2014-03-13 19:07:56 +00:00
2017-05-31 23:38:35 +00:00
.tripleliste ul li {
2020-10-20 20:32:32 +00:00
color: #383838;
float: left;
list-style-type: none;
position: relative;
text-align: left;
width: 200px;
2014-03-13 19:07:56 +00:00
}
html,
body {
2020-10-20 20:32:32 +00:00
height: 100%;
margin: 0;
2014-03-13 19:07:56 +00:00
}
2020-10-20 20:32:32 +00:00
2014-03-13 19:07:56 +00:00
.wrapper {
2020-10-20 20:32:32 +00:00
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: table;
height: 100%;
margin: auto;
padding-bottom: 110px;
2014-03-13 19:07:56 +00:00
}
2020-10-20 20:32:32 +00:00
2014-03-13 19:07:56 +00:00
.main {
2020-10-20 20:32:32 +00:00
display: table-cell;
vertical-align: middle;
2014-03-13 19:07:56 +00:00
}
.extractors {
2020-10-20 20:32:32 +00:00
padding-top: 60px;
2014-03-13 19:07:56 +00:00
}
.extractors .wrapper {
2020-10-20 20:32:32 +00:00
padding-bottom: 5em;
2014-03-13 19:07:56 +00:00
}
.logocompatible,
.social a {
2020-10-20 20:32:32 +00:00
font-size: 0;
text-decoration: none;
2014-03-13 19:07:56 +00:00
}
.social a {
2020-10-20 20:32:32 +00:00
color: #d1d1d1;
2014-03-13 19:07:56 +00:00
}
2020-10-20 20:32:32 +00:00
2014-03-13 19:07:56 +00:00
.logocompatible {
2020-10-20 20:32:32 +00:00
color: #4f4f4f;
2014-03-13 19:07:56 +00:00
}
h1 {
2020-10-20 20:32:32 +00:00
margin: 0;
2014-03-13 19:07:56 +00:00
}
.error {
2020-10-20 20:32:32 +00:00
max-width: 100ex;
2014-03-13 19:07:56 +00:00
}
.error p {
2020-10-20 20:32:32 +00:00
text-align: justify;
2014-03-13 19:07:56 +00:00
}
.smaller {
2020-10-20 20:32:32 +00:00
font-size: smaller;
2014-03-13 19:07:56 +00:00
}
.thumb {
2020-10-20 20:32:32 +00:00
max-width: 700px;
2022-02-06 18:17:05 +00:00
height: auto;
2014-03-13 19:07:56 +00:00
}
2014-05-23 17:11:03 +00:00
.format {
2020-10-20 20:32:32 +00:00
text-align: left;
2014-05-23 17:11:03 +00:00
}
.best {
2020-10-20 20:32:32 +00:00
margin-bottom: 1em;
}
.monospace {
2020-10-20 20:32:32 +00:00
font-family: monospace;
}
.customBitrate {
2020-10-20 20:32:32 +00:00
width: 6ex;
}
2017-05-30 20:20:16 +00:00
.locales {
2020-10-20 20:32:32 +00:00
float: left;
padding-left: 1em;
padding-top: 1em;
text-align: left;
2017-05-31 23:04:39 +00:00
}
.locales a,
.locales a:visited {
2020-10-20 20:32:32 +00:00
color: #696969;
text-decoration: none;
2017-05-31 23:04:39 +00:00
}
.supportedLocales {
2020-10-20 20:32:32 +00:00
background-color: #fff;
list-style-type: none;
margin: 0;
opacity: 0;
padding-left: 0;
transition: visibility 0.5s;
visibility: hidden;
2017-05-31 23:04:39 +00:00
}
.supportedLocales li {
2020-10-20 20:32:32 +00:00
border-bottom: thin solid #e1e1e1;
2017-06-01 08:59:37 +00:00
}
.supportedLocales li:last-child {
2020-10-20 20:32:32 +00:00
border-bottom: none;
2017-05-31 23:04:39 +00:00
}
.supportedLocales li a {
2020-10-20 20:32:32 +00:00
display: block;
padding: 1em 2em 1em 1em;
2017-05-31 23:04:39 +00:00
}
.supportedLocales li:hover {
2020-10-20 20:32:32 +00:00
background-color: #cecece;
2017-05-31 23:04:39 +00:00
}
.localesBtn {
2020-10-20 20:32:32 +00:00
background-color: transparent;
border: none;
cursor: pointer;
display: inline-block;
padding: 1em;
2017-05-31 23:04:39 +00:00
}
.localesBtn:focus {
2020-10-20 20:32:32 +00:00
background-color: #fff;
pointer-events: none;
2017-05-31 23:04:39 +00:00
}
.localesBtn:focus + .supportedLocales {
2020-10-20 20:32:32 +00:00
opacity: 1;
visibility: visible;
2017-05-30 20:20:16 +00:00
}
2014-03-13 19:07:56 +00:00
@media (max-width: 640px) {
2020-10-20 20:32:32 +00:00
.formats,
.thumb {
width: 90%;
}
.URLinput {
min-width: 0;
}
.logo {
max-width: 330px;
}
.logocompatible,
.logocompatible img {
max-width: 447px;
}
.logocompatible,
.logo,
.champs,
.URLinput,
.mp3 {
height: auto;
margin: auto;
width: 90%;
}
.logo {
margin-top: 50px;
}
.logocompatible img {
height: auto;
width: 100%;
}
.downloadBtn {
margin-top: 0.3em;
}
.mp3 {
margin-bottom: 1em;
}
footer {
display: none;
}
.tripleliste ul,
.tripleliste {
margin-left: auto;
margin-top: auto;
width: auto;
}
.logocompatiblemask {
background: none;
}
.logocompatible {
background-color: #4f4f4f;
background-image: none;
height: auto;
}
.logocompatiblemask,
.logobis {
width: auto;
}
.logocompatiblemask {
position: static;
}
.logobis {
height: auto;
}
.titre {
margin: auto;
}
.error p {
padding: 0.5em;
text-align: left;
}
.playlist-entry {
text-align: center;
width: auto;
}
.playlist-entry .thumb {
float: none;
margin-right: 0;
}
2014-03-13 19:07:56 +00:00
}
@media all and (display-mode: standalone) {
2020-10-20 20:32:32 +00:00
.bookmarklet_wrapper {
display: none;
}
}
/* Visually hidden, displays content only to screen-readers */
.sr-only {
2020-10-20 20:32:32 +00:00
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}