Use text for the addUser button in polls
This commit is contained in:
parent
6db5a34323
commit
74985fd0f2
@ -660,7 +660,7 @@ define([
|
|||||||
h('div#cp-app-poll-table-scroll', [h('table')]),
|
h('div#cp-app-poll-table-scroll', [h('table')]),
|
||||||
h('button#cp-app-poll-create-user.btn.btn-secondary', {
|
h('button#cp-app-poll-create-user.btn.btn-secondary', {
|
||||||
title: Msg.poll_create_user
|
title: Msg.poll_create_user
|
||||||
}, h('span.fa.fa-plus')),
|
}, Msg.poll_commit),
|
||||||
h('button#cp-app-poll-create-option.btn.btn-secondary', {
|
h('button#cp-app-poll-create-option.btn.btn-secondary', {
|
||||||
title: Msg.poll_create_option
|
title: Msg.poll_create_option
|
||||||
}, h('span.fa.fa-plus')),
|
}, h('span.fa.fa-plus')),
|
||||||
|
|||||||
@ -234,7 +234,7 @@ define(function () {
|
|||||||
out.poll_admin_button = "Administrer";
|
out.poll_admin_button = "Administrer";
|
||||||
out.poll_create_user = "Ajouter un utilisateur";
|
out.poll_create_user = "Ajouter un utilisateur";
|
||||||
out.poll_create_option = "Ajouter une option";
|
out.poll_create_option = "Ajouter une option";
|
||||||
out.poll_commit = "Valider";
|
out.poll_commit = "Ajouter";
|
||||||
|
|
||||||
out.poll_closeWizardButton = "Fermer l'assistant";
|
out.poll_closeWizardButton = "Fermer l'assistant";
|
||||||
out.poll_closeWizardButtonTitle = "Fermer l'assistant";
|
out.poll_closeWizardButtonTitle = "Fermer l'assistant";
|
||||||
|
|||||||
@ -238,7 +238,7 @@ define(function () {
|
|||||||
out.poll_admin_button = "Admin";
|
out.poll_admin_button = "Admin";
|
||||||
out.poll_create_user = "Add a new user";
|
out.poll_create_user = "Add a new user";
|
||||||
out.poll_create_option = "Add a new option";
|
out.poll_create_option = "Add a new option";
|
||||||
out.poll_commit = "Commit";
|
out.poll_commit = "Submit";
|
||||||
|
|
||||||
out.poll_closeWizardButton = "Close wizard";
|
out.poll_closeWizardButton = "Close wizard";
|
||||||
out.poll_closeWizardButtonTitle = "Close wizard";
|
out.poll_closeWizardButtonTitle = "Close wizard";
|
||||||
|
|||||||
@ -35,6 +35,10 @@
|
|||||||
@poll-option-yellow: #ff5;
|
@poll-option-yellow: #ff5;
|
||||||
@poll-option-gray: #ccc;
|
@poll-option-gray: #ccc;
|
||||||
|
|
||||||
|
@poll-add-color: #fff;
|
||||||
|
@poll-add-bg: #777;
|
||||||
|
@poll-add-bg-alt: #444;
|
||||||
|
|
||||||
.bottom-left(@s: 5px) { border-bottom-left-radius: @s; }
|
.bottom-left(@s: 5px) { border-bottom-left-radius: @s; }
|
||||||
.top-left(@s: 5px) { border-top-left-radius: @s; }
|
.top-left(@s: 5px) { border-top-left-radius: @s; }
|
||||||
|
|
||||||
@ -97,17 +101,29 @@ table#cp-app-poll-table {
|
|||||||
}
|
}
|
||||||
#cp-app-poll-create-user {
|
#cp-app-poll-create-user {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
height: 24px;
|
height: 20px;
|
||||||
padding: 0;
|
padding: 0 5px;
|
||||||
width: 50px;
|
margin: 2px auto;
|
||||||
|
width: auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
color: @poll-add-color;
|
||||||
|
background: @poll-add-bg;
|
||||||
|
&:hover {
|
||||||
|
background: @poll-add-bg-alt;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#cp-app-poll-create-option {
|
#cp-app-poll-create-option {
|
||||||
order: 3;
|
order: 3;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
width: 50px;
|
width: 46px;
|
||||||
height: 24px;
|
height: 20px;
|
||||||
|
margin: 2px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
color: @poll-add-color;
|
||||||
|
background: @poll-add-bg;
|
||||||
|
&:hover {
|
||||||
|
background: @poll-add-bg-alt;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#cp-app-poll-table-scroll {
|
#cp-app-poll-table-scroll {
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user