This commit is contained in:
parent
eb23d36323
commit
9090361cea
|
|
@ -766,20 +766,20 @@
|
||||||
$(this).attr("style", newStyle);
|
$(this).attr("style", newStyle);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//表格scope
|
// //表格scope
|
||||||
$("table").each(function() {
|
// $("table").each(function() {
|
||||||
$(this).find("tr").each(function(rowIndex) {
|
// $(this).find("tr").each(function(rowIndex) {
|
||||||
$(this).find("th").each(function(colIndex) {
|
// $(this).find("th").each(function(colIndex) {
|
||||||
if (rowIndex === 0) {
|
// if (rowIndex === 0) {
|
||||||
// 第一列的 th,適用於該欄
|
// // 第一列的 th,適用於該欄
|
||||||
$(this).attr("scope", "col");
|
// $(this).attr("scope", "col");
|
||||||
} else if (colIndex === 0) {
|
// } else if (colIndex === 0) {
|
||||||
// 其他列的第一個 th,適用於該行
|
// // 其他列的第一個 th,適用於該行
|
||||||
$(this).attr("scope", "row");
|
// $(this).attr("scope", "row");
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
});
|
// });
|
||||||
$(".banner-pager button").addClass('banner-pagerbtn');
|
$(".banner-pager button").addClass('banner-pagerbtn');
|
||||||
$(".banner-pager button").attr("type","button");
|
$(".banner-pager button").attr("type","button");
|
||||||
$(".banner-pager button").append('<span style="display: none;">下一張</span>');
|
$(".banner-pager button").append('<span style="display: none;">下一張</span>');
|
||||||
|
|
@ -3271,6 +3271,36 @@ $(document).ready(function () {
|
||||||
fixSortLinkA11y();
|
fixSortLinkA11y();
|
||||||
fixSearchInputA11y();
|
fixSearchInputA11y();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
});
|
||||||
|
//a無障礙空連結
|
||||||
|
function removeHiddenContentLinks() {
|
||||||
|
// 若網址含有 editmode=on 則不執行
|
||||||
|
if (window.location.href.indexOf('editmode=on') !== -1) return;
|
||||||
|
|
||||||
|
$('a').each(function () {
|
||||||
|
var $link = $(this);
|
||||||
|
|
||||||
|
// 若連結本身是 display:none,直接移除
|
||||||
|
if ($link.css('display') === 'none') {
|
||||||
|
$link.remove();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 若連結內有子元素,且全部都是 display:none
|
||||||
|
var $children = $link.children();
|
||||||
|
if ($children.length > 0) {
|
||||||
|
var allHidden = $children.toArray().every(function (child) {
|
||||||
|
return $(child).css('display') === 'none';
|
||||||
|
});
|
||||||
|
if (allHidden) {
|
||||||
|
$link.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
setTimeout(removeHiddenContentLinks, 500);
|
||||||
});
|
});
|
||||||
// 執行 member等高計算,目前改用flexbox故mark掉 by ika 20160105
|
// 執行 member等高計算,目前改用flexbox故mark掉 by ika 20160105
|
||||||
// $(window).load(function() {
|
// $(window).load(function() {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
display: block
|
display: block
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#orbit-bar .orbit-bar-menu .orbit-bar-logo{
|
||||||
|
cursor: unset!important;
|
||||||
|
}
|
||||||
|
|
||||||
.login-btn:focus {
|
.login-btn:focus {
|
||||||
outline: 0.3125em auto -webkit-focus-ring-color !important;
|
outline: 0.3125em auto -webkit-focus-ring-color !important;
|
||||||
|
|
|
||||||
|
|
@ -333,7 +333,7 @@ caption{
|
||||||
}
|
}
|
||||||
.is-style-vk-check-square-mark{
|
.is-style-vk-check-square-mark{
|
||||||
a{
|
a{
|
||||||
color: #337ab7;
|
color: #1766ab;
|
||||||
}
|
}
|
||||||
li{
|
li{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
@ -360,7 +360,7 @@ caption{
|
||||||
content: "\f078"; /* 展開時 */
|
content: "\f078"; /* 展開時 */
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: #337ab7;
|
color: #1766ab;
|
||||||
}
|
}
|
||||||
.wp-block-file:not(.wp-element-button) {
|
.wp-block-file:not(.wp-element-button) {
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
|
|
@ -374,7 +374,7 @@ caption{
|
||||||
padding: .5em 1em;
|
padding: .5em 1em;
|
||||||
}
|
}
|
||||||
.wp-block-file--media-cb2bf541-196a-44e5-9f58-96da0b486982{
|
.wp-block-file--media-cb2bf541-196a-44e5-9f58-96da0b486982{
|
||||||
color: #337ab7;
|
color: #1766ab;
|
||||||
}
|
}
|
||||||
.wp-block-file *+.wp-block-file__button {
|
.wp-block-file *+.wp-block-file__button {
|
||||||
margin-left: .75em;
|
margin-left: .75em;
|
||||||
|
|
@ -462,7 +462,7 @@ caption{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.has-luminous-vivid-orange-color {
|
.has-luminous-vivid-orange-color {
|
||||||
color: #ff6900 !important;
|
color:#b55008 !important;
|
||||||
}
|
}
|
||||||
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
|
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
|
|
@ -547,11 +547,11 @@ caption{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -1px;
|
bottom: -1px;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
border-bottom: 1px solid #337ab7;
|
border-bottom: 1px solid #1766ab;
|
||||||
}
|
}
|
||||||
.mainSection-title, h2 {
|
.mainSection-title, h2 {
|
||||||
padding: .8em 0 .7em;
|
padding: .8em 0 .7em;
|
||||||
border-top: 2px solid #337ab7;
|
border-top: 2px solid #1766ab;
|
||||||
border-bottom: 1px solid #e9e9e9;
|
border-bottom: 1px solid #e9e9e9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -561,7 +561,7 @@ caption{
|
||||||
font-size: 1em!important;
|
font-size: 1em!important;
|
||||||
}
|
}
|
||||||
a{
|
a{
|
||||||
color: #337ab7;
|
color: #1766ab;
|
||||||
&:hover{
|
&:hover{
|
||||||
color: #0056b3;
|
color: #0056b3;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
|
||||||
|
|
@ -493,9 +493,11 @@
|
||||||
& > a {
|
& > a {
|
||||||
display: block;
|
display: block;
|
||||||
font-family: $main-font;
|
font-family: $main-font;
|
||||||
color:#fff;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@media(min-width:769px){
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color:$theme-color-hover ;
|
background-color:$theme-color-hover ;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="index-content col-xs-4 col-sm-3">
|
<div class="index-content col-xs-4 col-sm-3">
|
||||||
<div class="index-content-inner">
|
<div class="index-content-inner">
|
||||||
<div class="index-pic">
|
<div class="index-pic">
|
||||||
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{album-name}}">
|
||||||
</div>
|
</div>
|
||||||
<section class="index-part">
|
<section class="index-part">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="index-content col-xs-4 col-sm-3">
|
<div class="index-content col-xs-4 col-sm-3">
|
||||||
<div class="index-content-inner">
|
<div class="index-content-inner">
|
||||||
<div class="index-pic">
|
<div class="index-pic">
|
||||||
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{album-name}}">
|
||||||
</div>
|
</div>
|
||||||
<section class="index-part">
|
<section class="index-part">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,16 @@
|
||||||
</h3>
|
</h3>
|
||||||
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
||||||
<div class="index-content col-sm-3">
|
<div class="index-content col-sm-3">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
|
||||||
<div class="index-content-inner">
|
<div class="index-content-inner">
|
||||||
|
<a href="{{link_to_show}}" title="{{album-name}}">
|
||||||
<div class="index-pic">
|
<div class="index-pic">
|
||||||
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{album-name}}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="index-part">
|
<div class="index-part">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">{{album-name}}</a>
|
<a href="{{link_to_show}}" title="{{album-name}}">{{album-name}}</a>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="index-img-description">{{album-description}}</div>
|
<div class="index-img-description">{{album-description}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@
|
||||||
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
||||||
<div class="index-content">
|
<div class="index-content">
|
||||||
<div class="index-content-inner clearfix row">
|
<div class="index-content-inner clearfix row">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<div class="index-pic col-xs-5 col-sm-2">
|
<div class="index-pic col-xs-5 col-sm-2">
|
||||||
<img class="index-img" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="index-img" src="{{thumb-src}}" alt="{{alt_title}}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="index-part col-xs-7 col-sm-10">
|
<div class="index-part col-xs-7 col-sm-10">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">{{album-name}}</a>
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">{{album-name}}</a>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="index-img-description">{{album-description}}</div>
|
<div class="index-img-description">{{album-description}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,15 @@
|
||||||
</h3>
|
</h3>
|
||||||
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
||||||
<div class="index-content col-sm-3">
|
<div class="index-content col-sm-3">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<div class="index-content-inner">
|
<div class="index-content-inner">
|
||||||
<div class="index-pic">
|
<div class="index-pic">
|
||||||
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{album-name}}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="index-part">
|
<div class="index-part">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">{{album-name}}</a>
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">{{album-name}}</a>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@
|
||||||
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
<div class="row" data-level="0" data-list="albums" style="display: flex;flex-wrap: wrap;">
|
||||||
<div class="index-content">
|
<div class="index-content">
|
||||||
<div class="index-content-inner clearfix row">
|
<div class="index-content-inner clearfix row">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<div class="index-pic col-xs-5 col-sm-2">
|
<div class="index-pic col-xs-5 col-sm-2">
|
||||||
<img class="index-img" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="index-img" src="{{thumb-src}}" alt="{{alt_title}}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="index-part col-xs-7 col-sm-10">
|
<div class="index-part col-xs-7 col-sm-10">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">{{album-name}}</a>
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">{{album-name}}</a>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@
|
||||||
|
|
||||||
<div class="card-front">
|
<div class="card-front">
|
||||||
<div class="card-body" style="padding:0;">
|
<div class="card-body" style="padding:0;">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<img src="{{thumb-src}}"alt="{{alt_title}}">
|
<img src="{{thumb-src}}"alt="{{alt_title}}">
|
||||||
</a>
|
</a>
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<h3 class="card-title">{{album-name}}</h3>
|
<h3 class="card-title">{{album-name}}</h3>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,14 @@
|
||||||
<div class="index-content col-sm-3">
|
<div class="index-content col-sm-3">
|
||||||
|
|
||||||
<div class="index-content-inner">
|
<div class="index-content-inner">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">
|
||||||
<div class="index-pic">
|
<div class="index-pic">
|
||||||
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{alt_title}}">
|
<img class="img-thumbnail" src="{{thumb-src}}" alt="{{album-name}}">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<section class="index-part">
|
<section class="index-part">
|
||||||
<h4 class="index-content-title">
|
<h4 class="index-content-title">
|
||||||
<a href="{{link_to_show}}" aria-label="前往{{page-title}}" title="{{page-title}}">{{album-name}}</a>
|
<a href="{{link_to_show}}" aria-label="前往{{album-name}}" title="{{album-name}}">{{album-name}}</a>
|
||||||
</h4>
|
</h4>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<div data-list="profile_data" data-level="0">
|
<div data-list="profile_data" data-level="0">
|
||||||
<tr class="row">
|
<tr class="row">
|
||||||
<th class="{{title_class}} col-sm-2">{{title}}</th>
|
<th class="{{title_class}} col-sm-2" scope="row">{{title}}</th>
|
||||||
<td class="{{value_class}} col-sm-10">{{value}}</td>
|
<td class="{{value_class}} col-sm-10">{{value}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue