Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added app/assets/images/avatar_blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/g-bg1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,956 changes: 1,956 additions & 0 deletions app/assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,019 changes: 2,019 additions & 0 deletions app/assets/images/logo@44x44.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/logo_44x44.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions app/assets/javascripts/application.js

This file was deleted.

17 changes: 17 additions & 0 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is a manifest file that'll be compiled into application.js, which will include all the files
# listed below.
#
# Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
# or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
#
# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
# compiled file.
#
# Read Sprockets README (https:#github.com/sstephenson/sprockets#sprockets-directives) for details
# about supported directives.
#
#= require jquery
#= require jquery_ujs
#= require turbolinks
#= require bootstrap
# require_tree .
8 changes: 8 additions & 0 deletions app/assets/stylesheets/_variables.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ $dark-red: #be3e2e;
$deep-red: #9a3323;

$yellow: #F4B400;


/*==========================

Site Settings

=============================*/
$nav-link: $yellow;
297 changes: 9 additions & 288 deletions app/assets/stylesheets/academia.css.scss
Original file line number Diff line number Diff line change
@@ -1,289 +1,10 @@
@import 'variables';
@import 'mixin';
///////////////////////////////////////////////////////////////////
/*==================================*/
/* General */
/* Author: Cassius Chen */
/* Time: 2014.2 */
/*==================================*/
///////////////////////////////////////////////////////////////////
body {
-webkit-font-smoothing: antialiased !important;
}

h1,h2,h3,h4,h5,h6,.title,.header {
font-weight:bold;
vertical-align:middle;
}
::-webkit-scrollbar {
height:16px;
overflow:visible;
width:16px
}
::-webkit-scrollbar-button {
height:0;
width:0
}
::-webkit-scrollbar-track {
background-clip:padding-box;
border:solid transparent;
border-width:0 0 0 4px
}
::-webkit-scrollbar-track:horizontal {
border-width:4px 0 0
}
::-webkit-scrollbar-track:hover {
background-color:rgba(0,0,0,.05);
box-shadow:inset 1px 0 0 rgba(0,0,0,.1)
}
::-webkit-scrollbar-track:horizontal:hover {
box-shadow:inset 0 1px 0 rgba(0,0,0,.1)
}
::-webkit-scrollbar-track:active {
background-color:rgba(0,0,0,.05);
box-shadow:inset 1px 0 0 rgba(0,0,0,.14),inset -1px 0 0 rgba(0,0,0,.07)
}
::-webkit-scrollbar-track:horizontal:active {
box-shadow:inset 0 1px 0 rgba(0,0,0,.14),inset 0 -1px 0 rgba(0,0,0,.07)
}
::-webkit-scrollbar-thumb {
background-color:rgba(0,0,0,.2);
background-clip:padding-box;
border:solid transparent;
border-width:1px 1px 1px 6px;
min-height:28px;
padding:100px 0 0;
box-shadow:inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07)
}
::-webkit-scrollbar-thumb:horizontal {
border-width:6px 1px 1px;
padding:0 0 0 100px;
box-shadow:inset 1px 1px 0 rgba(0,0,0,.1),inset -1px 0 0 rgba(0,0,0,.07)
}
::-webkit-scrollbar-thumb:hover {
background-color:rgba(0,0,0,.4);
box-shadow:inset 1px 1px 1px rgba(0,0,0,.25)
}
::-webkit-scrollbar-thumb:active {
background-color:rgba(0,0,0,0.5);
box-shadow:inset 1px 1px 3px rgba(0,0,0,0.35)
}

::-webkit-scrollbar-corner {
background:transparent
}
body::-webkit-scrollbar-track-piece {
background-clip:padding-box;
background-color:#f5f5f5;
border:solid #fff;
border-width:0 0 0 3px;
box-shadow:inset 1px 0 0 rgba(0,0,0,.14),inset -1px 0 0 rgba(0,0,0,.07)
}
body::-webkit-scrollbar-track-piece:horizontal {
border-width:3px 0 0;
box-shadow:inset 0 1px 0 rgba(0,0,0,.14),inset 0 -1px 0 rgba(0,0,0,.07)
}
body::-webkit-scrollbar-thumb {
border-width:1px 1px 1px 5px
}
body::-webkit-scrollbar-thumb:horizontal {
border-width:5px 1px 1px
}
body::-webkit-scrollbar-corner {
background-clip:padding-box;
background-color:#f5f5f5;
border:solid #fff;
border-width:3px 0 0 3px;
box-shadow:inset 1px 1px 0 rgba(0,0,0,.14)
}

///////////////////////////////////////////////////////////////////
/*==================================*/
/* Button */
/* Author: Cassius Chen */
/* Time: 2014.2 */
/*==================================*/
///////////////////////////////////////////////////////////////////
.acd.btn {
-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.05);
box-shadow: 0 1px 0 rgba(0,0,0,.05);
-webkit-transition: background-color .218s,border-color .218s,box-shadow .218s;
transition: background-color .218s,border-color .218s,box-shadow .218s;
-webkit-user-select: none;
cursor: pointer;
float: left;
outline: none;
display:-moz-inline-box;
font-weight: bold;
text-align: center;
white-space: nowrap;

}

// Button Size --------------------------------
.acd.btn.small {
@include acd-btn-size(28px,28px,8px,0,10px,0,10px);
font-size: 12px;
-webkit-border-radius: 3px;
border-radius: 3px;
min-width: 54px;
}
.acd.btn.base {
@include acd-btn-size(36px,36px,8px,0px,20px,0px,20px);
font-size: 14px;
-webkit-border-radius: 3px;
border-radius: 3px;
min-width: 54px;
}
.acd.btn.big {
@include acd-btn-size(42px,normal,8px,4px,12px,4px,12px);
margin-right: 16px;
font-size: 14px;
-webkit-border-radius: 3px;
border-radius: 3px;
min-width: 54px;
}

// Button Color -------------------------------
////// |- White -------------------------------
.acd.btn.white {
@include acd-btn-color($white,$tiny-gray);
border:none !important;
}
.acd.btn.white:hover {
-webkit-box-shadow:0 1px 0 rgba(0,0,0,.1);
box-shadow:0 1px 0 rgba(0,0,0,.1);
border-color:$light-gray;
}
.acd.btn.white:active {
-webkit-box-shadow:inset 0 1px 0 #ddd;
box-shadow:inset 0 1px 0 #ddd;
@include acd-btn-color($gray,$light-gray);
opacity:1;
}
////// |- Green -------------------------------
.acd.btn.green {
@include acd-btn-color($green,$heavy-green);
color: $white !important;
box-shadow:inset 0 -1px 0 $heavy-green;
border:1px solid transparent;
border-bottom:1px solid $heavy-green;
}
.acd.btn.green:hover {
-webkit-box-shadow:none;
box-shadow:none;
background-color: $light-green;
border-color:$light-green;
}
.acd.btn.green:active {
-webkit-box-shadow:inset 0 1px 0 $deep-green;
box-shadow:inset 0 1px 0 $deep-green;
@include acd-btn-color($dark-green,transparent);
border-top:1px solid $deep-green;
}
////// |- Red -------------------------------
.acd.btn.red {
@include acd-btn-color($red,$heavy-red);
color: $white !important;
box-shadow:inset 0 -1px 0 $heavy-red;
border:1px solid transparent;
border-bottom:1px solid $heavy-red;
}
.acd.btn.red:hover {
-webkit-box-shadow:none;
box-shadow:none;
background-color: $light-red;
border-color:$light-red;
}
.acd.btn.red:active {
-webkit-box-shadow:inset 0 1px 0 $deep-red;
box-shadow:inset 0 2px 0 $deep-red;
@include acd-btn-color($dark-red,transparent);
border-top:1px solid $deep-red;
}
////// |- Blue -------------------------------
.acd.btn.blue {
@include acd-btn-color($blue,$heavy-blue);
color: $white !important;
box-shadow:inset 0 -1px 0 $heavy-blue;
border:1px solid transparent;
border-bottom:1px solid $heavy-blue;
}
.acd.btn.blue:hover {
-webkit-box-shadow:none;
box-shadow:none;
background-color: $light-blue;
border-color:$light-blue;
}
.acd.btn.blue:active {
-webkit-box-shadow:inset 0 1px 0 $deep-blue;
box-shadow:inset 0 2px 0 $deep-blue;
@include acd-btn-color($heavy-blue,$heavy-blue);
border-top:1px solid $deep-blue;
}


///////////////////////////////////////////////////////////////////
/*==================================*/
/* Effect */
/* Author: Cassius Chen */
/* Time: 2014.2 */
/*==================================*/
///////////////////////////////////////////////////////////////////
.acd.shadow {
-webkit-transition: box-shadow .218s ease,color .218s ease;
transition: box-shadow .218s ease,color .218s ease;
box-shadow: 0 0 20px rgba(0,0,0,.2);
}
.acd.shadow:hover {
-webkit-transition: box-shadow .218s ease,color .218s ease;
transition: box-shadow .218s ease,color .218s ease ;
box-shadow: 0 0 20px rgba(47,91,183,.2) !important;
}
.acd.warning.shadow {
-webkit-animation-name: breathingLight;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
box-shadow: 0 2px 5px $light-red;
border-color: $light-red;
border-width: 0px 0px 4px 0px;

}
.acd.warning.shadow:hover {
box-shadow: 0 2px 5px rgba(244,180,0,1) !important;
border-color: rgba(244,180,0,1);
border-width: 0px 0px 4px 0px;
}

@-webkit-keyframes 'breathingLight' {
0% {
box-shadow: 0 2px 5px $light-red;
border-color: $light-red;
border-width: 0px 0px 4px 0px;
}
50% {
box-shadow: 0 2px 5px $light-red;
border-color: $light-red;
border-width: 0px 0px 4px 0px;
}
62.5% {
box-shadow: 0 2px 5px rgba(244,180,0,1);
border-color: rgba(244,180,0,1);
border-width: 0px 0px 4px 0px;
}
75% {
box-shadow: 0 2px 5px $light-red;
border-color: $light-red;
border-width: 0px 0px 4px 0px;
}
87.5% {
box-shadow: 0 2px 5px rgba(244,180,0,1);
border-color: rgba(244,180,0,1);
border-width: 0px 0px 4px 0px;
}
100% {
box-shadow: 0 2px 5px $light-red;
border-color: $light-red;
border-width: 0px 0px 4px 0px;
}
}
@import 'academia/mixin';

@import 'academia/general';
@import 'academia/button';
@import 'academia/effect';
@import 'academia/gicon';
@import 'academia/navbar';
@import 'academia/page';
@import 'academia/elements'
Loading