Layout of full add menu

pull/1/head
David Benqué 4 years ago
parent 97eea3a7f0
commit 1cd9808f44

@ -127,14 +127,18 @@
.cp-form-creator-add-full {
display: flex;
align-items: center;
margin-bottom: 20px;
margin: 50px 0px 100px 0px;
&> div:first-child {
border-right: 1px solid black;
border-right: 1px solid fade(@cryptpad_text_col, 25%);
display: flex;
height: 100%;
align-items: center;
padding-right: 10px;
margin-right: 10px;
i {
color: fade(@cryptpad_text_col, 25%);
font-size: 30px;
}
}
.cp-form-creator-control-inline {
display: flex;
@ -143,11 +147,23 @@
button:not(:last-child) {
margin-right: 5px;
}
.cp-form-creator-types:first-child {
.cp-form-creator-types {
button {
border: 0px;
padding:5px;
margin-right: 10px;
i {
font-size: 35px;
line-height: 35px;
}
}
&:first-child {
margin-bottom: 20px;
margin-right: 50px;
}
}
}
}
.cp-form-page + .cp-form-send-container {
margin-top: 10px;

@ -1578,7 +1578,7 @@ define([
h('div.cp-form-creator-types', controls),
h('div.cp-form-creator-types', staticControls)
]);
var add = h('div', Messages.tag_add);
var add = h('div', [h('i.fa.fa-plus')]);
if (!full) {
add = h('button.btn.cp-form-creator-inline-add', {
title: Messages.tag_add

Loading…
Cancel
Save