Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b2e40e75
authored
Apr 24, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 画布左侧搜索栏和分页添加完成,解决样式冲突
1 parent
388641f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
72 deletions
public/drawio/extention/js/exSideBar.js
public/drawio/pagination/common/common.css
public/drawio/extention/js/exSideBar.js
View file @
b2e40e7
...
...
@@ -499,7 +499,7 @@
Sidebar
.
prototype
.
createPaginations
=
function
(
id
)
{
let
paginationId
=
id
;
var
divWrapper
=
document
.
createElement
(
"div"
);
divWrapper
.
className
=
`sideBarItemsPaginationWrapper
${
paginationId
}
`
;
divWrapper
.
className
=
`sideBarItemsPaginationWrapper
sideBarItemsPaginationWrapper
${
paginationId
}
`
;
divWrapper
.
style
.
marginTop
=
"8px"
;
var
pagination
=
document
.
createElement
(
"div"
);
pagination
.
className
=
`m-style sideBarItemsPagination
${
paginationId
}
`
;
...
...
public/drawio/pagination/common/common.css
View file @
b2e40e7
...
...
@@ -31,107 +31,108 @@ pre {
/*底部版权*/
footer
{
margin
:
100px
0
50px
300px
;
padding
:
0
20px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-o-box-sizing
:
border-box
;
box-sizing
:
border-box
;
.sideBarItemsPaginationWrapper
footer
{
margin
:
100px
0
50px
300px
;
padding
:
0
20px
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-o-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
footer
p
{
border-top
:
1px
solid
#ebebeb
;
opacity
:
.5
;
filter
:
alpha
(
opacity
=
50
);
text-align
:
right
;
font-size
:
12px
;
line-height
:
3
;
font-family
:
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"\5FAE\8F6F\96C5\9ED1"
,
tahoma
,
arial
,
simsun
,
"\5B8B\4F53"
;
.sideBarItemsPaginationWrapper
footer
p
{
border-top
:
1px
solid
#ebebeb
;
opacity
:
0.5
;
filter
:
alpha
(
opacity
=
50
);
text-align
:
right
;
font-size
:
12px
;
line-height
:
3
;
font-family
:
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"\5FAE\8F6F\96C5\9ED1"
,
tahoma
,
arial
,
simsun
,
"\5B8B\4F53"
;
}
footer
p
a
{
color
:
#000
;
.sideBarItemsPaginationWrapper
footer
p
a
{
color
:
#000
;
}
footer
p
.spe
{
padding
:
0
5px
;
.sideBarItemsPaginationWrapper
footer
p
.spe
{
padding
:
0
5px
;
}
.right-bg
{
position
:
fixed
;
right
:
0
;
top
:
50%
;
margin-top
:
-215px
;
width
:
215px
;
height
:
430px
;
background
:
url('../../image/right_bg.png'
)
no-repeat
;
.
sideBarItemsPaginationWrapper
.
right-bg
{
position
:
fixed
;
right
:
0
;
top
:
50%
;
margin-top
:
-215px
;
width
:
215px
;
height
:
430px
;
background
:
url("../../image/right_bg.png"
)
no-repeat
;
}
/*组件样式*/
table
{
width
:
100%
;
border
:
1px
solid
#CAD3DA
;
.sideBarItemsPaginationWrapper
table
{
width
:
100%
;
border
:
1px
solid
#cad3da
;
}
table
td
{
padding
:
10px
;
width
:
150px
;
border
:
1px
solid
#CAD3DA
;
.sideBarItemsPaginationWrapper
table
td
{
padding
:
10px
;
width
:
150px
;
border
:
1px
solid
#cad3da
;
}
table
thead
tr
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
border-bottom
:
1px
solid
#CAD3DA
;
.sideBarItemsPaginationWrapper
table
thead
tr
{
height
:
40px
;
line-height
:
40px
;
text-align
:
center
;
border-bottom
:
1px
solid
#cad3da
;
}
table
thead
td
{
padding
:
0
;
border-left
:
1px
solid
#CAD3DA
;
background
:
#DFEBFB
;
.sideBarItemsPaginationWrapper
table
thead
td
{
padding
:
0
;
border-left
:
1px
solid
#cad3da
;
background
:
#dfebfb
;
}
table
.explain
{
width
:
500px
;
.sideBarItemsPaginationWrapper
table
.explain
{
width
:
500px
;
}
table
tbody
tr
:nth-child
(
even
)
{
background
:
#E7EFF
9
;
.sideBarItemsPaginationWrapper
table
tbody
tr
:nth-child
(
even
)
{
background
:
#e7eff
9
;
}
.hljs
,
.hljs-subst
{
padding
:
10px
;
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
.sideBarItemsPaginationWrapper
.hljs
,
.hljs-subst
{
padding
:
10px
;
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
}
.method
{
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
.
sideBarItemsPaginationWrapper
.
method
{
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
}
.eg
{
margin
:
20px
0
;
padding
:
10px
;
border
:
1px
dashed
#bdbdbd
;
background
:
#f9f9f9
;
.
sideBarItemsPaginationWrapper
.
eg
{
margin
:
20px
0
;
padding
:
10px
;
border
:
1px
dashed
#bdbdbd
;
background
:
#f9f9f9
;
}
.update-log
.title
{
margin
:
0
;
font-size
:
20px
;
.
sideBarItemsPaginationWrapper
.
update-log
.title
{
margin
:
0
;
font-size
:
20px
;
}
.update-log
ul
li
{
margin
:
5px
0
;
.
sideBarItemsPaginationWrapper
.
update-log
ul
li
{
margin
:
5px
0
;
}
.bad
{
padding
:
0
0
0
10px
;
border
:
1px
dashed
#bdbdbd
;
color
:
#757575
;
background
:
#f9f9f9
;
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
}
*/
\ No newline at end of file
.sideBarItemsPaginationWrapper
.bad
{
padding
:
0
0
0
10px
;
border
:
1px
dashed
#bdbdbd
;
color
:
#757575
;
background
:
#f9f9f9
;
font-family
:
Monaco
,
Consolas
,
"Courier New"
;
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment