add option to set input style
This commit is contained in:
parent
72da9f00c7
commit
4395cd9b69
|
@ -85,6 +85,7 @@ summaryLength = 70 # number of words for article summaries
|
||||||
navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circles"
|
navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circles"
|
||||||
enableShadow = false # shows a shadow around some elements
|
enableShadow = false # shows a shadow around some elements
|
||||||
menuStyle = "standard" # changes the style of the main site navigation menu, available styles are: "standard", "buttons"
|
menuStyle = "standard" # changes the style of the main site navigation menu, available styles are: "standard", "buttons"
|
||||||
|
inputStyle = "standard" # changes the style of inputs (like the searchbar), available styles are: "standard", "buttons"
|
||||||
|
|
||||||
enableSearch = true # enable search page
|
enableSearch = true # enable search page
|
||||||
searchbarEverywhere = true # if the searchbar should be shown in every page; requires enableSearch
|
searchbarEverywhere = true # if the searchbar should be shown in every page; requires enableSearch
|
||||||
|
|
|
@ -713,7 +713,7 @@ a.buttonTag {
|
||||||
}
|
}
|
||||||
|
|
||||||
input, textarea, textarea.cactus-editor-textarea {
|
input, textarea, textarea.cactus-editor-textarea {
|
||||||
{{ if (site.Params.paperCards | default false) }}
|
{{ if (eq (site.Params.inputStyle | default "standard") "buttons") }}
|
||||||
@include buttonLike;
|
@include buttonLike;
|
||||||
{{ else }}
|
{{ else }}
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
|
@ -741,7 +741,7 @@ input, textarea, textarea.cactus-editor-textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
.cactus-login-form {
|
.cactus-login-form {
|
||||||
{{ if (.Site.Params.paperCards | default false) }}
|
{{ if (eq (site.Params.inputStyle | default "standard") "buttons") }}
|
||||||
border-radius: $border_radius;
|
border-radius: $border_radius;
|
||||||
{{ else }}
|
{{ else }}
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
@ -806,7 +806,7 @@ input, textarea, textarea.cactus-editor-textarea {
|
||||||
width: 450px;
|
width: 450px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: $margin;
|
padding: $margin;
|
||||||
{{ if (.Site.Params.paperCards | default false) }}
|
{{ if (eq (site.Params.inputStyle | default "standard") "buttons") }}
|
||||||
border-radius: $border_radius;
|
border-radius: $border_radius;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
h1, h2, h3, h4 {
|
h1, h2, h3, h4 {
|
||||||
|
|
Loading…
Reference in New Issue