Merge pull request #5140 from aymenBox/patch-1

Remove code redundancy
This commit is contained in:
Ylian Saint-Hilaire 2023-05-25 10:16:37 -07:00 committed by GitHub
commit dc6c815cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18367 additions and 18399 deletions

View File

@ -1533,76 +1533,44 @@ a {
opacity: 1; opacity: 1;
} }
.lb1 { /*groups all buttons repeated code into one block*/
background: url(../images/leftbar-64.png) -1px -2px; .lbtg{
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px; height: 62px;
width: 62px; width: 62px;
cursor: pointer; cursor: pointer;
border: none; border: none;
position: absolute; position: absolute;
top: 6px; top: 6px;
left: 6px; left: 6px;
}
.lb1 {
background: url(../images/leftbar-64.png) -1px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
} }
.lb2 { .lb2 {
background: url(../images/leftbar-64.png) -66px -2px; background: url(../images/leftbar-64.png) -66px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x); background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px;
width: 62px;
cursor: pointer;
border: none;
position: absolute;
top: 6px;
left: 6px;
} }
.lb3 { .lb3 {
background: url(../images/leftbar-64.png) -130px -2px; background: url(../images/leftbar-64.png) -130px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x); background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px;
width: 62px;
cursor: pointer;
border: none;
position: absolute;
top: 6px;
left: 6px;
} }
.lb4 { .lb4 {
background: url(../images/leftbar-64.png) -194px -2px; background: url(../images/leftbar-64.png) -194px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x); background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px;
width: 62px;
cursor: pointer;
border: none;
position: absolute;
top: 6px;
left: 6px;
} }
.lb5 { .lb5 {
background: url(../images/leftbar-64.png) -257px -2px; background: url(../images/leftbar-64.png) -257px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x); background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px;
width: 62px;
cursor: pointer;
border: none;
position: absolute;
top: 6px;
left: 6px;
} }
.lb6 { .lb6 {
background: url(../images/leftbar-64.png) -318px -2px; background: url(../images/leftbar-64.png) -318px -2px;
background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x); background-image: image-set(url(../images/leftbar-64.png) 1x, url(../images/leftbar-128.png) 2x);
height: 62px;
width: 62px;
cursor: pointer;
border: none;
position: absolute;
top: 6px;
left: 6px;
} }
.m0 { .m0 {
@ -3278,4 +3246,4 @@ a {
padding: 6px 12px; padding: 6px 12px;
border: 1px solid #ccc; border: 1px solid #ccc;
border-top: none; border-top: none;
} }

File diff suppressed because it is too large Load Diff