11/*
2- * Readium CSS (v. 2.0.0-beta.14 )
2+ * Readium CSS (v. 2.0.0-beta.15 )
33 * Developers: Jiminy Panoz
44 * Copyright (c) 2017. Readium Foundation. All rights reserved.
55 * Use of this source code is governed by a BSD-style license which is detailed in the
@@ -110,6 +110,7 @@ body{
110110: root [style *= "readium-scroll-on" ] body ,
111111: root [style *= "readium-noVerticalPagination-on" ] body {
112112 max-width : var (--RS__defaultLineLength ) !important ;
113+ box-sizing : border-box !important ;
113114}
114115
115116@supports (overflow : clip){
@@ -123,6 +124,26 @@ body{
123124 }
124125}
125126
127+ : root [style *= "readium-scroll-on" ][style *= "--RS__scrollPadding" ] body {
128+ padding : var (--RS__scrollPadding ) !important ;
129+ }
130+
131+ : root [style *= "readium-scroll-on" ][style *= "--RS__scrollPaddingTop" ] body {
132+ padding-top : var (--RS__scrollPaddingTop ) !important ;
133+ }
134+
135+ : root [style *= "readium-scroll-on" ][style *= "--RS__scrollPaddingBottom" ] body {
136+ padding-bottom : var (--RS__scrollPaddingBottom ) !important ;
137+ }
138+
139+ : root [style *= "readium-scroll-on" ][style *= "--RS__scrollPaddingLeft" ] body {
140+ padding-left : var (--RS__scrollPaddingLeft ) !important ;
141+ }
142+
143+ : root [style *= "readium-scroll-on" ][style *= "--RS__scrollPaddingRight" ] body {
144+ padding-right : var (--RS__scrollPaddingRight ) !important ;
145+ }
146+
126147: root [style *= "readium-night-on" ]{
127148
128149 --RS__selectionTextColor : inherit;
0 commit comments