Skip to content

Commit

Permalink
Merge pull request #282 from csidirop/fix/removeUnnecessaryPagination…
Browse files Browse the repository at this point in the history
…Styling

Remove unnecessary styling in gridview
  • Loading branch information
beatrycze-volk authored Mar 21, 2024
2 parents 5f94487 + a923aa6 commit a40bf61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 112 deletions.
111 changes: 0 additions & 111 deletions Resources/Private/Less/modules/gridview.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,117 +57,6 @@
}
}


.tx-dlf-pagegrid .pagination {
position: absolute;
bottom: 15px;
height: 1px;
width: 290px;
left: 50%;
margin-left: -145px;
line-height: 0;
background: green;
.text-hide();
display: flex;
a {
position: absolute;
bottom: 0;
display: none;
width: 40px;
height: 40px;
&:before {
position: absolute;
top: 0;
left: 0;
bottom: -1px;
width: 40px;
height: 40px;
border-radius: 20px;
background-color: white;
content: " ";
}
&:first-child {
display: block;
left: 0;
&:before {
background-position: -240px -80px;
}
}
&:last-child {
display: block;
right: 0;
&:before {
background-position: -280px -80px;
}
}
}
.current {
width: 40px;
height: 40px;
}
@media screen and (min-width: @tabletLandscapeViewportWidth) {
height: 70px;
padding: 15px 0;
font-weight: bold;
font-size: 14px;
line-height: 30px;
color: white;
white-space: nowrap;
width: auto;
margin: 0;
.transform(translateX(-50%));
-moz-font-feature-settings: "lnum";
-webkit-font-feature-settings: "lnum";
font-feature-settings: "lnum";
background: fade(@base-blue, 90%);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
a,
a:first-child,
a:last-child {
color: @base-blue;
position: relative;
display: inline-block;
bottom: auto;
margin: 0 3px;
left: auto;
right: auto;
background: white;
border-radius: 20px;
width: 30px;
height: 30px;
&:before {
display: none;
}
}
li.next, li.previous {
a,
a:first-child,
a:last-child {
width: 60px;
height: 30px;
}
}
}
@media screen and (min-width: @desktopViewportWidth) {
font-size: 18px;
line-height: 40px;
a,
a:first-child,
a:last-child {
width: 40px;
height: 40px;
}
li.next, li.previous {
a,
a:first-child,
a:last-child {
width: 90px;
height: 40px;
}
}
}
}

// Pagination Box
.tx-dlf-pagegrid ul.pagination {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Css/allStyles.css

Large diffs are not rendered by default.

0 comments on commit a40bf61

Please sign in to comment.