add buttons page

This commit is contained in:
Tykayn 2022-03-09 22:41:52 +01:00 committed by tykayn
parent aad31c9d5f
commit e84cfa9194
5 changed files with 1527 additions and 5 deletions

1471
log_boulot.org Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,20 @@
<div class="landing container content">
<div class="columns presentation">
<div class="column">
<section class="buttons contained-in-main-column">
<h1 class="title is-1">titre h1</h1>
<h2 class="title is-2">titre h2</h2>
<h3 class="title is-3">titre h3</h3>
<button class="button is-primary is-disabled">bouton primaire inactif</button>
<button class="button is-primary">bouton primaire</button>
<button class="button is-primary is-thin">bouton primaire fin</button>
<button class="button is-secondary is-disabled">bouton secondaire</button>
<button class="button is-secondary">bouton secondaire</button>
<button class="button is-secondary is-thin">bouton secondaire fin</button>
<button class="button is-action">bouton action</button>
<button class="button is-action">bouton action fin</button>
</section>
<h2 class="title is-2">
{{ 'config.landing_title' | translate }}
</h2>

View File

@ -1,8 +1,8 @@
@import '../../../node_modules/bulma/bulma.sass';
// Import only what you need from Bulma
@import '../../../node_modules/bulma/sass/utilities/_all.sass';
@import '../../../node_modules/bulma/sass/base/_all.sass';
@import '../../../node_modules/bulma/sass/elements/button.sass';
//@import '../../../node_modules/bulma/sass/base/_all.sass';
//@import '../../../node_modules/bulma/sass/elements/button.sass';
@import '../../../node_modules/bulma/sass/elements/container.sass';
@import '../../../node_modules/bulma/sass/elements/title.sass';
@import '../../../node_modules/bulma/sass/form/_all.sass';

View File

@ -1,6 +1,6 @@
.outlined {
&:focus {
outline: black;
outline: #6359cf;
outline-style: solid;
}
}
@ -24,8 +24,31 @@ button {
color: $white;
}
}
&:hover {
outline-color: cadetblue;
}
}
.is-success {
background: #128149;
color: #fff;
}
.is-primary {
background: #6359cf;
color: #fff;
}
.is-disabled {
background: #767486;
color: #fff;
}
.is-secondary {
background: #fff;
color: #6359cf;
border-color: #6359cf;
}
.btn-primary {
@extend .is-primary;
}

View File

@ -82,11 +82,25 @@ textarea {
overflow-x: auto;
@extend .clickable;
}
button,
.button {
font-family: 'Helvetica';
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 20px;
/* identical to box height, or 125% */
text-align: center;
display: inline-block;
padding: 10px 30px;
height: auto;
&.is-thin {
padding: 6px 30px;
font-weight: normal;
font-size: 14px;
line-height: 18px;
}
&.has-no-border {
border: 0;
}