Explorar el Código

Career 5

master
Nikola Ignjatovic hace 5 años
padre
commit
6d9831794c
Se han modificado 2 ficheros con 8 adiciones y 12 borrados
  1. 4
    12
      scripts/custom.js
  2. 4
    0
      styles/custom.css

+ 4
- 12
scripts/custom.js Ver fichero

@@ -36,18 +36,10 @@ jQuery(document).ready(function($){
//ev.preventDefault();
$(this).toggleClass('chevron--down chevron--up');
if(!expand)
{
$(this).closest(".position-cont").find(".collapse").addClass("show");
$(this).closest(".position").css({"background-color": "#993c95", "color": "white"});
}
else
{
$(this).closest(".position-cont").find(".collapse").removeClass("show");
$(this).closest(".position").css({"background-color": "#fff", "color": "#000"});
}
$(this).closest(".position-cont").find(".collapse").toggleClass("show");
$(this).closest(".position").toggleClass("active"); //css({"background-color": "#993c95", "color": "white"});

expand= !expand;
});

+ 4
- 0
styles/custom.css Ver fichero

@@ -204,6 +204,10 @@ text-decoration: none!important;
background-color: #993c95!important;
color:#fff!important;
}
.position.active{
background-color: #993c95!important;
color:#fff!important;
}
.position-name
{
padding-top: 20px;

Cargando…
Cancelar
Guardar