Commit 69a8255a0f4ad819d6e0a794bcbc261d7cc87690
1 parent
910da5aeda
Exists in
master
and in
1 other branch
STICK TO THE FOOT STICKY FOOTER
Showing 2 changed files with 41 additions and 5 deletions Inline Diff
home.html
View file @
69a8255
<!DOCTYPE html> | 1 | 1 | <!DOCTYPE html> | |
<html ng-app="flashy"> | 2 | 2 | <html ng-app="flashy"> | |
<base href="/app/"> | 3 | 3 | <base href="/app/"> | |
<head> | 4 | 4 | <head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> | 5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> | |
<link rel="stylesheet" | 6 | 6 | <link rel="stylesheet" | |
href="https://ajax.googleapis.com/ajax/libs/angular_material/0.9.0/angular-material.min.css"> | 7 | 7 | href="https://ajax.googleapis.com/ajax/libs/angular_material/0.9.0/angular-material.min.css"> | |
8 | 8 | |||
<link rel="stylesheet" href="styles/flashier.css"/> | 9 | 9 | <link rel="stylesheet" href="styles/flashier.css"/> | |
<link rel="stylesheet" href="styles/flashy.css"/> | 10 | 10 | <link rel="stylesheet" href="styles/flashy.css"/> | |
<link href='https://fonts.googleapis.com/css?family=Titillium+Web:200,200italic,300,600,400,900,700,400italic,700italic,300italic,600italic' | 11 | 11 | <link href='https://fonts.googleapis.com/css?family=Titillium+Web:200,200italic,300,600,400,900,700,400italic,700italic,300italic,600italic' | |
rel='stylesheet' type='text/css'> | 12 | 12 | rel='stylesheet' type='text/css'> | |
<title>Flashy</title> | 13 | 13 | <title>Flashy</title> | |
</head> | 14 | 14 | </head> | |
<body ng-controller="RootController"> | 15 | 15 | <body ng-controller="RootController"> | |
<header> | 16 | 16 | <header> | |
<nav> | 17 | 17 | <nav> | |
<div class="nav-wrapper"> | 18 | 18 | <div class="nav-wrapper"> | |
<a ng-show="UserService.isLoggedIn()" href="#" data-activates="mobile-demo" | 19 | 19 | <a ng-show="UserService.isLoggedIn()" href="#" data-activates="mobile-demo" | |
class="left button-collapse hide-on-med-and-up"><i | 20 | 20 | class="left button-collapse hide-on-med-and-up"><i | |
class="mdi-navigation-menu"></i></a> | 21 | 21 | class="mdi-navigation-menu"></i></a> | |
<ul ng-show="currentSection.id && UserService.isLoggedIn()" class="left hide-on-small-and-down"> | 22 | 22 | <ul ng-show="currentSection.id && UserService.isLoggedIn()" class="left hide-on-small-and-down"> | |
<li ui-sref-active="active"><a ui-sref="feed({sectionId:currentSection.id})" class="tooltipped" | 23 | 23 | <li ui-sref-active="active"><a ui-sref="feed({sectionId:currentSection.id})" class="tooltipped" | |
data-position="bottom" | 24 | 24 | data-position="bottom" | |
data-delay="50" data-tooltip="Feed"><i | 25 | 25 | data-delay="50" data-tooltip="Feed"><i | |
class="mdi-action-view-module"></i></a></li> | 26 | 26 | class="mdi-action-view-module"></i></a></li> | |
<li ui-sref-active="active"><a ui-sref="deck({sectionId:currentSection.id})" class="tooltipped" | 27 | 27 | <li ui-sref-active="active"><a ui-sref="deck({sectionId:currentSection.id})" class="tooltipped" | |
data-position="bottom" | 28 | 28 | data-position="bottom" | |
data-delay="50" data-tooltip="Deck"><i | 29 | 29 | data-delay="50" data-tooltip="Deck"><i | |
class="mdi-action-view-carousel"></i></a></li> | 30 | 30 | class="mdi-action-view-carousel"></i></a></li> | |
<li ui-sref-active="active"><a ui-sref="cardlist({sectionId:currentSection.id})" class="tooltipped" | 31 | 31 | <li ui-sref-active="active"><a ui-sref="cardlist({sectionId:currentSection.id})" class="tooltipped" | |
data-position="bottom" | 32 | 32 | data-position="bottom" | |
data-delay="50" data-tooltip="Card List"><i | 33 | 33 | data-delay="50" data-tooltip="Card List"><i | |
class="mdi-action-view-list"></i></a></li> | 34 | 34 | class="mdi-action-view-list"></i></a></li> | |
</ul> | 35 | 35 | </ul> | |
<a href="#" class="brand-logo center">Flashy</a> | 36 | 36 | <a href="#" class="brand-logo center">Flashy</a> | |
37 | 37 | |||
<ul ng-show="UserService.isLoggedIn()" ng-cloak id="nav-mobile" class="right hide-on-small-and-down"> | 38 | 38 | <ul ng-show="UserService.isLoggedIn()" ng-cloak id="nav-mobile" class="right hide-on-small-and-down"> | |
<!-- User's classes dropdown --> | 39 | 39 | <!-- User's classes dropdown --> | |
<ul id="dropdown1" class="dropdown-content"> | 40 | 40 | <ul id="dropdown1" class="dropdown-content"> | |
<li ui-sref-active="active" ng-repeat="section in UserService.getUserData().sections"> | 41 | 41 | <li ui-sref-active="active" ng-repeat="section in UserService.getUserData().sections"> | |
<a ui-sref="feed({sectionId:section.id})">{{section.short_name}}</a> | 42 | 42 | <a ui-sref="feed({sectionId:section.id})">{{section.short_name}}</a> | |
</li> | 43 | 43 | </li> | |
<li class="divider"></li> | 44 | 44 | <li class="divider"></li> | |
<li><a ui-sref="addclass">Add Class</a></li> | 45 | 45 | <li><a ui-sref="addclass">Add Class</a></li> | |
</ul> | 46 | 46 | </ul> | |
<li><a style="width:175px;" class="dropdown-button ng-cloak" href="#!" data-activates="dropdown1">{{currentSection.id?currentSection.short_name:"Classes"}}<i | 47 | 47 | <li><a style="width:175px;" class="dropdown-button ng-cloak" href="#!" data-activates="dropdown1">{{currentSection.id?currentSection.short_name:"Classes"}}<i | |
class="mdi-navigation-arrow-drop-down right"></i></a></li> | 48 | 48 | class="mdi-navigation-arrow-drop-down right"></i></a></li> | |
<li><a ui-sref="study">Study</a></li> | 49 | 49 | <li><a ui-sref="study">Study</a></li> | |
<li><a ui-sref="logout">Logout</a></li> | 50 | 50 | <li><a ui-sref="logout">Logout</a></li> | |
</ul> | 51 | 51 | </ul> | |
52 | 52 | |||
<!-- Slide-in side-nav for small screens --> | 53 | 53 | <!-- Slide-in side-nav for small screens --> | |
<ul ng-show="UserService.isLoggedIn()" class="side-nav" id="mobile-demo"> | 54 | 54 | <ul ng-show="UserService.isLoggedIn()" class="side-nav" id="mobile-demo"> | |
<span ng-show="currentSection.id"> | 55 | 55 | <span ng-show="currentSection.id"> | |
<li ui-sref-active="active"><a ui-sref="feed({sectionId:currentSection.id})" class="tooltipped" | 56 | 56 | <li ui-sref-active="active"><a ui-sref="feed({sectionId:currentSection.id})" class="tooltipped" | |
><i | 57 | 57 | ><i | |
class="mdi-action-view-module left"></i>Feed</a></li> | 58 | 58 | class="mdi-action-view-module left"></i>Feed</a></li> | |
<li ui-sref-active="active"><a ui-sref="deck({sectionId:currentSection.id})" class="tooltipped" | 59 | 59 | <li ui-sref-active="active"><a ui-sref="deck({sectionId:currentSection.id})" class="tooltipped" | |
><i | 60 | 60 | ><i | |
class="mdi-action-view-carousel left"></i>Deck</a></li> | 61 | 61 | class="mdi-action-view-carousel left"></i>Deck</a></li> | |
<li ui-sref-active="active"><a ui-sref="cardlist({sectionId:currentSection.id})" class="tooltipped" | 62 | 62 | <li ui-sref-active="active"><a ui-sref="cardlist({sectionId:currentSection.id})" class="tooltipped" | |
><i | 63 | 63 | ><i | |
class="mdi-action-view-list left"></i>Card List</a> | 64 | 64 | class="mdi-action-view-list left"></i>Card List</a> | |
</li> | 65 | 65 | </li> | |
<hr> | 66 | 66 | <hr> | |
</span> | 67 | 67 | </span> | |
<!-- Collapsible menu for all the User's classes --> | 68 | 68 | <!-- Collapsible menu for all the User's classes --> | |
<ul class="collapsible" data-collapsible="accordion"> | 69 | 69 | <ul class="collapsible" data-collapsible="accordion"> | |
<li class="bold"> | 70 | 70 | <li class="bold"> | |
<a class="collapsible-header black-text"> | 71 | 71 | <a class="collapsible-header black-text"> | |
Classes<i | 72 | 72 | Classes<i | |
class="mdi-navigation-arrow-drop-down right"></i> | 73 | 73 | class="mdi-navigation-arrow-drop-down right"></i> | |
</a> | 74 | 74 | </a> | |
</li> | 75 | 75 | </li> | |
<div class="collapsible-body" style="display: block"> | 76 | 76 | <div class="collapsible-body" style="display: block"> | |
<ul> | 77 | 77 | <ul> | |
<li ui-sref-active="active" ng-repeat="section in UserService.getUserData().sections"> | 78 | 78 | <li ui-sref-active="active" ng-repeat="section in UserService.getUserData().sections"> | |
<a class="class bold" ui-sref="feed({sectionId:section.id})">{{section.short_name}}</a> | 79 | 79 | <a class="class bold" ui-sref="feed({sectionId:section.id})">{{section.short_name}}</a> | |
</li> | 80 | 80 | </li> | |
<hr> | 81 | 81 | <hr> | |
<li><a ui-sref="addclass"><i class="tiny mdi-content-add">Add Class</i></a></li> | 82 | 82 | <li><a ui-sref="addclass"><i class="tiny mdi-content-add">Add Class</i></a></li> | |
</ul> | 83 | 83 | </ul> | |
</div> | 84 | 84 | </div> | |
</ul> | 85 | 85 | </ul> | |
<li><a ui-sref="study">Study</a></li> | 86 | 86 | <li><a ui-sref="study">Study</a></li> | |
<li><a ui-sref="logout">Logout</a></li> | 87 | 87 | <li><a ui-sref="logout">Logout</a></li> | |
</ul> | 88 | 88 | </ul> | |
</div> | 89 | 89 | </div> | |
</nav> | 90 | 90 | </nav> | |
91 | 91 | |||
</header> | 92 | 92 | </header> | |
93 | 93 | |||
94 | 94 | |||
<!-- Menu Bar --> | 95 | 95 | <!-- Menu Bar --> | |
<main ui-view></main> | 96 | |||
97 | 96 | |||
97 | <div class="wrapper"> | |||
98 | 98 | |||
99 | <main ui-view></main> | |||
100 | ||||
101 | <div class="push"></div> | |||
102 | </div> | |||
103 | ||||
104 | ||||
105 | ||||
106 | ||||
<footer class="page-footer"> | 99 | 107 | <footer class="page-footer"> | |
<div class="footer-copyright"> | 100 | 108 | <div class="footer-copyright"> | |
<div class="container"> | 101 | 109 | <div class="container"> | |
© 2015 Team Swag | 102 | 110 | © 2015 Team Swag | |
<a class="grey-text text-lighten-4 right" href="mailto:halp@flashy.cards">Concerns? Contact us by email!</a> | 103 | 111 | <a class="grey-text text-lighten-4 right" id="contact" href="mailto:halp@flashy.cards">Concerns? Contact us by email!</a> | |
</div> | 104 | 112 | </div> | |
113 | ||||
</div> | 105 | 114 | </div> | |
</footer> | 106 | 115 | </footer> | |
107 | 116 | |||
</body> | 108 | 117 | </body> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script> | 109 | 118 | <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.14/angular-ui-router.js"></script> | 110 | 119 | <script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.14/angular-ui-router.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-cookies.js"></script> | 111 | 120 | <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-cookies.js"></script> | |
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script> | 112 | 121 | <script src="//code.jquery.com/jquery-2.1.4.min.js"></script> | |
<script type="text/javascript" src="scripts/materialize.js"></script> | 113 | 122 | <script type="text/javascript" src="scripts/materialize.js"></script> | |
<script type="text/javascript" src="scripts/jquery.collapsible.js"></script> | 114 | 123 | <script type="text/javascript" src="scripts/jquery.collapsible.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/0.9.0/angular-material.min.js"></script> | 115 | 124 | <script src="https://ajax.googleapis.com/ajax/libs/angular_material/0.9.0/angular-material.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js"></script> | 116 | 125 | <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.min.js"></script> | 117 | 126 | <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-resource.min.js"></script> | 118 | 127 | <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-resource.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.4/angular-filter.js"></script> | 119 | 128 | <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-filter/0.5.4/angular-filter.js"></script> | |
120 | 129 | |||
121 | 130 | |||
<script src="config.js"></script> | 122 | 131 | <script src="config.js"></script> | |
123 | 132 | |||
<!-- Controllers --> | 124 | 133 | <!-- Controllers --> | |
<script src="scripts/FeedController.js"></script> | 125 | 134 | <script src="scripts/FeedController.js"></script> | |
<script src="scripts/RootController.js"></script> | 126 | 135 | <script src="scripts/RootController.js"></script> | |
<script src="scripts/LoginController.js"></script> | 127 | 136 | <script src="scripts/LoginController.js"></script> | |
<script src="scripts/LogoutController.js"></script> | 128 | 137 | <script src="scripts/LogoutController.js"></script> | |
<script src="scripts/DeckController.js"></script> | 129 | 138 | <script src="scripts/DeckController.js"></script> | |
<script src="scripts/RequestResetController.js"></script> | 130 | 139 | <script src="scripts/RequestResetController.js"></script> | |
<script src="scripts/ClassAddController.js"></script> | 131 | 140 | <script src="scripts/ClassAddController.js"></script> | |
<script src="scripts/StudyController.js"></script> | 132 | 141 | <script src="scripts/StudyController.js"></script> | |
<script src="scripts/ResetPasswordController.js"></script> | 133 | 142 | <script src="scripts/ResetPasswordController.js"></script> | |
<script src="scripts/CardListController.js"></script> | 134 | 143 | <script src="scripts/CardListController.js"></script> | |
<script src="scripts/VerifyEmailController.js"></script> | 135 | 144 | <script src="scripts/VerifyEmailController.js"></script> |
styles/flashy.css
View file @
69a8255
.no-user-select { | 1 | 1 | .no-user-select { | |
-moz-user-select: none; | 2 | 2 | -moz-user-select: none; | |
-webkit-user-select: none; | 3 | 3 | -webkit-user-select: none; | |
-ms-user-select: none; | 4 | 4 | -ms-user-select: none; | |
user-select: none; | 5 | 5 | user-select: none; | |
} | 6 | 6 | } | |
7 | 7 | |||
.angucomplete-dropdown { | 8 | 8 | .angucomplete-dropdown { | |
border-color: #ececec; | 9 | 9 | border-color: #ececec; | |
border-width: 1px; | 10 | 10 | border-width: 1px; | |
border-style: solid; | 11 | 11 | border-style: solid; | |
border-radius: 2px; | 12 | 12 | border-radius: 2px; | |
/*width: 250px;*/ | 13 | 13 | /*width: 250px;*/ | |
padding: 6px; | 14 | 14 | padding: 6px; | |
cursor: pointer; | 15 | 15 | cursor: pointer; | |
z-index: 9999; | 16 | 16 | z-index: 9999; | |
position: absolute; | 17 | 17 | position: absolute; | |
/*top: 32px; | 18 | 18 | /*top: 32px; | |
left: 0px; | 19 | 19 | left: 0px; | |
*/ | 20 | 20 | */ | |
margin-top: -6px; | 21 | 21 | margin-top: -6px; | |
background-color: #ffffff; | 22 | 22 | background-color: #ffffff; | |
} | 23 | 23 | } | |
24 | 24 | |||
.angucomplete-description { | 25 | 25 | .angucomplete-description { | |
font-size: 14px; | 26 | 26 | font-size: 14px; | |
} | 27 | 27 | } | |
28 | 28 | |||
.angucomplete-row { | 29 | 29 | .angucomplete-row { | |
padding: 5px; | 30 | 30 | padding: 5px; | |
color: #000000; | 31 | 31 | color: #000000; | |
margin-bottom: 4px; | 32 | 32 | margin-bottom: 4px; | |
clear: both; | 33 | 33 | clear: both; | |
} | 34 | 34 | } | |
35 | 35 | |||
.angucomplete-selected-row { | 36 | 36 | .angucomplete-selected-row { | |
background-color: #aaaaff; | 37 | 37 | background-color: #aaaaff; | |
} | 38 | 38 | } | |
39 | 39 | |||
/*.container .row {*/ | 40 | 40 | /*.container .row {*/ | |
/*margin-left: 0;*/ | 41 | 41 | /*margin-left: 0;*/ | |
/*margin-right: 0;*/ | 42 | 42 | /*margin-right: 0;*/ | |
/*}*/ | 43 | 43 | /*}*/ | |
44 | 44 | |||
/* Flashcard directive css */ | 45 | 45 | /* Flashcard directive css */ | |
.card { | 46 | 46 | .card { | |
word-wrap: break-word; | 47 | 47 | word-wrap: break-word; | |
} | 48 | 48 | } | |
49 | 49 | |||
.card.flashy { | 50 | 50 | .card.flashy { | |
background-color: #fff; | 51 | 51 | background-color: #fff; | |
font-family: 'Titillium Web', sans-serif; | 52 | 52 | font-family: 'Titillium Web', sans-serif; | |
float: left; | 53 | 53 | float: left; | |
text-align: center; | 54 | 54 | text-align: center; | |
margin: 6px; | 55 | 55 | margin: 6px; | |
transition: all 0.2s cubic-bezier(0, 0, 0.6, 1); | 56 | 56 | transition: all 0.2s cubic-bezier(0, 0, 0.6, 1); | |
} | 57 | 57 | } | |
58 | 58 | |||
.card.flashy.shrinky { | 59 | 59 | .card.flashy.shrinky { | |
height: 0; | 60 | 60 | height: 0; | |
opacity: 0; | 61 | 61 | opacity: 0; | |
overflow: hidden; | 62 | 62 | overflow: hidden; | |
} | 63 | 63 | } | |
64 | 64 | |||
.card-overlay { | 65 | 65 | .card-overlay { | |
cursor: pointer; | 66 | 66 | cursor: pointer; | |
left: 0; | 67 | 67 | left: 0; | |
opacity: 0; | 68 | 68 | opacity: 0; | |
position: absolute; | 69 | 69 | position: absolute; | |
top: 0; | 70 | 70 | top: 0; | |
transition: visibility 0s cubic-bezier(0, 0, 0.6, 1) 0.2s, | 71 | 71 | transition: visibility 0s cubic-bezier(0, 0, 0.6, 1) 0.2s, | |
opacity 0.2s cubic-bezier(0, 0, 0.6, 1); | 72 | 72 | opacity 0.2s cubic-bezier(0, 0, 0.6, 1); | |
/* animation effect to appear on off-hover */ | 73 | 73 | /* animation effect to appear on off-hover */ | |
visibility: hidden; | 74 | 74 | visibility: hidden; | |
height: 100%; | 75 | 75 | height: 100%; | |
width: 100%; | 76 | 76 | width: 100%; | |
} | 77 | 77 | } | |
78 | 78 | |||
.card-overlay i { | 79 | 79 | .card-overlay i { | |
color: #FFF; | 80 | 80 | color: #FFF; | |
left: 50%; | 81 | 81 | left: 50%; | |
position: absolute; | 82 | 82 | position: absolute; | |
top: 50%; | 83 | 83 | top: 50%; | |
transform: translate(-50%, -50%); | 84 | 84 | transform: translate(-50%, -50%); | |
transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | 85 | 85 | transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | |
} | 86 | 86 | } | |
87 | 87 | |||
.center-me:hover i { | 88 | 88 | .center-me:hover i { | |
text-shadow: 0 0 15px rgba(255, 255, 255, 0.9); | 89 | 89 | text-shadow: 0 0 15px rgba(255, 255, 255, 0.9); | |
} | 90 | 90 | } | |
91 | 91 | |||
.card:hover .card-overlay { | 92 | 92 | .card:hover .card-overlay { | |
opacity: 1.0; | 93 | 93 | opacity: 1.0; | |
transition-delay: 0s; /* animation effect to appear on hover */ | 94 | 94 | transition-delay: 0s; /* animation effect to appear on hover */ | |
visibility: visible; | 95 | 95 | visibility: visible; | |
} | 96 | 96 | } | |
97 | 97 | |||
.top-box { | 98 | 98 | .top-box { | |
background-color: rgba(0, 184, 76, 0.4); | 99 | 99 | background-color: rgba(0, 184, 76, 0.4); | |
height: 65%; | 100 | 100 | height: 65%; | |
position: relative; | 101 | 101 | position: relative; | |
transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | 102 | 102 | transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | |
width: 100%; | 103 | 103 | width: 100%; | |
} | 104 | 104 | } | |
105 | 105 | |||
.top-box:hover { | 106 | 106 | .top-box:hover { | |
background-color: rgba(0, 184, 76, 0.5); | 107 | 107 | background-color: rgba(0, 184, 76, 0.5); | |
} | 108 | 108 | } | |
109 | 109 | |||
.bottom-box { | 110 | 110 | .bottom-box { | |
height: 35%; | 111 | 111 | height: 35%; | |
width: 100%; | 112 | 112 | width: 100%; | |
} | 113 | 113 | } | |
114 | 114 | |||
.left-box { | 115 | 115 | .left-box { | |
background-color: rgba(119, 146, 255, 0.5); | 116 | 116 | background-color: rgba(119, 146, 255, 0.5); | |
float: left; | 117 | 117 | float: left; | |
position: relative; | 118 | 118 | position: relative; | |
height: 100%; | 119 | 119 | height: 100%; | |
transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | 120 | 120 | transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | |
width: 50%; | 121 | 121 | width: 50%; | |
} | 122 | 122 | } | |
123 | 123 | |||
.left-box:hover { | 124 | 124 | .left-box:hover { | |
background-color: rgba(119, 146, 255, 0.6); | 125 | 125 | background-color: rgba(119, 146, 255, 0.6); | |
} | 126 | 126 | } | |
127 | 127 | |||
.right-box { | 128 | 128 | .right-box { | |
background-color: rgba(255, 62, 76, 0.5); | 129 | 129 | background-color: rgba(255, 62, 76, 0.5); | |
float: right; | 130 | 130 | float: right; | |
height: 100%; | 131 | 131 | height: 100%; | |
position: relative; | 132 | 132 | position: relative; | |
transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | 133 | 133 | transition: all 0.2s cubic-bezier(0, 0, 0.6, 1) 0s; | |
width: 50%; | 134 | 134 | width: 50%; | |
} | 135 | 135 | } | |
136 | 136 | |||
.right-box:hover { | 137 | 137 | .right-box:hover { | |
background-color: rgba(255, 62, 76, 0.6); | 138 | 138 | background-color: rgba(255, 62, 76, 0.6); | |
} | 139 | 139 | } | |
140 | 140 | |||
.center-me { | 141 | 141 | .center-me { | |
height: 100%; | 142 | 142 | height: 100%; | |
margin: 0 auto; | 143 | 143 | margin: 0 auto; | |
text-align: center; | 144 | 144 | text-align: center; | |
vertical-align: middle; | 145 | 145 | vertical-align: middle; | |
width: 100%; | 146 | 146 | width: 100%; | |
} | 147 | 147 | } | |
148 | 148 | |||
/* Card Colors */ | 149 | 149 | /* Card Colors */ | |
.card.flashy.cardcolor-blue div { | 150 | 150 | .card.flashy.cardcolor-blue div { | |
background-color: rgba(119, 158, 203, 0.5) !important; | 151 | 151 | background-color: rgba(119, 158, 203, 0.5) !important; | |
} | 152 | 152 | } | |
153 | 153 | |||
.cardcolor-red div { | 154 | 154 | .cardcolor-red div { | |
background-color: rgba(255, 105, 97, 0.5) !important; | 155 | 155 | background-color: rgba(255, 105, 97, 0.5) !important; | |
} | 156 | 156 | } | |
157 | 157 | |||
.cardcolor-green div { | 158 | 158 | .cardcolor-green div { | |
background-color: rgba(119, 190, 119, 0.5) !important; | 159 | 159 | background-color: rgba(119, 190, 119, 0.5) !important; | |
} | 160 | 160 | } | |
161 | 161 | |||
.cardcolor-yellow div { | 162 | 162 | .cardcolor-yellow div { | |
background-color: rgba(253, 253, 150, 0.5) !important; | 163 | 163 | background-color: rgba(253, 253, 150, 0.5) !important; | |
} | 164 | 164 | } | |
165 | 165 | |||
/* Card Colors END */ | 166 | 166 | /* Card Colors END */ | |
167 | 167 | |||
.modal.bottom-sheet { | 168 | 168 | .modal.bottom-sheet { | |
max-width: 600px; | 169 | 169 | max-width: 600px; | |
margin-left: auto; | 170 | 170 | margin-left: auto; | |
margin-right: auto; | 171 | 171 | margin-right: auto; | |
} | 172 | 172 | } | |
173 | 173 | |||
#newCard input[type=text] { | 174 | 174 | #newCard input[type=text] { | |
height: 3rem !important; | 175 | 175 | height: 3rem !important; | |
} | 176 | 176 | } | |
177 | 177 | |||
.input-field label { | 178 | 178 | .input-field label { | |
color: #00b3c2; | 179 | 179 | color: #00b3c2; | |
} | 180 | 180 | } | |
181 | 181 | |||
/* label focus color */ | 182 | 182 | /* label focus color */ | |
.input-field input[type]:focus + label { | 183 | 183 | .input-field input[type]:focus + label { | |
color: #00b3c2; | 184 | 184 | color: #00b3c2; | |
} | 185 | 185 | } | |
186 | 186 | |||
/* label underline focus color */ | 187 | 187 | /* label underline focus color */ | |
.input-field input[type]:focus { | 188 | 188 | .input-field input[type]:focus { | |
border-bottom: 1px solid #00b3c2; | 189 | 189 | border-bottom: 1px solid #00b3c2; | |
box-shadow: 0 1px 0 0 #b388ff; | 190 | 190 | box-shadow: 0 1px 0 0 #b388ff; | |
} | 191 | 191 | } | |
192 | 192 | |||
/* valid color */ | 193 | 193 | /* valid color */ | |
.input-field input[type].valid { | 194 | 194 | .input-field input[type].valid { | |
border-bottom: 1px solid #00c28f; | 195 | 195 | border-bottom: 1px solid #00c28f; | |
box-shadow: 0 1px 0 0 #673ab7; | 196 | 196 | box-shadow: 0 1px 0 0 #673ab7; | |
} | 197 | 197 | } | |
198 | 198 | |||
/* invalid color */ | 199 | 199 | /* invalid color */ | |
.input-field input[type].invalid { | 200 | 200 | .input-field input[type].invalid { | |
border-bottom: 1px solid #673ab7; | 201 | 201 | border-bottom: 1px solid #673ab7; | |
box-shadow: 0 1px 0 0 #673ab7; | 202 | 202 | box-shadow: 0 1px 0 0 #673ab7; | |
} | 203 | 203 | } | |
204 | 204 | |||
/* icon prefix focus color */ | 205 | 205 | /* icon prefix focus color */ | |
.input-field .prefix.active { | 206 | 206 | .input-field .prefix.active { | |
color: #b388ff; | 207 | 207 | color: #b388ff; | |
} | 208 | 208 | } | |
209 | 209 | |||
/* label focus color */ | 210 | 210 | /* label focus color */ | |
.input-field textarea[type]:focus + label { | 211 | 211 | .input-field textarea[type]:focus + label { | |
color: #b388ff; | 212 | 212 | color: #b388ff; | |
} | 213 | 213 | } | |
214 | 214 | |||
/* label underline focus color */ | 215 | 215 | /* label underline focus color */ | |
.input-field textarea[type]:focus { | 216 | 216 | .input-field textarea[type]:focus { | |
border-bottom: 1px solid #00b3c2; | 217 | 217 | border-bottom: 1px solid #00b3c2; | |
box-shadow: 0 1px 0 0 #b388ff; | 218 | 218 | box-shadow: 0 1px 0 0 #b388ff; | |
} | 219 | 219 | } | |
220 | 220 | |||
body { | 221 | 221 | body { | |
background-color: #e8e8e8; | 222 | 222 | background-color: #e8e8e8; | |
overflow-x: hidden; | 223 | 223 | overflow-x: hidden; | |
font-family: 'Titillium Web', sans-serif; | 224 | 224 | font-family: 'Titillium Web', sans-serif; | |
225 | height: 100%; | |||
} | 225 | 226 | } | |
226 | 227 | |||
html { | 227 | 228 | html { | |
background: transparent; | 228 | 229 | background: transparent; | |
230 | height: 100%; | |||
} | 229 | 231 | } | |
230 | 232 | |||
.btn { | 231 | 233 | .btn { | |
background-color: #00b3c2; | 232 | 234 | background-color: #00b3c2; | |
} | 233 | 235 | } | |
234 | 236 | |||
.btn:hover { | 235 | 237 | .btn:hover { | |
background-color: #0097cb; | 236 | 238 | background-color: #0097cb; | |
} | 237 | 239 | } | |
238 | 240 | |||
.btn-floating { | 239 | 241 | .btn-floating { | |
background-color: #00b3c2; | 240 | 242 | background-color: #00b3c2; | |
} | 241 | 243 | } | |
242 | 244 | |||
.btn-floating:hover { | 243 | 245 | .btn-floating:hover { | |
background-color: #0097cb; | 244 | 246 | background-color: #0097cb; | |
} | 245 | 247 | } | |
246 | 248 | |||
#logo-container { | 247 | 249 | #logo-container { | |
margin-bottom: 18px; | 248 | 250 | margin-bottom: 18px; | |
} | 249 | 251 | } | |
250 | 252 | |||
#lean-overlay { | 251 | 253 | #lean-overlay { | |
display: none !important; | 252 | 254 | display: none !important; | |
} | 253 | 255 | } | |
254 | 256 | |||
nav { | 255 | 257 | nav { | |
background-color: #d2143f !important; | 256 | 258 | background-color: #d2143f !important; | |
} | 257 | 259 | } | |
258 | 260 | |||
main { | 259 | 261 | main { | |
min-height: 145px; | 260 | 262 | min-height: 145px; | |
} | 261 | 263 | } | |
262 | 264 | |||
.side-nav .collapsible-body { | 263 | 265 | .side-nav .collapsible-body { | |
width: 100%; | 264 | 266 | width: 100%; | |
} | 265 | 267 | } | |
266 | 268 | |||
.side-nav .collapsible-body li.active, .side-nav.fixed .collapsible-body li.active { | 267 | 269 | .side-nav .collapsible-body li.active, .side-nav.fixed .collapsible-body li.active { | |
background-color: #00b3c2; | 268 | 270 | background-color: #00b3c2; | |
} | 269 | 271 | } | |
270 | 272 | |||
nav .button-collapse { | 271 | 273 | nav .button-collapse { | |
margin: 0 20px; | 272 | 274 | margin: 0 20px; | |
} | 273 | 275 | } | |
274 | 276 | |||
.collapsible-body i { | 275 | 277 | .collapsible-body i { | |
font-size: 1rem !important; | 276 | 278 | font-size: 1rem !important; | |
} | 277 | 279 | } | |
278 | 280 | |||
.tabs .tab a { | 279 | 281 | .tabs .tab a { | |
color: #00b3c2; | 280 | 282 | color: #00b3c2; | |
} | 281 | 283 | } | |
282 | 284 | |||
.tabs .tab a:hover { | 283 | 285 | .tabs .tab a:hover { | |
color: #0041dd; | 284 | 286 | color: #0041dd; | |
} | 285 | 287 | } | |
286 | 288 | |||
.tabs .indicator { | 287 | 289 | .tabs .indicator { | |
border-bottom: 1px solid #00b3c2; | 288 | 290 | border-bottom: 1px solid #00b3c2; | |
} | 289 | 291 | } | |
290 | 292 | |||
h2 { | 291 | 293 | h2 { | |
text-align: center; | 292 | 294 | text-align: center; | |
} | 293 | 295 | } | |
294 | 296 | |||
md-content.md-default-theme { | 295 | 297 | md-content.md-default-theme { | |
background-color: rgba(255, 255, 255, 0); | 296 | 298 | background-color: rgba(255, 255, 255, 0); | |
border: 1px solid #fff; | 297 | 299 | border: 1px solid #fff; | |
} | 298 | 300 | } | |
299 | 301 | |||
/*#sidenav-overlay { | 300 | 302 | /*#sidenav-overlay { | |
background-color: rgba(0, 0, 0, 0) !important; | 301 | 303 | background-color: rgba(0, 0, 0, 0) !important; | |
}*/ | 302 | 304 | }*/ | |
.card-content { | 303 | 305 | .card-content { | |
width: 100%; | 304 | 306 | width: 100%; | |
} | 305 | 307 | } | |
306 | 308 | |||
.valign-wrapper { | 307 | 309 | .valign-wrapper { | |
height: 100%; | 308 | 310 | height: 100%; | |
} | 309 | 311 | } | |
310 | 312 | |||
.toast { | 311 | 313 | .toast { | |
height: 100px; | 312 | 314 | height: 100px; | |
width: 300px; | 313 | 315 | width: 300px; | |
line-height: 20px; | 314 | 316 | line-height: 20px; | |
max-height: 100px; | 315 | 317 | max-height: 100px; | |
word-wrap: normal; | 316 | 318 | word-wrap: normal; | |
} | 317 | 319 | } | |
318 | 320 | |||
[ng-cloak] { | 319 | 321 | [ng-cloak] { | |
display: none !important; | 320 | 322 | display: none !important; | |
} | 321 | 323 | } | |
322 | 324 | |||
.cardColumn { | 323 | 325 | .cardColumn { |