mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Change some scss to style the checkbox
This commit is contained in:
parent
8d93b03f50
commit
2c30c33861
2 changed files with 78 additions and 18 deletions
|
@ -141,12 +141,10 @@ Response::setMetaDescription("Put your content on the blockchain, experience tru
|
||||||
<p>LBRY offers a single-click sync process<br>for existing YouTubers</p>
|
<p>LBRY offers a single-click sync process<br>for existing YouTubers</p>
|
||||||
<form class="form" id="sync" method="post" action="http://api.lbry.io/yt/connect">
|
<form class="form" id="sync" method="post" action="http://api.lbry.io/yt/connect">
|
||||||
<div class="form-inner">
|
<div class="form-inner">
|
||||||
<div class="block">
|
|
||||||
<input type="text" hidden name="type" value="sync"/>
|
<input type="text" hidden name="type" value="sync"/>
|
||||||
</div>
|
|
||||||
<div class="block">
|
<input id="immediate-sync" name="immediate_sync" type="checkbox" value="true"/><label class="block full" for="immediate-sync">I want to sync my content.</label>
|
||||||
<input name="immediate_sync" type="checkbox" value="true"/>I want to sync my content.
|
|
||||||
</div>
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<input type="submit" value="Sync Now"/>
|
<input type="submit" value="Sync Now"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -675,22 +675,50 @@ header .right a.github {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.button {
|
form {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 40px 0 0 0;
|
margin: 60px 0 0 0;
|
||||||
a {
|
}
|
||||||
float: none;
|
.form-inner {
|
||||||
display: block;
|
float: none;
|
||||||
text-decoration: none;
|
width: 446px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.block {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.error {
|
||||||
|
position: absolute;
|
||||||
|
top: 100%;
|
||||||
|
left: 0;
|
||||||
|
font: normal 400 14px/40px 'metropolis-medium';
|
||||||
|
color: #E2495E;
|
||||||
|
}
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
text-indent: 15px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
float: left;
|
||||||
|
height: 50px;
|
||||||
|
border-radius: 25px;
|
||||||
|
font: normal 400 16px/50px 'metropolis-medium';
|
||||||
|
&[type="text"] {
|
||||||
|
width: 306px;
|
||||||
|
background: #FFF;
|
||||||
|
text-indent: 32px;
|
||||||
|
}
|
||||||
|
&[type="submit"] {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 50px;
|
background: #2F3C5C;
|
||||||
background: #45B0AF;
|
|
||||||
margin: 0 auto;
|
|
||||||
border-radius: 25px;
|
|
||||||
font: normal 400 16px/50px 'metropolis-medium';
|
|
||||||
text-align: center;
|
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
|
margin: 0 0 0 20px;
|
||||||
-webkit-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
-webkit-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
-moz-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
-moz-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
@ -699,9 +727,43 @@ header .right a.github {
|
||||||
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
}
|
}&[type="checkbox"] {
|
||||||
|
height: 50px;
|
||||||
|
margin: 6px 8px 0 0;
|
||||||
|
border-radius: 0;
|
||||||
|
&[readonly] {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.error {
|
||||||
|
font: normal 400 14px/40px 'metropolis-medium';
|
||||||
|
color: #E2495E;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
float: left;
|
||||||
|
height: 50px;
|
||||||
|
background: #2F3C5C;
|
||||||
|
border-radius: 25px;
|
||||||
|
padding: 0 20px;
|
||||||
|
font: normal 400 16px/50px 'metropolis-medium';
|
||||||
|
color: #FFF;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
-moz-box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
transition: box-shadow 0.3s;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #45B0AF;
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
-moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- CONTACT --- */
|
/* --- CONTACT --- */
|
||||||
|
|
Loading…
Add table
Reference in a new issue