Created
July 8, 2015 07:19
-
-
Save alexxB/7d3623e5fa5fd474f503 to your computer and use it in GitHub Desktop.
Typo3: widget paginator look like bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* video pagination - convert the widget paginator to look like bootstrap pagination */ | |
.f3-widget-paginator { | |
display: inline-block; | |
border-radius: 4px; | |
margin: 20px 0px; | |
padding-left: 0px; | |
text-decoration: none; | |
} | |
.f3-widget-paginator > li { | |
display: inline; | |
} | |
.f3-widget-paginator > li > a, | |
.f3-widget-paginator > li.current { | |
position: relative; | |
float: left; | |
padding: 6px 12px; | |
margin-left: -1px; | |
text-decoration: none; | |
border: 1px solid #DDD; | |
background-color: #FFF; | |
color: #428BCA; | |
} | |
.f3-widget-paginator > li.current | |
{ | |
text-decoration: none; | |
background-color: #428BCA; | |
color: #fff; | |
} | |
.f3-widget-paginator > li > a:hover, | |
.f3-widget-paginator > li > a:focus { | |
text-decoration: none; | |
background-color: #EEE; | |
} | |
.f3-widget-paginator > li:first-child > a, | |
.f3-widget-paginator > li.current:first-child { | |
margin-left: 0px; | |
border-top-left-radius: 4px; | |
border-bottom-left-radius: 4px; | |
} | |
.f3-widget-paginator > li:last-child > a, | |
.f3-widget-paginator > li.current:last-child { | |
border-top-right-radius: 4px; | |
border-bottom-right-radius: 4px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment