Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ekaterina
erp5
Commits
c67c8be7
Commit
c67c8be7
authored
Sep 02, 2019
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: change code familly and not aligne text by default
so that user can overwrite easier in html
parent
69327c62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
17 deletions
+35
-17
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/book.css.css
...l_skins/erp5_corporate_identity/template_css/book.css.css
+12
-8
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/book.pdf.css.css
...ins/erp5_corporate_identity/template_css/book.pdf.css.css
+23
-9
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/book.css.css
View file @
c67c8be7
...
...
@@ -11,9 +11,12 @@
.ci-book
h3
{
font-size
:
6.879167mm
;
/* 19.5pt; */
/* 26px; */
}
.ci-book
.ci-book-header
.ci-book-header-title
,
.ci-book
.ci-book-header
.ci-book-header-title
/*,
.ci-book table thead tr:first-child:nth-last-child(2) th,
.ci-book
table
thead
tr
:first-child:nth-last-child
(
2
)
td
{
.ci-book table thead tr:first-child:nth-last-child(2) td
*/
{
font-size
:
6.35mm
;
/* 18pt; */
/* 24px; */
}
.ci-book
div
.ci-book-box-offer
span
,
...
...
@@ -437,7 +440,7 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
/* opinionated align for content tables, overwrite in html if required */
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
:not
(
.ci-book-table
)
tbody
td
,
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
:not
(
.ci-book-table
)
tbody
th
{
text-align
:
center
;
/*text-align: center;*/
}
/*
.ci-book table:not(.ci-book-header):not(.ci-book-footer):not(.ci-book-table) tbody tr td:first-child,
...
...
@@ -450,11 +453,11 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
}
.ci-book
a
+
table
tbody
tr
td
:first-child
,
.ci-book
a
+
table
tbody
tr
th
:first-child
{
text-align
:
center
;
/*text-align: center;*/
}
.ci-book
a
+
table
tbody
tr
td
:not
(
:first-child
),
.ci-book
a
+
table
tbody
tr
th
:not
(
:first-child
)
{
text-align
:
right
;
/*text-align: right;*/
}
.ci-book
p
+
table
td
a
{
display
:
block
;
...
...
@@ -475,7 +478,7 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
tbody
tr
:first-child
th
{
background-color
:
#e0e0e0
;
font-weight
:
bold
;
text-align
:
center
;
/*text-align: center;*/
}
.ci-book
.ci-book-table
tbody
tr
td
,
.ci-book
.ci-book-table
tbody
tr
th
{
...
...
@@ -494,7 +497,7 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
.ci-book
table
.ci-document-page-header
tbody
tr
td
,
.ci-book
table
.ci-document-page-footer
tbody
tr
td
{
/* background-color: #ffffff !important; */
text-align
:
center
;
/*text-align: center;*/
font-weight
:
100
;
}
.ci-book
table
thead
tr
td
,
...
...
@@ -784,7 +787,8 @@ html .ci-book table td p {
/* === code boxes === */
.ci-book
pre
{
text-align
:
left
;
white-space
:
pre-line
;
font-family
:
TexGyreCursor
;
/*white-space: pre-line;*/
word-wrap
:
break-word
;
padding
:
10px
20px
36px
;
background-color
:
rgb
(
234
,
246
,
246
);
...
...
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/template_css/book.pdf.css.css
View file @
c67c8be7
...
...
@@ -11,9 +11,11 @@
.ci-book
h3
{
font-size
:
6.879167mm
;
/* 19.5pt; */
/* 26px; */
}
.ci-book
.ci-book-header
.ci-book-header-title
,
.ci-book
.ci-book-header
.ci-book-header-title
/*,
.ci-book table thead tr:first-child:nth-last-child(2) th,
.ci-book
table
thead
tr
:first-child:nth-last-child
(
2
)
td
{
.ci-book table thead tr:first-child:nth-last-child(2) td
*/
{
font-size
:
6.35mm
;
/* 18pt; */
/* 24px; */
}
.ci-book
div
.ci-book-box-offer
span
,
...
...
@@ -440,15 +442,26 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
margin
:
initial
;
background-color
:
transparent
!important
;
}
/*
.ci-book table th,
.ci-book table td {
border: 1px solid #a1a1a1;
padding: 0 2mm; text-align: center;
}
*/
.ci-book
table
th
,
.ci-book
table
td
{
border
:
1px
solid
#a1a1a1
;
padding
:
0
2mm
;
text-align
:
center
;
padding
:
0
2mm
;
}
.ci-book
table
th
{
text-align
:
center
;
}
/* opinionated align for content tables, overwrite in html if required */
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
:not
(
.ci-book-table
)
tbody
td
,
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
:not
(
.ci-book-table
)
tbody
th
{
text-align
:
center
;
/*text-align: center;*/
}
/*
.ci-book table:not(.ci-book-header):not(.ci-book-footer):not(.ci-book-table) tbody tr td:first-child,
...
...
@@ -461,11 +474,11 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
}
.ci-book
a
+
table
tbody
tr
td
:first-child
,
.ci-book
a
+
table
tbody
tr
th
:first-child
{
text-align
:
center
;
/*text-align: center;*/
}
.ci-book
a
+
table
tbody
tr
td
:not
(
:first-child
),
.ci-book
a
+
table
tbody
tr
th
:not
(
:first-child
)
{
text-align
:
right
;
/*text-align: right;*/
}
.ci-book
p
+
table
td
a
{
display
:
block
;
...
...
@@ -486,7 +499,7 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
.ci-book
table
:not
(
.ci-book-header
)
:not
(
.ci-book-footer
)
tbody
tr
:first-child
th
{
background-color
:
#e0e0e0
;
font-weight
:
bold
;
text-align
:
center
;
/* text-align: center;*/
}
.ci-book
.ci-book-table
tbody
tr
td
,
.ci-book
.ci-book-table
tbody
tr
th
{
...
...
@@ -505,7 +518,7 @@ NOTE: logos will disappear in wkhtmltopdf if they go beyond the available space
.ci-book
table
.ci-document-page-header
tbody
tr
td
,
.ci-book
table
.ci-document-page-footer
tbody
tr
td
{
/* background-color: #ffffff !important; */
text-align
:
center
;
/*text-align: center;*/
font-weight
:
100
;
}
.ci-book
table
thead
tr
td
,
...
...
@@ -794,8 +807,9 @@ html .ci-book table td p {
/* === code boxes === */
.ci-book
pre
{
text-align
:
left
;
white-space
:
pre-line
;
/*white-space: pre-line;*/
word-wrap
:
break-word
;
font-family
:
TexGyreCursor
;
padding
:
10px
20px
36px
;
background-color
:
rgb
(
234
,
246
,
246
);
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment