Quellcode durchsuchen

Career 5

master
Nikola Ignjatovic vor 5 Jahren
Ursprung
Commit
6d9831794c
2 geänderte Dateien mit 8 neuen und 12 gelöschten Zeilen
  1. 4
    12
      scripts/custom.js
  2. 4
    0
      styles/custom.css

+ 4
- 12
scripts/custom.js Datei anzeigen

@@ -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 Datei anzeigen

@@ -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;

Laden…
Abbrechen
Speichern