Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1885cba

Browse files
committed
Merge pull request #3067 from k-nut/2399-pagination-styling
Fix pagination style (CSS)
2 parents eefe7bf + 617de3e commit 1885cba

2 files changed

Lines changed: 15 additions & 44 deletions

File tree

ckan/public/base/css/main.css

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5560,9 +5560,6 @@ a.tag:hover {
55605560
.js .tab-content.active {
55615561
display: block;
55625562
}
5563-
.js .automatic-local-datetime {
5564-
display: none;
5565-
}
55665563
.box {
55675564
background-color: #FFF;
55685565
border: 1px solid #cccccc;
@@ -5633,11 +5630,6 @@ a.tag:hover {
56335630
font-weight: bold;
56345631
color: #000000;
56355632
}
5636-
.module .pagination {
5637-
height: 34px;
5638-
margin-bottom: 0;
5639-
border-top: 1px solid #dddddd;
5640-
}
56415633
.module-content .pagination {
56425634
margin-left: -25px;
56435635
margin-right: -25px;
@@ -5653,8 +5645,8 @@ a.tag:hover {
56535645
border: 0;
56545646
}
56555647
.module .pagination li a {
5656-
border-top: none;
5657-
border-bottom: none;
5648+
border-top: 1px solid #dddddd;
5649+
border-bottom: 1px solid #dddddd;
56585650
padding-top: 7px;
56595651
padding-bottom: 7px;
56605652
}
@@ -5664,16 +5656,6 @@ a.tag:hover {
56645656
-moz-border-radius: 0;
56655657
border-radius: 0;
56665658
}
5667-
.module .pagination li:first-child a {
5668-
border-left-width: 0;
5669-
}
5670-
.module .pagination li:last-child a {
5671-
border-right-width: 0;
5672-
}
5673-
.module .pagination li.active a {
5674-
border-left-width: 1px;
5675-
border-right-width: 1px;
5676-
}
56775659
.module-content-shallow {
56785660
padding: 0;
56795661
margin-top: 10px;
@@ -8398,9 +8380,15 @@ h4 small {
83988380
padding: 0 10px;
83998381
line-height: 31px;
84008382
}
8401-
.account-masthead .account ul li a span.username {
8383+
.account-masthead .account ul li a span.username,
8384+
.account-masthead .account ul li a span.text {
84028385
margin: 0 2px 0 4px;
84038386
}
8387+
.account-masthead .account ul li a span.text {
8388+
position: absolute;
8389+
top: -9999px;
8390+
left: -9999px;
8391+
}
84048392
.account-masthead .account ul li a:hover {
84058393
color: #d9e7eb;
84068394
background-color: #00232e;
@@ -8413,20 +8401,22 @@ h4 small {
84138401
vertical-align: 1px;
84148402
margin-left: 3px;
84158403
}
8416-
.account-masthead .account .notifications a span {
8404+
.account-masthead .account .notifications a span.badge {
84178405
font-size: 12px;
84188406
margin-left: 3px;
84198407
padding: 1px 6px;
84208408
background-color: #00232e;
84218409
-webkit-border-radius: 4px;
84228410
-moz-border-radius: 4px;
84238411
border-radius: 4px;
8412+
text-shadow: none;
8413+
color: #bfd7de;
84248414
}
84258415
.account-masthead .account .notifications a:hover span {
84268416
color: #ffffff;
84278417
background-color: #000f14;
84288418
}
8429-
.account-masthead .account .notifications.notifications-important a span {
8419+
.account-masthead .account .notifications.notifications-important a span.badge {
84308420
color: #ffffff;
84318421
background-color: #c9403a;
84328422
}

ckan/public/base/less/module.less

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@
5757
color: @layoutBoldColor;
5858
}
5959

60-
.module .pagination {
61-
height: 34px;
62-
margin-bottom: 0;
63-
border-top: 1px solid @moduleHeadingBorderColor;
64-
}
65-
6660
.module-content .pagination {
6761
margin-left: -25px;
6862
margin-right: -25px;
@@ -76,8 +70,8 @@
7670
}
7771

7872
.module .pagination li a {
79-
border-top: none;
80-
border-bottom: none;
73+
border-top: 1px solid @moduleHeadingBorderColor;;
74+
border-bottom: 1px solid @moduleHeadingBorderColor;;
8175
padding-top: 7px;
8276
padding-bottom: 7px;
8377
}
@@ -87,19 +81,6 @@
8781
.border-radius(0);
8882
}
8983

90-
.module .pagination li:first-child a {
91-
border-left-width: 0;
92-
}
93-
94-
.module .pagination li:last-child a {
95-
border-right-width: 0;
96-
}
97-
98-
.module .pagination li.active a {
99-
border-left-width: 1px;
100-
border-right-width: 1px;
101-
}
102-
10384
.module-content-shallow {
10485
padding: 0;
10586
margin-top: 10px;

0 commit comments

Comments
 (0)