瀏覽代碼

Career 5

master
Nikola Ignjatovic 5 年之前
父節點
當前提交
6d9831794c
共有 2 個檔案被更改,包括 8 行新增12 行删除
  1. 4
    12
      scripts/custom.js
  2. 4
    0
      styles/custom.css

+ 4
- 12
scripts/custom.js 查看文件

@@ -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 查看文件

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

Loading…
取消
儲存