Adjust space between buttons in the home page

pull/1/head
yflory 8 years ago
parent e607ba5dad
commit bed49d0b26

@ -73,14 +73,7 @@
<div id="data"> <div id="data">
<p class="left" data-localization="main_p1"><!-- Zero Knowledge collaborative realtime editor. Protected from the NSA. --></p> <p class="left" data-localization="main_p1"><!-- Zero Knowledge collaborative realtime editor. Protected from the NSA. --></p>
<div id="buttons" class="buttons"> <div id="buttons" class="buttons"><button class="btn btn-secondary nologin" data-localization="login_nologin"></button></div>
<!--<button class="btn btn-secondary knowmore">Know more</button>-->
<!--<button class="btn btn-secondary tryit">Discover our tools</button>-->
<!--<br>-->
<button class="btn btn-secondary nologin" data-localization="login_nologin"></button>
<!--<button class="btn btn-success nologin">Make a pad right now</button>-->
<!--<p class="buttons"></p>-->
</div>
</div> </div>

@ -836,7 +836,7 @@ html.cp,
} }
.cp #main #userForm button.half, .cp #main #userForm button.half,
.cp #main_other #userForm button.half { .cp #main_other #userForm button.half {
width: calc(50% - 4px); width: calc(50% - 2px);
} }
.cp #main #userForm button.half:not(.first), .cp #main #userForm button.half:not(.first),
.cp #main_other #userForm button.half:not(.first) { .cp #main_other #userForm button.half:not(.first) {
@ -894,6 +894,10 @@ html.cp,
cursor: pointer; cursor: pointer;
margin-top: 10px; margin-top: 10px;
} }
.cp p.buttons .dropdown-bar,
.cp div.buttons .dropdown-bar {
margin-left: 4px;
}
.cp #fileManagerIframe { .cp #fileManagerIframe {
width: 100%; width: 100%;
height: 500px; height: 500px;

@ -6,14 +6,7 @@
<div id="data"> <div id="data">
<p class="left" data-localization="main_p1"><!-- Zero Knowledge collaborative realtime editor. Protected from the NSA. --></p> <p class="left" data-localization="main_p1"><!-- Zero Knowledge collaborative realtime editor. Protected from the NSA. --></p>
<div id="buttons" class="buttons"> <div id="buttons" class="buttons"><button class="btn btn-secondary nologin" data-localization="login_nologin"></button></div>
<!--<button class="btn btn-secondary knowmore">Know more</button>-->
<!--<button class="btn btn-secondary tryit">Discover our tools</button>-->
<!--<br>-->
<button class="btn btn-secondary nologin" data-localization="login_nologin"></button>
<!--<button class="btn btn-success nologin">Make a pad right now</button>-->
<!--<p class="buttons"></p>-->
</div>
</div> </div>

@ -396,7 +396,7 @@ body.html {
margin: 2px 0px; margin: 2px 0px;
cursor: pointer; cursor: pointer;
&.half { &.half {
width: ~"calc(50% - 4px)"; width: ~"calc(50% - 2px)";
&:not(.first) { &:not(.first) {
float: right; float: right;
} }
@ -445,6 +445,9 @@ p.buttons, div.buttons {
cursor: pointer; cursor: pointer;
margin-top: 10px; margin-top: 10px;
} }
.dropdown-bar {
margin-left: 4px;
}
} }
#fileManagerIframe { #fileManagerIframe {

Loading…
Cancel
Save