aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/template.rtl.css
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2020-05-06 19:55:45 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-06 19:55:45 +0200
commitcc7a784cbe8822d306a2937f08b7665ea82ffb54 (patch)
tree06733ea4b5205ae6f65230d3411e8fac3697768e /p/themes/base-theme/template.rtl.css
parent5e18ca840891cac3087abde47de8481352863602 (diff)
Add/mobile feed configuration (#2938)
* Show subscription management button on mobile * Show aside box-shadow on Origine only when opened * Reduce padding of Origine posts on mobile * Shrink stick component with long input * Show Origine configure icons on mobile * Show the slider full width on mobile * Improve the look of forms on mobile * Fix Ansum theme * Fix BlueLagoon theme * Fix Dark theme * Fix Flat theme * Fix Mapco theme * Fix Origine-compact theme * Fix Pafat theme * Fix Screwdriver theme * Fix Swage theme * Fix Alternative-Dark theme * Apply RTL script on themes Co-authored-by: triatic <42704418+triatic@users.noreply.github.com>
Diffstat (limited to 'p/themes/base-theme/template.rtl.css')
-rw-r--r--p/themes/base-theme/template.rtl.css52
1 files changed, 50 insertions, 2 deletions
diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css
index 638aea6b9..fac75c97b 100644
--- a/p/themes/base-theme/template.rtl.css
+++ b/p/themes/base-theme/template.rtl.css
@@ -219,10 +219,19 @@ td.numeric {
/*=== Buttons */
.stick {
- display: inline-block;
+ display: inline-flex;
+ max-width: 100%;
white-space: nowrap;
}
+.stick > input.long {
+ flex-shrink: 1;
+}
+
+.stick > .btn {
+ flex-shrink: 0;
+}
+
.btn,
a.btn {
display: inline-block;
@@ -1031,6 +1040,10 @@ br {
right: 0;
}
+#close-slider img {
+ display: none;
+}
+
/*=== SLIDESHOW */
/*==============*/
.slides {
@@ -1199,7 +1212,6 @@ input:checked + .slide-container .properties {
@media (max-width: 840px) {
.header,
- .aside .btn-important,
.flux_header .item.website span,
.item.date, .day .date,
.dropdown-menu > .no-mobile,
@@ -1207,6 +1219,18 @@ input:checked + .slide-container .properties {
display: none;
}
+ .form-group {
+ margin-bottom: 10px;
+ }
+
+ .form-group .group-name {
+ float: none;
+ }
+
+ .form-group .group-controls {
+ margin-right: 0;
+ }
+
.dropdown .dropdown-menu {
width: 100%;
border-radius: 0;
@@ -1242,6 +1266,10 @@ input:checked + .slide-container .properties {
width: 90%;
}
+ .aside_feed .configure-feeds {
+ margin-top: 10px;
+ }
+
.flux_header .item.website {
width: 40px;
}
@@ -1274,6 +1302,26 @@ input:checked + .slide-container .properties {
width: 30px;
height: 30px;
}
+
+ #slider.active {
+ right: 0;
+ top: 50px;
+ }
+
+ #close-slider img {
+ display: initial;
+ }
+
+ #close-slider.active {
+ background: #f6f6f6;
+ display: block;
+ width: 100%;
+ height: 50px;
+ z-index: 10;
+ text-align: center;
+ line-height: 50px;
+ border-bottom: 1px solid #ddd;
+ }
}
/*=== PRINTER */