98 lines
1.9 KiB
SCSS
98 lines
1.9 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
// Link MODULES
|
|
.widget-link {
|
|
// 在 layout-content 下的樣式
|
|
margin-top: 15px;
|
|
.widget-title {
|
|
@extend .unity-title;
|
|
display: none;
|
|
}
|
|
|
|
&.widget1 {
|
|
.widget-content {
|
|
line-height: 2.5em;
|
|
background:$theme-color-main;
|
|
position: relative;
|
|
padding:2px 2px 2px 45px;
|
|
margin-bottom: 15px;
|
|
transition:.3s;
|
|
.status-top{
|
|
display: none;
|
|
}
|
|
&:before{
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 50%;
|
|
transform:translateY(-50%);
|
|
left: 20px;
|
|
|
|
@include arrow("left", 8px, 8px, #fff);
|
|
}
|
|
// & + .widget-content {
|
|
// border-top: 1px dotted $theme-gray-light;
|
|
// }
|
|
|
|
.widget-content-title {
|
|
border-left: 1px solid #fff;
|
|
padding-left: 22px;
|
|
display: inline-block;
|
|
color:#fff;
|
|
font-family: '微軟正黑體','sans-serif';
|
|
|
|
|
|
}
|
|
&:hover{
|
|
background: $theme-color-second;
|
|
&:before{
|
|
@include arrow("left", 8px, 8px, #fff);
|
|
}
|
|
.widget-content-title{
|
|
border-color: #fff;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
// 在 layout-footer 下的樣式
|
|
.layout-footer & {
|
|
.widget-content {
|
|
line-height: 2em;
|
|
border-top-color: $theme-gray;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Link INDEX
|
|
.index-link {
|
|
.index-title {
|
|
@extend .unity-title;
|
|
}
|
|
|
|
&.index1 {
|
|
.index-content {
|
|
list-style-type: none;
|
|
list-style-position: inside;
|
|
|
|
& + .index-content {
|
|
border-top: 1px dotted $theme-gray-light;
|
|
}
|
|
|
|
.index-context {
|
|
display: inline-block;
|
|
font-size: 13px;
|
|
margin: 0 0 10px 2em;
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
.index-content-title {
|
|
font-family: $main-font;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
} |