joshuas update for sdk and grou

This commit is contained in:
rulingcom 2015-06-05 19:04:20 +08:00
parent cfda81a546
commit ed24126648
45 changed files with 242 additions and 78 deletions

View File

@ -1,4 +1,5 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// Group category page // Group category page
.group-category { .group-category {

View File

@ -1,4 +1,6 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// Genernal classes and modules // Genernal classes and modules
.screen-reader { .screen-reader {

View File

@ -1,4 +1,5 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// Group index and public // Group index and public
#main-wrap .wrap-inner { #main-wrap .wrap-inner {

View File

@ -1,3 +1,5 @@
@import "group-variables";
// Group page // Group page
#main-wrap { #main-wrap {
padding-top: 0; padding-top: 0;

View File

@ -1,4 +1,5 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// Group page // Group page
#main-wrap { #main-wrap {

View File

@ -1,4 +1,5 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// General style // General style
body { body {

View File

@ -1,4 +1,5 @@
@charset "utf-8"; @charset "utf-8";
@import "group-variables";
// Group show post // Group show post
.group-show-post { .group-show-post {

View File

@ -346,10 +346,6 @@ $orbit-bar-bgc-lighter: lighten($orbit-bar-bgc, 20%) !default;
width: auto; width: auto;
height: 85%; height: 85%;
} }
// background-position: center;
// background-repeat: no-repeat;
// background-image: url('<%= asset_path 'orbit-logo.svg' %>');
// background-image: url('<%= asset_path 'orbit-logo.png' %>')\9;
& + ul { & + ul {
left: 0; left: 0;
} }
@ -420,7 +416,7 @@ $orbit-bar-bgc-lighter: lighten($orbit-bar-bgc, 20%) !default;
} }
} }
@media (max-width: 479px) { @media (max-width: 540px) {
#orbit-bar { #orbit-bar {
.login-window { .login-window {
width: 90%; width: 90%;

View File

@ -142,6 +142,27 @@
this.helpers.addClass(els[i], 'dropdown-menu'); this.helpers.addClass(els[i], 'dropdown-menu');
} }
} }
},
// Go back top button
goBackTop: function(txt, speed) {
var top = document.createElement('div');
top.className = 'go-back-top';
top.textContent = txt;
doc.body.appendChild(top);
$(window).scroll(function() {
if($(this).scrollTop() != 0) {
$('.go-back-top').fadeIn();
} else {
$('.go-back-top').fadeOut();
}
});
$('.go-back-top').click(function() {
$('body, html').animate({scrollTop:0}, speed);
return false;
});
} }
}; };
@ -156,6 +177,7 @@
// Functions that will be running on every page // Functions that will be running on every page
orbit.sitemenuDropdown(); orbit.sitemenuDropdown();
orbit.goBackTop('top', 800);
orbit.plugins.bullEye(); orbit.plugins.bullEye();
} }

View File

@ -0,0 +1,7 @@
@charset "utf-8";
a[accesskey] {
position: absolute;
margin-left: -15px;
color: transparent !important;
}

View File

@ -1,54 +1,82 @@
@charset "utf-8"; @charset "utf-8";
@import "../initial"; @import "../initial";
@import "variables"; @import "variables";
html { html {
font-size: 100%; font-size: 100%;
} }
body { body {
font-family: $sub-font; font-family: $sub-font;
font-size: inherit; font-size: inherit;
margin-top: 40px; margin-top: 40px;
} }
a:link,
a:visited {
color: $brand-primary;
}
a:hover, a:hover,
a:focus { a:focus {
text-decoration: none; color: lighten($brand-primary, 10%);
text-decoration: none;
} }
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
.admin-edit { .admin-edit {
clear: both; clear: both;
} }
// override bootsrap settings // override bootsrap settings
th, th,
td { td {
padding: 8px .5rem; padding: 8px .5rem;
} }
.borderless>tbody>tr>td, .borderless > tbody > tr > td,
.borderless>tbody>tr>th, .borderless > tbody > tr > th,
.borderless>tfoot>tr>td, .borderless > tfoot > tr > td,
.borderless>tfoot>tr>th, .borderless > tfoot > tr > th,
.borderless>thead>tr>td, .borderless > thead > tr > td,
.borderless>thead>tr>th { .borderless > thead > tr > th {
border: none !important; border: none !important;
} }
a.btn-primary {
color: $theme-white;
border-color: $theme-color-main;
background-color: $theme-color-main;
font-size: 0.8125rem;
&:hover {
background-color: darken($theme-color-main, 10%);
border-color: darken($theme-color-main, 10%);
}
}
// Page heading
.page-module-title { .page-module-title {
@extend .unity-title; @extend .unity-title;
margin-bottom: 18px; margin-bottom: 18px;
} }
.view-count { .view-count {
font-size: 0.75rem;
}
.view_count {
> i {
font-size: 0.75rem; font-size: 0.75rem;
&:before { }
margin-right: 8px;
} .view_count {
} > i {
font-size: 0.75rem;
&:before {
margin-right: 8px;
}
}
} }

View File

@ -0,0 +1,21 @@
@charset "utf-8";
@import "variables";
.go-back-top {
background: rgba($theme-color-main, .9);
text-align: center;
padding: 10px 12px;
position: fixed;
bottom: 15px;
right: 15px;
cursor: pointer;
display: none;
color: $theme-white;
font-size: 12px;
border-radius: 2px;
z-index: 1050;
&:hover {
background: rgba($theme-color-main, 1);
}
}

View File

@ -35,7 +35,7 @@ body {
} }
} }
@media (max-width: 479px) { @media (max-width: 540px) {
body { body {
#orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > a, #orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > a,
#orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > span { #orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > span {

View File

@ -1,10 +1,20 @@
@charset "utf-8"; @charset "utf-8";
@import "variables"; @import "variables";
.pagination { .pagination {
li { li {
a { a {
font-size: 0.8125rem; font-size: 0.8125rem;
margin: 0 0.2em; margin: 0 0.2em;
color: $theme-color-main;
}
}
.active {
a {
background-color: $theme-color-main;
border-color: $theme-color-main;
} }
} }
} }

View File

@ -12,7 +12,7 @@
@extend .response-content; @extend .response-content;
} }
.header-nav { .header-nav {
padding-top: 0.5rem; padding: 16px 0;
color: #FFF; color: #FFF;
& > * { & > * {
display: inline-block; display: inline-block;

View File

@ -5,4 +5,9 @@
position: relative; position: relative;
margin-bottom: 2rem; margin-bottom: 2rem;
z-index: 0; z-index: 0;
background: $theme-gray;
.w-ad-banner {
max-width: 1200px;
margin: auto;
}
} }

View File

@ -114,13 +114,6 @@
height: 125px; height: 125px;
} }
.i-member-pic { .i-member-pic {
position: absolute;
top: -100%;
left: 0;
right: 0;
bottom: -100%;
margin: auto;
width: 100%;
} }
} }
} }

View File

@ -4,6 +4,8 @@
@import "base/pagination"; @import "base/pagination";
@import "base/orbitbar-override"; @import "base/orbitbar-override";
@import "base/global"; @import "base/global";
@import "base/accesskey";
@import "base/go_back_top";
// Layout // Layout
@import "layout/header"; @import "layout/header";

View File

@ -1,16 +1,20 @@
@charset "utf-8"; @charset "utf-8";
@import "../initial"; @import "../initial";
.widget-breadcrumb { .widget-breadcrumb {
&.widget1 { &.widget1 {
li { li {
&:last-child { a {
a { font-size: 0.8125rem;
color: $theme-gray-dark; }
pointer-events: none;
}
}
}
}
}
&:last-child {
a {
color: $theme-gray-dark;
pointer-events: none;
}
}
}
}
}

View File

@ -5,6 +5,7 @@
data-cycle-slides=".w-ad-banner__slide" data-cycle-slides=".w-ad-banner__slide"
data-cycle-log="false" data-cycle-log="false"
data-overlay=".w-ad-banner__caption" data-overlay=".w-ad-banner__caption"
data-cycle-auto-height="calc"
data-pager=".w-ad-banner__pager-1" data-pager=".w-ad-banner__pager-1"
data-pager-template="<li><a href='#'></a></li>" data-pager-template="<li><a href='#'></a></li>"
data-pager-active-class="active-slide" data-pager-active-class="active-slide"

View File

@ -4,6 +4,7 @@
data-level="0" data-level="0"
data-cycle-slides=".w-ad-banner__slide" data-cycle-slides=".w-ad-banner__slide"
data-cycle-log="false" data-cycle-log="false"
data-cycle-auto-height="calc"
data-overlay=".w-ad-banner__caption" data-overlay=".w-ad-banner__caption"
data-pager=".w-ad-banner__pager" data-pager=".w-ad-banner__pager"
data-pager-template="<li><a href='#'></a></li>" data-pager-template="<li><a href='#'></a></li>"

View File

@ -7,6 +7,7 @@
data-cycle-log="false" data-cycle-log="false"
data-overlay=".w-ad-banner__caption" data-overlay=".w-ad-banner__caption"
data-cycle-auto-height="640:360" data-cycle-auto-height="640:360"
data-cycle-auto-height="calc"
data-pager=".w-ad-banner__pager-2" data-pager=".w-ad-banner__pager-2"
data-pager-template="<li><a href='#'></a></li>" data-pager-template="<li><a href='#'></a></li>"
data-pager-active-class="active-slide" data-pager-active-class="active-slide"

View File

@ -4,6 +4,7 @@
data-level="0" data-level="0"
data-cycle-slides=".w-ad-banner__slide" data-cycle-slides=".w-ad-banner__slide"
data-cycle-log="false" data-cycle-log="false"
data-cycle-auto-height="calc"
data-pager=".w-ad-banner__pager-3" data-pager=".w-ad-banner__pager-3"
data-pager-template="<li><a href='#'></a></li>" data-pager-template="<li><a href='#'></a></li>"
data-pager-active-class="active-slide" data-pager-active-class="active-slide"

View File

@ -4,6 +4,7 @@
data-level="0" data-level="0"
data-cycle-slides=".w-ad-banner__slide" data-cycle-slides=".w-ad-banner__slide"
data-cycle-log="false" data-cycle-log="false"
data-cycle-auto-height="calc"
> >
<div class="w-ad-banner__slide {{class}}" <div class="w-ad-banner__slide {{class}}"
data-link="{{link}}" data-link="{{link}}"

View File

@ -26,4 +26,7 @@
<p class="w-annc__subtitle">{{subtitle}}</p> <p class="w-annc__subtitle">{{subtitle}}</p>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -16,4 +16,7 @@
</span> </span>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -16,4 +16,7 @@
</h4> </h4>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -21,4 +21,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -21,4 +21,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -23,5 +23,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -28,4 +28,7 @@
</div> </div>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -24,8 +24,11 @@
<p class="w-annc__subtitle">{{subtitle}}</p> <p class="w-annc__subtitle">{{subtitle}}</p>
</div> </div>
<div class="w-annc__img-wrap col-sm-4 bullseye"> <div class="w-annc__img-wrap col-sm-4 bullseye">
<img class="w-annc__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}""> <img class="w-annc__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
</div> </div>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -28,4 +28,7 @@
</div> </div>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -25,4 +25,7 @@
</div> </div>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -20,4 +20,7 @@
</span> </span>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -20,4 +20,7 @@
</span> </span>
</li> </li>
</ul> </ul>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -23,4 +23,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -23,4 +23,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="w-annc__more-wrap clearfix">
<a class="w-annc__more btn btn-primary pull-right" href="{{more_url}}">Read more</a>
</div>
</div> </div>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>

View File

@ -1,5 +1,8 @@
<table class="table table-striped plugin-show-table"> <table class="table table-striped plugin-show-table">
<tbody data-list="plugin_datas" data-level="0"> <tbody data-list="plugin_datas" data-level="0">
<tr><th class="{{title_class}}">{{title}}</th><td class="{{value_class}}">{{value}}</td></tr> <tr>
</tbody> <th class="{{title_class}}">{{title}}</th>
<td class="{{value_class}}">{{value}}</td>
</tr>
</tbody>
</table> </table>