mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
I18N support + minor updates
This commit is contained in:
parent
856d54de3c
commit
18085772c5
@ -14,7 +14,7 @@ h1 {
|
||||
|
||||
// remove paddings of the slideshow
|
||||
&.dynamic__elements__image__elements__elementimage,
|
||||
&.dynamic__elements__flexslider__elements__elementslideshow {
|
||||
&.site__elements__sliderelement {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@ -26,3 +26,9 @@ h1 {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// add top/bottom paddings for basic Include/Content.ss forms
|
||||
.page-content > .form-container {
|
||||
position: relative;
|
||||
padding: ($grid-gutter-height / 2) 0;
|
||||
}
|
||||
|
@ -6,24 +6,33 @@
|
||||
body.shrink {}
|
||||
|
||||
// sticky footer
|
||||
html, body {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
@media (min-width: map-get($grid-breakpoints, "sm")) {
|
||||
html, body {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
min-height: 100%;
|
||||
padding-top: 7.4rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
.wrapper {
|
||||
min-height: 100%;
|
||||
padding-top: $grid-gutter-height;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
height: 2rem;
|
||||
margin-top: -2rem;
|
||||
line-height: 2rem;
|
||||
.site-footer {
|
||||
height: 2rem;
|
||||
margin-top: -2rem;
|
||||
}
|
||||
}
|
||||
|
||||
// element col paddings
|
||||
.col-block {
|
||||
padding: $grid-gutter-height / 4;
|
||||
}
|
||||
|
||||
// rewrite btn opacity on hover
|
||||
.btn {
|
||||
&:hover,
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
6
app/lang/en.yml
Normal file
6
app/lang/en.yml
Normal file
@ -0,0 +1,6 @@
|
||||
en:
|
||||
Page:
|
||||
LOADINGTEXT: "LOADING .."
|
||||
JAVASCRIPTREQUIRED: "Please, enable javascript!"
|
||||
UPGRADEBROWSER: "Upgrade your browser"
|
||||
OUTDATEDBROWSER: "You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today."
|
6
app/lang/ru.yml
Normal file
6
app/lang/ru.yml
Normal file
@ -0,0 +1,6 @@
|
||||
ru:
|
||||
Page:
|
||||
LOADINGTEXT: "ЗАГРУЗКА .."
|
||||
JAVASCRIPTREQUIRED: "Для корректной работы страницы требуется включить Javascript!"
|
||||
UPGRADEBROWSER: "Обновите браузер!"
|
||||
OUTDATEDBROWSER: "Вы используете устаревшую версию браузера. Обновите ваш браузер сейчас для повышения уровня безопасности вашей системы."
|
@ -5,7 +5,7 @@
|
||||
$ElementalArea
|
||||
|
||||
<% if $Form %>
|
||||
<div class="container">
|
||||
<div class="form-container container">
|
||||
$Form
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user