Skip to content

Commit 1293135

Browse files
committed
Remove shorthand for scrollPadding
It will not be used anyway, and is creating unintended side-effects. Adding build to test script because I got caught by the cache in the previous commit…
1 parent 5b1f9bd commit 1293135

19 files changed

Lines changed: 36 additions & 76 deletions

css/dist/ReadiumCSS-after.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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
@@ -117,23 +117,19 @@ body{
117117
}
118118
}
119119

120-
:root[style*="readium-scroll-on"][style~="--RS__scrollPadding"] body{
121-
padding:var(--RS__scrollPadding) !important;
122-
}
123-
124-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingTop"] body{
120+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{
125121
padding-top:var(--RS__scrollPaddingTop) !important;
126122
}
127123

128-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingBottom"] body{
124+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{
129125
padding-bottom:var(--RS__scrollPaddingBottom) !important;
130126
}
131127

132-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingLeft"] body{
128+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{
133129
padding-left:var(--RS__scrollPaddingLeft) !important;
134130
}
135131

136-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingRight"] body{
132+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{
137133
padding-right:var(--RS__scrollPaddingRight) !important;
138134
}
139135

css/dist/ReadiumCSS-before.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/cjk-horizontal/ReadiumCSS-after.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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
@@ -117,23 +117,19 @@ body{
117117
}
118118
}
119119

120-
:root[style*="readium-scroll-on"][style~="--RS__scrollPadding"] body{
121-
padding:var(--RS__scrollPadding) !important;
122-
}
123-
124-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingTop"] body{
120+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{
125121
padding-top:var(--RS__scrollPaddingTop) !important;
126122
}
127123

128-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingBottom"] body{
124+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{
129125
padding-bottom:var(--RS__scrollPaddingBottom) !important;
130126
}
131127

132-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingLeft"] body{
128+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{
133129
padding-left:var(--RS__scrollPaddingLeft) !important;
134130
}
135131

136-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingRight"] body{
132+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{
137133
padding-right:var(--RS__scrollPaddingRight) !important;
138134
}
139135

css/dist/cjk-horizontal/ReadiumCSS-before.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/cjk-horizontal/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/cjk-vertical/ReadiumCSS-after.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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
@@ -124,23 +124,19 @@ body{
124124
}
125125
}
126126

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{
127+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{
132128
padding-top:var(--RS__scrollPaddingTop) !important;
133129
}
134130

135-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingBottom"] body{
131+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{
136132
padding-bottom:var(--RS__scrollPaddingBottom) !important;
137133
}
138134

139-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingLeft"] body{
135+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{
140136
padding-left:var(--RS__scrollPaddingLeft) !important;
141137
}
142138

143-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingRight"] body{
139+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{
144140
padding-right:var(--RS__scrollPaddingRight) !important;
145141
}
146142

css/dist/cjk-vertical/ReadiumCSS-before.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/cjk-vertical/ReadiumCSS-default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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

css/dist/rtl/ReadiumCSS-after.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Readium CSS (v. 2.0.0-beta.16)
2+
* Readium CSS (v. 2.0.0-beta.17)
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
@@ -117,23 +117,19 @@ body{
117117
}
118118
}
119119

120-
:root[style*="readium-scroll-on"][style~="--RS__scrollPadding"] body{
121-
padding:var(--RS__scrollPadding) !important;
122-
}
123-
124-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingTop"] body{
120+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{
125121
padding-top:var(--RS__scrollPaddingTop) !important;
126122
}
127123

128-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingBottom"] body{
124+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{
129125
padding-bottom:var(--RS__scrollPaddingBottom) !important;
130126
}
131127

132-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingLeft"] body{
128+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{
133129
padding-left:var(--RS__scrollPaddingLeft) !important;
134130
}
135131

136-
:root[style*="readium-scroll-on"][style~="--RS__scrollPaddingRight"] body{
132+
:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{
137133
padding-right:var(--RS__scrollPaddingRight) !important;
138134
}
139135

0 commit comments

Comments
 (0)