asiaH8/assets/stylesheets/template/modules/web_resource.scss

81 lines
1.3 KiB
SCSS

@charset "utf-8";
@import "../initial";
// Link MODULES
.widget-link {
// 在 layout-content 下的樣式
.widget-title {
@extend .unity-title;
}
&.widget1 {
.widget-content {
line-height: 2.5em;
border-bottom: 1px solid #cccccc;
transition: all .3s;
& + .widget-content {
}
.widget-content-title {
display: inline-block;
color: #443f2f;
font-size: 15px;
padding-left: 25px;
transition: all .3s;
width:100%;
}
}
.widget-content:hover{
background: #4a7db3;
.widget-content-title{
color:white;
}
}
// 在 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: circle;
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: darken($theme-gray-light, 20%);
}
}
.index-content-title {
font-family: $main-font;
font-size: 16px;
}
}
}