Browse Source

fixed pager

master
rdrew 3 years ago
parent
commit
49a0eccaad
  1. BIN
      .composer.json.swp
  2. BIN
      .gulpfile.js.swp
  3. BIN
      css/sass/._components.scss.swp
  4. 35
      css/sass/_components.scss
  5. 25
      css/style.css
  6. 2
      css/style.css.map
  7. 4
      gulpfile.js

BIN
.composer.json.swp

Binary file not shown.

BIN
.gulpfile.js.swp

Binary file not shown.

BIN
css/sass/._components.scss.swp

Binary file not shown.

35
css/sass/_components.scss

@ -1,3 +1,32 @@
//pager
.js-pager__items {
position: relative;
position: relative;
margin: 0;
padding: 1rem 0;
list-style: none;
list-style-type: none;
clear: both;
text-align: center;
li {
display: inline-block;
padding: 12px 0;
a {
padding: 8px 14px;
color: #fff;
background: var(--dark);
}
a:hover,
.is-active a {
background: var(--primary);
color: #fff;
}
}
}
.pager__item {
}
//search-bar //search-bar
#edit-submit-dataset-search { #edit-submit-dataset-search {
//display: none; //display: none;
@ -8,10 +37,12 @@ form#views-exposed-form-dataset-search-page-1 {
justify-content: center; justify-content: center;
} }
.js-form-item-search-api-fulltext { .js-form-item-search-api-fulltext {
margin: 0; margin: 0;
} }
input#edit-search-api-fulltext {height: 54px;} input#edit-search-api-fulltext {
height: 54px;
}
/* Components -> Social icons */ /* Components -> Social icons */
.footer-social { .footer-social {
padding: 1rem 0; padding: 1rem 0;

25
css/style.css

@ -749,6 +749,31 @@ ul.page-tabs {
margin-top: 0 !important; margin-top: 0 !important;
} }
.js-pager__items {
position: relative;
position: relative;
margin: 0;
padding: 1rem 0;
list-style: none;
list-style-type: none;
clear: both;
text-align: center;
}
.js-pager__items li {
display: inline-block;
padding: 12px 0;
}
.js-pager__items li a {
padding: 8px 14px;
color: #fff;
background: var(--dark);
}
.js-pager__items li a:hover,
.js-pager__items li .is-active a {
background: var(--primary);
color: #fff;
}
#edit-submit-dataset-search { #edit-submit-dataset-search {
background-color: var(--dark-grey); background-color: var(--dark-grey);
} }

2
css/style.css.map

File diff suppressed because one or more lines are too long

4
gulpfile.js

@ -35,8 +35,8 @@ function bsInit__remote(done) {
rewriteRules: [ rewriteRules: [
{ {
//match: BSREWRITE.Css.Match, //match: BSREWRITE.Css.Match,
match: "/themes/contrib/RDM/css/style.css", match: '/themes/contrib/rdm/css/style.css',
replace: "/css/style.css", replace: '/css/style.css',
//replace: BSREWRITE.Css.Replace, //replace: BSREWRITE.Css.Replace,
}, },
{ {

Loading…
Cancel
Save