First commit
1
.flaskenv.py
Normal file
@ -0,0 +1 @@
|
||||
FLASK_APP=rmt-explorer.py
|
||||
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.idea/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
10
app/__init__.py
Normal file
@ -0,0 +1,10 @@
|
||||
from flask import Flask
|
||||
from config import Config
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_migrate import Migrate
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object(Config)
|
||||
|
||||
from app import routes
|
||||
|
||||
7
app/forms.py
Normal file
@ -0,0 +1,7 @@
|
||||
from flask_wtf import FlaskForm
|
||||
from wtforms import StringField, PasswordField, BooleanField, SubmitField
|
||||
from wtforms.validators import DataRequired
|
||||
|
||||
class LoginForm(FlaskForm):
|
||||
address = StringField('FLO address', validators=[DataRequired()])
|
||||
submit = SubmitField('Sign In')
|
||||
27
app/routes.py
Normal file
@ -0,0 +1,27 @@
|
||||
from flask import render_template
|
||||
from flask import render_template, flash, redirect, url_for
|
||||
from app import app
|
||||
from app.forms import LoginForm
|
||||
|
||||
@app.route('/', methods=['GET', 'POST'])
|
||||
@app.route('/index', methods=['GET', 'POST'])
|
||||
def index():
|
||||
form = LoginForm()
|
||||
if form.validate_on_submit():
|
||||
flash('Balance requested for address {}'.format(
|
||||
form.address.data))
|
||||
return redirect(url_for('index'))
|
||||
return render_template('index.html', title='RMT', form=form)
|
||||
|
||||
@app.route('/login')
|
||||
def login():
|
||||
form = LoginForm()
|
||||
return render_template('login.html', title='Search', form=form)
|
||||
|
||||
@app.route('/example')
|
||||
def example():
|
||||
return render_template('example.html')
|
||||
|
||||
@app.route('/test')
|
||||
def test():
|
||||
return render_template('test.html')
|
||||
BIN
app/static/css/.DS_Store
vendored
Normal file
7
app/static/css/bootstrap.min.css
vendored
Normal file
1142
app/static/css/demo.css
Normal file
566
app/static/css/nucleo-icons.css
Normal file
@ -0,0 +1,566 @@
|
||||
/*--------------------------------
|
||||
|
||||
nucleo-icons Web Font - built using nucleoapp.com
|
||||
License - nucleoapp.com/license/
|
||||
|
||||
-------------------------------- */
|
||||
@font-face {
|
||||
font-family: 'nucleo-icons';
|
||||
src: url('../fonts/nucleo-icons.eot');
|
||||
src: url('../fonts/nucleo-icons.eot') format('embedded-opentype'), url('../fonts/nucleo-icons.woff2') format('woff2'), url('../fonts/nucleo-icons.woff') format('woff'), url('../fonts/nucleo-icons.ttf') format('truetype'), url('../fonts/nucleo-icons.svg') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/*------------------------
|
||||
base class definition
|
||||
-------------------------*/
|
||||
.nc-icon {
|
||||
display: inline-block;
|
||||
font: normal normal normal 14px/1 'nucleo-icons';
|
||||
font-size: inherit;
|
||||
speak: none;
|
||||
text-transform: none;
|
||||
/* Better Font Rendering */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
/*------------------------
|
||||
change icon size
|
||||
-------------------------*/
|
||||
.nc-icon.lg {
|
||||
font-size: 1.33333333em;
|
||||
vertical-align: -16%;
|
||||
}
|
||||
.nc-icon.x2 {
|
||||
font-size: 2em;
|
||||
}
|
||||
.nc-icon.x3 {
|
||||
font-size: 3em;
|
||||
}
|
||||
/*----------------------------------
|
||||
add a square/circle background
|
||||
-----------------------------------*/
|
||||
.nc-icon.square,
|
||||
.nc-icon.circle {
|
||||
padding: 0.33333333em;
|
||||
vertical-align: -16%;
|
||||
background-color: #eee;
|
||||
}
|
||||
.nc-icon.circle {
|
||||
border-radius: 50%;
|
||||
}
|
||||
/*------------------------
|
||||
list icons
|
||||
-------------------------*/
|
||||
.nc-icon-ul {
|
||||
padding-left: 0;
|
||||
margin-left: 2.14285714em;
|
||||
list-style-type: none;
|
||||
}
|
||||
.nc-icon-ul > li {
|
||||
position: relative;
|
||||
}
|
||||
.nc-icon-ul > li > .nc-icon {
|
||||
position: absolute;
|
||||
left: -1.57142857em;
|
||||
top: 0.14285714em;
|
||||
text-align: center;
|
||||
}
|
||||
.nc-icon-ul > li > .nc-icon.lg {
|
||||
top: 0;
|
||||
left: -1.35714286em;
|
||||
}
|
||||
.nc-icon-ul > li > .nc-icon.circle,
|
||||
.nc-icon-ul > li > .nc-icon.square {
|
||||
top: -0.19047619em;
|
||||
left: -1.9047619em;
|
||||
}
|
||||
/*------------------------
|
||||
spinning icons
|
||||
-------------------------*/
|
||||
.nc-icon.spin {
|
||||
-webkit-animation: nc-icon-spin 2s infinite linear;
|
||||
-moz-animation: nc-icon-spin 2s infinite linear;
|
||||
animation: nc-icon-spin 2s infinite linear;
|
||||
}
|
||||
@-webkit-keyframes nc-icon-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@-moz-keyframes nc-icon-spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@keyframes nc-icon-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-moz-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-moz-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
-o-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
/*------------------------
|
||||
rotated/flipped icons
|
||||
-------------------------*/
|
||||
.nc-icon.rotate-90 {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
||||
-webkit-transform: rotate(90deg);
|
||||
-moz-transform: rotate(90deg);
|
||||
-ms-transform: rotate(90deg);
|
||||
-o-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.nc-icon.rotate-180 {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
||||
-webkit-transform: rotate(180deg);
|
||||
-moz-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
-o-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.nc-icon.rotate-270 {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
||||
-webkit-transform: rotate(270deg);
|
||||
-moz-transform: rotate(270deg);
|
||||
-ms-transform: rotate(270deg);
|
||||
-o-transform: rotate(270deg);
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
.nc-icon.flip-y {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
|
||||
-webkit-transform: scale(-1, 1);
|
||||
-moz-transform: scale(-1, 1);
|
||||
-ms-transform: scale(-1, 1);
|
||||
-o-transform: scale(-1, 1);
|
||||
transform: scale(-1, 1);
|
||||
}
|
||||
.nc-icon.flip-x {
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
||||
-webkit-transform: scale(1, -1);
|
||||
-moz-transform: scale(1, -1);
|
||||
-ms-transform: scale(1, -1);
|
||||
-o-transform: scale(1, -1);
|
||||
transform: scale(1, -1);
|
||||
}
|
||||
/*------------------------
|
||||
font icons
|
||||
-------------------------*/
|
||||
|
||||
.nc-air-baloon::before {
|
||||
content: "\ea01";
|
||||
}
|
||||
|
||||
.nc-album-2::before {
|
||||
content: "\ea02";
|
||||
}
|
||||
|
||||
.nc-alert-circle-i::before {
|
||||
content: "\ea04";
|
||||
}
|
||||
|
||||
.nc-align-center::before {
|
||||
content: "\ea03";
|
||||
}
|
||||
|
||||
.nc-align-left-2::before {
|
||||
content: "\ea05";
|
||||
}
|
||||
|
||||
.nc-ambulance::before {
|
||||
content: "\ea06";
|
||||
}
|
||||
|
||||
.nc-app::before {
|
||||
content: "\ea07";
|
||||
}
|
||||
|
||||
.nc-atom::before {
|
||||
content: "\ea08";
|
||||
}
|
||||
|
||||
.nc-badge::before {
|
||||
content: "\ea09";
|
||||
}
|
||||
|
||||
.nc-bag-16::before {
|
||||
content: "\ea0a";
|
||||
}
|
||||
|
||||
.nc-bank::before {
|
||||
content: "\ea0b";
|
||||
}
|
||||
|
||||
.nc-basket::before {
|
||||
content: "\ea0c";
|
||||
}
|
||||
|
||||
.nc-bell-55::before {
|
||||
content: "\ea0d";
|
||||
}
|
||||
|
||||
.nc-bold::before {
|
||||
content: "\ea0e";
|
||||
}
|
||||
|
||||
.nc-book-bookmark::before {
|
||||
content: "\ea0f";
|
||||
}
|
||||
|
||||
.nc-bookmark-2::before {
|
||||
content: "\ea10";
|
||||
}
|
||||
|
||||
.nc-box-2::before {
|
||||
content: "\ea11";
|
||||
}
|
||||
|
||||
.nc-box::before {
|
||||
content: "\ea12";
|
||||
}
|
||||
|
||||
.nc-briefcase-24::before {
|
||||
content: "\ea13";
|
||||
}
|
||||
|
||||
.nc-bulb-63::before {
|
||||
content: "\ea14";
|
||||
}
|
||||
|
||||
.nc-bullet-list-67::before {
|
||||
content: "\ea15";
|
||||
}
|
||||
|
||||
.nc-bus-front-12::before {
|
||||
content: "\ea16";
|
||||
}
|
||||
|
||||
.nc-button-pause::before {
|
||||
content: "\ea17";
|
||||
}
|
||||
|
||||
.nc-button-play::before {
|
||||
content: "\ea18";
|
||||
}
|
||||
|
||||
.nc-button-power::before {
|
||||
content: "\ea19";
|
||||
}
|
||||
|
||||
.nc-calendar-60::before {
|
||||
content: "\ea1a";
|
||||
}
|
||||
|
||||
.nc-camera-compact::before {
|
||||
content: "\ea1b";
|
||||
}
|
||||
|
||||
.nc-caps-small::before {
|
||||
content: "\ea1c";
|
||||
}
|
||||
|
||||
.nc-cart-simple::before {
|
||||
content: "\ea1d";
|
||||
}
|
||||
|
||||
.nc-chart-bar-32::before {
|
||||
content: "\ea1e";
|
||||
}
|
||||
|
||||
.nc-chart-pie-36::before {
|
||||
content: "\ea1f";
|
||||
}
|
||||
|
||||
.nc-chat-33::before {
|
||||
content: "\ea20";
|
||||
}
|
||||
|
||||
.nc-check-2::before {
|
||||
content: "\ea21";
|
||||
}
|
||||
|
||||
.nc-circle-10::before {
|
||||
content: "\ea22";
|
||||
}
|
||||
|
||||
.nc-cloud-download-93::before {
|
||||
content: "\ea23";
|
||||
}
|
||||
|
||||
.nc-cloud-upload-94::before {
|
||||
content: "\ea24";
|
||||
}
|
||||
|
||||
.nc-compass-05::before {
|
||||
content: "\ea25";
|
||||
}
|
||||
|
||||
.nc-controller-modern::before {
|
||||
content: "\ea26";
|
||||
}
|
||||
|
||||
.nc-credit-card::before {
|
||||
content: "\ea27";
|
||||
}
|
||||
|
||||
.nc-delivery-fast::before {
|
||||
content: "\ea28";
|
||||
}
|
||||
|
||||
.nc-diamond::before {
|
||||
content: "\ea29";
|
||||
}
|
||||
|
||||
.nc-email-85::before {
|
||||
content: "\ea2a";
|
||||
}
|
||||
|
||||
.nc-favourite-28::before {
|
||||
content: "\ea2b";
|
||||
}
|
||||
|
||||
.nc-glasses-2::before {
|
||||
content: "\ea2c";
|
||||
}
|
||||
|
||||
.nc-globe-2::before {
|
||||
content: "\ea2d";
|
||||
}
|
||||
|
||||
.nc-globe::before {
|
||||
content: "\ea2e";
|
||||
}
|
||||
|
||||
.nc-hat-3::before {
|
||||
content: "\ea2f";
|
||||
}
|
||||
|
||||
.nc-headphones::before {
|
||||
content: "\ea30";
|
||||
}
|
||||
|
||||
.nc-html5::before {
|
||||
content: "\ea31";
|
||||
}
|
||||
|
||||
.nc-image::before {
|
||||
content: "\ea32";
|
||||
}
|
||||
|
||||
.nc-istanbul::before {
|
||||
content: "\ea33";
|
||||
}
|
||||
|
||||
.nc-key-25::before {
|
||||
content: "\ea34";
|
||||
}
|
||||
|
||||
.nc-laptop::before {
|
||||
content: "\ea35";
|
||||
}
|
||||
|
||||
.nc-layout-11::before {
|
||||
content: "\ea36";
|
||||
}
|
||||
|
||||
.nc-lock-circle-open::before {
|
||||
content: "\ea37";
|
||||
}
|
||||
|
||||
.nc-map-big::before {
|
||||
content: "\ea38";
|
||||
}
|
||||
|
||||
.nc-minimal-down::before {
|
||||
content: "\ea39";
|
||||
}
|
||||
|
||||
.nc-minimal-left::before {
|
||||
content: "\ea3a";
|
||||
}
|
||||
|
||||
.nc-minimal-right::before {
|
||||
content: "\ea3b";
|
||||
}
|
||||
|
||||
.nc-minimal-up::before {
|
||||
content: "\ea3c";
|
||||
}
|
||||
|
||||
.nc-mobile::before {
|
||||
content: "\ea3d";
|
||||
}
|
||||
|
||||
.nc-money-coins::before {
|
||||
content: "\ea3e";
|
||||
}
|
||||
|
||||
.nc-note-03::before {
|
||||
content: "\ea3f";
|
||||
}
|
||||
|
||||
.nc-palette::before {
|
||||
content: "\ea40";
|
||||
}
|
||||
|
||||
.nc-paper::before {
|
||||
content: "\ea41";
|
||||
}
|
||||
|
||||
.nc-pin-3::before {
|
||||
content: "\ea42";
|
||||
}
|
||||
|
||||
.nc-planet::before {
|
||||
content: "\ea43";
|
||||
}
|
||||
|
||||
.nc-refresh-69::before {
|
||||
content: "\ea44";
|
||||
}
|
||||
|
||||
.nc-ruler-pencil::before {
|
||||
content: "\ea45";
|
||||
}
|
||||
|
||||
.nc-satisfied::before {
|
||||
content: "\ea46";
|
||||
}
|
||||
|
||||
.nc-scissors::before {
|
||||
content: "\ea47";
|
||||
}
|
||||
|
||||
.nc-send::before {
|
||||
content: "\ea48";
|
||||
}
|
||||
|
||||
.nc-settings-gear-65::before {
|
||||
content: "\ea49";
|
||||
}
|
||||
|
||||
.nc-settings::before {
|
||||
content: "\ea4a";
|
||||
}
|
||||
|
||||
.nc-share-66::before {
|
||||
content: "\ea4b";
|
||||
}
|
||||
|
||||
.nc-shop::before {
|
||||
content: "\ea4c";
|
||||
}
|
||||
|
||||
.nc-simple-add::before {
|
||||
content: "\ea4d";
|
||||
}
|
||||
|
||||
.nc-simple-delete::before {
|
||||
content: "\ea4e";
|
||||
}
|
||||
|
||||
.nc-simple-remove::before {
|
||||
content: "\ea4f";
|
||||
}
|
||||
|
||||
.nc-single-02::before {
|
||||
content: "\ea50";
|
||||
}
|
||||
|
||||
.nc-single-copy-04::before {
|
||||
content: "\ea51";
|
||||
}
|
||||
|
||||
.nc-sound-wave::before {
|
||||
content: "\ea52";
|
||||
}
|
||||
|
||||
.nc-spaceship::before {
|
||||
content: "\ea53";
|
||||
}
|
||||
|
||||
.nc-sun-fog-29::before {
|
||||
content: "\ea54";
|
||||
}
|
||||
|
||||
.nc-support-17::before {
|
||||
content: "\ea55";
|
||||
}
|
||||
|
||||
.nc-tablet-2::before {
|
||||
content: "\ea56";
|
||||
}
|
||||
|
||||
.nc-tag-content::before {
|
||||
content: "\ea57";
|
||||
}
|
||||
|
||||
.nc-tap-01::before {
|
||||
content: "\ea58";
|
||||
}
|
||||
|
||||
.nc-tie-bow::before {
|
||||
content: "\ea59";
|
||||
}
|
||||
|
||||
.nc-tile-56::before {
|
||||
content: "\ea5a";
|
||||
}
|
||||
|
||||
.nc-time-alarm::before {
|
||||
content: "\ea5b";
|
||||
}
|
||||
|
||||
.nc-touch-id::before {
|
||||
content: "\ea5c";
|
||||
}
|
||||
|
||||
.nc-trophy::before {
|
||||
content: "\ea5d";
|
||||
}
|
||||
|
||||
.nc-tv-2::before {
|
||||
content: "\ea5e";
|
||||
}
|
||||
|
||||
.nc-umbrella-13::before {
|
||||
content: "\ea5f";
|
||||
}
|
||||
|
||||
.nc-user-run::before {
|
||||
content: "\ea60";
|
||||
}
|
||||
|
||||
.nc-vector::before {
|
||||
content: "\ea61";
|
||||
}
|
||||
|
||||
.nc-watch-time::before {
|
||||
content: "\ea62";
|
||||
}
|
||||
|
||||
.nc-world-2::before {
|
||||
content: "\ea63";
|
||||
}
|
||||
|
||||
.nc-zoom-split::before {
|
||||
content: "\ea64";
|
||||
}
|
||||
|
||||
|
||||
/* all icon font classes list here */
|
||||
5933
app/static/css/paper-kit.css
Normal file
BIN
app/static/fonts/nucleo-icons.eot
Normal file
BIN
app/static/fonts/nucleo-icons.ttf
Normal file
BIN
app/static/fonts/nucleo-icons.woff
Normal file
BIN
app/static/fonts/nucleo-icons.woff2
Normal file
BIN
app/static/img/.DS_Store
vendored
Normal file
BIN
app/static/img/antoine-barres.jpg
Normal file
|
After Width: | Height: | Size: 505 KiB |
BIN
app/static/img/apple-icon.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
app/static/img/bruno-abatti.jpg
Normal file
|
After Width: | Height: | Size: 198 KiB |
BIN
app/static/img/clouds.png
Normal file
|
After Width: | Height: | Size: 695 KiB |
BIN
app/static/img/creative-tim-white-slim2.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
app/static/img/daniel-olahh.jpg
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
app/static/img/daniel-olahs.jpg
Normal file
|
After Width: | Height: | Size: 334 KiB |
BIN
app/static/img/examples/.DS_Store
vendored
Normal file
BIN
app/static/img/examples/landing-page.JPG
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
app/static/img/examples/profile-page.JPG
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
app/static/img/fabio-mangione.jpg
Normal file
|
After Width: | Height: | Size: 311 KiB |
BIN
app/static/img/faces/.DS_Store
vendored
Normal file
BIN
app/static/img/faces/ayo-ogunseinde-2.jpg
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
app/static/img/faces/clem-onojeghuo-2.jpg
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
app/static/img/faces/clem-onojeghuo-3.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
app/static/img/faces/erik-lucatero-2.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
app/static/img/faces/joe-gardner-2.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
app/static/img/faces/kaci-baum-2.jpg
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
app/static/img/faces/ranchimall-square.jpg
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
app/static/img/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
app/static/img/federico-beccari.jpg
Normal file
|
After Width: | Height: | Size: 360 KiB |
BIN
app/static/img/fog-low.png
Normal file
|
After Width: | Height: | Size: 200 KiB |
BIN
app/static/img/ilya-yakover.jpg
Normal file
|
After Width: | Height: | Size: 362 KiB |
BIN
app/static/img/joshua-stannard.jpg
Normal file
|
After Width: | Height: | Size: 486 KiB |
BIN
app/static/img/login-image.jpg
Normal file
|
After Width: | Height: | Size: 503 KiB |
BIN
app/static/img/new_logo.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
app/static/img/placeholder.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
app/static/img/soroush-karimi.jpg
Normal file
|
After Width: | Height: | Size: 432 KiB |
BIN
app/static/img/uriel-soberanes.jpg
Normal file
|
After Width: | Height: | Size: 238 KiB |
BIN
app/static/js/.DS_Store
vendored
Normal file
2655
app/static/js/bootstrap-datetimepicker.min.js
vendored
Normal file
10
app/static/js/bootstrap-switch.min.js
vendored
Normal file
6
app/static/js/bootstrap.min.js
vendored
Normal file
9789
app/static/js/jquery-3.2.1.js
vendored
Normal file
7
app/static/js/jquery-ui-1.12.1.custom.min.js
vendored
Normal file
7
app/static/js/moment.min.js
vendored
Normal file
2256
app/static/js/nouislider.js
Normal file
275
app/static/js/paper-kit.js
Normal file
@ -0,0 +1,275 @@
|
||||
/*!
|
||||
|
||||
=========================================================
|
||||
* Paper Kit 2 - v2.1.0
|
||||
=========================================================
|
||||
|
||||
* Product Page: http://www.creative-tim.com/product/paper-kit-2
|
||||
* Copyright 2017 Creative Tim (http://www.creative-tim.com)
|
||||
* Licensed under MIT (https://github.com/timcreative/paper-kit/blob/master/LICENSE.md)
|
||||
|
||||
=========================================================
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*/
|
||||
|
||||
var searchVisible = 0;
|
||||
var transparent = true;
|
||||
|
||||
var transparentDemo = true;
|
||||
var fixedTop = false;
|
||||
|
||||
var navbar_initialized = false;
|
||||
|
||||
$(document).ready(function(){
|
||||
window_width = $(window).width();
|
||||
|
||||
// Activate the tooltips
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
if($(".tagsinput").length != 0){
|
||||
$(".tagsinput").tagsInput();
|
||||
}
|
||||
if (window_width >= 768) {
|
||||
big_image = $('.page-header[data-parallax="true"]');
|
||||
|
||||
if(big_image.length != 0){
|
||||
$(window).on('scroll', pk.checkScrollForPresentationPage);
|
||||
}
|
||||
}
|
||||
|
||||
if($("#datetimepicker").length != 0){
|
||||
$('#datetimepicker').datetimepicker({
|
||||
icons: {
|
||||
time: "fa fa-clock-o",
|
||||
date: "fa fa-calendar",
|
||||
up: "fa fa-chevron-up",
|
||||
down: "fa fa-chevron-down",
|
||||
previous: 'fa fa-chevron-left',
|
||||
next: 'fa fa-chevron-right',
|
||||
today: 'fa fa-screenshot',
|
||||
clear: 'fa fa-trash',
|
||||
close: 'fa fa-remove'
|
||||
},
|
||||
debug: true
|
||||
});
|
||||
};
|
||||
|
||||
// Activate bootstrap switch
|
||||
$('[data-toggle="switch"]').bootstrapSwitch();
|
||||
|
||||
// Navbar color change on scroll
|
||||
if($('.navbar[color-on-scroll]').length != 0){
|
||||
$(window).on('scroll', pk.checkScrollForTransparentNavbar)
|
||||
}
|
||||
|
||||
// Activate tooltips
|
||||
$('.btn-tooltip').tooltip();
|
||||
$('.label-tooltip').tooltip();
|
||||
|
||||
// Carousel
|
||||
$('.carousel').carousel({
|
||||
interval: 4000
|
||||
});
|
||||
|
||||
$('.form-control').on("focus", function(){
|
||||
$(this).parent('.input-group').addClass("input-group-focus");
|
||||
}).on("blur", function(){
|
||||
$(this).parent(".input-group").removeClass("input-group-focus");
|
||||
});
|
||||
|
||||
// Init popovers
|
||||
pk.initPopovers();
|
||||
|
||||
// Init Collapse Areas
|
||||
pk.initCollapseArea();
|
||||
|
||||
// Init Sliders
|
||||
pk.initSliders();
|
||||
|
||||
});
|
||||
|
||||
|
||||
$(document).on('click', '.navbar-toggler', function(){
|
||||
$toggle = $(this);
|
||||
if(pk.misc.navbar_menu_visible == 1) {
|
||||
$('html').removeClass('nav-open');
|
||||
pk.misc.navbar_menu_visible = 0;
|
||||
setTimeout(function(){
|
||||
$toggle.removeClass('toggled');
|
||||
$('#bodyClick').remove();
|
||||
}, 550);
|
||||
} else {
|
||||
setTimeout(function(){
|
||||
$toggle.addClass('toggled');
|
||||
}, 580);
|
||||
|
||||
div = '<div id="bodyClick"></div>';
|
||||
$(div).appendTo("body").click(function() {
|
||||
$('html').removeClass('nav-open');
|
||||
pk.misc.navbar_menu_visible = 0;
|
||||
$('#bodyClick').remove();
|
||||
setTimeout(function(){
|
||||
$toggle.removeClass('toggled');
|
||||
}, 550);
|
||||
});
|
||||
|
||||
$('html').addClass('nav-open');
|
||||
pk.misc.navbar_menu_visible = 1;
|
||||
}
|
||||
});
|
||||
|
||||
pk = {
|
||||
misc:{
|
||||
navbar_menu_visible: 0
|
||||
},
|
||||
|
||||
checkScrollForPresentationPage: debounce(function(){
|
||||
oVal = ($(window).scrollTop() / 3);
|
||||
big_image.css({
|
||||
'transform':'translate3d(0,' + oVal +'px,0)',
|
||||
'-webkit-transform':'translate3d(0,' + oVal +'px,0)',
|
||||
'-ms-transform':'translate3d(0,' + oVal +'px,0)',
|
||||
'-o-transform':'translate3d(0,' + oVal +'px,0)'
|
||||
});
|
||||
}, 4),
|
||||
|
||||
checkScrollForTransparentNavbar: debounce(function() {
|
||||
if($(document).scrollTop() > $(".navbar").attr("color-on-scroll") ) {
|
||||
if(transparent) {
|
||||
transparent = false;
|
||||
$('.navbar[color-on-scroll]').removeClass('navbar-transparent');
|
||||
}
|
||||
} else {
|
||||
if( !transparent ) {
|
||||
transparent = true;
|
||||
$('.navbar[color-on-scroll]').addClass('navbar-transparent');
|
||||
}
|
||||
}
|
||||
}, 17),
|
||||
|
||||
initPopovers: function(){
|
||||
if($('[data-toggle="popover"]').length != 0){
|
||||
$('body').append('<div class="popover-filter"></div>');
|
||||
|
||||
// Activate Popovers
|
||||
$('[data-toggle="popover"]').popover().on('show.bs.popover', function () {
|
||||
$('.popover-filter').click(function(){
|
||||
$(this).removeClass('in');
|
||||
$('[data-toggle="popover"]').popover('hide');
|
||||
});
|
||||
$('.popover-filter').addClass('in');
|
||||
}).on('hide.bs.popover', function(){
|
||||
$('.popover-filter').removeClass('in');
|
||||
});
|
||||
|
||||
}
|
||||
},
|
||||
initCollapseArea: function(){
|
||||
$('[data-toggle="pk-collapse"]').each(function () {
|
||||
var thisdiv = $(this).attr("data-target");
|
||||
$(thisdiv).addClass("pk-collapse");
|
||||
});
|
||||
|
||||
$('[data-toggle="pk-collapse"]').hover(function(){
|
||||
var thisdiv = $(this).attr("data-target");
|
||||
if(!$(this).hasClass('state-open')){
|
||||
$(this).addClass('state-hover');
|
||||
$(thisdiv).css({
|
||||
'height':'30px'
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
function(){
|
||||
var thisdiv = $(this).attr("data-target");
|
||||
$(this).removeClass('state-hover');
|
||||
|
||||
if(!$(this).hasClass('state-open')){
|
||||
$(thisdiv).css({
|
||||
'height':'0px'
|
||||
});
|
||||
}
|
||||
}).click(function(event){
|
||||
event.preventDefault();
|
||||
|
||||
var thisdiv = $(this).attr("data-target");
|
||||
var height = $(thisdiv).children('.panel-body').height();
|
||||
|
||||
if($(this).hasClass('state-open')){
|
||||
$(thisdiv).css({
|
||||
'height':'0px',
|
||||
});
|
||||
$(this).removeClass('state-open');
|
||||
} else {
|
||||
$(thisdiv).css({
|
||||
'height':height + 30,
|
||||
});
|
||||
$(this).addClass('state-open');
|
||||
}
|
||||
});
|
||||
},
|
||||
initSliders: function(){
|
||||
// Sliders for demo purpose in refine cards section
|
||||
if($('#sliderRegular').length != 0 ){
|
||||
var rangeSlider = document.getElementById('sliderRegular');
|
||||
noUiSlider.create(rangeSlider, {
|
||||
start: [ 5000 ],
|
||||
range: {
|
||||
'min': [ 2000 ],
|
||||
'max': [ 10000 ]
|
||||
}
|
||||
});
|
||||
}
|
||||
if($('#sliderDouble').length != 0){
|
||||
var slider = document.getElementById('sliderDouble');
|
||||
noUiSlider.create(slider, {
|
||||
start: [20, 80],
|
||||
connect: true,
|
||||
range: {
|
||||
'min': 0,
|
||||
'max': 100
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
examples = {
|
||||
initContactUsMap: function(){
|
||||
var myLatlng = new google.maps.LatLng(44.433530, 26.093928);
|
||||
var mapOptions = {
|
||||
zoom: 14,
|
||||
center: myLatlng,
|
||||
scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
|
||||
}
|
||||
var map = new google.maps.Map(document.getElementById("contactUsMap"), mapOptions);
|
||||
|
||||
var marker = new google.maps.Marker({
|
||||
position: myLatlng,
|
||||
title:"Hello World!"
|
||||
});
|
||||
|
||||
// To add the marker to the map, call setMap();
|
||||
marker.setMap(map);
|
||||
}
|
||||
}
|
||||
|
||||
// Returns a function, that, as long as it continues to be invoked, will not
|
||||
// be triggered. The function will be called after it stops being called for
|
||||
// N milliseconds. If `immediate` is passed, trigger the function on the
|
||||
// leading edge, instead of the trailing.
|
||||
|
||||
function debounce(func, wait, immediate) {
|
||||
var timeout;
|
||||
return function() {
|
||||
var context = this, args = arguments;
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(function() {
|
||||
timeout = null;
|
||||
if (!immediate) func.apply(context, args);
|
||||
}, wait);
|
||||
if (immediate && !timeout) func.apply(context, args);
|
||||
};
|
||||
};
|
||||
2448
app/static/js/popper.js
Normal file
BIN
app/static/sass/.DS_Store
vendored
Normal file
55
app/static/sass/paper-kit.scss
Normal file
@ -0,0 +1,55 @@
|
||||
/*!
|
||||
|
||||
=========================================================
|
||||
* Paper Kit 2 - v2.0.1
|
||||
=========================================================
|
||||
|
||||
* Product Page: http://www.creative-tim.com/product/paper-kit-2
|
||||
* Copyright 2017 Creative Tim (http://www.creative-tim.com)
|
||||
* Licensed under MIT (https://github.com/timcreative/paper-kit/blob/master/LICENSE.md)
|
||||
|
||||
=========================================================
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*/
|
||||
|
||||
@import "paper-kit/variables";
|
||||
@import "paper-kit/mixins";
|
||||
|
||||
@import "paper-kit/typography";
|
||||
|
||||
// Core CSS
|
||||
@import "paper-kit/misc";
|
||||
@import "paper-kit/buttons";
|
||||
@import "paper-kit/inputs";
|
||||
@import "paper-kit/progress-bars";
|
||||
@import "paper-kit/sliders";
|
||||
@import "paper-kit/alerts";
|
||||
@import "paper-kit/labels";
|
||||
@import "paper-kit/tooltips-and-popovers";
|
||||
@import "paper-kit/sections";
|
||||
@import "paper-kit/checkbox-radio";
|
||||
@import "paper-kit/navbars";
|
||||
@import "paper-kit/images";
|
||||
@import "paper-kit/cards";
|
||||
@import "paper-kit/footers";
|
||||
|
||||
|
||||
// Bootstrap Switch
|
||||
@import "paper-kit/bootstrap-switch";
|
||||
|
||||
// Fancy Stuff
|
||||
@import "paper-kit/dropdown";
|
||||
//
|
||||
// icons
|
||||
@import "paper-kit/icons";
|
||||
//
|
||||
@import "paper-kit/tabs-navs-pagination";
|
||||
@import "paper-kit/collapse";
|
||||
@import "paper-kit/carousel";
|
||||
@import "paper-kit/modal";
|
||||
//
|
||||
@import "paper-kit/responsive";
|
||||
@import "paper-kit/plugins/datetimepicker";
|
||||
@import "paper-kit/social-buttons";
|
||||
@import "paper-kit/examples";
|
||||
BIN
app/static/sass/paper-kit/.DS_Store
vendored
Normal file
61
app/static/sass/paper-kit/_alerts.scss
Normal file
@ -0,0 +1,61 @@
|
||||
.alert{
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: #FFFFFF;
|
||||
padding: 10px 15px;
|
||||
font-size: 14px;
|
||||
|
||||
& .close{
|
||||
font-size: $font-size-large;
|
||||
color: $white-color;
|
||||
}
|
||||
|
||||
.container &{
|
||||
border-radius: 4px;
|
||||
|
||||
}
|
||||
.navbar &{
|
||||
border-radius: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 85px;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
}
|
||||
.navbar:not(.navbar-transparent) &{
|
||||
top: 70px;
|
||||
}
|
||||
.alert-icon{
|
||||
display: block;
|
||||
font-size: 30px;
|
||||
left: 15px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -22px;
|
||||
}
|
||||
|
||||
&.message{
|
||||
padding-right: 60px;
|
||||
}
|
||||
i{
|
||||
position: relative;
|
||||
font-size: 20px;
|
||||
top: 5px;
|
||||
margin-top: -5px;
|
||||
font-weight: $font-weight-bold;
|
||||
}
|
||||
|
||||
}
|
||||
.alert-info{
|
||||
background-color: $bg-info;
|
||||
}
|
||||
.alert-success {
|
||||
background-color: $bg-success;
|
||||
}
|
||||
.alert-warning {
|
||||
background-color: $bg-warning;
|
||||
}
|
||||
.alert-danger {
|
||||
background-color: $bg-danger;
|
||||
}
|
||||
253
app/static/sass/paper-kit/_bootstrap-switch.scss
Normal file
@ -0,0 +1,253 @@
|
||||
.bootstrap-switch {
|
||||
display: inline-block;
|
||||
direction: ltr;
|
||||
cursor: pointer;
|
||||
border-radius: 30px;
|
||||
border: 0;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
margin-bottom: 5px;
|
||||
line-height: 8px;
|
||||
width: 61px !important;
|
||||
height: 26px;
|
||||
outline: none;
|
||||
z-index: 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
vertical-align: middle;
|
||||
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-container {
|
||||
display: inline-flex;
|
||||
top: 0;
|
||||
height: 26px;
|
||||
border-radius: 4px;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
width: 100px !important;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch .bootstrap-switch-label {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: inline-block !important;
|
||||
height: 100%;
|
||||
color: #fff;
|
||||
padding: 6px 12px;
|
||||
font-size: 11px;
|
||||
text-indent: -5px;
|
||||
line-height: 15px;
|
||||
-webkit-transition: 0.25s ease-out;
|
||||
transition: 0.25s ease-out;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off {
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
float: left;
|
||||
width: 50% !important;
|
||||
background-color: #66615B;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
|
||||
color: #fff;
|
||||
background: $primary-color;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info {
|
||||
color: #fff;
|
||||
background: #447DF7;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success {
|
||||
color: #fff;
|
||||
background: #7AC29A;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning {
|
||||
background: #FFA534;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger {
|
||||
color: #fff;
|
||||
background: #FB404B;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
|
||||
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
|
||||
color: #fff;
|
||||
background: #cfcfca;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-label {
|
||||
text-align: center;
|
||||
z-index: 100;
|
||||
color: #333333;
|
||||
background: #ffffff;
|
||||
width: 22px !important;
|
||||
height: 22px;
|
||||
margin: 2px -11px;
|
||||
border-radius: 12px;
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 0;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0 1px 1px #FFFFFF inset, 0 1px 1px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-on {
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
.bootstrap-switch .bootstrap-switch-handle-off {
|
||||
text-indent: 6px;
|
||||
}
|
||||
|
||||
.bootstrap-switch input[type='radio'],
|
||||
.bootstrap-switch input[type='checkbox'] {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.bootstrap-switch input[type='radio'].form-control,
|
||||
.bootstrap-switch input[type='checkbox'].form-control {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
|
||||
padding: 1px 5px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
|
||||
padding: 6px 16px;
|
||||
font-size: 18px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-disabled,
|
||||
.bootstrap-switch.bootstrap-switch-readonly,
|
||||
.bootstrap-switch.bootstrap-switch-indeterminate {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on,
|
||||
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off,
|
||||
.bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label,
|
||||
.bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label,
|
||||
.bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
|
||||
-webkit-transition: margin-left 0.5s;
|
||||
transition: margin-left 0.5s;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-container {
|
||||
margin-left: -2px !important;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
|
||||
margin-left: -37px !important;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on:hover .bootstrap-switch-label {
|
||||
width: 26px !important;
|
||||
margin: 2px -15px;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-off:hover .bootstrap-switch-label {
|
||||
width: 26px !important;
|
||||
margin: 2px -15px -13px -11px;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-handle-off {
|
||||
background-color: #66615B;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-handle-on {
|
||||
background-color: #cfcfca;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-danger ~ .bootstrap-switch-default {
|
||||
background-color: #FB404B;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-warning ~ .bootstrap-switch-default {
|
||||
background-color: #FFA534;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-success ~ .bootstrap-switch-default {
|
||||
background-color: #7AC29A;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-primary ~ .bootstrap-switch-default {
|
||||
background-color: $primary-color;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-info ~ .bootstrap-switch-default {
|
||||
background-color: #447DF7;
|
||||
}
|
||||
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-danger,
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-primary,
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-info,
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-warning,
|
||||
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-success {
|
||||
background-color: #cfcfca;
|
||||
}
|
||||
220
app/static/sass/paper-kit/_buttons.scss
Normal file
@ -0,0 +1,220 @@
|
||||
.btn{
|
||||
box-sizing: border-box;
|
||||
border-width: $border-thick;
|
||||
font-size: $font-size-small;
|
||||
font-weight: $font-weight-bold;
|
||||
padding: .5rem $padding-base-horizontal;
|
||||
line-height: 1.75;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
|
||||
&.btn-border,
|
||||
&.btn-link{
|
||||
background-color: $transparent-bg;
|
||||
}
|
||||
|
||||
@include btn-styles($default-color, $default-states-color);
|
||||
@include transition($fast-transition-time, linear);
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
outline: 0 !important;
|
||||
@include box-shadow(none);
|
||||
}
|
||||
&:active,
|
||||
&.active,
|
||||
.open > &.dropdown-toggle {
|
||||
@include box-shadow(none);
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
&[class*="btn-outline-"]{
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
.btn-just-icon{
|
||||
border-radius: $border-radius-btn-large;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
padding: 8px;
|
||||
|
||||
&.btn-sm{
|
||||
padding: 4px !important;
|
||||
}
|
||||
i{
|
||||
font-size: $font-size-medium;
|
||||
padding: 2px 0px;
|
||||
}
|
||||
}
|
||||
.upgrade-pro{
|
||||
.btn{
|
||||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
.btn-link.btn-just-icon{
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.btn-group .btn + .btn,
|
||||
.btn-group .btn + .btn-group,
|
||||
.btn-group .btn-group + .btn,
|
||||
.btn-group .btn-group + .btn-group{
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
|
||||
// Apply the mixin to the buttons
|
||||
.btn-primary { @include btn-styles($primary-color, $primary-states-color); }
|
||||
.btn-success { @include btn-styles($success-color, $success-states-color); }
|
||||
.btn-info { @include btn-styles($info-color, $info-states-color); }
|
||||
.btn-warning { @include btn-styles($warning-color, $warning-states-color); }
|
||||
.btn-danger { @include btn-styles($danger-color, $danger-states-color); }
|
||||
.btn-neutral { @include btn-styles($white-color, $default-states-color); }
|
||||
|
||||
.btn-outline-default { @include btn-outline-styles($default-color, $default-states-color); }
|
||||
.btn-outline-primary { @include btn-outline-styles($primary-color, $primary-states-color); }
|
||||
.btn-outline-success { @include btn-outline-styles($success-color, $success-states-color); }
|
||||
.btn-outline-info { @include btn-outline-styles($info-color, $info-states-color); }
|
||||
.btn-outline-warning { @include btn-outline-styles($warning-color, $warning-states-color); }
|
||||
.btn-outline-danger { @include btn-outline-styles($danger-color, $danger-states-color); }
|
||||
.btn-outline-neutral { @include btn-outline-styles($white-color, $default-states-color);
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-states-color;
|
||||
background-color: $white-color;
|
||||
}
|
||||
}
|
||||
.btn-neutral {
|
||||
@include btn-styles($white-color, $white-color);
|
||||
color: $default-color;
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-states-color;
|
||||
}
|
||||
|
||||
&.btn-border{
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-color;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&.active,
|
||||
.open > &.dropdown-toggle{
|
||||
background-color: $white-color;
|
||||
color: $default-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-link:active,
|
||||
&.btn-link.active{
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.btn{
|
||||
&:disabled,
|
||||
&[disabled],
|
||||
&.disabled{
|
||||
@include opacity(.5);
|
||||
}
|
||||
}
|
||||
.btn-link{
|
||||
border-color: transparent !important;
|
||||
padding: $padding-base-vertical $padding-base-horizontal;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active{
|
||||
text-decoration: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&.btn-icon{
|
||||
padding: $padding-base-vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-lg{
|
||||
@include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-base, $line-height-small);
|
||||
}
|
||||
.btn-sm{
|
||||
@include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small);
|
||||
}
|
||||
.btn-wd {
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.btn-group.select{
|
||||
width: 100%;
|
||||
}
|
||||
.btn-group.select .btn{
|
||||
text-align: left;
|
||||
}
|
||||
.btn-group.select .caret{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -1px;
|
||||
right: 8px;
|
||||
}
|
||||
.btn-just-icon{
|
||||
&.btn-sm{
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
padding: 0;
|
||||
|
||||
i{
|
||||
font-size: $font-size-small;
|
||||
|
||||
}
|
||||
}
|
||||
&.btn-lg{
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
min-width: 50px;
|
||||
padding: 13px;
|
||||
|
||||
i{
|
||||
font-size: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.btn-round{
|
||||
border-radius: 30px;
|
||||
}
|
||||
.btn.btn-link:focus{
|
||||
box-shadow: none !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.column .btn-link{
|
||||
padding: 7px 0;
|
||||
}
|
||||
.share-buttons .btn-outline-default{
|
||||
margin-top: 24px;
|
||||
}
|
||||
#modals .btn-outline-neutral{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.btn-group.select{
|
||||
overflow: visible !important;
|
||||
}
|
||||
.media{
|
||||
.media-body{
|
||||
.media-footer{
|
||||
.btn-neutral{
|
||||
margin: $navbar-margin-btn;
|
||||
font-size: $font-size-base;
|
||||
i{
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
157
app/static/sass/paper-kit/_cards.scss
Normal file
@ -0,0 +1,157 @@
|
||||
.card{
|
||||
border-radius: $border-radius-extreme;
|
||||
box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
|
||||
background-color: #FFFFFF;
|
||||
color: $card-black-color;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border: 0 none;
|
||||
|
||||
-webkit-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
|
||||
-moz-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
|
||||
-o-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
|
||||
-ms-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
|
||||
transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
|
||||
|
||||
&:not(.card-plain):hover {
|
||||
box-shadow: 0px 12px 19px -7px rgba(0, 0, 0, 0.3);
|
||||
transform: translateY(-10px);
|
||||
-webkit-transform: translateY(-10px);
|
||||
-ms-transform: translateY(-10px);
|
||||
-moz-transform: translateY(-10px);
|
||||
}
|
||||
|
||||
&.card-plain{
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.card-footer{
|
||||
padding: 15px;
|
||||
background: transparent ;
|
||||
border-top: 0 none;
|
||||
|
||||
.social-line{
|
||||
.btn:first-child{
|
||||
border-radius: 0 0 0 6px;
|
||||
}
|
||||
.btn:last-child{
|
||||
border-radius: 0 0 6px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body{
|
||||
.card-footer{
|
||||
padding: 0;
|
||||
}
|
||||
.card-description + .card-footer{
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
&.no-transition:hover,
|
||||
&.card-register:hover,
|
||||
&.page-carousel:hover{
|
||||
box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
|
||||
transform: none;
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
-moz-transform: none;
|
||||
}
|
||||
}
|
||||
.section-dark{
|
||||
.card-profile.card-plain{
|
||||
.card-title{
|
||||
color: $white-color !important;
|
||||
}
|
||||
.card-description{
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-profile{
|
||||
margin-top: 30px;
|
||||
text-align: center;
|
||||
|
||||
.card-cover{
|
||||
height: 130px;
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
border-radius: $border-radius-extreme $border-radius-extreme 0 0;
|
||||
}
|
||||
|
||||
.card-body{
|
||||
.card-title{
|
||||
margin-top: 5px !important;
|
||||
}
|
||||
.card-category{
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-avatar{
|
||||
max-width: 120px;
|
||||
max-height: 120px;
|
||||
margin: -60px auto 0;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
& img{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
&.border-white{
|
||||
border: 4px solid $white-color;
|
||||
}
|
||||
&.border-gray{
|
||||
border: 4px solid $card-muted-color;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.section{
|
||||
.card-profile{
|
||||
margin-top: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-register {
|
||||
background-color: #FF8F5E;
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
max-width: 350px;
|
||||
margin: 120px 0 70px;
|
||||
min-height: 400px;
|
||||
padding: 30px;
|
||||
z-index: 1;
|
||||
|
||||
.social-line{
|
||||
.btn{
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.section-image{
|
||||
.card-register{
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card-register label {
|
||||
margin-top: 15px; }
|
||||
|
||||
.card-register .title {
|
||||
color: #B33C12;
|
||||
text-align: center; }
|
||||
|
||||
.card-register .btn {
|
||||
margin-top: 30px; }
|
||||
|
||||
.card-register .forgot {
|
||||
text-align: center; }
|
||||
77
app/static/sass/paper-kit/_carousel.scss
Normal file
@ -0,0 +1,77 @@
|
||||
.carousel-control{
|
||||
background-color: $danger-color;
|
||||
border-radius: 50%;
|
||||
opacity: 1;
|
||||
text-shadow: none;
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
opacity: 1;
|
||||
background-color: $danger-states-color;
|
||||
}
|
||||
}
|
||||
|
||||
.carousel-control.left{
|
||||
height: 30px;
|
||||
top: 48%;
|
||||
width: 30px;
|
||||
left: 20px;
|
||||
opacity: 0;
|
||||
}
|
||||
.carousel-control.right{
|
||||
height: 30px;
|
||||
right: 20px;
|
||||
top: 48%;
|
||||
width: 30px;
|
||||
opacity: 0;
|
||||
}
|
||||
.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .fa, .carousel-control .fa {
|
||||
display: inline-block;
|
||||
z-index: 5;
|
||||
}
|
||||
.carousel-control-prev .fa{
|
||||
font-size: 26px;
|
||||
margin: 2px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
.carousel-control-next .fa{
|
||||
font-size: 26px;
|
||||
margin: 2px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
.carousel-control.left, .carousel-control.right {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.page-carousel{
|
||||
border-radius: $border-radius-extreme !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.carousel-inner{
|
||||
.carousel-item{
|
||||
img{
|
||||
border-radius: $border-radius-extreme;
|
||||
box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
|
||||
height: 400px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.carousel-indicators{
|
||||
bottom: 0px;
|
||||
}
|
||||
.carousel-indicators li{
|
||||
background-color: $white-color;
|
||||
border: 0 none;
|
||||
}
|
||||
.carousel-indicators .active{
|
||||
background-color: $danger-color;
|
||||
}
|
||||
.page-carousel:hover{
|
||||
.carousel-control.right,
|
||||
.carousel-control.left{
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
167
app/static/sass/paper-kit/_checkbox-radio.scss
Normal file
@ -0,0 +1,167 @@
|
||||
.from-check,
|
||||
.form-check-radio {
|
||||
margin-bottom: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.form-check{
|
||||
.form-check-label{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
padding-left: 35px;
|
||||
line-height: 26px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.form-check-sign::before,
|
||||
.form-check-sign::after{
|
||||
content: " ";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
left: 0;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
top: 0;
|
||||
background-color: #AAA7A4;
|
||||
border: 1px solid $light-gray;
|
||||
-webkit-transition: opacity 0.3s linear;
|
||||
-moz-transition: opacity 0.3s linear;
|
||||
-o-transition: opacity 0.3s linear;
|
||||
-ms-transition: opacity 0.3s linear;
|
||||
transition: opacity 0.3s linear;
|
||||
}
|
||||
.form-check-sign::after{
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f00c";
|
||||
top: 0px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
opacity: 0;
|
||||
color: #EFE;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
&.disabled{
|
||||
.form-check-label{
|
||||
color: $dark-gray;
|
||||
opacity: .5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.form-check.disabled .form-check-label,
|
||||
.form-check.disabled .form-check-label {
|
||||
|
||||
}
|
||||
|
||||
.form-check input[type="checkbox"],
|
||||
.form-check-radio input[type="radio"]{
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
.form-check input[type="checkbox"]:checked + .form-check-sign::after{
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.form-control input[type="checkbox"]:disabled + .form-check-sign::before,
|
||||
.checkbox input[type="checkbox"]:disabled + .form-check-sign::after{
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.form-check .form-check-label input[type="checkbox"]:disabled + .form-check-sign,
|
||||
.form-check-radio input[type="radio"]:disabled + .form-check-sign{
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.form-check-radio{
|
||||
.form-check-label{
|
||||
padding-left: 2rem;
|
||||
.form-check-sign::after{
|
||||
-webkit-transition: opacity 0.3s linear;
|
||||
-moz-transition: opacity 0.3s linear;
|
||||
-o-transition: opacity 0.3s linear;
|
||||
-ms-transition: opacity 0.3s linear;
|
||||
transition: opacity 0.3s linear;
|
||||
}
|
||||
}
|
||||
&.disabled{
|
||||
.form-check-label{
|
||||
color: $dark-gray;
|
||||
opacity: .5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-check-radio .form-check-sign::before{
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f10c";
|
||||
font-size: 22px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
opacity: .50;
|
||||
left: 5px;
|
||||
top: -5px;
|
||||
}
|
||||
|
||||
.form-check-label input[type="checkbox"]:checked + .form-check-sign:before{
|
||||
background-color: #66615B;
|
||||
}
|
||||
|
||||
.form-check-radio input[type="radio"] + .form-check-sign:after,
|
||||
.form-check-radio input[type="radio"] {
|
||||
opacity: 0;
|
||||
@include transition-opacity(0.3s, linear);
|
||||
content:" ";
|
||||
display: block;
|
||||
}
|
||||
|
||||
.form-check-radio input[type="radio"]:checked + .form-check-sign::after {
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f192";
|
||||
top: -5px;
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
opacity: 1;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.form-check-radio input[type="radio"]:checked + .form-check-sign::after{
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
.form-check-radio input[type="radio"]:disabled + .form-check-sign::before,
|
||||
.form-check-radio input[type="radio"]:disabled + .form-check-sign::after {
|
||||
color: $dark-gray;
|
||||
}
|
||||
//
|
||||
// .form-check:not(.disabled):hover{
|
||||
// .form-check-sign:after{
|
||||
// opacity: .50;
|
||||
// }
|
||||
// }
|
||||
// .form-check-radio:not(.disabled){
|
||||
// .form-check-label:hover{
|
||||
// .form-check-sign::after{
|
||||
// font-family: 'FontAwesome';
|
||||
// content: "\f192";
|
||||
// position: absolute;
|
||||
// font-size: 22px;
|
||||
// opacity: .50;
|
||||
// top: -5px;
|
||||
// left: 5px;
|
||||
// }
|
||||
// .form-check-sign::before{
|
||||
// opacity: 0;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
57
app/static/sass/paper-kit/_collapse.scss
Normal file
@ -0,0 +1,57 @@
|
||||
.panel {
|
||||
border: 0;
|
||||
border-bottom: 1px solid $medium-gray;
|
||||
box-shadow: none;
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-color: $white-color;
|
||||
border-color: $white-color;
|
||||
}
|
||||
.panel-group .panel{
|
||||
border-radius: 0;
|
||||
}
|
||||
.panel-title{
|
||||
font-size: $font-size-h5;
|
||||
a{
|
||||
display: block;
|
||||
padding: .75rem;
|
||||
}
|
||||
i{
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
}
|
||||
}
|
||||
.panel-title a:hover,
|
||||
.panel-title a:focus{
|
||||
text-decoration: none;
|
||||
}
|
||||
.gsdk-collapse{
|
||||
display: block;
|
||||
height: 0px;
|
||||
visibility: visible;
|
||||
overflow: hidden;
|
||||
}
|
||||
#accordion{
|
||||
.panel-title a:hover,
|
||||
.panel-title a:focus{
|
||||
color: $danger-color;
|
||||
}
|
||||
.card-header{
|
||||
background-color: $white-color;
|
||||
}
|
||||
}
|
||||
// .panel-default > .panel-heading + .panel-collapse.gsdk-collapse > .panel-body {
|
||||
// box-shadow: inset 0 7px 10px -7px rgba(0,0,0,0.14);
|
||||
// }
|
||||
.card-collapse{
|
||||
padding: 0 !important;
|
||||
}
|
||||
.panel-title a[aria-expanded="true"]{
|
||||
i{
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
@include transition($slow-transition-time, $transition-linear)
|
||||
|
||||
}
|
||||
}
|
||||
445
app/static/sass/paper-kit/_dropdown.scss
Normal file
@ -0,0 +1,445 @@
|
||||
.dropdown{
|
||||
.dropdown-menu{
|
||||
background-color: $white-color;
|
||||
border: 0 none;
|
||||
border-radius: $border-radius-extreme;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
padding: 0px;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
|
||||
@include opacity(0);
|
||||
@include box-shadow($dropdown-shadow);
|
||||
|
||||
.divider{
|
||||
background-color: $medium-pale-bg;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.dropdown-header{
|
||||
color: $dark-gray;
|
||||
font-size: $font-size-small;
|
||||
padding: $padding-dropdown-vertical $padding-dropdown-horizontal;
|
||||
}
|
||||
|
||||
.no-notification{
|
||||
color: #9A9A9A;
|
||||
font-size: 1.2em;
|
||||
padding: 30px 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dropdown-item{
|
||||
color: $font-color !important;
|
||||
font-size: $font-size-base;
|
||||
padding: 10px 45px 10px 15px;
|
||||
clear: both;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
display: block;
|
||||
&:hover{
|
||||
color: $white-color !important;
|
||||
}
|
||||
|
||||
img{
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
}
|
||||
.dropdown-item a:focus{
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
.btn-group.select &{
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.dropdown-item:first-child a,
|
||||
.dropdown-item:first-child{
|
||||
border-top-left-radius: $border-radius-extreme;
|
||||
border-top-right-radius: $border-radius-extreme;
|
||||
}
|
||||
|
||||
.dropdown-item:last-child a,
|
||||
.dropdown-item:last-child{
|
||||
border-bottom-left-radius: $border-radius-extreme;
|
||||
border-bottom-right-radius: $border-radius-extreme;
|
||||
}
|
||||
|
||||
.select & .dropdown-item:first-child{
|
||||
border-radius: 0;
|
||||
border-bottom: 0 none;
|
||||
}
|
||||
|
||||
.dropdown-item a:hover,
|
||||
.dropdown-item a:focus{
|
||||
color: $white-color;
|
||||
opacity: 1;
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
.dropdown-item:hover,
|
||||
.dropdown-item:focus{
|
||||
background-color: $default-color;
|
||||
}
|
||||
|
||||
&.dropdown-primary .dropdown-item:hover,
|
||||
&.dropdown-primary .dropdown-item:focus{
|
||||
background-color: $bg-primary;
|
||||
}
|
||||
&.dropdown-info .dropdown-item:hover,
|
||||
&.dropdown-info .dropdown-item:focus{
|
||||
background-color: $bg-info;
|
||||
}
|
||||
&.dropdown-success .dropdown-item:hover,
|
||||
&.dropdown-success .dropdown-item:focus{
|
||||
background-color: $bg-success;
|
||||
}
|
||||
&.dropdown-warning .dropdown-item:hover,
|
||||
&.dropdown-warning .dropdown-item:focus{
|
||||
background-color: $bg-warning;
|
||||
}
|
||||
&.dropdown-danger .dropdown-item:hover,
|
||||
&.dropdown-danger .dropdown-item:focus{
|
||||
background-color: $bg-danger;
|
||||
}
|
||||
|
||||
}
|
||||
.dropdown-divider{
|
||||
margin: 0 !important;
|
||||
}
|
||||
&.show .dropdown-menu{
|
||||
@include opacity(1);
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
//fix bug for the select items in btn-group
|
||||
.btn-group.select{
|
||||
// overflow: hidden;
|
||||
}
|
||||
.btn-group.select.open{
|
||||
overflow: visible;
|
||||
}
|
||||
.dropdown-menu-right{
|
||||
right: -2px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
// the style for opening dropdowns on mobile devices; for the desktop version check the _responsive.scss file
|
||||
// code from _responsive.scss
|
||||
|
||||
@media (min-width: 768px){
|
||||
.navbar-form {
|
||||
margin-top: 21px;
|
||||
margin-bottom: 21px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.navbar-search-form{
|
||||
display: none;
|
||||
}
|
||||
.navbar-nav .dropdown-item .dropdown-menu,
|
||||
.dropdown .dropdown-menu,
|
||||
.dropdown-btn .dropdown-menu{
|
||||
transform: translate3d(0px, -40px, 0px);
|
||||
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
||||
}
|
||||
.navbar-nav .dropdown-item.show .dropdown-menu,
|
||||
.dropdown.show .dropdown-menu,
|
||||
.dropdown-btn.show .dropdown-menu{
|
||||
transform: translate3d(0px, 0px, 0px);
|
||||
visibility: visible !important;
|
||||
}
|
||||
.bootstrap-select .dropdown-menu{
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-transition: all 150ms linear;
|
||||
-moz-transition: all 150ms linear;
|
||||
-o-transition: all 150ms linear;
|
||||
-ms-transition: all 150ms linear;
|
||||
transition: all 150ms linear;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget{
|
||||
visibility: visible !important;
|
||||
@include opacity(1);
|
||||
}
|
||||
|
||||
.dropup.show .dropdown-menu{
|
||||
-webkit-transform: translate3d(0, -10px, 0);
|
||||
-moz-transform: translate3d(0, -10px, 0);
|
||||
-o-transform: translate3d(0, -10px, 0);
|
||||
-ms-transform: translate3d(0, -10px, 0);
|
||||
transform: translate3d(0, -10px, 0);
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
.dropup .dropdown-menu{
|
||||
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
||||
-webkit-transform: translate3d(0, 30px, 0);
|
||||
-moz-transform: translate3d(0, 30px, 0);
|
||||
-o-transform: translate3d(0, 30px, 0);
|
||||
-ms-transform: translate3d(0, 30px, 0);
|
||||
transform: translate3d(0, 30px, 0);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bootstrap-select .show .dropdown-menu{
|
||||
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
||||
transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
|
||||
.navbar-nav .dropdown-menu:before,
|
||||
#dropdown-row .dropdown .dropdown-menu:before,
|
||||
.card.card-just-text .dropdown .dropdown-menu:before,
|
||||
.card-just-text .dropdown .dropdown-menu:before,
|
||||
.dropdown-btn .dropdown-menu:before{
|
||||
border-bottom: 11px solid $medium-pale-bg;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: -11px;
|
||||
}
|
||||
|
||||
#dropdown-row .dropdown .dropdown-menu:before{
|
||||
left: 12px !important;
|
||||
right: auto;
|
||||
}
|
||||
.navbar-nav .dropdown-menu:after,
|
||||
#dropdown-row .dropdown .dropdown-menu:after,
|
||||
.card.card-just-text .dropdown .dropdown-menu:after,
|
||||
.card-just-text .dropdown .dropdown-menu:after,
|
||||
.dropdown-btn .dropdown-menu:after{
|
||||
border-bottom: 11px solid $white-color;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: -10px;
|
||||
}
|
||||
#dropdown-row .dropdown .dropdown-menu:after{
|
||||
left: 12px !important;
|
||||
right: auto;
|
||||
}
|
||||
#dropdown-row .dropdown .dropdown-menu{
|
||||
left: 15px;
|
||||
}
|
||||
.navbar-nav.navbar-right li .dropdown-menu:before,
|
||||
.navbar-nav.navbar-right li .dropdown-menu:after{
|
||||
left: auto;
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
|
||||
.footer:not(.footer-big){
|
||||
nav ul{
|
||||
li:first-child{
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// no dragging the others navs in page
|
||||
body > .navbar-collapse.collapse{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
#navbar {
|
||||
.dropdown-menu {
|
||||
.dropdown-item{
|
||||
padding: 3px 1.5rem !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-sharing{
|
||||
|
||||
li{
|
||||
color: $font-color;
|
||||
font-size: $font-size-base;
|
||||
|
||||
.social-line{
|
||||
line-height: 28px;
|
||||
padding: 10px 20px 5px 20px;
|
||||
|
||||
[class*="icon-"]{
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li:hover,
|
||||
li:focus{
|
||||
.social-line,
|
||||
a,
|
||||
.action-line{
|
||||
background-color: $white-color;
|
||||
color: $font-color;
|
||||
opacity: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.show .dropdown-sharing{
|
||||
margin-bottom: 1px;
|
||||
li:last-child{
|
||||
padding: 10px 15px;
|
||||
}
|
||||
}
|
||||
.show .dropdown-actions{
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.dropdown-actions{
|
||||
li{
|
||||
margin: -15px 35px;
|
||||
.action-line{
|
||||
padding: 5px 10px;
|
||||
line-height: 24px;
|
||||
font-weight: bold;
|
||||
[class*="icon-"]{
|
||||
font-size: 24px;
|
||||
}
|
||||
.col-sm-9{
|
||||
line-height: 34px;
|
||||
}
|
||||
}
|
||||
.link-danger{
|
||||
color: $danger-color;
|
||||
&:hover, &:active, &:focus{
|
||||
color: $danger-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
li:hover,
|
||||
li:focus{
|
||||
a{
|
||||
color: $font-color;
|
||||
opacity: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.action-line{
|
||||
.icon-simple{
|
||||
margin-left: -15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropup .dropdown-menu:before{
|
||||
border-top: 11px solid #DCD9D1;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: -12px;
|
||||
}
|
||||
.dropup .dropdown-menu:after{
|
||||
border-top: 11px solid #FFF;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: -11px;
|
||||
}
|
||||
|
||||
.dropup,
|
||||
.dropdown{
|
||||
.dropdown-toggle:after{
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-notification{
|
||||
.dropdown-notification-list{
|
||||
& li{
|
||||
border-bottom: 1px solid #F1EAE0;
|
||||
color: #66615b;
|
||||
font-size: 16px;
|
||||
padding: 10px 5px;
|
||||
width: 330px;
|
||||
|
||||
& a{
|
||||
color: #66615b;
|
||||
white-space: normal;
|
||||
|
||||
& .notification-text{
|
||||
padding-left: 40px;
|
||||
position: relative;
|
||||
|
||||
& .label{
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -12px;
|
||||
left: 7px;
|
||||
}
|
||||
& .message{
|
||||
font-size: 0.9em;
|
||||
line-height: 0.7;
|
||||
margin-left: 10px;
|
||||
}
|
||||
& .time{
|
||||
color: #9A9A9A;
|
||||
font-size: 0.7em;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
& .read-notification{
|
||||
font-size: 12px;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 50%;
|
||||
margin-top: -12px;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
background-color: #F0EFEB;
|
||||
color: #66615b;
|
||||
opacity: 1;
|
||||
text-decoration: none;
|
||||
|
||||
& .read-notification{
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-footer{
|
||||
background-color: #E8E7E3;
|
||||
border-radius: 0 0 8px 8px;
|
||||
|
||||
.dropdown-footer-menu{
|
||||
list-style: outside none none;
|
||||
padding: 0px 5px;
|
||||
li{
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
padding: 0 10px;
|
||||
|
||||
a{
|
||||
color: #9C9B99;
|
||||
font-size: 0.9em;
|
||||
line-height: 35px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar-nav.mr-auto .dropdown-menu:before,
|
||||
.navbar-nav.mr-auto .dropdown-menu:after{
|
||||
left: 12px !important;
|
||||
right: auto;
|
||||
}
|
||||
253
app/static/sass/paper-kit/_examples.scss
Normal file
@ -0,0 +1,253 @@
|
||||
.landing-alert{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.page-header{
|
||||
background-color: #B2AFAB;
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
min-height: 100vh;
|
||||
max-height: 999px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.filter::after{
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
&.page-header-small{
|
||||
min-height: 65vh !important;
|
||||
max-height: 700px;
|
||||
}
|
||||
&.page-header-xs{
|
||||
min-height: 40vh !important;
|
||||
}
|
||||
|
||||
&.section-dark{
|
||||
.content-center,
|
||||
.category-absolute{
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
.page-header .motto{
|
||||
text-align: left;
|
||||
z-index: 3;
|
||||
color: #fff;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
.landing-section{
|
||||
padding: 100px 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.section-buttons{
|
||||
z-index: 1;
|
||||
}
|
||||
.landing-section .btn-simple{
|
||||
padding: 0;
|
||||
}
|
||||
.landing-section .column{
|
||||
padding: 0 75px 0 25px;
|
||||
}
|
||||
.team-player .img-circle, .team-player .img-thumbnail{
|
||||
display: block;
|
||||
margin-top: 50px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 120px;
|
||||
}
|
||||
.contact-form{
|
||||
margin-top: 30px;
|
||||
}
|
||||
.contact-form label{
|
||||
margin-top: 15px;
|
||||
}
|
||||
.contact-form .btn{
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.navbar-relative{
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
#register-navbar a{
|
||||
color: #FFF;
|
||||
}
|
||||
.register-background .container{
|
||||
margin-top: 11%;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
.register-footer{
|
||||
bottom: 20px;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
color: $white-color;
|
||||
}
|
||||
.register-footer .fa-heart{
|
||||
color: #EB5E28;
|
||||
}
|
||||
|
||||
.register-card label{
|
||||
margin-top: 15px;
|
||||
}
|
||||
.register-card .title{
|
||||
color: #B33C12;
|
||||
text-align: center;
|
||||
}
|
||||
.register-card .btn{
|
||||
margin-top: 30px;
|
||||
}
|
||||
.register-card .forgot{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.profile-content{
|
||||
position: relative;
|
||||
}
|
||||
.owner{
|
||||
text-align: center;
|
||||
}
|
||||
.owner .avatar{
|
||||
padding: 15px;
|
||||
max-width: 180px;
|
||||
margin: -85px auto 0;
|
||||
display: inline-block;
|
||||
}
|
||||
.owner .name h4{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.profile-tabs{
|
||||
margin: 50px 0;
|
||||
min-height: 300px;
|
||||
}
|
||||
#following h3{
|
||||
margin: 20px 0 40px 0;
|
||||
}
|
||||
|
||||
#follows .follows .unfollow .checkbox{
|
||||
margin-top: -15px;
|
||||
}
|
||||
#follows .follows h6{
|
||||
margin-top: 15px;
|
||||
}
|
||||
.follows hr{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.alert h5{
|
||||
// margin-bottom: 10px;
|
||||
}
|
||||
.title-brand{
|
||||
max-width: 730px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
color: #FFFFFF;
|
||||
display: block;
|
||||
|
||||
.type{
|
||||
position: absolute;
|
||||
font-size: 20px;
|
||||
background: #132026;
|
||||
padding: 6px 10px;
|
||||
border-radius: 4px;
|
||||
top: 0;
|
||||
font-weight: 600;
|
||||
margin-top: 10px;
|
||||
right: -15px;
|
||||
}
|
||||
}
|
||||
|
||||
.presentation-title{
|
||||
font-size: 8em;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
color: #FFFFFF;
|
||||
background: #fbf8ec;
|
||||
background: -moz-linear-gradient(top, #FFFFFF 35%, #4e6773 100%);
|
||||
background: -webkit-linear-gradient(top, #FFFFFF 35%,#4e6773 100%);
|
||||
background: -ms-linear-gradient(top, #FFFFFF 35%,#4e6773 100%);
|
||||
background: linear-gradient(to bottom, #FFFFFF 35%,#4e6773 100%);
|
||||
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.presentation-subtitle{
|
||||
font-size: 1.7em;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.category-absolute{
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
top: 100vh;
|
||||
margin-top: -60px;
|
||||
padding: 0 15px;
|
||||
width: 100%;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
|
||||
.creative-tim-logo {
|
||||
max-width: 140px;
|
||||
top: -2px;
|
||||
left: 3px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.fog-low{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
margin-left: -35%;
|
||||
margin-bottom: -50px;
|
||||
width: 110%;
|
||||
opacity: .85;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&.right{
|
||||
margin-left: 30%;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.page-header{
|
||||
.content-center{
|
||||
margin-top: 85px;
|
||||
}
|
||||
}
|
||||
.moving-clouds{
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 250.625em;
|
||||
height: 43.75em;
|
||||
-webkit-animation: cloudLoop 80s linear infinite;
|
||||
animation: cloudLoop 80s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes cloudLoop{ 0%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}
|
||||
100%{-webkit-transform:translate3d(-50%,0,0);
|
||||
transform:translate3d(-50%,0,0)}
|
||||
}
|
||||
.following{
|
||||
img{
|
||||
max-width: 70px;
|
||||
}
|
||||
}
|
||||
229
app/static/sass/paper-kit/_footers.scss
Normal file
@ -0,0 +1,229 @@
|
||||
.footer{
|
||||
background-attachment: fixed;
|
||||
position: relative;
|
||||
line-height: 20px;
|
||||
}
|
||||
.footer nav > ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
.footer nav > ul > li{
|
||||
display: inline-block;
|
||||
padding: 10px 15px;
|
||||
margin: 15px 3px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer nav > ul a:not(.btn) {
|
||||
color: #777777;
|
||||
display: block;
|
||||
margin-bottom: 3px;
|
||||
line-height: 1.6;
|
||||
opacity: .8;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
}
|
||||
.footer nav > ul a:not(.btn):hover,
|
||||
.footer nav > ul a:not(.btn):focus {
|
||||
color: #777777;
|
||||
opacity: 1;
|
||||
}
|
||||
.footer .copyright {
|
||||
color: #777777;
|
||||
padding: 10px 0px;
|
||||
font-size: 14px;
|
||||
margin: 15px 3px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.footer .heart{
|
||||
color: #EB5E28;
|
||||
}
|
||||
.footer{
|
||||
background-color: $white-color;
|
||||
line-height: $line-height;
|
||||
|
||||
&.footer-black{
|
||||
h4{
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
.links{
|
||||
display: inline-block;
|
||||
|
||||
ul{
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: $font-weight-bold;
|
||||
|
||||
> li{
|
||||
display: inline-block;
|
||||
padding-right: 20px;
|
||||
}
|
||||
> li:last-child{
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
a:not(.btn){
|
||||
color: $font-color;
|
||||
display: block;
|
||||
font-size: $font-size-h6;
|
||||
margin-bottom: 3px;
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-states-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.uppercase-links{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
&.stacked-links{
|
||||
margin-top: 10px;
|
||||
|
||||
> li{
|
||||
display: block;
|
||||
line-height: 26px;
|
||||
}
|
||||
h4{
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr{
|
||||
border-color: $medium-gray;
|
||||
border-width: 1px 0 0;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.copyright{
|
||||
color: $brown-font-color;
|
||||
font-size: 0.9em;
|
||||
ul > li{
|
||||
padding-right: 0px;
|
||||
}
|
||||
}
|
||||
.title{
|
||||
color: $default-states-color;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-black,
|
||||
.footer-transparent{
|
||||
background-color: $black-footer-bg;
|
||||
color: $medium-gray;
|
||||
|
||||
.links ul{
|
||||
a:not(.btn){
|
||||
color: $brown-font-color;
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $brown-font-color-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
.copyright {
|
||||
color: $font-color;
|
||||
ul > li{
|
||||
a:not(.btn){
|
||||
color: $font-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr{
|
||||
border-color: $font-color;
|
||||
}
|
||||
}
|
||||
.footer-transparent{
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
|
||||
.container{
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
}
|
||||
hr{
|
||||
border-color: $brown-font-color;
|
||||
}
|
||||
.copyright {
|
||||
color: $brown-font-color;
|
||||
ul > li a:not(.btn){
|
||||
color: $brown-font-color;
|
||||
}
|
||||
}
|
||||
|
||||
&::after{
|
||||
@include black-filter(.5);
|
||||
}
|
||||
}
|
||||
.footer-gray{
|
||||
background-color: #F3F2EE;
|
||||
}
|
||||
.footer-big{
|
||||
padding: 30px 0;
|
||||
hr{
|
||||
margin-top: 20px;
|
||||
}
|
||||
.copyright{
|
||||
margin: 10px 0px 20px;
|
||||
}
|
||||
.form-group{
|
||||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
// pre-footers lines
|
||||
.subscribe-line{
|
||||
background-color: $pale-bg;
|
||||
padding: 35px 0;
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
margin-top: 0;
|
||||
|
||||
.form-group{
|
||||
margin: $none;
|
||||
}
|
||||
.form-control{
|
||||
height: auto;
|
||||
font-size: $font-size-h3;
|
||||
border: $none;
|
||||
padding: $none;
|
||||
font-weight: $font-weight-light;
|
||||
line-height: $line-height-lg;
|
||||
background-color: $transparent-bg;
|
||||
}
|
||||
|
||||
.btn:not(.btn-lg){
|
||||
margin-top: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
.subscribe-line-black{
|
||||
background-color: $black-footer-bg;
|
||||
.form-control{
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
.subscribe-line-transparent{
|
||||
@extend .footer-transparent;
|
||||
.form-control{
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.social-line-black{
|
||||
background-color: $black-footer-bg;
|
||||
color: $white-color;
|
||||
}
|
||||
111
app/static/sass/paper-kit/_icons.scss
Normal file
@ -0,0 +1,111 @@
|
||||
|
||||
.section-nucleo-icons{
|
||||
padding: 100px 0;
|
||||
|
||||
.icons-container{
|
||||
position: relative;
|
||||
max-width: 450px;
|
||||
height: 300px;
|
||||
max-height: 300px;
|
||||
margin: 0 auto;
|
||||
|
||||
i{
|
||||
font-size: 34px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
&:nth-child(1){
|
||||
top: 5%;
|
||||
left: 7%;
|
||||
}
|
||||
&:nth-child(2){
|
||||
top: 28%;
|
||||
left: 24%;
|
||||
}
|
||||
&:nth-child(3){
|
||||
top: 40%;
|
||||
}
|
||||
&:nth-child(4){
|
||||
top: 18%;
|
||||
left: 62%;
|
||||
}
|
||||
&:nth-child(5){
|
||||
top: 74%;
|
||||
left: 3%;
|
||||
}
|
||||
&:nth-child(6){
|
||||
top: 36%;
|
||||
left: 44%;
|
||||
font-size: 65px;
|
||||
color: $danger-color;
|
||||
padding: 1px;
|
||||
}
|
||||
&:nth-child(7){
|
||||
top: 59%;
|
||||
left: 26%;
|
||||
}
|
||||
&:nth-child(8){
|
||||
top: 60%;
|
||||
left: 69%;
|
||||
}
|
||||
&:nth-child(9){
|
||||
top: 72%;
|
||||
left: 47%;
|
||||
}
|
||||
&:nth-child(10){
|
||||
top: 88%;
|
||||
left: 27%;
|
||||
}
|
||||
&:nth-child(11){
|
||||
top: 31%;
|
||||
left: 80%;
|
||||
}
|
||||
&:nth-child(12){
|
||||
top: 88%;
|
||||
left: 68%;
|
||||
}
|
||||
&:nth-child(13){
|
||||
top: 5%;
|
||||
left: 81%;
|
||||
}
|
||||
&:nth-child(14){
|
||||
top: 58%;
|
||||
left: 90%;
|
||||
}
|
||||
&:nth-child(15){
|
||||
top: 6%;
|
||||
left: 40%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.section-dark{
|
||||
.icons-container{
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
.info{
|
||||
.icon{
|
||||
margin-top: 0;
|
||||
font-size: 3.4em;
|
||||
}
|
||||
}
|
||||
.icon-primary{
|
||||
color: $primary-color;
|
||||
}
|
||||
.icon-info{
|
||||
color: $info-color;
|
||||
}
|
||||
.icon-success{
|
||||
color: $success-color;
|
||||
}
|
||||
.icon-warning{
|
||||
color: $warning-color;
|
||||
}
|
||||
.icon-danger{
|
||||
color: $danger-color;
|
||||
}
|
||||
.icon-neutral{
|
||||
color: $white-color;
|
||||
}
|
||||
66
app/static/sass/paper-kit/_images.scss
Normal file
@ -0,0 +1,66 @@
|
||||
.img-rounded{
|
||||
border-radius: $border-radius-extreme;
|
||||
transition: opacity 0.5s ease 0s;
|
||||
max-width: 100%;
|
||||
}
|
||||
.img-details{
|
||||
min-height: 50px;
|
||||
padding: 0 4px 0.5em;
|
||||
|
||||
}
|
||||
.img-details img{
|
||||
width: 50px;
|
||||
}
|
||||
.img-details .author{
|
||||
margin-left: 10px;
|
||||
margin-top: -21px;
|
||||
width: 40px;
|
||||
}
|
||||
.img-circle{
|
||||
background-color: $white-color;
|
||||
margin-bottom: 10px;
|
||||
padding: 4px;
|
||||
border-radius: 50% !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
.img-thumbnail{
|
||||
border: 0 none;
|
||||
border-radius: $border-radius-extreme;
|
||||
box-shadow: 0 1px 2px rgba(164, 158, 147, 0.6);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.img-no-padding{
|
||||
padding: 0px;
|
||||
}
|
||||
.example-page .img-rounded{
|
||||
margin: 50px 0 20px;
|
||||
}
|
||||
.img-shadow{
|
||||
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
||||
0 3px 14px 2px rgba(0, 0, 0, 0.12),
|
||||
0 5px 5px -3px rgba(0, 0, 0, 0.2)
|
||||
}
|
||||
.images-title{
|
||||
margin-bottom: 20px;
|
||||
height: 50px;
|
||||
}
|
||||
.nav-link .profile-photo-small{
|
||||
width: 40px;
|
||||
height: 30px;
|
||||
margin: -10px 0 0 -15px;
|
||||
}
|
||||
.profile-picture{
|
||||
margin: 0 auto;
|
||||
.fileinput-new img{
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border-radius: 50%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.fileinput-exists img{
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
border-radius: 50%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
213
app/static/sass/paper-kit/_inputs.scss
Normal file
@ -0,0 +1,213 @@
|
||||
.form-control::-moz-placeholder{
|
||||
@include placeholder($placeholder-gray,1);
|
||||
}
|
||||
.form-control:-moz-placeholder{
|
||||
@include placeholder($placeholder-gray,1);
|
||||
}
|
||||
.form-control::-webkit-input-placeholder{
|
||||
@include placeholder($placeholder-gray,1);
|
||||
}
|
||||
.form-control:-ms-input-placeholder{
|
||||
@include placeholder($placeholder-gray,1);
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: $white-bg;
|
||||
border: 1px solid $medium-gray;
|
||||
border-radius: $border-radius-base;
|
||||
color: $font-color;
|
||||
font-size: $font-size-base;
|
||||
@include input-size($padding-base-vertical, $padding-label-horizontal, $height-base);
|
||||
@include box-shadow(none);
|
||||
|
||||
&:focus{
|
||||
background-color: $white-bg;
|
||||
border: 1px solid $dark-gray;
|
||||
@include box-shadow(none);
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
&.no-border{
|
||||
border: medium none !important;
|
||||
}
|
||||
|
||||
.has-success &,
|
||||
.has-error &,
|
||||
.has-success &:focus,
|
||||
.has-error &:focus{
|
||||
@include box-shadow(none);
|
||||
}
|
||||
|
||||
.has-success &{
|
||||
border: 1px solid $table-line-color;
|
||||
color: $font-color;
|
||||
}
|
||||
.has-success &:focus{
|
||||
border: 1px solid $success-color;
|
||||
color: $success-color;
|
||||
}
|
||||
.has-danger &{
|
||||
background-color: $danger-input-bg;
|
||||
border: 1px solid $danger-color;
|
||||
color: $danger-color;
|
||||
}
|
||||
.has-danger &:focus{
|
||||
background-color: $white-color;
|
||||
border: 1px solid $danger-color;
|
||||
}
|
||||
|
||||
& + .form-control-feedback{
|
||||
border-radius: $border-radius-large;
|
||||
font-size: $font-size-base;
|
||||
color: $danger-color;
|
||||
font-size: .8rem;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
padding-left: $padding-label-horizontal;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.open &{
|
||||
border-radius: $border-radius-base $border-radius-base 0 0;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
}
|
||||
.input-group{
|
||||
&.input-group-focus{
|
||||
.input-group-addon{
|
||||
border-color: $dark-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-lg{
|
||||
height: 55px;
|
||||
padding: $padding-large-vertical $padding-large-horizontal;
|
||||
}
|
||||
|
||||
.has-error{
|
||||
.form-control-feedback, .control-label{
|
||||
color: $danger-color;
|
||||
}
|
||||
}
|
||||
.has-success{
|
||||
.form-control-feedback, .control-label{
|
||||
color: $success-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.input-group-addon {
|
||||
background-color: $white-bg;
|
||||
// border: solid 1px $table-line-color;
|
||||
border-radius: $border-radius-base;
|
||||
|
||||
&.no-border{
|
||||
border: medium none !important;
|
||||
}
|
||||
|
||||
.has-success &,
|
||||
.has-error &{
|
||||
background-color: $white-color;
|
||||
}
|
||||
.has-error .form-control:focus + &{
|
||||
color: $danger-color;
|
||||
}
|
||||
.has-success .form-control:focus + &{
|
||||
color: $success-color;
|
||||
}
|
||||
.form-control:focus + &,
|
||||
.form-control:focus ~ &{
|
||||
background-color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group .form-control:first-child,
|
||||
.input-group-addon:first-child,
|
||||
.input-group-btn:first-child > .dropdown-toggle,
|
||||
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
|
||||
border-right: 0 none;
|
||||
padding-right: 0;
|
||||
}
|
||||
.input-group .form-control:last-child,
|
||||
.input-group-addon:last-child,
|
||||
.input-group-btn:last-child > .dropdown-toggle,
|
||||
.input-group-btn:first-child > .btn:not(:first-child) {
|
||||
border-left: 0 none;
|
||||
}
|
||||
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
|
||||
background-color: $light-gray;
|
||||
color: $default-color;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.input-group[disabled]{
|
||||
& .input-group-addon{
|
||||
background-color: $light-gray;
|
||||
cursor: not-allowed;
|
||||
border-color: $medium-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-btn .btn{
|
||||
border-width: $border-thin;
|
||||
padding: $padding-round-vertical $padding-base-horizontal;
|
||||
}
|
||||
.input-group-btn .btn-default:not(.btn-fill){
|
||||
border-color: $medium-gray;
|
||||
}
|
||||
|
||||
.input-group-btn:last-child > .btn{
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
textarea.form-control{
|
||||
padding: 10px 18px;
|
||||
height: auto;
|
||||
}
|
||||
.form-group{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.register-form .form-control{
|
||||
border: 1px solid transparent !important;
|
||||
}
|
||||
#inputs {
|
||||
|
||||
.input-group{
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.card-form-horizontal{
|
||||
.card-body{
|
||||
.form-group{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.form-group-no-border{
|
||||
.form-control,
|
||||
.input-group-addon{
|
||||
border: 0 !important;
|
||||
}
|
||||
}
|
||||
.register-form{
|
||||
.input-group{
|
||||
.input-group-addon{
|
||||
padding-right: 2px;
|
||||
}
|
||||
.form-control{
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.has-success{
|
||||
.form-control.form-control-success{
|
||||
padding-right: 2.5em;
|
||||
}
|
||||
}
|
||||
.has-danger{
|
||||
.form-control.form-control-danger{
|
||||
padding-right: 2.5em;
|
||||
}
|
||||
}
|
||||
30
app/static/sass/paper-kit/_labels.scss
Normal file
@ -0,0 +1,30 @@
|
||||
/* Labels & Progress-bar */
|
||||
.label{
|
||||
padding: 0.2em 0.6em;
|
||||
border-radius: 10px;
|
||||
color: #FFFFFF;
|
||||
font-weight: 500;
|
||||
font-size: 0.75em;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
line-height: 17px;
|
||||
}
|
||||
.label-primary{
|
||||
background-color: $primary-color;
|
||||
}
|
||||
.label-info{
|
||||
background-color: $info-color;
|
||||
}
|
||||
.label-success{
|
||||
background-color: $success-color;
|
||||
}
|
||||
.label-warning{
|
||||
background-color: $warning-color;
|
||||
}
|
||||
.label-danger{
|
||||
background-color: $danger-color;
|
||||
}
|
||||
.label-default{
|
||||
background-color: $default-color;
|
||||
}
|
||||
124
app/static/sass/paper-kit/_misc.scss
Normal file
@ -0,0 +1,124 @@
|
||||
/* General overwrite */
|
||||
body{
|
||||
color: $font-color;
|
||||
font-size: $font-size-base;
|
||||
font-weight: $font-weight-light;
|
||||
font-family: 'Montserrat', "Helvetica", Arial, sans-serif;
|
||||
}
|
||||
a{
|
||||
color: $info-color;
|
||||
|
||||
&:hover, &:focus{
|
||||
color: $info-states-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// @include transition($fast-transition-time, linear);
|
||||
}
|
||||
hr{
|
||||
border-color: $medium-pale-bg;
|
||||
}
|
||||
.icon{
|
||||
fill: $font-color;
|
||||
}
|
||||
.fa-base{
|
||||
font-size: 1.25em !important;
|
||||
}
|
||||
a:focus, a:active,
|
||||
button::-moz-focus-inner,
|
||||
input[type="reset"]::-moz-focus-inner,
|
||||
input[type="button"]::-moz-focus-inner,
|
||||
input[type="submit"]::-moz-focus-inner,
|
||||
select::-moz-focus-inner,
|
||||
input[type="file"] > input[type="button"]::-moz-focus-inner {
|
||||
outline : 0;
|
||||
}
|
||||
.ui-slider-handle:focus,
|
||||
.navbar-toggle {
|
||||
outline : 0 !important;
|
||||
}
|
||||
|
||||
|
||||
/* Animations */
|
||||
.form-control,
|
||||
.input-group-addon,
|
||||
.tagsinput,
|
||||
.navbar,
|
||||
.navbar .alert,
|
||||
.carousel-control.right,
|
||||
.carousel-control.left
|
||||
{
|
||||
@include transition($general-transition-time, linear);
|
||||
}
|
||||
.tagsinput .tag,
|
||||
.tagsinput-remove-link,
|
||||
.filter,
|
||||
.btn-hover,
|
||||
[data-toggle="collapse"] i,
|
||||
.animation-transition-fast,
|
||||
.dropdown-menu .dropdown-item{
|
||||
@include transition($fast-transition-time, linear);
|
||||
}
|
||||
|
||||
.btn-morphing .fa,
|
||||
.btn-morphing .circle,
|
||||
.gsdk-collapse{
|
||||
@include transition($slow-transition-time, linear);
|
||||
}
|
||||
|
||||
.fa{
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
.margin-top{
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.iframe-container iframe{
|
||||
box-shadow: 0 16px 38px -12px rgba(0,0,0,.56), 0 4px 25px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
/* CT colors */
|
||||
.ct-blue{
|
||||
color: $primary-color;
|
||||
}
|
||||
.ct-azure{
|
||||
color: $info-color;
|
||||
}
|
||||
.ct-green{
|
||||
color: $success-color;
|
||||
}
|
||||
.ct-orange{
|
||||
color: $warning-color;
|
||||
}
|
||||
.ct-red{
|
||||
color: $danger-color;
|
||||
}
|
||||
|
||||
// small changes
|
||||
|
||||
.pagination .page-item .page-link .fa{
|
||||
width: auto;
|
||||
font-weight: $font-weight-bold;
|
||||
}
|
||||
|
||||
.bg-primary{
|
||||
@include navbar-color($bg-primary !important);
|
||||
}
|
||||
.bg-info{
|
||||
@include navbar-color($bg-info !important);
|
||||
}
|
||||
.bg-success{
|
||||
@include navbar-color($bg-success !important);
|
||||
}
|
||||
.bg-warning{
|
||||
@include navbar-color($bg-warning !important);
|
||||
}
|
||||
.bg-danger{
|
||||
@include navbar-color($bg-danger !important);
|
||||
}
|
||||
|
||||
.navbar-transparent{
|
||||
background-color: transparent !important;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
14
app/static/sass/paper-kit/_mixins.scss
Normal file
@ -0,0 +1,14 @@
|
||||
//Utilities
|
||||
|
||||
@import "mixins/transparency";
|
||||
@import "mixins/vendor-prefixes";
|
||||
|
||||
|
||||
//Components
|
||||
|
||||
@import "mixins/buttons";
|
||||
@import "mixins/inputs";
|
||||
@import "mixins/labels";
|
||||
@import "mixins/tabs";
|
||||
@import "mixins/popovers";
|
||||
@import "mixins/navbars";
|
||||
92
app/static/sass/paper-kit/_modal.scss
Normal file
@ -0,0 +1,92 @@
|
||||
.modal-header {
|
||||
border-bottom: 1px solid $medium-gray;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
display: block !important;
|
||||
|
||||
&.no-border-header{
|
||||
border-bottom: 0 none !important;
|
||||
& .modal-title{
|
||||
margin-top: 20px;
|
||||
|
||||
}
|
||||
}
|
||||
.modal-title{
|
||||
color: $black-color;
|
||||
}
|
||||
button.close{
|
||||
margin-top: -25px;
|
||||
}
|
||||
}
|
||||
.modal-content {
|
||||
border: 0 none;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||
.modal-header{
|
||||
h6{
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.modal-dialog {
|
||||
padding-top: 60px;
|
||||
}
|
||||
.modal-body{
|
||||
padding: 20px 50px;
|
||||
color: #000;
|
||||
}
|
||||
.modal-footer {
|
||||
border-top: 1px solid $medium-gray;
|
||||
padding: 0px;
|
||||
|
||||
&.no-border-footer{
|
||||
border-top: 0 none;
|
||||
}
|
||||
}
|
||||
.modal-footer .left-side, .modal-footer .right-side{
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
width: 49%;
|
||||
}
|
||||
.modal-footer .btn-link{
|
||||
padding: 20px;
|
||||
width: 100%
|
||||
}
|
||||
.modal-footer .divider{
|
||||
background-color: $medium-gray;
|
||||
display: inline-block;
|
||||
float: inherit;
|
||||
height: 63px;
|
||||
margin: 0px -3px;
|
||||
// position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.modal.fade .modal-dialog {
|
||||
transform: none;
|
||||
-webkit-transform: none;
|
||||
-moz-transform: none;
|
||||
}
|
||||
.modal.in .modal-dialog {
|
||||
transform: none;
|
||||
-webkit-transform: none;
|
||||
-moz-transform: none;
|
||||
}
|
||||
.modal-backdrop.in {
|
||||
opacity: 0.25;
|
||||
}
|
||||
.modal-register .modal-footer{
|
||||
text-align: center;
|
||||
margin-bottom: 25px;
|
||||
padding: 20px 0 15px;
|
||||
span{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.modal-header:after {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
.modal-header:before{
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
511
app/static/sass/paper-kit/_navbars.scss
Normal file
@ -0,0 +1,511 @@
|
||||
.nav {
|
||||
.nav-item{
|
||||
.nav-link:hover,
|
||||
.nav-link:focus{
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar{
|
||||
border: $none;
|
||||
font-size: $font-size-base;
|
||||
transition: all 0.4s;
|
||||
-webkit-transition: all 0.4s;
|
||||
padding: 0;
|
||||
background: $white-color;
|
||||
box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
|
||||
|
||||
.navbar-toggler-right{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.navbar-brand{
|
||||
font-weight: $font-weight-bold;
|
||||
margin: $navbar-margin-brand;
|
||||
padding: $navbar-padding-brand;
|
||||
font-size: $font-size-base;
|
||||
color: $default-color;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.nav-link{
|
||||
i{
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
right: 3px;
|
||||
}
|
||||
[class^="fa"]{
|
||||
top: 2px;
|
||||
}
|
||||
p{
|
||||
margin: 0px 0px;
|
||||
color: #9A9A9A !important;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
line-height: 1.5em;
|
||||
padding: 15px 0;
|
||||
}
|
||||
p:hover{
|
||||
color: #403D39 !important;
|
||||
}
|
||||
}
|
||||
.navbar-nav{
|
||||
.nav-item .nav-link {
|
||||
line-height: 1.6;
|
||||
margin: $navbar-margin-a;
|
||||
padding: $navbar-padding-a;
|
||||
opacity: .8;
|
||||
font-size: $font-size-small;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
color: $default-color;
|
||||
}
|
||||
.nav-item .nav-link.btn{
|
||||
margin: $navbar-margin-a-btn;
|
||||
padding: 9px;
|
||||
|
||||
}
|
||||
|
||||
.dropdown-menu{
|
||||
border-radius: $border-radius-extreme;
|
||||
margin-top: 1px;
|
||||
}
|
||||
}
|
||||
.navbar-collapse{
|
||||
& .nav-item{
|
||||
& .nav-link{
|
||||
p{
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
& .dropdown-item{
|
||||
i{
|
||||
margin: 0 10px;
|
||||
margin: 0 10px 0px 5px;
|
||||
font-size: 18px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.show{
|
||||
& .navbar-nav{
|
||||
& .nav-item{
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification-bubble{
|
||||
right: 72px;
|
||||
padding: 0.2em 0.6em;
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
}
|
||||
.btn{
|
||||
margin: $navbar-margin-btn;
|
||||
font-size: $font-size-small;
|
||||
i{
|
||||
// margin-right: 5px !important;
|
||||
font-size: 14px;
|
||||
line-height: 13px;
|
||||
}
|
||||
}
|
||||
.btn-simple{
|
||||
font-size: $font-size-medium;
|
||||
}
|
||||
.caret{
|
||||
@include center-item();
|
||||
}
|
||||
&.navbar-transparent{
|
||||
padding-top: 25px;
|
||||
}
|
||||
.logo-container{
|
||||
margin-top: 5px;
|
||||
.logo{
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #333333;
|
||||
width: 50px;
|
||||
float: left;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.brand{
|
||||
font-size: 18px;
|
||||
color: #FFFFFF;
|
||||
line-height: 20px;
|
||||
float: left;
|
||||
margin-left: 10px;
|
||||
margin-top: 5px;
|
||||
width: 75px;
|
||||
height: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar.fixed-top{
|
||||
.nav-link{
|
||||
i{
|
||||
top: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar-absolute{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-top: 10px;
|
||||
z-index: 1029;
|
||||
}
|
||||
.navbar-transparent, [class*="bg"]{
|
||||
.navbar-brand{
|
||||
color: $white-color;
|
||||
@include opacity(.9);
|
||||
|
||||
&:focus,
|
||||
&:hover{
|
||||
background-color: transparent;
|
||||
@include opacity(1);
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav{
|
||||
.nav-item .nav-link:not(.btn){
|
||||
color: $white-color;
|
||||
border-color: $white-color;
|
||||
}
|
||||
.active .nav-link
|
||||
.active .nav-link:hover,
|
||||
.active .nav-link:focus,
|
||||
.nav-item .nav-link:hover,
|
||||
.nav-item .nav-link:focus{
|
||||
background-color: transparent;
|
||||
color: $white-color;
|
||||
@include opacity(1);
|
||||
}
|
||||
.nav .nav-item a.btn:hover{
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.dropdown .nav-link .caret,
|
||||
.dropdown .nav-link:hover .caret,
|
||||
.dropdown .nav-link:focus .caret{
|
||||
border-bottom-color: $white-color;
|
||||
border-top-color: $white-color;
|
||||
}
|
||||
|
||||
.open .nav-link,
|
||||
.open .nav-link:hover,
|
||||
.open .nav-link:focus {
|
||||
background-color: transparent;
|
||||
color: $default-color;
|
||||
@include opacity(1);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-default.btn-fill{
|
||||
color: $dark-gray;
|
||||
background-color: $white-color;
|
||||
@include opacity(.9);
|
||||
}
|
||||
.btn-default.btn-fill:hover,
|
||||
.btn-default.btn-fill:focus,
|
||||
.btn-default.btn-fill:active,
|
||||
.btn-default.btn-fill.active,
|
||||
.open .dropdown-toggle.btn-fill.btn-default{
|
||||
border-color: $white-color;
|
||||
@include opacity(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.nav-open .nav .caret{
|
||||
border-bottom-color: $white-color;
|
||||
border-top-color: $white-color;
|
||||
}
|
||||
|
||||
.navbar-default {
|
||||
.brand{
|
||||
color: $font-color !important;
|
||||
}
|
||||
.navbar-nav{
|
||||
.nav-item .nav-link:not(.btn){
|
||||
color: $dark-gray;
|
||||
}
|
||||
|
||||
.active .nav-link,
|
||||
.active .nav-link:not(.btn):hover,
|
||||
.active .nav-link:not(.btn):focus,
|
||||
.nav-item .nav-link:not(.btn):hover,
|
||||
.nav-item .nav-link:not(.btn):focus {
|
||||
background-color: transparent;
|
||||
border-radius: 3px;
|
||||
color: $info-color;
|
||||
@include opacity(1);
|
||||
}
|
||||
|
||||
.dropdown .nav-link:hover .caret,
|
||||
.dropdown .nav-link:focus .caret {
|
||||
border-bottom-color: $info-color;
|
||||
border-top-color: $info-color;
|
||||
|
||||
}
|
||||
|
||||
.open .nav-link,
|
||||
.open .nav-link:hover,
|
||||
.open .nav-link:focus{
|
||||
background-color: transparent;
|
||||
color: $info-color;
|
||||
}
|
||||
|
||||
.navbar-toggler:hover,.navbar-toggler:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:not(.navbar-transparent) .btn-default:hover{
|
||||
color: $info-color;
|
||||
border-color: $info-color;
|
||||
}
|
||||
&:not(.navbar-transparent) .btn-neutral,
|
||||
&:not(.navbar-transparent) .btn-neutral:hover,
|
||||
&:not(.navbar-transparent) .btn-neutral:active{
|
||||
color: $dark-gray;
|
||||
}
|
||||
}
|
||||
|
||||
/* Navbar with icons */
|
||||
|
||||
.navbar-icons{
|
||||
&.navbar .navbar-brand{
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.navbar-nav{
|
||||
.nav-item .nav-link{
|
||||
text-align: center;
|
||||
padding: $navbar-padding-a-icons;
|
||||
margin: $navbar-margin-a-icons;
|
||||
}
|
||||
|
||||
[class^="pe"] {
|
||||
font-size: 30px;
|
||||
position: relative;
|
||||
}
|
||||
p {
|
||||
margin: 3px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-form{
|
||||
@include box-shadow(none);
|
||||
.form-control{
|
||||
@include light-form();
|
||||
height: 22px;
|
||||
font-size: $font-size-navbar;
|
||||
line-height: $line-height-general;
|
||||
color: $light-gray;
|
||||
}
|
||||
.navbar-transparent & .form-control,
|
||||
[class*="bg"] & .form-control{
|
||||
color: $white-color;
|
||||
border: $none;
|
||||
border-bottom: 1px solid rgba($white-color,.6);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.navbar-toggler{
|
||||
margin-top: 19px;
|
||||
margin-bottom: 19px;
|
||||
border: $none;
|
||||
|
||||
.icon-bar {
|
||||
background-color: $white-color;
|
||||
}
|
||||
.navbar-collapse,
|
||||
.navbar-form {
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&.navbar-default .navbar-toggler:hover,
|
||||
&.navbar-default .navbar-toggler:focus {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
// stefan making edits
|
||||
|
||||
.navbar-light .navbar-nav .nav-link:hover{
|
||||
color: $light-gray;
|
||||
}
|
||||
|
||||
.red{
|
||||
color: #ff0000;
|
||||
}
|
||||
.collapse .navbar-text{
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-brand{
|
||||
color: $default-color;
|
||||
}
|
||||
.navbar-default .navbar-brand:hover,
|
||||
.navbar-default .navbar-brand:focus{
|
||||
color: #5e5e5e;
|
||||
}
|
||||
.navbar-collapse.show{
|
||||
.navbar-nav{
|
||||
.nav-item{
|
||||
padding-right: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-tabs-navigation{
|
||||
&:last-child{
|
||||
.nav-stacked{
|
||||
border-right: 1px solid #F1EAE0;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
padding: 20px 0;
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
padding: 7px 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
border-bottom: 0 none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//menu bars
|
||||
|
||||
.navbar-nav > li > .dropdown-menu,
|
||||
.dropdown .dropdown-menu{
|
||||
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
||||
}
|
||||
|
||||
.navbar-toggler{
|
||||
outline: none !important;
|
||||
cursor: pointer;
|
||||
|
||||
.navbar & .navbar-toggler-bar{
|
||||
background: $font-color;
|
||||
}
|
||||
|
||||
.navbar[class*="bg-"] & .navbar-toggler-bar,
|
||||
.navbar.navbar-transparent & .navbar-toggler-bar{
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.navbar-toggler-bar{
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.navbar-toggler .navbar-toggler-bar + .navbar-toggler-bar,
|
||||
.navbar-toggler .navbar-toggler-icon + .navbar-toggler-icon{
|
||||
margin-top: 4px;
|
||||
}
|
||||
.navbar .navbar-toggler{
|
||||
margin-top: 24px;
|
||||
}
|
||||
.navbar .navbar-burger{
|
||||
margin-top: 20px;
|
||||
}
|
||||
.navbar-toggler-icon{
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
margin: 0 auto;
|
||||
background: gray;
|
||||
}
|
||||
.no-transition{
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-o-transition: none;
|
||||
-ms-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
#description-areas .nav-stacked .nav-link.active:before,
|
||||
#navtabs-row .nav-stacked .nav-link.active:before{
|
||||
border-right: 11px solid #F1EAE0;
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 7px;
|
||||
}
|
||||
#description-areas .nav-stacked .nav-link.active:after,
|
||||
#navtabs-row .nav-stacked .nav-link.active:after{
|
||||
border-right: 11px solid $white-color;
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
bottom: 7px;
|
||||
}
|
||||
#second-tabs{
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
// navigation areas
|
||||
|
||||
.scroll-area{
|
||||
max-height: 310px;
|
||||
overflow-y: scroll;
|
||||
list-style: outside none none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.burger-menu{
|
||||
.collapse{
|
||||
.navbar-nav{
|
||||
a{
|
||||
color: $black-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.navbar-transparent{
|
||||
background: transparent !important;
|
||||
border-bottom: 1px solid transparent;
|
||||
box-shadow: none;
|
||||
|
||||
.dropdown-menu .divider{
|
||||
background-color: rgba($white-color,.2);
|
||||
}
|
||||
}
|
||||
.section-navbars{
|
||||
#menu-dropdown{
|
||||
.navbar{
|
||||
.navbar-toggler{
|
||||
.navbar-toggler-icon{
|
||||
background: $white-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-no-padding{
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
27
app/static/sass/paper-kit/_progress-bars.scss
Normal file
@ -0,0 +1,27 @@
|
||||
.progress {
|
||||
background-color: $medium-gray;
|
||||
border-radius: $border-radius-small;
|
||||
box-shadow: none;
|
||||
height: 8px;
|
||||
}
|
||||
.progress-thin{
|
||||
height: 4px;
|
||||
}
|
||||
.progress-bar{
|
||||
background-color: $primary-color;
|
||||
}
|
||||
.progress-bar-primary{
|
||||
background-color: $primary-color;
|
||||
}
|
||||
.progress-bar-info{
|
||||
background-color: $info-color;
|
||||
}
|
||||
.progress-bar-success{
|
||||
background-color: $success-color;
|
||||
}
|
||||
.progress-bar-warning{
|
||||
background-color: $warning-color;
|
||||
}
|
||||
.progress-bar-danger{
|
||||
background-color: $danger-color;
|
||||
}
|
||||
697
app/static/sass/paper-kit/_responsive.scss
Normal file
@ -0,0 +1,697 @@
|
||||
/* Changes for small display */
|
||||
|
||||
@media (max-width: 767px){
|
||||
.navbar-transparent{
|
||||
// padding-top: 15px;
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
body {
|
||||
position: relative;
|
||||
font-size: $font-size-small;
|
||||
}
|
||||
h6{
|
||||
font-size: 1em;
|
||||
}
|
||||
.navbar .container{
|
||||
left: 0;
|
||||
width: 100%;
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
position: relative;
|
||||
}
|
||||
.navbar .navbar-nav .dropdown-menu{
|
||||
height: 400px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.navbar .navbar-collapse.collapse,
|
||||
.navbar .navbar-collapse.collapse.in,
|
||||
.navbar .navbar-collapse.collapsing{
|
||||
// display: none !important;
|
||||
}
|
||||
.demo-header .motto{
|
||||
padding-top: 30% !important;
|
||||
}
|
||||
.navbar-toggle .icon-bar {
|
||||
display: block;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
width: 24px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.fog-low{
|
||||
margin-bottom: -35px;
|
||||
}
|
||||
.presentation-title{
|
||||
font-size: 5em;
|
||||
}
|
||||
.presentation-subtitle{
|
||||
margin-top: 40px;
|
||||
}
|
||||
.title-brand{
|
||||
max-width: 450px;
|
||||
.type{
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-header .navbar-toggle {
|
||||
margin-top: 12px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.bar1,
|
||||
.bar2,
|
||||
.bar3 {
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
.bar1 {
|
||||
top: 0px;
|
||||
@include bar-animation($topbar-back);
|
||||
}
|
||||
.bar2 {
|
||||
opacity: 1;
|
||||
}
|
||||
.bar3 {
|
||||
bottom: 0px;
|
||||
@include bar-animation($bottombar-back);
|
||||
}
|
||||
.toggled .bar1 {
|
||||
top: 6px;
|
||||
@include bar-animation($topbar-x);
|
||||
}
|
||||
.toggled .bar2 {
|
||||
opacity: 0;
|
||||
}
|
||||
.toggled .bar3 {
|
||||
bottom: 6px;
|
||||
@include bar-animation($bottombar-x);
|
||||
}
|
||||
|
||||
@include topbar-x-rotation();
|
||||
@include topbar-back-rotation();
|
||||
@include bottombar-x-rotation();
|
||||
@include bottombar-back-rotation();
|
||||
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% {opacity: 0;}
|
||||
100% {opacity: 1;}
|
||||
}
|
||||
@-moz-keyframes fadeIn {
|
||||
0% {opacity: 0;}
|
||||
100% {opacity: 1;}
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
0% {opacity: 0;}
|
||||
100% {opacity: 1;}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
margin: 1px -15px;
|
||||
|
||||
.open .dropdown-menu > li {
|
||||
& > a{
|
||||
padding: 15px 15px 5px 50px;
|
||||
}
|
||||
|
||||
&:first-child > a{
|
||||
padding: 5px 15px 5px 50px;
|
||||
}
|
||||
|
||||
&:last-child > a {
|
||||
padding: 15px 15px 25px 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[class*="navbar-"] .navbar-nav {
|
||||
& > li > a, > li > a:hover, > li > a:focus, .active > a, .active > a:hover, .active > a:focus, .open .dropdown-menu > li > a, .open .dropdown-menu > li > a:hover, .open .dropdown-menu > li > a:focus, .navbar-nav .open .dropdown-menu > li > a:active {
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
& > li > a:not(.btn),
|
||||
> li > a:hover,
|
||||
> li > a:focus,
|
||||
.open .dropdown-menu > li > a:not(.btn),
|
||||
.open .dropdown-menu > li > a:hover,
|
||||
.open .dropdown-menu > li > a:focus{
|
||||
opacity: .7;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&.navbar-nav .open .dropdown-menu > li > a:active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
& .dropdown > a{
|
||||
&:hover .caret {
|
||||
border-bottom-color: #777;
|
||||
border-top-color: #777;
|
||||
}
|
||||
&:active .caret {
|
||||
border-bottom-color: white;
|
||||
border-top-color: white;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.bootstrap-datetimepicker-widget{
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
display: none;
|
||||
}
|
||||
.navbar-fixed-top {
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.social-line .btn{
|
||||
margin: $margin-bottom;
|
||||
}
|
||||
.subscribe-line .form-control{
|
||||
margin: $margin-bottom;
|
||||
}
|
||||
.social-line.pull-right{
|
||||
float: none;
|
||||
}
|
||||
.footer nav.pull-left{
|
||||
float: none !important;
|
||||
}
|
||||
.footer:not(.footer-big) nav > ul li{
|
||||
float: none;
|
||||
}
|
||||
.footer{
|
||||
.footer-nav,
|
||||
.credits{
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
.section-buttons{
|
||||
.input-group{
|
||||
margin-top: 15px;
|
||||
}
|
||||
.form-group.has-danger{
|
||||
.form-control-feedback{
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.social-area.pull-right{
|
||||
float: none !important;
|
||||
}
|
||||
.form-control + .form-control-feedback{
|
||||
margin-top: -8px;
|
||||
}
|
||||
.navbar-toggle:hover,.navbar-toggle:focus {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
.btn.dropdown-toggle{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.media-post .author{
|
||||
width: 20%;
|
||||
float: none !important;
|
||||
display: block;
|
||||
margin: 0 auto 10px;
|
||||
}
|
||||
.media-post .media-body{
|
||||
width: 100%;
|
||||
}
|
||||
.modal-footer .btn-simple {
|
||||
padding: 15px;
|
||||
}
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
border: 1px solid #dddddd;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.typography-line{
|
||||
padding-left: 100px !important;
|
||||
}
|
||||
|
||||
.projects-1{
|
||||
& .project-pills{
|
||||
& .nav.nav-pills{
|
||||
display: block !important;
|
||||
.nav-item{
|
||||
&:first-child .nav-link{
|
||||
border-radius: 12px 12px 0 0 !important;
|
||||
margin-left: -1px;
|
||||
}
|
||||
&.active:first-child .nav-link{
|
||||
border-radius: 12px 12px 0 0 !important;
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
&:last-child .nav-link{
|
||||
border-radius: 0 0 12px 12px !important;
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.testimonials-2,
|
||||
.section-testimonials{
|
||||
.testimonials-people{
|
||||
img{
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.presentation-page{
|
||||
.section-cards,
|
||||
.section-components{
|
||||
overflow: hidden;
|
||||
.first-card{
|
||||
top: 750px !important;
|
||||
.grid__link{
|
||||
width: 200px !important;
|
||||
}
|
||||
}
|
||||
.fourth-card{
|
||||
top: 940px !important;
|
||||
.grid__link{
|
||||
width: 200px !important;
|
||||
}
|
||||
}
|
||||
.fifth-card{
|
||||
top: 950px !important;
|
||||
left: 220px !important;
|
||||
.grid__link{
|
||||
width: 200px !important;
|
||||
}
|
||||
}
|
||||
.sixth-card{
|
||||
top: 1335px !important;
|
||||
left: 220px !important;
|
||||
.grid__link{
|
||||
width: 200px !important;
|
||||
}
|
||||
}
|
||||
.seventh-card {
|
||||
top: 1155px !important;
|
||||
.grid__link{
|
||||
width: 200px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.section-content{
|
||||
.image-container{
|
||||
.add-animation{
|
||||
height: 250px !important;
|
||||
width: 180px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-components{
|
||||
.image-container{
|
||||
.components-macbook{
|
||||
width: 580px !important;
|
||||
height: 400px !important;
|
||||
}
|
||||
.social-img,
|
||||
.share-btn-img{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.title{
|
||||
margin-top: -100px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.section-examples{
|
||||
padding-top: 0 !important;
|
||||
margin-top: 10px !important;
|
||||
}
|
||||
|
||||
.section-icons{
|
||||
.icons-nucleo{
|
||||
.nc-icon:not(.ninth-left-icon):not(.seventh-left-icon):not(.third-left-icon){
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#typography{
|
||||
.typography-line{
|
||||
.note{
|
||||
margin-left: 7px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.section-nucleo-icons{
|
||||
[class*='col-lg']{
|
||||
text-align: center!important;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 991px){
|
||||
.navbar-collapse {
|
||||
position: fixed;
|
||||
display: block;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 230px;
|
||||
right: 0;
|
||||
z-index: 1032;
|
||||
visibility: visible;
|
||||
background-color: #999;
|
||||
overflow-y: visible;
|
||||
border-top: none;
|
||||
text-align: left;
|
||||
border-left: 1px solid #CCC5B9;
|
||||
padding-right: 0px;
|
||||
padding-left: 40px;
|
||||
padding-top: 15px;
|
||||
|
||||
@include transform-translate-x(230px);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
ul {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
// overflow-y:scroll;
|
||||
height: 95%;
|
||||
}
|
||||
.navbar-nav > .nav-item{
|
||||
// border-bottom: 1px solid;
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
& > .nav-link{
|
||||
margin: 0px 0px;
|
||||
color: $dark-gray !important;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
font-size: $font-size-small;
|
||||
line-height: $line-height-general;
|
||||
padding: 15px 0;
|
||||
&:hover,
|
||||
&:active{
|
||||
color: $default-states-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
&::after{
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background-color: $bg-nude;
|
||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
|
||||
display: block;
|
||||
content: "";
|
||||
z-index: 1;
|
||||
}
|
||||
&.has-image::after{
|
||||
@include black-filter(.8);
|
||||
}
|
||||
}
|
||||
.nav-open{
|
||||
& .navbar-collapse{
|
||||
@include transform-translate-x(0px);
|
||||
}
|
||||
& .wrapper{
|
||||
left: 0;
|
||||
@include transform-translate-x(-230px);
|
||||
}
|
||||
& .navbar-translate{
|
||||
@include transform-translate-x(-230px);
|
||||
}
|
||||
}
|
||||
.wrapper .navbar-collapse{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fixed-top .navbar-collapse{
|
||||
background-color: #FF8F5E;
|
||||
// width: 100%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dropdown.show .dropdown-menu,
|
||||
.dropdown .dropdown-menu{
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
transition: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
width: auto;
|
||||
border-radius: 0;
|
||||
|
||||
|
||||
.dropdown-item:hover,
|
||||
.dropdown-item:focus{
|
||||
background-color: transparent;
|
||||
border-radius:0;
|
||||
}
|
||||
|
||||
.dropdown-item a{
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-states-color;
|
||||
}
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:after{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown{
|
||||
.dropdown-menu{
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.show .dropdown-menu{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-translate{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@include transform-translate-x(0);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
}
|
||||
.wrapper{
|
||||
// @include transform-translate-x(0px);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
left: 0;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:767px){
|
||||
.section-sections{
|
||||
.section-cols{
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
.row{
|
||||
&:first-of-type{
|
||||
margin-top: 50px;
|
||||
margin-right: -120px;
|
||||
margin-left: -15px;
|
||||
@include transform-translate-x(-80px);
|
||||
}
|
||||
&:nth-of-type(2){
|
||||
margin-left: -100px;
|
||||
margin-right: -15px;
|
||||
transform: translateX(80px);
|
||||
}
|
||||
&:nth-of-type(3){
|
||||
margin-right: -120px;
|
||||
margin-left: 0px;
|
||||
transform: translateX(-120px);
|
||||
}
|
||||
&:nth-of-type(4){
|
||||
margin-right: -100px;
|
||||
margin-left: -15px;
|
||||
transform: translateX(-50px);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:991px){
|
||||
.burger-menu{
|
||||
.navbar-collapse {
|
||||
position: fixed;
|
||||
display: block;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 230px;
|
||||
right: 0px;
|
||||
z-index: 1032;
|
||||
visibility: visible;
|
||||
background-color: #999;
|
||||
overflow-y: visible;
|
||||
border-top: none;
|
||||
text-align: left;
|
||||
border-left: 1px solid #CCC5B9;
|
||||
padding-right: 0px;
|
||||
padding-left: 40px;
|
||||
padding-top: 15px;
|
||||
@include transform-translate-x(230px);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
|
||||
.navbar-nav .nav-item{
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
.navbar-nav{
|
||||
height: 100%;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-webkit-flex-direction: column;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
&::after{
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background-color: $bg-nude;
|
||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
|
||||
display: block;
|
||||
content: "";
|
||||
z-index: 1;
|
||||
}
|
||||
&.has-image::after{
|
||||
@include black-filter(.8);
|
||||
}
|
||||
}
|
||||
.navbar{
|
||||
.container{
|
||||
.navbar-toggler{
|
||||
display: block;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-translate{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@include transform-translate-x(0);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
}
|
||||
|
||||
.wrapper{
|
||||
// @include transform-translate-x(0px);
|
||||
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
||||
left: 0;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.body{
|
||||
.navbar-collapse.collapse{
|
||||
height: 100vh !important;
|
||||
}
|
||||
}
|
||||
.navbar-collapse,
|
||||
.navbar-nav{
|
||||
&:before,
|
||||
&:after{
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
}
|
||||
|
||||
.nav-open &{
|
||||
.navbar-collapse.collapse{
|
||||
@include transform-translate-x(0px);
|
||||
}
|
||||
.wrapper{
|
||||
left: 0;
|
||||
@include transform-translate-x(-230px);
|
||||
}
|
||||
.navbar-translate{
|
||||
@include transform-translate-x(-230px);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown.show .dropdown-menu,
|
||||
.dropdown .dropdown-menu{
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
transition: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
width: auto;
|
||||
border-radius: 0;
|
||||
|
||||
|
||||
.dropdown-item:hover,
|
||||
.dropdown-item:focus{
|
||||
background-color: transparent;
|
||||
border-radius:0;
|
||||
}
|
||||
|
||||
.dropdown-item a{
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
color: $default-states-color;
|
||||
}
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:after{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown{
|
||||
.dropdown-menu{
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.show .dropdown-menu{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1025px){
|
||||
.input-group{
|
||||
.input-group-addon{
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 324px){
|
||||
.section{
|
||||
.container{
|
||||
nav{
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
107
app/static/sass/paper-kit/_sections.scss
Normal file
@ -0,0 +1,107 @@
|
||||
.section{
|
||||
padding: 70px 0;
|
||||
position: relative;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.section-with-space{
|
||||
padding: 60px 0;
|
||||
}
|
||||
.section-gray{
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
.section-nude{
|
||||
background-color: $bg-nude;
|
||||
}
|
||||
.section-gold{
|
||||
background-color: #caac90;
|
||||
color: $white-color;
|
||||
}
|
||||
.section-brown{
|
||||
background-color: #A59E94;
|
||||
color: $white-color;
|
||||
}
|
||||
.section-light-blue{
|
||||
background-color: $primary-color;
|
||||
color: $white-color;
|
||||
}
|
||||
.section-dark-blue{
|
||||
background-color: #506367;
|
||||
color: $white-color;
|
||||
}
|
||||
.section-dark{
|
||||
background-color: #0b1011;
|
||||
}
|
||||
.section-image,
|
||||
.section-gold,
|
||||
.section-dark{
|
||||
position: relative;
|
||||
|
||||
.title,
|
||||
.info-title,
|
||||
.card-plain .card-title{
|
||||
color: $white-color !important;
|
||||
}
|
||||
.category,
|
||||
.description,
|
||||
.card-plain .card-description,
|
||||
.card-plain .card-category{
|
||||
color: rgba($white-color, .7);
|
||||
}
|
||||
hr{
|
||||
border-color: rgba(255, 255, 255, 0.19);
|
||||
}
|
||||
}
|
||||
.page-header,
|
||||
.carousel-caption{
|
||||
.title,
|
||||
.info-title{
|
||||
color: $white-color;
|
||||
}
|
||||
}
|
||||
[class*="features-"],
|
||||
[class*="team-"],
|
||||
[class*="projects-"],
|
||||
[class*="pricing-"],
|
||||
[class*="testimonials-"],
|
||||
[class*="contactus-"]{
|
||||
padding: 80px 0;
|
||||
}
|
||||
.section-image{
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
|
||||
&:before{
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
content: "";
|
||||
display: block;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
& .container{
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.section-login{
|
||||
min-height: 700px;
|
||||
}
|
||||
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
/* IE10+ CSS styles go here */
|
||||
.page-header{
|
||||
.content-center{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -75%);
|
||||
}
|
||||
.presentation-title{
|
||||
background: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
161
app/static/sass/paper-kit/_sliders.scss
Normal file
@ -0,0 +1,161 @@
|
||||
.noUi-target,
|
||||
.noUi-target * {
|
||||
-webkit-touch-callout: none;
|
||||
-ms-touch-action: none;
|
||||
user-select: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.noUi-base {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.noUi-origin {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.noUi-handle {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.noUi-stacking .noUi-handle {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.noUi-state-tap .noUi-origin {
|
||||
transition: left 0.3s, top 0.3s;
|
||||
}
|
||||
|
||||
.noUi-state-drag * {
|
||||
cursor: inherit !important;
|
||||
}
|
||||
|
||||
.noUi-horizontal {
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.noUi-handle {
|
||||
box-sizing: border-box;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
left: -10px;
|
||||
top: -6px;
|
||||
cursor: pointer;
|
||||
border-radius: 100%;
|
||||
transition: all 0.2s ease-out;
|
||||
border: 1px solid;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.noUi-vertical .noUi-handle {
|
||||
margin-left: 5px;
|
||||
cursor: ns-resize;
|
||||
}
|
||||
|
||||
.noUi-horizontal.noUi-extended {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.noUi-horizontal.noUi-extended .noUi-origin {
|
||||
right: -15px;
|
||||
}
|
||||
|
||||
.noUi-background {
|
||||
height: 2px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.noUi-origin {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
height: 2px;
|
||||
background: #c8c8c8;
|
||||
}
|
||||
.noUi-origin[style^="left: 0"] .noUi-handle {
|
||||
background-color: #fff;
|
||||
border: 2px solid #c8c8c8;
|
||||
}
|
||||
.noUi-origin[style^="left: 0"] .noUi-handle.noUi-active {
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.noUi-target {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.noUi-horizontal {
|
||||
height: 2px;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.noUi-vertical {
|
||||
height: 100%;
|
||||
width: 2px;
|
||||
margin: 0 15px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.noUi-handle.noUi-active {
|
||||
transform: scale3d(2, 2, 1);
|
||||
}
|
||||
|
||||
[disabled].noUi-slider {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
[disabled] .noUi-handle {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.slider {
|
||||
background: #c8c8c8;
|
||||
}
|
||||
.c-1-color{
|
||||
background-color: blue;
|
||||
}
|
||||
.c-2-color{
|
||||
background-color: white;
|
||||
}
|
||||
.slider.noUi-connect {
|
||||
background-color: #7AC29A;
|
||||
}
|
||||
.slider .noUi-handle {
|
||||
border-color: #7AC29A;
|
||||
}
|
||||
.slider.slider-info .noUi-origin:first-child{
|
||||
background-color: $primary-color;
|
||||
}
|
||||
.slider.slider-info .noUi-handle {
|
||||
border-color: $primary-color;
|
||||
}
|
||||
.slider.slider-success .noUi-connect,
|
||||
.slider.slider-success.noUi-connect {
|
||||
background-color: $primary-color;
|
||||
}
|
||||
.slider.slider-success .noUi-handle {
|
||||
border-color: $primary-color;
|
||||
}
|
||||
.slider.slider-warning .noUi-connect,
|
||||
.slider.slider-warning.noUi-connect {
|
||||
background-color: #ff9800;
|
||||
}
|
||||
.slider.slider-warning .noUi-handle {
|
||||
border-color: #ff9800;
|
||||
}
|
||||
.slider.slider-danger .noUi-connect,
|
||||
.slider.slider-danger.noUi-connect {
|
||||
background-color: #f44336;
|
||||
}
|
||||
.slider.slider-danger .noUi-handle {
|
||||
border-color: #f44336;
|
||||
}
|
||||
71
app/static/sass/paper-kit/_social-buttons.scss
Normal file
@ -0,0 +1,71 @@
|
||||
.btn-twitter{
|
||||
color: $social-twitter !important;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active{
|
||||
color: $social-twitter !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-facebook{
|
||||
color: $social-facebook !important;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active{
|
||||
color: $social-facebook !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-google{
|
||||
color: $social-google !important;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active{
|
||||
color: $social-google !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-linkedin{
|
||||
color: $social-linkedin !important;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active{
|
||||
color: $social-linkedin !important;
|
||||
}
|
||||
}
|
||||
.btn-twitter-bg{
|
||||
background-color: $social-twitter !important;
|
||||
border-color: $social-twitter !important;
|
||||
&:hover{
|
||||
background-color: darken($social-twitter, 5%) !important;
|
||||
border-color: darken($social-twitter, 5%) !important;
|
||||
}
|
||||
}
|
||||
.btn-facebook-bg{
|
||||
background-color: $social-facebook !important;
|
||||
border-color: $social-facebook !important;
|
||||
&:hover{
|
||||
background-color: darken($social-facebook, 5%) !important;
|
||||
border-color: darken($social-facebook, 5%) !important;
|
||||
}
|
||||
}
|
||||
.btn-google-bg{
|
||||
background-color: $social-google !important;
|
||||
border-color: $social-google !important;
|
||||
&:hover{
|
||||
background-color: darken($social-google, 5%) !important;
|
||||
border-color: darken($social-google, 5%) !important;
|
||||
}
|
||||
}
|
||||
.btn-github-bg{
|
||||
background-color: #767676 !important;
|
||||
border-color: #767676 !important;
|
||||
&:hover{
|
||||
background-color: darken(#767676, 5%) !important;
|
||||
border-color: darken(#767676, 5%) !important;
|
||||
}
|
||||
}
|
||||
398
app/static/sass/paper-kit/_tabs-navs-pagination.scss
Normal file
@ -0,0 +1,398 @@
|
||||
/* Navigation menu */
|
||||
|
||||
/* Navigation Tabs */
|
||||
.nav-tabs-navigation{
|
||||
text-align: center;
|
||||
border-bottom: 1px solid $medium-pale-bg;
|
||||
margin-bottom: 30px;
|
||||
|
||||
.nav > .nav-item > .nav-link{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.nav-tabs-wrapper{
|
||||
display: inline-block;
|
||||
margin-bottom: -6px;
|
||||
margin-left: 1.25%;
|
||||
margin-right: 1.25%;
|
||||
position: relative;
|
||||
width: auto;
|
||||
}
|
||||
.nav-tabs {
|
||||
border-bottom: 0 none;
|
||||
font-size: $font-size-medium;
|
||||
font-weight: $font-weight-bold;
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 0 none;
|
||||
color: $other-medium-gray;
|
||||
background-color: transparent;
|
||||
}
|
||||
.nav-link:hover{
|
||||
color: $font-color;
|
||||
}
|
||||
.nav-link.active{
|
||||
color: $font-color;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-item{
|
||||
color: $font-color;
|
||||
position: relative;
|
||||
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link.active:hover,
|
||||
.nav-link.active:focus{
|
||||
background-color: transparent;
|
||||
border: 0 none;
|
||||
&:after{
|
||||
border-bottom: 11px solid $white-color;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 40%;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
&:before{
|
||||
border-bottom: 11px solid $medium-pale-bg;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 40%;
|
||||
bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.nav-item.show .nav-link{
|
||||
background-color: transparent;
|
||||
}
|
||||
.dropdown-menu{
|
||||
margin-top: -6px;
|
||||
margin-left: -46px;
|
||||
border-radius: 8px;
|
||||
|
||||
.dropdown-item:hover,
|
||||
.dropdown-item.active{
|
||||
color: #FFFFFF;
|
||||
background-color: #68B3C8;
|
||||
}
|
||||
:before{
|
||||
border-bottom: 11px solid $medium-pale-bg;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: -11px;
|
||||
|
||||
:after{
|
||||
border-bottom: 11px solid $pale-bg;
|
||||
border-left: 11px solid rgba(0, 0, 0, 0);
|
||||
border-right: 11px solid rgba(0, 0, 0, 0);
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: -10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.profile-content{
|
||||
& .tab-content{
|
||||
& .tab-pane{
|
||||
min-height: 200px;
|
||||
}
|
||||
& #tweets, #connections, #media{
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Navigation Pills */
|
||||
|
||||
.nav-pills {
|
||||
.nav-item + .nav-link {
|
||||
margin-left: 0;
|
||||
}
|
||||
.nav-item .nav-link {
|
||||
border: 1px solid $default-color;
|
||||
border-radius: 0;
|
||||
color: $default-color;
|
||||
font-weight: $font-weight-bold;
|
||||
margin-left: -1px;
|
||||
padding: 10px 25px;
|
||||
|
||||
}
|
||||
.nav-item.active .nav-link,
|
||||
.nav-item.active .nav-link:hover,
|
||||
.nav-item.active .nav-link:focus {
|
||||
background-color: $default-color;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.nav-item:first-child .nav-link{
|
||||
border-radius: 30px 0 0 30px !important;
|
||||
margin: 0;
|
||||
}
|
||||
.nav-item:last-child .nav-link{
|
||||
border-radius: 0 30px 30px 0 !important;
|
||||
}
|
||||
.nav-item .nav-link.active{
|
||||
background-color: $default-color;
|
||||
color: $white-color;
|
||||
}
|
||||
|
||||
}
|
||||
.nav-pills-primary{
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 1px solid $primary-color !important;
|
||||
color: $primary-color !important;
|
||||
&.active{
|
||||
border: 1px solid $primary-color !important;
|
||||
color: $white-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-pills-danger{
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 1px solid $danger-color !important;
|
||||
color: $danger-color !important;
|
||||
&.active{
|
||||
border: 1px solid $danger-color !important;
|
||||
color: $white-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-pills-info{
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 1px solid $info-color !important;
|
||||
color: $info-color !important;
|
||||
&.active{
|
||||
border: 1px solid $info-color !important;
|
||||
color: $white-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-pills-success{
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 1px solid $success-color !important;
|
||||
color: $success-color !important;
|
||||
&.active{
|
||||
border: 1px solid $success-color !important;
|
||||
color: $white-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-pills-warning{
|
||||
.nav-item{
|
||||
.nav-link{
|
||||
border: 1px solid $warning-color !important;
|
||||
color: $warning-color !important;
|
||||
&.active{
|
||||
border: 1px solid $warning-color !important;
|
||||
color: $white-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pagination > .page-item > .page-link,
|
||||
.pagination > .page-item > span,
|
||||
.pagination > .page-item:first-child > .page-link,
|
||||
.pagination > .page-item:first-child > span,
|
||||
.pagination > .page-item:last-child > .page-link,
|
||||
.pagination > .page-item:last-child > span{
|
||||
background-color: transparent;
|
||||
border: 2px solid $danger-color;
|
||||
border-radius: 20px;
|
||||
color: $danger-color;
|
||||
height: $line-height;
|
||||
margin: 0 2px;
|
||||
min-width: 36px;
|
||||
font-weight: $font-weight-bold;
|
||||
}
|
||||
|
||||
.nav-pills-danger > .page-item > .page-link,
|
||||
.pagination-danger > .page-item > .page-link,
|
||||
.pagination-danger > .page-item > span,
|
||||
.pagination-danger > .page-item:first-child > .page-link,
|
||||
.pagination-danger > .page-item:first-child > span,
|
||||
.pagination-danger > .page-item:last-child > .page-link,
|
||||
.pagination-danger > .page-item:last-child > span{
|
||||
border: 2px solid $danger-color;
|
||||
color: $danger-color;
|
||||
}
|
||||
|
||||
.nav-pills-danger > .page-item.active > .page-link,
|
||||
.nav-pills-danger > .page-item.active > .page-link:hover,
|
||||
.nav-pills-danger > .page-item.active > .page-link:focus,
|
||||
.pagination-danger > .page-item > .page-link:hover,
|
||||
.pagination-danger > .page-item > .page-link:focus,
|
||||
.pagination-danger > .page-item > .page-link:active,
|
||||
.pagination-danger > .page-item.active > .page-link,
|
||||
.pagination-danger > .page-item.active > span,
|
||||
.pagination-danger > .page-item.active > .page-link:hover,
|
||||
.pagination-danger > .page-item.active > span:hover,
|
||||
.pagination-danger > .page-item.active > .page-link:focus,
|
||||
.pagination-danger > .page-item.active > span:focus{
|
||||
background-color: $danger-color !important;
|
||||
border-color: $danger-color !important;
|
||||
color: $white-color;
|
||||
}
|
||||
|
||||
.nav-text, .nav-icons{
|
||||
margin: $margin-bottom;
|
||||
|
||||
> li > a{
|
||||
display: block;
|
||||
padding: 0px $padding-base-horizontal;
|
||||
color: $dark-gray;
|
||||
text-align: center;
|
||||
@include opacity(0.8);
|
||||
|
||||
&:hover,
|
||||
&:focus{
|
||||
background-color: $transparent-bg;
|
||||
@include opacity(1);
|
||||
}
|
||||
}
|
||||
> li:first-child a{
|
||||
padding-left: 0;
|
||||
}
|
||||
> li.active a{
|
||||
color: $info-color;
|
||||
}
|
||||
}
|
||||
.nav-icons > li{
|
||||
display: inline-block;
|
||||
> a{
|
||||
padding: 0 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
> a i{
|
||||
font-size: $font-size-h4;
|
||||
margin-bottom: 10px;
|
||||
width: $font-size-h4;
|
||||
}
|
||||
}
|
||||
.nav-icons.nav-stacked > li{
|
||||
display: block;
|
||||
> a {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
.nav-blue > li.active a{
|
||||
color: $primary-color;
|
||||
}
|
||||
.nav-azure > li.active a{
|
||||
color: $info-color;
|
||||
}
|
||||
.nav-green > li.active a{
|
||||
color: $success-color;
|
||||
}
|
||||
.nav-orange > li.active a{
|
||||
color: $warning-color;
|
||||
}
|
||||
.nav-red > li.active a{
|
||||
color: $danger-color;
|
||||
}
|
||||
|
||||
.nav-text{
|
||||
margin: $margin-bottom;
|
||||
|
||||
> li > a{
|
||||
font-size: $font-size-h6;
|
||||
text-transform: uppercase;
|
||||
padding: 3px 0;
|
||||
text-align: left;
|
||||
font-weight: $font-weight-semi;
|
||||
|
||||
}
|
||||
> li:first-child > a{
|
||||
padding-top: 0;
|
||||
}
|
||||
h4{
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-text:not(.nav-stacked){
|
||||
> li{
|
||||
display: inline-block;
|
||||
}
|
||||
> li > a{
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
// Stefan making edits
|
||||
|
||||
|
||||
.page-item:first-child .page-link,
|
||||
.page-item:last-child .page-link{
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
}
|
||||
.nav-pills-default .nav-item.show .nav-link,
|
||||
.nav-pills-default .nav-link.active{
|
||||
background-color: $default-color !important;
|
||||
}
|
||||
.nav-pills-primary .nav-item.show .nav-link,
|
||||
.nav-pills-primary .nav-link.active{
|
||||
background-color: $primary-color !important;
|
||||
}
|
||||
.nav-pills-info .nav-item.show .nav-link,
|
||||
.nav-pills-info .nav-link.active{
|
||||
background-color: $info-color !important;
|
||||
}
|
||||
.nav-pills-warning .nav-item.show .nav-link,
|
||||
.nav-pills-warning .nav-link.active{
|
||||
background-color: $warning-color !important;
|
||||
}
|
||||
.nav-pills-success .nav-item.show .nav-link,
|
||||
.nav-pills-success .nav-link.active{
|
||||
background-color: $success-color !important;
|
||||
}
|
||||
.nav-pills-danger .nav-item.show .nav-link,
|
||||
.nav-pills-danger .nav-link.active{
|
||||
background-color: $danger-color !important;
|
||||
}
|
||||
.pagination > li > a:hover,
|
||||
.pagination > li > a:focus,
|
||||
.pagination > li > a:active,
|
||||
.pagination > li.active > a,
|
||||
.pagination > li.active > span,
|
||||
.pagination > li.active > a:hover,
|
||||
.pagination > li.active > span:hover,
|
||||
.pagination > li.active > a:focus,
|
||||
.pagination > li.active > span:focus{
|
||||
background-color: $danger-color;
|
||||
border-color: $danger-color;
|
||||
color: $white-color;
|
||||
}
|
||||
|
||||
.page-item.active .page-link{
|
||||
background-color: $danger-color;
|
||||
color: white;
|
||||
border-color: $danger-color;
|
||||
}
|
||||
.nav-pills .nav-link{
|
||||
border-radius: 0;
|
||||
}
|
||||
266
app/static/sass/paper-kit/_tooltips-and-popovers.scss
Normal file
@ -0,0 +1,266 @@
|
||||
.tooltip {
|
||||
font-size: $font-size-small;
|
||||
font-weight: $font-weight-normal;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
background-color: $white-color;
|
||||
border-radius: $border-radius-base;
|
||||
box-shadow: 0 1px 13px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(115, 71, 38, 0.23);
|
||||
color: $default-color;
|
||||
max-width: 200px;
|
||||
padding: 10px 10px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
.tooltip-inner:after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
.tooltip-inner:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
//tooltip arrow positioning
|
||||
//onLeft
|
||||
.tooltip.fade.bs-tooltip-left,
|
||||
.tooltip.fade.bs-tooltip-left.show{
|
||||
left: -5px !important;
|
||||
.arrow{
|
||||
border-left: 11px solid rgba(0, 0, 0, 0.2);
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
right: -6px;
|
||||
left: auto;
|
||||
margin-left: 0;
|
||||
top: -8px;
|
||||
|
||||
&::before{
|
||||
border-left: 11px solid #FFFFFF;
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
right: 1px;
|
||||
left: auto;
|
||||
margin-left: 0;
|
||||
top: -8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//onRight
|
||||
.tooltip.fade.bs-tooltip-right,
|
||||
.tooltip.fade.bs-tooltip-right.show{
|
||||
left: 6px !important;
|
||||
.arrow{
|
||||
border-right: 11px solid rgba(0, 0, 0, 0.2);
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
left: -6px;
|
||||
right: auto;
|
||||
margin-right: 0;
|
||||
top: -8px;
|
||||
|
||||
&::before{
|
||||
border-right: 11px solid #FFFFFF;
|
||||
border-top: 11px solid transparent;
|
||||
border-bottom: 11px solid transparent;
|
||||
left: 1px;
|
||||
right: auto;
|
||||
margin-right: 0;
|
||||
top: -8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//onTop
|
||||
.tooltip.fade.bs-tooltip-top,
|
||||
.tooltip.fade.bs-tooltip-top.show{
|
||||
top: -6px !important;
|
||||
|
||||
.arrow{
|
||||
border-top: 11px solid rgba(0, 0, 0, 0.2);
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
right: auto;
|
||||
margin-right: 0;
|
||||
top: 43px;
|
||||
|
||||
&::before{
|
||||
border-top: 11px solid #FFFFFF;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
left: -8px;
|
||||
right: auto;
|
||||
top: -12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//onBottom
|
||||
.tooltip.fade.bs-tooltip-bottom,
|
||||
.tooltip.fade.bs-tooltip-bottom.show{
|
||||
top: 6px!important;
|
||||
|
||||
.arrow{
|
||||
border-bottom: 11px solid rgba(0, 0, 0, 0.2);
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
right: auto;
|
||||
margin-right: 0;
|
||||
top: -6px;
|
||||
|
||||
&::before{
|
||||
border-bottom: 11px solid #FFFFFF;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
left: -8px;
|
||||
right: auto;
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip.show{
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.popover{
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background-color: $white-color;
|
||||
color: #66615b;
|
||||
font-weight: 400;
|
||||
padding: 0;
|
||||
z-index: 1031;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
text-align: center;
|
||||
}
|
||||
.popover-header{
|
||||
background-color: #FFFCF5;
|
||||
border-bottom: 0 none;
|
||||
font-size: $font-paragraph;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
padding: 15px 15px 0px 15px;
|
||||
margin: 0;
|
||||
color: #66615b;
|
||||
text-align: center;
|
||||
border-radius: $border-radius-base $border-radius-base 0 0;
|
||||
margin-bottom: -10px;
|
||||
}
|
||||
.popover-header{
|
||||
background-color: $white-color !important;
|
||||
text-align: center;
|
||||
}
|
||||
.popover-body{
|
||||
padding: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
.popover .arrow{
|
||||
border: 0;
|
||||
}
|
||||
.popover.top .arrow{
|
||||
margin-left: 0;
|
||||
}
|
||||
.popover.bottom .arrow:after{
|
||||
border-bottom-color: $bg-danger;
|
||||
}
|
||||
.popover-filter{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1030;
|
||||
background-color: #000000;
|
||||
@include opacity(0);
|
||||
visibility: hidden;
|
||||
|
||||
transition: visibility 0s linear 0.3s,opacity 0.3s linear;
|
||||
}
|
||||
.popover-filter.in{
|
||||
visibility:visible;
|
||||
@include opacity(0.2);
|
||||
transition-delay: 0s;
|
||||
}
|
||||
.popover.left > .arrow::after{
|
||||
border-left-color: $bg-danger;
|
||||
bottom: -20px;
|
||||
}
|
||||
.popover.top > .arrow::after{
|
||||
border-top-color: $bg-danger;
|
||||
}
|
||||
.popover.right > .arrow::after{
|
||||
border-right-color: $bg-danger;
|
||||
}
|
||||
|
||||
.popover.left::before{
|
||||
border-left-color: $bg-danger;
|
||||
bottom: -20px;
|
||||
}
|
||||
|
||||
.popover-filter.in{
|
||||
visibility:visible;
|
||||
@include opacity(0.2);
|
||||
transition-delay: 0s;
|
||||
}
|
||||
.popover-primary{
|
||||
@include popover-style($bg-primary);
|
||||
}
|
||||
.popover-info{
|
||||
@include popover-style($bg-info);
|
||||
}
|
||||
.popover-success {
|
||||
@include popover-style($bg-success);
|
||||
}
|
||||
.popover-warning {
|
||||
@include popover-style($bg-warning);
|
||||
}
|
||||
.popover-danger {
|
||||
@include popover-style($bg-danger);
|
||||
}
|
||||
|
||||
// popover color
|
||||
.popover-primary.bs-tether-element-attached-bottom::after,
|
||||
.popover-primary.bs-tether-element-attached-bottom::before,
|
||||
.popover-primary.popover-top::after,
|
||||
.popover-primary.popover-top::before{
|
||||
border-top-color: $bg-primary !important;
|
||||
}
|
||||
|
||||
.popover.popover-info.bs-tether-element-attached-top::after,
|
||||
.popover.popover-info.popover-bottom::after,
|
||||
.popover.popover-info.bs-tether-element-attached-top::before,
|
||||
.popover.popover-info.popover-bottom::before{
|
||||
border-bottom-color: $bg-info !important;
|
||||
}
|
||||
|
||||
.popover-success.bs-tether-element-attached-left::after,
|
||||
.popover-success.bs-tether-element-attached-left::before,
|
||||
.popover-success.popover-right::after,
|
||||
.popover-success.popover-right::before{
|
||||
border-right-color: $bg-success !important;
|
||||
}
|
||||
|
||||
.popover.popover-warning.bs-tether-element-attached-right::after,
|
||||
.popover.popover-warning.bs-tether-element-attached-right::before,
|
||||
.popover.popover-warning.popover-left::after,
|
||||
.popover.popover-warning.popover-left::before{
|
||||
border-left-color: $bg-warning !important;
|
||||
}
|
||||
|
||||
.popover.popover-danger.bs-tether-element-attached-right::after,
|
||||
.popover.popover-danger.bs-tether-element-attached-right::before,
|
||||
.popover.popover-danger.popover-left::after,
|
||||
.popover.popover-danger.popover-left::before{
|
||||
border-left-color: $bg-danger !important;
|
||||
}
|
||||
|
||||
.popover.bs-tether-element-attached-top::after, .popover.popover-bottom::after,
|
||||
.popover.bs-tether-element-attached-top::before, .popover.popover-bottom::before{
|
||||
border-bottom-color: #fff !important;
|
||||
}
|
||||
134
app/static/sass/paper-kit/_typography.scss
Normal file
@ -0,0 +1,134 @@
|
||||
/* Font Smoothing */
|
||||
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td, button, input, select, textarea{
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: $font-family-sans-serif;
|
||||
font-weight: $font-weight-light;
|
||||
}
|
||||
|
||||
h1, .h1, h2, .h2, h3, .h3, h4, .h4{
|
||||
margin: $margin-large-vertical 0 0;
|
||||
}
|
||||
h1, .h1 {
|
||||
font-size: $font-size-h1;
|
||||
}
|
||||
h2, .h2{
|
||||
font-size: $font-size-h2;
|
||||
}
|
||||
h3, .h3{
|
||||
font-size: $font-size-h3;
|
||||
line-height: 1.4;
|
||||
margin: 20px 0 0px;
|
||||
}
|
||||
h4, .h4{
|
||||
font-size: $font-size-h4;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
h5, .h5 {
|
||||
font-size: $font-size-h5;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
h6, .h6{
|
||||
font-size: $font-size-h6;
|
||||
font-weight: $font-weight-bold;
|
||||
text-transform: uppercase;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
p{
|
||||
font-size: $font-paragraph;
|
||||
line-height: $line-height-general;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
|
||||
color: $dark-gray;
|
||||
line-height: $line-height-general;
|
||||
}
|
||||
|
||||
h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small {
|
||||
font-size: 60%;
|
||||
}
|
||||
|
||||
.title,
|
||||
.card-title,
|
||||
.info-title,
|
||||
.footer-brand,
|
||||
.footer-big h5,
|
||||
.footer-big h4,
|
||||
.media .media-heading{
|
||||
font-family: $font-family-sans-serif;;
|
||||
|
||||
&,
|
||||
a{
|
||||
color: $card-black-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.title-uppercase{
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.description{
|
||||
color: $dark-gray;
|
||||
}
|
||||
blockquote small{
|
||||
font-style: normal;
|
||||
}
|
||||
.text-muted{
|
||||
color: $medium-gray;
|
||||
}
|
||||
.text-primary, .text-primary:hover{
|
||||
color: $primary-color !important;
|
||||
}
|
||||
.text-info, .text-info:hover{
|
||||
color: $info-color !important;
|
||||
}
|
||||
.text-success, .text-success:hover{
|
||||
color: $success-color !important;
|
||||
}
|
||||
.text-warning, .text-warning:hover{
|
||||
color: $warning-color !important;
|
||||
}
|
||||
.text-danger, .text-danger:hover{
|
||||
color: $danger-color !important;
|
||||
}
|
||||
.glyphicon{
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
// Pulsing Heart (footer)
|
||||
.heart {
|
||||
color: #EB5E28;
|
||||
animation: heathing 1s ease infinite,;
|
||||
}
|
||||
|
||||
@keyframes heathing {
|
||||
0% { transform: scale( .75 ); }
|
||||
20% { transform: scale( 1 ); }
|
||||
40% { transform: scale( .75 ); }
|
||||
60% { transform: scale( 1 ); }
|
||||
80% { transform: scale( .75 ); }
|
||||
100% { transform: scale( .75 ); }
|
||||
}
|
||||
.footer .credits,
|
||||
.footer-nav{
|
||||
line-height: 85px;
|
||||
}
|
||||
.footer .btn{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.blockquote{
|
||||
border-left: 0 none;
|
||||
border-bottom: 1px solid #CCC5B9;
|
||||
border-top: 1px solid #CCC5B9;
|
||||
font-weight: 300;
|
||||
margin: 15px 0 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.title{
|
||||
margin-top: 30px;
|
||||
margin-bottom: 25px;
|
||||
min-height: 32px;
|
||||
}
|
||||
.title.text-center{
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
319
app/static/sass/paper-kit/_variables.scss
Normal file
@ -0,0 +1,319 @@
|
||||
$font-color: #66615b !default;
|
||||
$fill-font-color: rgba(255, 255, 255, 0.8);
|
||||
$font-family-sans-serif: 'Montserrat', "Helvetica", Arial, sans-serif;
|
||||
|
||||
$none: 0 !default;
|
||||
$border-thin: 1px !default;
|
||||
$border-thick: 2px !default;
|
||||
|
||||
$white-color: #FFFFFF !default;
|
||||
$white-bg: #FFFFFF !default;
|
||||
$white-states-color: rgba($white-color, 0.8);
|
||||
|
||||
$smoke-bg: #F5F5F5 !default;
|
||||
$pale-bg: #FFFCF5 !default;
|
||||
$medium-pale-bg: #F1EAE0 !default;
|
||||
|
||||
$table-line-color: #ccc !default;
|
||||
$muted-color: #a49e93 !default;
|
||||
|
||||
$black-bg: rgba(30,30,30,.97) !default;
|
||||
|
||||
$black-color: #333333 !default;
|
||||
$black-hr: #444444 !default;
|
||||
|
||||
$light-gray: #E3E3E3 !default;
|
||||
$medium-gray: #DDDDDD !default;
|
||||
$dark-gray: #9A9A9A !default;
|
||||
|
||||
$placeholder-gray: rgba(210, 210, 210, 1) !default;
|
||||
|
||||
$gray-input-bg: #fffcf5 !default;
|
||||
$danger-input-bg: #FFC0A4 !default;
|
||||
$success-input-bg: #ABF3CB !default;
|
||||
$other-medium-gray: #A49E93 !default;
|
||||
$transparent-bg: transparent !default;
|
||||
|
||||
$default-color: #66615B !default;
|
||||
$default-bg: #66615B !default;
|
||||
$default-states-color: #403D39 !default;
|
||||
|
||||
$primary-color: #51cbce !default;
|
||||
$primary-states-color: darken($primary-color, 10%) !default;
|
||||
|
||||
$success-color: #6bd098 !default;
|
||||
$success-states-color: darken($success-color, 10%) !default;
|
||||
|
||||
$info-color: #51bcda !default;
|
||||
$info-states-color: darken($info-color, 10%) !default;
|
||||
|
||||
$warning-color: #fbc658 !default;
|
||||
$warning-states-color: darken($warning-color, 10%) !default;
|
||||
|
||||
$danger-color: #f5593d !default;
|
||||
$danger-states-color: darken($danger-color, 8%) !default;
|
||||
|
||||
$link-disabled-color: #666666 !default;
|
||||
|
||||
$purple-color: #c178c1 !default;
|
||||
$purple-states-color: darken($purple-color, 8%) !default;
|
||||
|
||||
$brown-color: #dcb285 !default;
|
||||
$brown-states-color: darken($brown-color, 8%) !default;
|
||||
|
||||
|
||||
|
||||
|
||||
/* light colors - used for select dropdown */
|
||||
|
||||
$light-blue: rgba($primary-color, .2);
|
||||
$light-azure: rgba($info-color, .2);
|
||||
$light-green: rgba($success-color, .2);
|
||||
$light-orange: rgba($warning-color, .2);
|
||||
$light-red: rgba($danger-color, .2);
|
||||
|
||||
|
||||
//== Components
|
||||
//
|
||||
$padding-base-vertical: 7px !default;
|
||||
$padding-base-horizontal: 18px !default;
|
||||
|
||||
$padding-round-vertical: 9px !default;
|
||||
$padding-round-horizontal: 18px !default;
|
||||
|
||||
$padding-simple-vertical: 10px !default;
|
||||
$padding-simple-horizontal: 18px !default;
|
||||
|
||||
$padding-large-vertical: 11px !default;
|
||||
$padding-large-horizontal: 30px !default;
|
||||
|
||||
$padding-small-vertical: 4px !default;
|
||||
$padding-small-horizontal: 10px !default;
|
||||
|
||||
$padding-xs-vertical: 2px !default;
|
||||
$padding-xs-horizontal: 5px !default;
|
||||
|
||||
$padding-label-vertical: 2px !default;
|
||||
$padding-label-horizontal: 12px !default;
|
||||
|
||||
// padding for links inside dropdown menu
|
||||
$padding-dropdown-vertical: 10px !default;
|
||||
$padding-dropdown-horizontal: 15px !default;
|
||||
|
||||
$margin-large-vertical: 30px !default;
|
||||
$margin-base-vertical: 15px !default;
|
||||
|
||||
// border radius for buttons
|
||||
$border-radius-none: 0px !default;
|
||||
$border-radius-btn-small: 26px !default;
|
||||
$border-radius-btn-base: 20px !default;
|
||||
$border-radius-btn-large: 50px !default;
|
||||
|
||||
|
||||
$margin-bottom: 0 0 10px 0 !default;
|
||||
$border-radius-small: 3px !default;
|
||||
$border-radius-base: 4px !default;
|
||||
$border-radius-large: 6px !default;
|
||||
$border-radius-x-large: 8px !default;
|
||||
$border-radius-extreme: 12px !default;
|
||||
|
||||
$border-radius-none-top: $border-radius-none $border-radius-none 0 0 !default;
|
||||
$border-radius-none-bottom: 0 0 $border-radius-none $border-radius-none !default;
|
||||
|
||||
$border-radius-small-top: $border-radius-small $border-radius-small 0 0 !default;
|
||||
$border-radius-small-bottom: 0 0 $border-radius-small $border-radius-small !default;
|
||||
|
||||
$border-radius-large-top: $border-radius-large $border-radius-large 0 0 !default;
|
||||
$border-radius-large-bottom: 0 0 $border-radius-large $border-radius-large !default;
|
||||
|
||||
$btn-round-radius: 30px !default;
|
||||
|
||||
$height-base: 40px !default;
|
||||
|
||||
$font-size-base: 14px !default;
|
||||
$font-size-small: 12px !default;
|
||||
$font-size-medium: 16px !default;
|
||||
$font-size-large: 20px !default;
|
||||
$font-size-large-navbar: 22px !default;
|
||||
|
||||
$font-size-h1: 3.6em !default;
|
||||
$font-size-h2: 2.8em !default;
|
||||
$font-size-h3: 1.825em !default;
|
||||
$font-size-h4: 1.6em !default;
|
||||
$font-size-h5: 1.35em !default;
|
||||
$font-size-h6: 0.9em !default;
|
||||
$font-paragraph: 15px !default;
|
||||
$font-size-navbar: 14px !default;
|
||||
|
||||
$font-size-info-horizontal: 2.5em !default;
|
||||
|
||||
$font-weight-light: 300 !default;
|
||||
$font-weight-normal: 400 !default;
|
||||
$font-weight-semi: 500 !default;
|
||||
$font-weight-bold: 600 !default;
|
||||
|
||||
$line-height-small: 20px !default;
|
||||
$line-height-general: 1.5em !default;
|
||||
$line-height: 36px !default;
|
||||
$line-height-lg: 54px !default;
|
||||
|
||||
|
||||
$border-radius-top: 10px 10px 0 0 !default;
|
||||
$border-radius-bottom: 0 0 10px 10px !default;
|
||||
$border-radius-dropdown: 10px 10px !default;
|
||||
|
||||
$dropdown-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1);
|
||||
|
||||
$general-transition-time: 300ms !default;
|
||||
|
||||
$slow-transition-time: 300ms !default;
|
||||
$dropdown-coordinates: 29px -50px !default;
|
||||
|
||||
$fast-transition-time: 150ms !default;
|
||||
$select-coordinates: 50% -40px !default;
|
||||
|
||||
$transition-linear: linear !default;
|
||||
$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default;
|
||||
$transition-ease: ease 0s;
|
||||
|
||||
$navbar-padding-a: 10px 15px;
|
||||
$navbar-margin-a: 15px 0px;
|
||||
|
||||
$padding-social-a: 10px 5px;
|
||||
|
||||
$navbar-margin-a-btn: 15px 3px;
|
||||
$navbar-margin-a-btn-round: 16px 3px;
|
||||
|
||||
$navbar-padding-a-icons: 6px 15px;
|
||||
$navbar-margin-a-icons: 6px 3px;
|
||||
|
||||
$navbar-padding-brand: 20px 15px;
|
||||
$navbar-margin-brand: 5px 0px;
|
||||
|
||||
$navbar-margin-brand-icons: 12px auto;
|
||||
|
||||
$navbar-margin-btn: 15px 3px;
|
||||
|
||||
$height-icon: 64px !default;
|
||||
$width-icon: 64px !default;
|
||||
$padding-icon: 12px !default;
|
||||
$border-radius-icon: 15px !default;
|
||||
|
||||
$size-icon: 64px;
|
||||
$size-icon-sm: 32px;
|
||||
|
||||
|
||||
$height-icon-sm: 32px;
|
||||
$width-icon-sm: 32px;
|
||||
$padding-icon-sm: 4px;
|
||||
$border-radius-icon-sm: 7px;
|
||||
|
||||
$height-icon-message: 40px;
|
||||
$width-icon-message: 40px;
|
||||
|
||||
$height-icon-message-sm: 20px;
|
||||
$width-icon-message-sm: 20px;
|
||||
|
||||
|
||||
|
||||
$white-navbar: rgba(#FFFFFF, .96);
|
||||
$blue-navbar: rgba(#34ACDC, .98);
|
||||
$azure-navbar: rgba(#5BCAFF, .98);
|
||||
$green-navbar: rgba(#4CD964, .98);
|
||||
$orange-navbar: rgba(#FF9500, .98);
|
||||
$red-navbar: rgba(#FF4C40, .98);
|
||||
|
||||
$bg-nude: #FFFCF5 !default;
|
||||
$bg-primary: lighten($primary-color, 7%) !default;
|
||||
$bg-info: lighten($info-color, 7%) !default;
|
||||
$bg-success: lighten($success-color, 7%) !default;
|
||||
$bg-warning: lighten($warning-color, 7%) !default;
|
||||
$bg-danger: lighten($danger-color, 7%) !default;
|
||||
$bg-brown: lighten($brown-color, 7%) !default;
|
||||
$bg-purple: lighten($purple-color, 7%) !default;
|
||||
|
||||
$preloader-color: #D8D1C9 !default;
|
||||
|
||||
$filter-blue: darken($primary-color, 10%);
|
||||
$filter-azure: darken($info-color, 10%);
|
||||
$filter-green: darken($success-color, 10%);
|
||||
$filter-orange: darken($warning-color, 10%);
|
||||
$filter-red: darken($danger-color, 10%);
|
||||
|
||||
|
||||
$topbar-x: topbar-x !default;
|
||||
$topbar-back: topbar-back !default;
|
||||
$bottombar-x: bottombar-x !default;
|
||||
$bottombar-back: bottombar-back !default;
|
||||
|
||||
$social-facebook: #3b5998;
|
||||
$social-twitter: #55acee;
|
||||
$social-pinterest: #cc2127;
|
||||
$social-google: #dd4b39;
|
||||
$social-linkedin: #0976b4;
|
||||
$social-dribbble: #ea4c89;
|
||||
$social-github: #333333;
|
||||
$social-youtube: #e52d27;
|
||||
$social-instagram: #125688;
|
||||
$social-reddit: #ff4500;
|
||||
$social-tumblr: #35465c;
|
||||
|
||||
$background-light-grey: #E8E7E3 !default;
|
||||
$background-lighter-grey: #F0EFEB !default;
|
||||
$font-background-light-grey: #9C9B99 !default;
|
||||
$font-hover-background-light-grey: #5E5E5C !default;
|
||||
|
||||
// variables used in headers
|
||||
$header-background: #B2AFAB !default;
|
||||
|
||||
$filter-primary: darken($primary-color, 10%);
|
||||
$filter-info: darken($info-color, 10%);
|
||||
$filter-success: darken($success-color, 10%);
|
||||
$filter-warning: darken($warning-color, 10%);
|
||||
$filter-danger: darken($danger-color, 10%);
|
||||
|
||||
// variable used in footers
|
||||
$black-footer-bg: #252422 !default;
|
||||
$brown-font-color: #A49E9E !default;
|
||||
$brown-font-color-hover: #F1EAE0 !default;
|
||||
|
||||
//variables used in cards
|
||||
$card-black-color: #333333 !default;
|
||||
$card-muted-color: #ccc !default;
|
||||
|
||||
$card-background-blue: #b8d8d8 !default;
|
||||
$card-font-blue: #506568 !default;
|
||||
$card-subtitle-blue: #7a9e9f !default;
|
||||
|
||||
$card-background-green: #d5e5a3 !default;
|
||||
$card-font-green: #60773d !default;
|
||||
$card-subtitle-green: #92ac56 !default;
|
||||
|
||||
$card-background-yellow: #ffe28c !default;
|
||||
$card-font-yellow: #b25825 !default;
|
||||
$card-subtitle-yellow: #d88715 !default;
|
||||
|
||||
$card-background-brown: #d6c1ab !default;
|
||||
$card-font-brown: #75442e !default;
|
||||
$card-subtitle-brown: #a47e65 !default;
|
||||
|
||||
$card-background-purple: #baa9ba !default;
|
||||
$card-font-purple: #3a283d !default;
|
||||
$card-subtitle-purple: #5a283d !default;
|
||||
|
||||
$card-background-orange: #ff8f5e !default;
|
||||
$card-font-orange: #772510 !default;
|
||||
$card-subtitle-orange: #e95e37 !default;
|
||||
|
||||
$card-background-primary: #427C89 !default;
|
||||
$card-border-color: #427C89 !default;
|
||||
|
||||
$color-red-error: rgb(185, 74, 72) !default;
|
||||
$color-grey-arrow: rgba(204, 204, 204, 0.2) !default;
|
||||
|
||||
$width-default: 220px !default; // 3 960px-grid columns
|
||||
|
||||
$zindex-select-dropdown: 1060 !default; // must be higher than a modal background (1050)
|
||||
|
||||
//** Placeholder text color
|
||||
$input-color-placeholder: #999 !default;
|
||||
90
app/static/sass/paper-kit/mixins/_buttons.scss
Normal file
@ -0,0 +1,90 @@
|
||||
// Mixin for generating new styles
|
||||
@mixin btn-styles($btn-color, $btn-states-color) {
|
||||
background-color: $btn-color;
|
||||
border-color: $btn-color;
|
||||
color: $white-color;
|
||||
@include opacity(1);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.show > &.dropdown-toggle{
|
||||
background-color: $btn-states-color;
|
||||
color: $white-color;
|
||||
border-color: $btn-states-color;
|
||||
}
|
||||
|
||||
.caret{
|
||||
border-top-color: $white-color;
|
||||
}
|
||||
|
||||
&.btn-link {
|
||||
color: $btn-color;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > &.dropdown-toggle{
|
||||
background-color: $transparent-bg;
|
||||
color: $btn-states-color;
|
||||
}
|
||||
|
||||
.caret{
|
||||
border-top-color: $btn-color;
|
||||
}
|
||||
}
|
||||
|
||||
.caret{
|
||||
border-top-color: $white-color;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin btn-outline-styles($btn-color, $btn-states-color){
|
||||
border-color: $btn-color;
|
||||
color: $btn-color;
|
||||
@include opacity(1);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > &.dropdown-toggle {
|
||||
background-color: $btn-color;
|
||||
color: $fill-font-color;
|
||||
border-color: $btn-color;
|
||||
.caret{
|
||||
border-top-color: $fill-font-color;
|
||||
}
|
||||
}
|
||||
|
||||
.caret{
|
||||
border-top-color: $white-color;
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&:disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: $transparent-bg;
|
||||
border-color: $btn-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $line-height){
|
||||
font-size: $font-size;
|
||||
padding: $padding-vertical $padding-horizontal;
|
||||
|
||||
&.btn-simple{
|
||||
padding: $padding-vertical + 2 $padding-horizontal;
|
||||
}
|
||||
|
||||
}
|
||||
17
app/static/sass/paper-kit/mixins/_inputs.scss
Normal file
@ -0,0 +1,17 @@
|
||||
@mixin input-size($padding-vertical, $padding-horizontal, $height){
|
||||
padding: $padding-vertical $padding-horizontal;
|
||||
height: $height;
|
||||
}
|
||||
|
||||
@mixin placeholder($color, $opacity){
|
||||
color: $color;
|
||||
@include opacity(1);
|
||||
}
|
||||
|
||||
@mixin light-form(){
|
||||
border-radius: 0;
|
||||
border:0;
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
|
||||
}
|
||||
21
app/static/sass/paper-kit/mixins/_labels.scss
Normal file
@ -0,0 +1,21 @@
|
||||
@mixin label-style(){
|
||||
padding: $padding-label-vertical $padding-label-horizontal;
|
||||
border: 1px solid $default-color;
|
||||
border-radius: $border-radius-small;
|
||||
color: $default-color;
|
||||
font-weight: $font-weight-semi;
|
||||
font-size: $font-size-small;
|
||||
text-transform: uppercase;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@mixin label-color($color){
|
||||
border-color: $color;
|
||||
color: $color;
|
||||
}
|
||||
@mixin label-color-fill($color){
|
||||
border-color: $color;
|
||||
color: $white-color;
|
||||
background-color: $color;
|
||||
}
|
||||
11
app/static/sass/paper-kit/mixins/_navbars.scss
Normal file
@ -0,0 +1,11 @@
|
||||
@mixin navbar-color($color){
|
||||
background-color: $color;
|
||||
}
|
||||
|
||||
@mixin center-item(){
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
position: absolute;
|
||||
}
|
||||
21
app/static/sass/paper-kit/mixins/_popovers.scss
Normal file
@ -0,0 +1,21 @@
|
||||
@mixin popover-style($background-color){
|
||||
background-color: $background-color;
|
||||
color: $white-color;
|
||||
.popover-title{
|
||||
background-color: $background-color;
|
||||
color: rgba(0, 0, 0, 0.56);
|
||||
}
|
||||
&.bottom .arrow:after{
|
||||
border-bottom-color: $background-color;
|
||||
}
|
||||
&.left > .arrow::after{
|
||||
border-left-color: $background-color;
|
||||
}
|
||||
&.top > .arrow::after{
|
||||
border-top-color: $background-color;
|
||||
}
|
||||
&.right > .arrow::after{
|
||||
border-right-color: $background-color;
|
||||
}
|
||||
|
||||
}
|
||||
4
app/static/sass/paper-kit/mixins/_tabs.scss
Normal file
@ -0,0 +1,4 @@
|
||||
@mixin pill-style($color){
|
||||
border: 1px solid $color;
|
||||
color: $color;
|
||||
}
|
||||
20
app/static/sass/paper-kit/mixins/_transparency.scss
Normal file
@ -0,0 +1,20 @@
|
||||
// Opacity
|
||||
|
||||
@mixin opacity($opacity) {
|
||||
opacity: $opacity;
|
||||
// IE8 filter
|
||||
$opacity-ie: ($opacity * 100);
|
||||
filter: #{alpha(opacity=$opacity-ie)};
|
||||
}
|
||||
|
||||
@mixin black-filter($opacity){
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background-color: rgba(17,17,17,$opacity);
|
||||
display: block;
|
||||
content: "";
|
||||
z-index: 1;
|
||||
}
|
||||
191
app/static/sass/paper-kit/mixins/_vendor-prefixes.scss
Normal file
@ -0,0 +1,191 @@
|
||||
// User select
|
||||
// For selecting text on the page
|
||||
|
||||
@mixin user-select($select) {
|
||||
-webkit-user-select: $select;
|
||||
-moz-user-select: $select;
|
||||
-ms-user-select: $select; // IE10+
|
||||
user-select: $select;
|
||||
}
|
||||
|
||||
@mixin box-shadow($shadow...) {
|
||||
-webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
|
||||
box-shadow: $shadow;
|
||||
}
|
||||
|
||||
// Box sizing
|
||||
@mixin box-sizing($boxmodel) {
|
||||
-webkit-box-sizing: $boxmodel;
|
||||
-moz-box-sizing: $boxmodel;
|
||||
box-sizing: $boxmodel;
|
||||
}
|
||||
|
||||
|
||||
@mixin transition($time, $type){
|
||||
-webkit-transition: all $time $type;
|
||||
-moz-transition: all $time $type;
|
||||
-o-transition: all $time $type;
|
||||
-ms-transition: all $time $type;
|
||||
transition: all $time $type;
|
||||
}
|
||||
|
||||
@mixin transition-opacity($time, $type){
|
||||
-webkit-transition: opacity $time $type;
|
||||
-moz-transition: opacity $time $type;
|
||||
-o-transition: opacity $time $type;
|
||||
-ms-transition: opacity $time $type;
|
||||
transition: opacity $time $type;
|
||||
}
|
||||
|
||||
@mixin transition-none(){
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-o-transition: none;
|
||||
-ms-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
@mixin transform-scale($value){
|
||||
-webkit-transform: scale($value);
|
||||
-moz-transform: scale($value);
|
||||
-o-transform: scale($value);
|
||||
-ms-transform: scale($value);
|
||||
transform: scale($value);
|
||||
}
|
||||
|
||||
@mixin transform-translate-x($value){
|
||||
-webkit-transform: translate3d($value, 0, 0);
|
||||
-moz-transform: translate3d($value, 0, 0);
|
||||
-o-transform: translate3d($value, 0, 0);
|
||||
-ms-transform: translate3d($value, 0, 0);
|
||||
transform: translate3d($value, 0, 0);
|
||||
}
|
||||
|
||||
@mixin transform-origin($coordinates){
|
||||
-webkit-transform-origin: $coordinates;
|
||||
-moz-transform-origin: $coordinates;
|
||||
-o-transform-origin: $coordinates;
|
||||
-ms-transform-origin: $coordinates;
|
||||
transform-origin: $coordinates;
|
||||
}
|
||||
|
||||
@mixin icon-gradient ($top-color, $bottom-color){
|
||||
background: $top-color;
|
||||
background: -moz-linear-gradient(top, $top-color 0%, $bottom-color 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top-color), color-stop(100%,$bottom-color));
|
||||
background: -webkit-linear-gradient(top, $top-color 0%,$bottom-color 100%);
|
||||
background: -o-linear-gradient(top, $top-color 0%,$bottom-color 100%);
|
||||
background: -ms-linear-gradient(top, $top-color 0%,$bottom-color 100%);
|
||||
background: linear-gradient(to bottom, $top-color 0%,$bottom-color 100%);
|
||||
}
|
||||
|
||||
@mixin vertical-align {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
@mixin rotate-180(){
|
||||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
@mixin bar-animation($type){
|
||||
-webkit-animation: $type 500ms linear 0s;
|
||||
-moz-animation: $type 500ms linear 0s;
|
||||
animation: $type 500ms 0s;
|
||||
-webkit-animation-fill-mode: forwards;
|
||||
-moz-animation-fill-mode: forwards;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
@mixin topbar-x-rotation(){
|
||||
@keyframes topbar-x {
|
||||
0% {top: 0px; transform: rotate(0deg); }
|
||||
45% {top: 6px; transform: rotate(145deg); }
|
||||
75% {transform: rotate(130deg); }
|
||||
100% {transform: rotate(135deg); }
|
||||
}
|
||||
@-webkit-keyframes topbar-x {
|
||||
0% {top: 0px; -webkit-transform: rotate(0deg); }
|
||||
45% {top: 6px; -webkit-transform: rotate(145deg); }
|
||||
75% {-webkit-transform: rotate(130deg); }
|
||||
100% { -webkit-transform: rotate(135deg); }
|
||||
}
|
||||
@-moz-keyframes topbar-x {
|
||||
0% {top: 0px; -moz-transform: rotate(0deg); }
|
||||
45% {top: 6px; -moz-transform: rotate(145deg); }
|
||||
75% {-moz-transform: rotate(130deg); }
|
||||
100% { -moz-transform: rotate(135deg); }
|
||||
}
|
||||
}
|
||||
|
||||
@mixin topbar-back-rotation(){
|
||||
@keyframes topbar-back {
|
||||
0% { top: 6px; transform: rotate(135deg); }
|
||||
45% { transform: rotate(-10deg); }
|
||||
75% { transform: rotate(5deg); }
|
||||
100% { top: 0px; transform: rotate(0); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes topbar-back {
|
||||
0% { top: 6px; -webkit-transform: rotate(135deg); }
|
||||
45% { -webkit-transform: rotate(-10deg); }
|
||||
75% { -webkit-transform: rotate(5deg); }
|
||||
100% { top: 0px; -webkit-transform: rotate(0); }
|
||||
}
|
||||
|
||||
@-moz-keyframes topbar-back {
|
||||
0% { top: 6px; -moz-transform: rotate(135deg); }
|
||||
45% { -moz-transform: rotate(-10deg); }
|
||||
75% { -moz-transform: rotate(5deg); }
|
||||
100% { top: 0px; -moz-transform: rotate(0); }
|
||||
}
|
||||
}
|
||||
|
||||
@mixin bottombar-x-rotation(){
|
||||
@keyframes bottombar-x {
|
||||
0% {bottom: 0px; transform: rotate(0deg);}
|
||||
45% {bottom: 6px; transform: rotate(-145deg);}
|
||||
75% {transform: rotate(-130deg);}
|
||||
100% {transform: rotate(-135deg);}
|
||||
}
|
||||
@-webkit-keyframes bottombar-x {
|
||||
0% {bottom: 0px; -webkit-transform: rotate(0deg);}
|
||||
45% {bottom: 6px; -webkit-transform: rotate(-145deg);}
|
||||
75% {-webkit-transform: rotate(-130deg);}
|
||||
100% {-webkit-transform: rotate(-135deg);}
|
||||
}
|
||||
@-moz-keyframes bottombar-x {
|
||||
0% {bottom: 0px; -moz-transform: rotate(0deg);}
|
||||
45% {bottom: 6px; -moz-transform: rotate(-145deg);}
|
||||
75% {-moz-transform: rotate(-130deg);}
|
||||
100% {-moz-transform: rotate(-135deg);}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin bottombar-back-rotation{
|
||||
@keyframes bottombar-back {
|
||||
0% { bottom: 6px;transform: rotate(-135deg);}
|
||||
45% { transform: rotate(10deg);}
|
||||
75% { transform: rotate(-5deg);}
|
||||
100% { bottom: 0px;transform: rotate(0);}
|
||||
}
|
||||
@-webkit-keyframes bottombar-back {
|
||||
0% {bottom: 6px;-webkit-transform: rotate(-135deg);}
|
||||
45% {-webkit-transform: rotate(10deg);}
|
||||
75% {-webkit-transform: rotate(-5deg);}
|
||||
100% {bottom: 0px;-webkit-transform: rotate(0);}
|
||||
}
|
||||
@-moz-keyframes bottombar-back {
|
||||
0% {bottom: 6px;-moz-transform: rotate(-135deg);}
|
||||
45% {-moz-transform: rotate(10deg);}
|
||||
75% {-moz-transform: rotate(-5deg);}
|
||||
100% {bottom: 0px;-moz-transform: rotate(0);}
|
||||
}
|
||||
|
||||
}
|
||||
402
app/static/sass/paper-kit/plugins/_datetimepicker.scss
Normal file
@ -0,0 +1,402 @@
|
||||
/*!
|
||||
* Datetimepicker for Bootstrap 3
|
||||
* ! version : 4.7.14
|
||||
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
||||
*/
|
||||
.sr-only,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after,
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after,
|
||||
.bootstrap-datetimepicker-widget .picker-switch::after,
|
||||
.bootstrap-datetimepicker-widget table th.prev::after,
|
||||
.bootstrap-datetimepicker-widget table th.next::after {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.bootstrap-datetimepicker-widget {
|
||||
list-style: none;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget a .btn:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu {
|
||||
padding: 4px;
|
||||
width: 16em;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||
width: 38em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||
width: 38em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
||||
width: 38em;
|
||||
}
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{
|
||||
border-bottom: 11px solid #F1EAE0;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
left: auto;
|
||||
top: -11px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{
|
||||
border-bottom: 11px solid #FFFFFF;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
left: auto;
|
||||
top: -11px;
|
||||
}
|
||||
.table-condensed{
|
||||
.day:hover{
|
||||
div{
|
||||
@include transition(150ms, linear);
|
||||
}
|
||||
}
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.top {
|
||||
margin-top: auto;
|
||||
margin-bottom: -20px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.top.open {
|
||||
margin-top: auto;
|
||||
margin-bottom: 5px;
|
||||
background-color: $white-color;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
|
||||
left: auto;
|
||||
right: 6px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
|
||||
left: auto;
|
||||
right: 7px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .list-unstyled {
|
||||
margin: 0;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget a[data-action] {
|
||||
padding: 6px 0;
|
||||
border-width: 0;
|
||||
color: #66615B;
|
||||
background-color: transparent;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget a[data-action="togglePicker"],
|
||||
.bootstrap-datetimepicker-widget a[data-action="togglePicker"]:hover {
|
||||
color: #429cb6 !important;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget a[data-action]:hover {
|
||||
background-color: transparent;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
.bootstrap-datetimepicker-widget a[data-action]:active {
|
||||
box-shadow: none;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .timepicker-hour,
|
||||
.bootstrap-datetimepicker-widget .timepicker-minute,
|
||||
.bootstrap-datetimepicker-widget .timepicker-second {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
font-weight: 300;
|
||||
font-size: 1.5em;
|
||||
margin: 3px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget button[data-action] {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
padding: 0;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
|
||||
content: "Increment Hours";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
|
||||
content: "Increment Minutes";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
|
||||
content: "Decrement Hours";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
|
||||
content: "Decrement Minutes";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
|
||||
content: "Show Hours";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
|
||||
content: "Show Minutes";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
|
||||
content: "Toggle AM/PM";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
|
||||
content: "Clear the picker";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
|
||||
content: "Set the date to today";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .picker-switch {
|
||||
text-align: center;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .picker-switch::after {
|
||||
content: "Toggle Date and Time Screens";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .picker-switch td {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: auto;
|
||||
width: auto;
|
||||
line-height: inherit;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .picker-switch td span {
|
||||
line-height: 2.5;
|
||||
height: 2.5em;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
margin: 2px 0px !important;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td > div, .bootstrap-datetimepicker-widget table th > div {
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.picker-switch {
|
||||
width: 145px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.disabled, .bootstrap-datetimepicker-widget table th.disabled:hover {
|
||||
background: none;
|
||||
color: #cfcfca;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.prev span, .bootstrap-datetimepicker-widget table th.next span {
|
||||
border-radius: 4px;
|
||||
height: 27px;
|
||||
width: 27px;
|
||||
line-height: 28px;
|
||||
font-size: 12px;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.prev::after {
|
||||
content: "Previous Month";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.next::after {
|
||||
content: "Next Month";
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table th.dow {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #E3E3E3;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
color: #9A9A9A;
|
||||
font-weight: 400;
|
||||
padding-bottom: 5px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table thead tr:first-child th {
|
||||
cursor: pointer;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover span, .bootstrap-datetimepicker-widget table thead tr:first-child th.picker-switch:hover {
|
||||
background: #E3E3E3;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td > div {
|
||||
border-radius: 4px;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
width: 54px;
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.cw > div {
|
||||
font-size: .8em;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
color: #cfcfca;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.day > div {
|
||||
height: 30px;
|
||||
line-height: 31px;
|
||||
width: 30px;
|
||||
text-align: center;
|
||||
padding: 0px;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto;
|
||||
z-index: -1;
|
||||
position: relative;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.minute > div, .bootstrap-datetimepicker-widget table td.hour > div {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.day:hover > div, .bootstrap-datetimepicker-widget table td.hour:hover > div, .bootstrap-datetimepicker-widget table td.minute:hover > div, .bootstrap-datetimepicker-widget table td.second:hover > div {
|
||||
background: #E3E3E3;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.old > div, .bootstrap-datetimepicker-widget table td.new > div {
|
||||
color: #cfcfca;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.today > div:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border: 0 0 7px 7px solid transparent;
|
||||
border-bottom-color: #68B3C8;
|
||||
border-top-color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
bottom: 4px;
|
||||
right: 4px;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.active > div, .bootstrap-datetimepicker-widget table td.active:hover > div {
|
||||
background-color: #68B3C8;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.active.today:before > div {
|
||||
border-bottom-color: #FFFFFF;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td.disabled > div, .bootstrap-datetimepicker-widget table td.disabled:hover > div {
|
||||
background: none;
|
||||
color: #cfcfca;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td span {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
margin: 3px 3px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td span:hover {
|
||||
background: #E3E3E3;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td span.active {
|
||||
background-color: #68B3C8;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td span.old {
|
||||
color: #cfcfca;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget table td span.disabled, .bootstrap-datetimepicker-widget table td span.disabled:hover {
|
||||
background: none;
|
||||
color: #cfcfca;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget .timepicker-picker span,
|
||||
.bootstrap-datetimepicker-widget .timepicker-hours span,
|
||||
.bootstrap-datetimepicker-widget .timepicker-minutes span {
|
||||
border-radius: 50% !important;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
|
||||
height: 27px;
|
||||
line-height: 27px;
|
||||
}
|
||||
|
||||
.input-group.date .input-group-addon {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.table-condensed > tbody > tr > td,
|
||||
.table-condensed > tbody > tr > th,
|
||||
.table-condensed > tfoot > tr > td,
|
||||
.table-condensed > tfoot > tr > th,
|
||||
.table-condensed > thead > tr > td,
|
||||
.table-condensed > thead > tr > th {
|
||||
padding: 1px;
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bootstrap-datetimepicker-widget{
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0px, -10px, 0px);
|
||||
-moz-transform: translate3d(0, -10px, 0);
|
||||
-o-transform: translate3d(0, -10px, 0);
|
||||
-ms-transform: translate3d(0, -10px, 0);
|
||||
transform: translate3d(0px, -10px, 0px);
|
||||
|
||||
&.top{
|
||||
-webkit-transform: translate3d(0px, 0px, 0px);
|
||||
-moz-transform: translate3d(0, 0px, 0);
|
||||
-o-transform: translate3d(0, 0px, 0);
|
||||
-ms-transform: translate3d(0, 0px, 0);
|
||||
transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
&.open{
|
||||
opacity: 1;
|
||||
-webkit-transform: translate3d(0, 10px, 0);
|
||||
-moz-transform: translate3d(0, 10px, 0);
|
||||
-o-transform: translate3d(0, 10px, 0);
|
||||
-ms-transform: translate3d(0, 10px, 0);
|
||||
transform: translate3d(0, 10px, 0);
|
||||
transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
||||
}
|
||||
&.dropdown-menu{
|
||||
background-color: $white-color;
|
||||
}
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.open.top{
|
||||
-webkit-transform: translate3d(0, -10px, 0);
|
||||
-moz-transform: translate3d(0, -10px, 0);
|
||||
-o-transform: translate3d(0, -10px, 0);
|
||||
-ms-transform: translate3d(0, -10px, 0);
|
||||
transform: translate3d(0, -10px, 0);
|
||||
|
||||
&:before{
|
||||
border-top: 11px solid #DCD9D1;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: -12px;
|
||||
}
|
||||
&:after{
|
||||
border-top: 11px solid #FFF;
|
||||
border-left: 11px solid transparent;
|
||||
border-right: 11px solid transparent;
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: -11px;
|
||||
}
|
||||
}
|
||||
.bootstrap-datetimepicker-widget.dropdown-menu{
|
||||
webkit-box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1);
|
||||
box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1);
|
||||
border: none !important;
|
||||
border-radius: 12px !important;
|
||||
}
|
||||
24
app/templates/base.html
Normal file
@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
{% if title %}
|
||||
<title>{{ title }} - Microblog</title>
|
||||
{% else %}
|
||||
<title>Welcome to Microblog</title>
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<h2>RMT explorer</h2>
|
||||
<div> <a href="{{ url_for('index') }}">Home</a></div>
|
||||
<hr>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
1112
app/templates/example.html
Normal file
19
app/templates/index.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<br>
|
||||
Enter FLO address associated with RMT
|
||||
|
||||
<form action="" method="post" novalidate>
|
||||
{{ form.hidden_tag() }}
|
||||
<p>
|
||||
{{ form.address.label }}<br>
|
||||
{{ form.address(size=32) }}
|
||||
{% for error in form.address.errors %}
|
||||
<span style="color: red;">[{{ error }}]</span>
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>{{ form.submit() }}</p>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
190
app/templates/test.html
Normal file
@ -0,0 +1,190 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/png" href="../static/img/favicon.ico">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="../static/img/apple-icon.png">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
|
||||
<title>Ranchi Mall Token Explorer</title>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../static/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="../static/css/paper-kit.css?v=2.1.0" rel="stylesheet"/>
|
||||
|
||||
<!-- CSS for Demo Purpose, don't include it in your project -->
|
||||
<link href="../static/css/demo.css" rel="stylesheet" />
|
||||
|
||||
<!-- Fonts and icons -->
|
||||
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,300,700' rel='stylesheet' type='text/css'>
|
||||
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="../static/css/nucleo-icons.css" rel="stylesheet">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-md fixed-top navbar-transparent" color-on-scroll="150">
|
||||
<div class="container">
|
||||
<div class="navbar-translate">
|
||||
<button class="navbar-toggler navbar-toggler-right navbar-burger" type="button" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-bar"></span>
|
||||
<span class="navbar-toggler-bar"></span>
|
||||
<span class="navbar-toggler-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="https://www.creative-tim.com">RMT Explorer</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="navbarToggler">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item">
|
||||
<a href="../index.html" class="nav-link"><i class="nc-icon nc-layout-11"></i>Components</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="../documentation/tutorial-components.html" target="_blank" class="nav-link"><i class="nc-icon nc-book-bookmark"></i> Documentation</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" rel="tooltip" title="Like us on Facebook" data-placement="bottom" href="https://www.facebook.com/ranchimall" target="_blank">
|
||||
<i class="fa fa-facebook-square"></i>
|
||||
<p class="d-lg-none">Facebook</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" rel="tooltip" title="Follow us on Instagram" data-placement="bottom" href="https://www.medium.com/ranchimall" target="_blank">
|
||||
<i class="fa fa-medium"></i>
|
||||
<p class="d-lg-none">Medium</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" rel="tooltip" title="Star on GitHub" data-placement="bottom" href="https://www.github.com/ranchimall" target="_blank">
|
||||
<i class="fa fa-github"></i>
|
||||
<p class="d-lg-none">GitHub</p>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="page-header page-header-xs" data-parallax="true" style="background-image: url('../static/img/fabio-mangione.jpg');">
|
||||
<div class="filter"></div>
|
||||
</div>
|
||||
<div class="section profile-content">
|
||||
<div class="container">
|
||||
<div class="owner">
|
||||
<div class="avatar">
|
||||
<img src="../static/img/faces/ranchimall-square.jpg" alt="Circle Image" class="img-circle img-responsive border-grey">
|
||||
</div>
|
||||
<div class="name">
|
||||
<h4 class="title">Jane Faker<br /></h4>
|
||||
<h6 class="description">Music Producer</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 ml-auto mr-auto text-center">
|
||||
<p>An artist of considerable range, Jane Faker — the name taken by Melbourne-raised, Brooklyn-based Nick Murphy — writes, performs and records all of his own music, giving it a warm, intimate feel with a solid groove structure. </p>
|
||||
<br />
|
||||
<btn class="btn btn-outline-default btn-round"><i class="fa fa-cog"></i> Settings</btn>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="nav-tabs-navigation">
|
||||
<div class="nav-tabs-wrapper">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" data-toggle="tab" href="#follows" role="tab">Follows</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#following" role="tab">Following</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content following">
|
||||
<div class="tab-pane active" id="follows" role="tabpanel">
|
||||
<div class="row">
|
||||
<div class="col-md-6 ml-auto mr-auto">
|
||||
<ul class="list-unstyled follows">
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-2 col-sm-2 ml-auto mr-auto">
|
||||
<img src="../static/img/faces/clem-onojeghuo-2.jpg" alt="Circle Image" class="img-circle img-no-padding img-responsive">
|
||||
</div>
|
||||
<div class="col-md-7 col-sm-4 ml-auto mr-auto">
|
||||
<h6>Flume<br/><small>Musical Producer</small></h6>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-2 ml-auto mr-auto">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label">
|
||||
<input class="form-check-input" type="checkbox" value="" checked>
|
||||
<span class="form-check-sign"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<hr />
|
||||
<li>
|
||||
<div class="row">
|
||||
<div class="col-md-2 ml-auto mr-auto ">
|
||||
<img src="../static/img/faces/ayo-ogunseinde-2.jpg" alt="Circle Image" class="img-circle img-no-padding img-responsive">
|
||||
</div>
|
||||
<div class="col-md-7 col-sm-4">
|
||||
<h6>Banks<br /><small>Singer</small></h6>
|
||||
</div>
|
||||
<div class="col-md-3 col-sm-2">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label">
|
||||
<input class="form-check-input" type="checkbox" value="">
|
||||
<span class="form-check-sign"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane text-center" id="following" role="tabpanel">
|
||||
<h3 class="text-muted">Not following anyone yet :(</h3>
|
||||
<button class="btn btn-warning btn-round">Find artists</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer section-dark">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<nav class="footer-nav">
|
||||
<ul>
|
||||
<li><a href="https://www.creative-tim.com">Creative Tim</a></li>
|
||||
<li><a href="http://blog.creative-tim.com">Blog</a></li>
|
||||
<li><a href="https://www.creative-tim.com/license">Licenses</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="credits ml-auto">
|
||||
<span class="copyright">
|
||||
© <script>document.write(new Date().getFullYear())</script>, made with <i class="fa fa-heart heart"></i> by Creative Tim
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
<!-- Core JS Files -->
|
||||
<script src="../static/js/jquery-3.2.1.js" type="text/javascript"></script>
|
||||
<script src="../static/js/jquery-ui-1.12.1.custom.min.js" type="text/javascript"></script>
|
||||
<!-- <script src="../static/js/tether.min.js" type="text/javascript"></script> -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
|
||||
<script src="../static/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<!-- Paper Kit Initialization snd functons -->
|
||||
<script src="../static/js/paper-kit.js?v=2.1.0"></script>
|
||||
|
||||
</html>
|
||||
4
config.py
Normal file
@ -0,0 +1,4 @@
|
||||
import os
|
||||
|
||||
class Config(object):
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess'
|
||||
2
rmt-explorer.py
Normal file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/python3
|
||||
from app import app
|
||||