styled selectbox
This commit is contained in:
parent
e9ee7d022c
commit
1c61915b53
6 changed files with 38 additions and 10 deletions
|
@ -46,7 +46,7 @@ function password(state) {
|
|||
id="password-input"
|
||||
class="${state.archive.password
|
||||
? ''
|
||||
: 'invisible'} border rounded-sm focus:border-blue-dark leading-normal my-1 py-1 px-2 h-8"
|
||||
: 'invisible'} border rounded focus:border-blue-dark leading-normal my-1 py-1 px-2 h-8"
|
||||
autocomplete="off"
|
||||
maxlength="${MAX_LENGTH}"
|
||||
type="password"
|
||||
|
|
|
@ -14,7 +14,7 @@ module.exports = function(name, url) {
|
|||
<input
|
||||
type="text"
|
||||
id="share-url"
|
||||
class="w-full my-4 border rounded leading-loose h-12 px-2 py-1"
|
||||
class="w-full my-4 border rounded-lg leading-loose h-12 px-2 py-1"
|
||||
value="${url}"
|
||||
readonly="true"
|
||||
/>
|
||||
|
@ -22,7 +22,7 @@ module.exports = function(name, url) {
|
|||
${state.translate('copyUrlFormButton')}
|
||||
</button>
|
||||
<a
|
||||
class="text-blue hover:text-blue-dark focus:text-blue-darker my-4 font-medium cursor-pointer"
|
||||
class="text-blue-dark hover:text-blue-darker focus:text-blue-darker my-4 font-medium cursor-pointer"
|
||||
onclick="${close}"
|
||||
>${state.translate('okButton')}</a
|
||||
>
|
||||
|
|
|
@ -6,7 +6,7 @@ module.exports = function(selected, options, translate, changed, htmlId) {
|
|||
return html`
|
||||
<select
|
||||
id="${htmlId}"
|
||||
class="appearance-none cursor-pointer border rounded-sm bg-grey-lightest hover:border-blue-dark focus:border-blue-dark px-2 py-1 my-1 h-8"
|
||||
class="appearance-none cursor-pointer border rounded bg-grey-lightest hover:border-blue-dark focus:border-blue-dark pl-1 pr-8 py-1 my-1 h-8"
|
||||
onchange="${choose}"
|
||||
>
|
||||
${options.map(
|
||||
|
|
|
@ -25,7 +25,7 @@ module.exports = function(trigger) {
|
|||
<input
|
||||
id="email-input"
|
||||
type="text"
|
||||
class="${hidden} border rounded w-full px-2 py-1 h-12 mb-4 text-lg text-grey-darker leading-loose"
|
||||
class="${hidden} border rounded-lg w-full px-2 py-1 h-12 mb-4 text-lg text-grey-darker leading-loose"
|
||||
placeholder=${state.translate('emailEntryPlaceholder')} />
|
||||
<input
|
||||
class="hidden"
|
||||
|
@ -36,7 +36,7 @@ module.exports = function(trigger) {
|
|||
${state.translate('signInMenuOption')}
|
||||
</label>
|
||||
<button
|
||||
class="my-4 text-blue hover:text-blue-dark focus:text-blue-darker font-medium"
|
||||
class="my-4 text-blue-dark hover:text-blue-darker focus:text-blue-darker font-medium"
|
||||
title="${state.translate('deletePopupCancel')}"
|
||||
onclick=${cancel}>${state.translate('deletePopupCancel')}
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue