fix(css): drop only flexslider.css, keep its JS
Surgical follow-up to the previous revert. The home-carousel indicator
dots drift because flexslider.css adds `.carousel li { margin-right: 5px }`
which bleeds into Bootstrap's carousel-indicators li. Bootstrap's
.active override removes margin on the active dot, but the inactive
keeps that 5px right margin — so when the inactive sits on the left
(slide 2 active), it pushes the active dot ~4px to the right.
The previous attempt also removed jquery.flexslider-min.js, which
empirically broke the hero/team carousels (the JS load seems to
participate in Bootstrap's data-ride auto-init timing on this custom
build). Keep the JS, drop only the CSS link plus the static file. Also
remove the now-superseded stage tweak at the bottom of praxis.css.
This commit is contained in:
+7
-23
@@ -1631,7 +1631,7 @@ service-icon-style
|
||||
}
|
||||
|
||||
|
||||
/* ///////////////////////////////////////////////////
|
||||
/* ///////////////////////////////////////////////////
|
||||
*/
|
||||
|
||||
|
||||
@@ -1814,20 +1814,20 @@ ul {
|
||||
/* --------------------------------------------------
|
||||
employees start
|
||||
-----------------------------------------------------*/
|
||||
.employees .section-title h2 {
|
||||
.employees .section-title h2 {
|
||||
/* color : #ffffff;
|
||||
*/
|
||||
}
|
||||
|
||||
.employees {
|
||||
.employees {
|
||||
padding : 50px 0px;
|
||||
/* color : #ffffff;
|
||||
*/
|
||||
|
||||
/* gradient: #f9f9f9+0,e000e0+100 */
|
||||
|
||||
background : #f9f9f9; /* Old browsers */
|
||||
/* background : -moz-linear-gradient(-45deg, #f9f9f9 0%, #e000e0 100%); /* FF3.6-15 */
|
||||
/* gradient: #f9f9f9+0,e000e0+100 */
|
||||
|
||||
background : #f9f9f9; /* Old browsers */
|
||||
/* background : -moz-linear-gradient(-45deg, #f9f9f9 0%, #e000e0 100%); /* FF3.6-15 */
|
||||
*/
|
||||
/* background : -webkit-linear-gradient(-45deg, #f9f9f9 0%, #e000e0 100%); /* Chrome10-25,Safari5.1-6 */
|
||||
*/
|
||||
@@ -1924,19 +1924,3 @@ ul {
|
||||
margin-bottom : 20px;
|
||||
padding : 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.ptb-text {
|
||||
padding-bottom : 50px;
|
||||
padding-top : 50px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------
|
||||
Stage tweak: keep hero carousel indicator dots symmetric.
|
||||
Bootstrap-3's default `.carousel-indicators .active { width:12px;
|
||||
height:12px; margin:0 }` makes the active dot bigger and zero-margin
|
||||
while inactive stays at 10px with 1px margin. With only two slides
|
||||
the size + margin swap shifts the dots visibly on each slide change.
|
||||
|
||||
Reference in New Issue
Block a user