Skip to content

Commit 6df6d4b

Browse files
committed
css: added class for zigzag line in grid
1 parent 0d39be8 commit 6df6d4b

File tree

1 file changed

+22
-0
lines changed
  • invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections

1 file changed

+22
-0
lines changed

invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/collections/grid.overrides

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,25 @@
112112
padding-right: 0 !important;
113113
}
114114
}
115+
116+
.ui.grid {
117+
.zigzag {
118+
position: relative;
119+
width: 100%;
120+
padding-top:23px;
121+
height: 1px;
122+
border:0;
123+
}
124+
125+
.zigzag:before {
126+
content:"";
127+
display:block;
128+
position: relative;
129+
top: -21px;
130+
height: 22px;
131+
background: linear-gradient( 45deg, transparent 46px, gray 47px, transparent 45px) 0 0,
132+
linear-gradient(-45deg, transparent 46px, gray 47px, transparent 45px) 0 0;
133+
background-repeat: repeat-x;
134+
background-size:30px 51px;
135+
}
136+
}

0 commit comments

Comments
 (0)