Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
1a83dae4f7 | |||
fa9d03a17d | |||
e6922deb0b | |||
4ef8dec316 | |||
04945291c1 | |||
0a14ec2fff |
128
html/about.html
Normal file
128
html/about.html
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<title>Clean Blog - Start Bootstrap Theme</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom fonts for this template -->
|
||||||
|
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="css/clean-blog.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="about.html">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="post.html">Sample Post</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="contact.html">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- Page Header -->
|
||||||
|
<header class="masthead" style="background-image: url('img/about-bg.jpg')">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<div class="page-heading">
|
||||||
|
<h1>About Me</h1>
|
||||||
|
<span class="subheading">This is what I do.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Main Content -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe nostrum ullam eveniet pariatur voluptates odit, fuga atque ea nobis sit soluta odio, adipisci quas excepturi maxime quae totam ducimus consectetur?</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius praesentium recusandae illo eaque architecto error, repellendus iusto reprehenderit, doloribus, minus sunt. Numquam at quae voluptatum in officia voluptas voluptatibus, minus!</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aut consequuntur magnam, excepturi aliquid ex itaque esse est vero natus quae optio aperiam soluta voluptatibus corporis atque iste neque sit tempora!</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<ul class="list-inline text-center">
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p class="copyright text-muted">Copyright © Your Website 2018</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript -->
|
||||||
|
<script src="vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Custom scripts for this template -->
|
||||||
|
<script src="js/clean-blog.min.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
167
html/contact.html
Normal file
167
html/contact.html
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<title>Clean Blog - Start Bootstrap Theme</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom fonts for this template -->
|
||||||
|
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="css/clean-blog.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="about.html">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="post.html">Sample Post</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="contact.html">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- Page Header -->
|
||||||
|
<header class="masthead" style="background-image: url('img/contact-bg.jpg')">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<div class="page-heading">
|
||||||
|
<h1>Contact Me</h1>
|
||||||
|
<span class="subheading">Have questions? I have answers.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Main Content -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<p>Want to get in touch? Fill out the form below to send me a message and I will get back to you as soon as possible!</p>
|
||||||
|
<!-- Contact Form - Enter your email address on line 19 of the mail/contact_me.php file to make this form work. -->
|
||||||
|
<!-- WARNING: Some web hosts do not allow emails to be sent through forms to common mail hosts like Gmail or Yahoo. It's recommended that you use a private domain email address! -->
|
||||||
|
<!-- To use the contact form, your site must be on a live web host with PHP! The form will not work locally! -->
|
||||||
|
<form name="sentMessage" id="contactForm" novalidate>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="form-group floating-label-form-group controls">
|
||||||
|
<label>Name</label>
|
||||||
|
<input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name.">
|
||||||
|
<p class="help-block text-danger"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="form-group floating-label-form-group controls">
|
||||||
|
<label>Email Address</label>
|
||||||
|
<input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address.">
|
||||||
|
<p class="help-block text-danger"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="form-group col-xs-12 floating-label-form-group controls">
|
||||||
|
<label>Phone Number</label>
|
||||||
|
<input type="tel" class="form-control" placeholder="Phone Number" id="phone" required data-validation-required-message="Please enter your phone number.">
|
||||||
|
<p class="help-block text-danger"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="form-group floating-label-form-group controls">
|
||||||
|
<label>Message</label>
|
||||||
|
<textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea>
|
||||||
|
<p class="help-block text-danger"></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div id="success"></div>
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="submit" class="btn btn-primary" id="sendMessageButton">Send</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<ul class="list-inline text-center">
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p class="copyright text-muted">Copyright © Your Website 2018</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript -->
|
||||||
|
<script src="vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Contact Form JavaScript -->
|
||||||
|
<script src="js/jqBootstrapValidation.js"></script>
|
||||||
|
<script src="js/contact_me.js"></script>
|
||||||
|
|
||||||
|
<!-- Custom scripts for this template -->
|
||||||
|
<script src="js/clean-blog.min.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
420
html/css/clean-blog.css
Normal file
420
html/css/clean-blog.css
Normal file
@ -0,0 +1,420 @@
|
|||||||
|
body {
|
||||||
|
font-size: 20px;
|
||||||
|
color: #212529;
|
||||||
|
font-family: 'Lora', 'Times New Roman', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 1.5;
|
||||||
|
margin: 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
p a {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
font-weight: 800;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #212529;
|
||||||
|
-webkit-transition: all 0.2s;
|
||||||
|
-moz-transition: all 0.2s;
|
||||||
|
transition: all 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus, a:hover {
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
font-style: italic;
|
||||||
|
color: #868e96;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-heading {
|
||||||
|
font-size: 36px;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.caption {
|
||||||
|
font-size: 14px;
|
||||||
|
font-style: italic;
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
padding: 10px;
|
||||||
|
text-align: center;
|
||||||
|
border-bottom-right-radius: 5px;
|
||||||
|
border-bottom-left-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-moz-selection {
|
||||||
|
color: #fff;
|
||||||
|
background: #0085A1;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
color: #fff;
|
||||||
|
background: #0085A1;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
img::selection {
|
||||||
|
color: #fff;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
img::-moz-selection {
|
||||||
|
color: #fff;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainNav {
|
||||||
|
position: absolute;
|
||||||
|
border-bottom: 1px solid #e9ecef;
|
||||||
|
background-color: white;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainNav .navbar-brand {
|
||||||
|
font-weight: 800;
|
||||||
|
color: #343a40;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainNav .navbar-toggler {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 800;
|
||||||
|
padding: 13px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: #343a40;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainNav .navbar-nav > li.nav-item > a {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 800;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 992px) {
|
||||||
|
#mainNav {
|
||||||
|
border-bottom: 1px solid transparent;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
#mainNav .navbar-brand {
|
||||||
|
padding: 10px 20px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
|
||||||
|
color: rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
#mainNav .navbar-nav > li.nav-item > a {
|
||||||
|
padding: 10px 20px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
#mainNav .navbar-nav > li.nav-item > a:focus, #mainNav .navbar-nav > li.nav-item > a:hover {
|
||||||
|
color: rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 992px) {
|
||||||
|
#mainNav {
|
||||||
|
-webkit-transition: background-color 0.2s;
|
||||||
|
-moz-transition: background-color 0.2s;
|
||||||
|
transition: background-color 0.2s;
|
||||||
|
/* Force Hardware Acceleration in WebKit */
|
||||||
|
-webkit-transform: translate3d(0, 0, 0);
|
||||||
|
-moz-transform: translate3d(0, 0, 0);
|
||||||
|
-ms-transform: translate3d(0, 0, 0);
|
||||||
|
-o-transform: translate3d(0, 0, 0);
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
}
|
||||||
|
#mainNav.is-fixed {
|
||||||
|
/* when the user scrolls down, we hide the header right above the viewport */
|
||||||
|
position: fixed;
|
||||||
|
top: -67px;
|
||||||
|
-webkit-transition: -webkit-transform 0.2s;
|
||||||
|
-moz-transition: -moz-transform 0.2s;
|
||||||
|
transition: transform 0.2s;
|
||||||
|
border-bottom: 1px solid white;
|
||||||
|
background-color: rgba(255, 255, 255, 0.9);
|
||||||
|
}
|
||||||
|
#mainNav.is-fixed .navbar-brand {
|
||||||
|
color: #212529;
|
||||||
|
}
|
||||||
|
#mainNav.is-fixed .navbar-brand:focus, #mainNav.is-fixed .navbar-brand:hover {
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
#mainNav.is-fixed .navbar-nav > li.nav-item > a {
|
||||||
|
color: #212529;
|
||||||
|
}
|
||||||
|
#mainNav.is-fixed .navbar-nav > li.nav-item > a:focus, #mainNav.is-fixed .navbar-nav > li.nav-item > a:hover {
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
#mainNav.is-visible {
|
||||||
|
/* if the user changes the scrolling direction, we show the header */
|
||||||
|
-webkit-transform: translate3d(0, 100%, 0);
|
||||||
|
-moz-transform: translate3d(0, 100%, 0);
|
||||||
|
-ms-transform: translate3d(0, 100%, 0);
|
||||||
|
-o-transform: translate3d(0, 100%, 0);
|
||||||
|
transform: translate3d(0, 100%, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead {
|
||||||
|
margin-bottom: 50px;
|
||||||
|
background: no-repeat center center;
|
||||||
|
background-color: #868e96;
|
||||||
|
background-attachment: scroll;
|
||||||
|
position: relative;
|
||||||
|
-webkit-background-size: cover;
|
||||||
|
-moz-background-size: cover;
|
||||||
|
-o-background-size: cover;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .overlay {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #212529;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .page-heading,
|
||||||
|
header.masthead .post-heading,
|
||||||
|
header.masthead .site-heading {
|
||||||
|
padding: 200px 0 150px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
header.masthead .page-heading,
|
||||||
|
header.masthead .post-heading,
|
||||||
|
header.masthead .site-heading {
|
||||||
|
padding: 200px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .page-heading,
|
||||||
|
header.masthead .site-heading {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .page-heading h1,
|
||||||
|
header.masthead .site-heading h1 {
|
||||||
|
font-size: 50px;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .page-heading .subheading,
|
||||||
|
header.masthead .site-heading .subheading {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 1.1;
|
||||||
|
display: block;
|
||||||
|
margin: 10px 0 0;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
header.masthead .page-heading h1,
|
||||||
|
header.masthead .site-heading h1 {
|
||||||
|
font-size: 80px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .post-heading h1 {
|
||||||
|
font-size: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .post-heading .meta,
|
||||||
|
header.masthead .post-heading .subheading {
|
||||||
|
line-height: 1.1;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .post-heading .subheading {
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin: 10px 0 30px;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .post-heading .meta {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: italic;
|
||||||
|
font-family: 'Lora', 'Times New Roman', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
header.masthead .post-heading .meta a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
header.masthead .post-heading h1 {
|
||||||
|
font-size: 55px;
|
||||||
|
}
|
||||||
|
header.masthead .post-heading .subheading {
|
||||||
|
font-size: 30px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > a {
|
||||||
|
color: #212529;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > a:focus, .post-preview > a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > a > .post-title {
|
||||||
|
font-size: 30px;
|
||||||
|
margin-top: 30px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > a > .post-subtitle {
|
||||||
|
font-weight: 300;
|
||||||
|
margin: 0 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > .post-meta {
|
||||||
|
font-size: 18px;
|
||||||
|
font-style: italic;
|
||||||
|
margin-top: 0;
|
||||||
|
color: #868e96;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > .post-meta > a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #212529;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-preview > .post-meta > a:focus, .post-preview > .post-meta > a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
.post-preview > a > .post-title {
|
||||||
|
font-size: 36px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group {
|
||||||
|
font-size: 14px;
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding-bottom: 0.5em;
|
||||||
|
border-bottom: 1px solid #dee2e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group input,
|
||||||
|
.floating-label-form-group textarea {
|
||||||
|
font-size: 1.5em;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
padding: 0;
|
||||||
|
resize: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
background: none;
|
||||||
|
box-shadow: none !important;
|
||||||
|
font-family: 'Lora', 'Times New Roman', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group input::-webkit-input-placeholder,
|
||||||
|
.floating-label-form-group textarea::-webkit-input-placeholder {
|
||||||
|
color: #868e96;
|
||||||
|
font-family: 'Lora', 'Times New Roman', serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group label {
|
||||||
|
font-size: 0.85em;
|
||||||
|
line-height: 1.764705882em;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
top: 2em;
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
-webkit-transition: top 0.3s ease, opacity 0.3s ease;
|
||||||
|
-moz-transition: top 0.3s ease, opacity 0.3s ease;
|
||||||
|
-ms-transition: top 0.3s ease, opacity 0.3s ease;
|
||||||
|
transition: top 0.3s ease, opacity 0.3s ease;
|
||||||
|
vertical-align: middle;
|
||||||
|
vertical-align: baseline;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group .help-block {
|
||||||
|
margin: 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group-with-value label {
|
||||||
|
top: 0;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label-form-group-with-focus label {
|
||||||
|
color: #0085A1;
|
||||||
|
}
|
||||||
|
|
||||||
|
form .form-group:first-child .floating-label-form-group {
|
||||||
|
border-top: 1px solid #dee2e6;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
padding: 50px 0 65px;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer .list-inline {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer .copyright {
|
||||||
|
font-size: 14px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 800;
|
||||||
|
padding: 15px 25px;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
border-radius: 0;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
background-color: #0085A1;
|
||||||
|
border-color: #0085A1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #00657b !important;
|
||||||
|
border-color: #00657b !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-lg {
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 25px 35px;
|
||||||
|
}
|
1
html/css/clean-blog.min.css
vendored
Normal file
1
html/css/clean-blog.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
109
html/gulpfile.js
Normal file
109
html/gulpfile.js
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
var gulp = require('gulp');
|
||||||
|
var sass = require('gulp-sass');
|
||||||
|
var header = require('gulp-header');
|
||||||
|
var cleanCSS = require('gulp-clean-css');
|
||||||
|
var rename = require("gulp-rename");
|
||||||
|
var uglify = require('gulp-uglify');
|
||||||
|
var pkg = require('./package.json');
|
||||||
|
var browserSync = require('browser-sync').create();
|
||||||
|
|
||||||
|
// Set the banner content
|
||||||
|
var banner = ['/*!\n',
|
||||||
|
' * Start Bootstrap - <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n',
|
||||||
|
' * Copyright 2013-' + (new Date()).getFullYear(), ' <%= pkg.author %>\n',
|
||||||
|
' * Licensed under <%= pkg.license %> (https://github.com/BlackrockDigital/<%= pkg.name %>/blob/master/LICENSE)\n',
|
||||||
|
' */\n',
|
||||||
|
''
|
||||||
|
].join('');
|
||||||
|
|
||||||
|
// Copy third party libraries from /node_modules into /vendor
|
||||||
|
gulp.task('vendor', function() {
|
||||||
|
|
||||||
|
// Bootstrap
|
||||||
|
gulp.src([
|
||||||
|
'./node_modules/bootstrap/dist/**/*',
|
||||||
|
'!./node_modules/bootstrap/dist/css/bootstrap-grid*',
|
||||||
|
'!./node_modules/bootstrap/dist/css/bootstrap-reboot*'
|
||||||
|
])
|
||||||
|
.pipe(gulp.dest('./vendor/bootstrap'))
|
||||||
|
|
||||||
|
// Font Awesome
|
||||||
|
gulp.src([
|
||||||
|
'./node_modules/font-awesome/**/*',
|
||||||
|
'!./node_modules/font-awesome/{less,less/*}',
|
||||||
|
'!./node_modules/font-awesome/{scss,scss/*}',
|
||||||
|
'!./node_modules/font-awesome/.*',
|
||||||
|
'!./node_modules/font-awesome/*.{txt,json,md}'
|
||||||
|
])
|
||||||
|
.pipe(gulp.dest('./vendor/font-awesome'))
|
||||||
|
|
||||||
|
// jQuery
|
||||||
|
gulp.src([
|
||||||
|
'./node_modules/jquery/dist/*',
|
||||||
|
'!./node_modules/jquery/dist/core.js'
|
||||||
|
])
|
||||||
|
.pipe(gulp.dest('./vendor/jquery'))
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// Compile SCSS
|
||||||
|
gulp.task('css:compile', function() {
|
||||||
|
return gulp.src('./scss/**/*.scss')
|
||||||
|
.pipe(sass.sync({
|
||||||
|
outputStyle: 'expanded'
|
||||||
|
}).on('error', sass.logError))
|
||||||
|
.pipe(gulp.dest('./css'))
|
||||||
|
});
|
||||||
|
|
||||||
|
// Minify CSS
|
||||||
|
gulp.task('css:minify', ['css:compile'], function() {
|
||||||
|
return gulp.src([
|
||||||
|
'./css/*.css',
|
||||||
|
'!./css/*.min.css'
|
||||||
|
])
|
||||||
|
.pipe(cleanCSS())
|
||||||
|
.pipe(rename({
|
||||||
|
suffix: '.min'
|
||||||
|
}))
|
||||||
|
.pipe(gulp.dest('./css'))
|
||||||
|
.pipe(browserSync.stream());
|
||||||
|
});
|
||||||
|
|
||||||
|
// CSS
|
||||||
|
gulp.task('css', ['css:compile', 'css:minify']);
|
||||||
|
|
||||||
|
// Minify JavaScript
|
||||||
|
gulp.task('js:minify', function() {
|
||||||
|
return gulp.src([
|
||||||
|
'./js/*.js',
|
||||||
|
'!./js/*.min.js'
|
||||||
|
])
|
||||||
|
.pipe(uglify())
|
||||||
|
.pipe(rename({
|
||||||
|
suffix: '.min'
|
||||||
|
}))
|
||||||
|
.pipe(gulp.dest('./js'))
|
||||||
|
.pipe(browserSync.stream());
|
||||||
|
});
|
||||||
|
|
||||||
|
// JS
|
||||||
|
gulp.task('js', ['js:minify']);
|
||||||
|
|
||||||
|
// Default task
|
||||||
|
gulp.task('default', ['css', 'js', 'vendor']);
|
||||||
|
|
||||||
|
// Configure the browserSync task
|
||||||
|
gulp.task('browserSync', function() {
|
||||||
|
browserSync.init({
|
||||||
|
server: {
|
||||||
|
baseDir: "./"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Dev task
|
||||||
|
gulp.task('dev', ['css', 'js', 'browserSync'], function() {
|
||||||
|
gulp.watch('./scss/*.scss', ['css']);
|
||||||
|
gulp.watch('./js/*.js', ['js']);
|
||||||
|
gulp.watch('./*.html', browserSync.reload);
|
||||||
|
});
|
BIN
html/img/about-bg.jpg
Normal file
BIN
html/img/about-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 MiB |
BIN
html/img/contact-bg.jpg
Normal file
BIN
html/img/contact-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 489 KiB |
BIN
html/img/home-bg.jpg
Normal file
BIN
html/img/home-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 984 KiB |
BIN
html/img/post-bg.jpg
Normal file
BIN
html/img/post-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
BIN
html/img/post-sample-image.jpg
Normal file
BIN
html/img/post-sample-image.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
181
html/index.html
Normal file
181
html/index.html
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<title>Clean Blog - Start Bootstrap Theme</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom fonts for this template -->
|
||||||
|
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="css/clean-blog.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="about.html">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="post.html">Sample Post</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="contact.html">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- Page Header -->
|
||||||
|
<header class="masthead" style="background-image: url('img/home-bg.jpg')">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<div class="site-heading">
|
||||||
|
<h1>Clean Blog</h1>
|
||||||
|
<span class="subheading">A Blog Theme by Start Bootstrap</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Main Content -->
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<div class="post-preview">
|
||||||
|
<a href="post.html">
|
||||||
|
<h2 class="post-title">
|
||||||
|
Man must explore, and this is exploration at its greatest
|
||||||
|
</h2>
|
||||||
|
<h3 class="post-subtitle">
|
||||||
|
Problems look mighty small from 150 miles up
|
||||||
|
</h3>
|
||||||
|
</a>
|
||||||
|
<p class="post-meta">Posted by
|
||||||
|
<a href="#">Start Bootstrap</a>
|
||||||
|
on September 24, 2018</p>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="post-preview">
|
||||||
|
<a href="post.html">
|
||||||
|
<h2 class="post-title">
|
||||||
|
I believe every human has a finite number of heartbeats. I don't intend to waste any of mine.
|
||||||
|
</h2>
|
||||||
|
</a>
|
||||||
|
<p class="post-meta">Posted by
|
||||||
|
<a href="#">Start Bootstrap</a>
|
||||||
|
on September 18, 2018</p>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="post-preview">
|
||||||
|
<a href="post.html">
|
||||||
|
<h2 class="post-title">
|
||||||
|
Science has not yet mastered prophecy
|
||||||
|
</h2>
|
||||||
|
<h3 class="post-subtitle">
|
||||||
|
We predict too much for the next year and yet far too little for the next ten.
|
||||||
|
</h3>
|
||||||
|
</a>
|
||||||
|
<p class="post-meta">Posted by
|
||||||
|
<a href="#">Start Bootstrap</a>
|
||||||
|
on August 24, 2018</p>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="post-preview">
|
||||||
|
<a href="post.html">
|
||||||
|
<h2 class="post-title">
|
||||||
|
Failure is not an option
|
||||||
|
</h2>
|
||||||
|
<h3 class="post-subtitle">
|
||||||
|
Many say exploration is part of our destiny, but it’s actually our duty to future generations.
|
||||||
|
</h3>
|
||||||
|
</a>
|
||||||
|
<p class="post-meta">Posted by
|
||||||
|
<a href="#">Start Bootstrap</a>
|
||||||
|
on July 8, 2018</p>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<!-- Pager -->
|
||||||
|
<div class="clearfix">
|
||||||
|
<a class="btn btn-primary float-right" href="#">Older Posts →</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<ul class="list-inline text-center">
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p class="copyright text-muted">Copyright © Your Website 2018</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript -->
|
||||||
|
<script src="vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Custom scripts for this template -->
|
||||||
|
<script src="js/clean-blog.min.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
41
html/js/clean-blog.js
Normal file
41
html/js/clean-blog.js
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
(function($) {
|
||||||
|
"use strict"; // Start of use strict
|
||||||
|
|
||||||
|
// Floating label headings for the contact form
|
||||||
|
$("body").on("input propertychange", ".floating-label-form-group", function(e) {
|
||||||
|
$(this).toggleClass("floating-label-form-group-with-value", !!$(e.target).val());
|
||||||
|
}).on("focus", ".floating-label-form-group", function() {
|
||||||
|
$(this).addClass("floating-label-form-group-with-focus");
|
||||||
|
}).on("blur", ".floating-label-form-group", function() {
|
||||||
|
$(this).removeClass("floating-label-form-group-with-focus");
|
||||||
|
});
|
||||||
|
|
||||||
|
// Show the navbar when the page is scrolled up
|
||||||
|
var MQL = 992;
|
||||||
|
|
||||||
|
//primary navigation slide-in effect
|
||||||
|
if ($(window).width() > MQL) {
|
||||||
|
var headerHeight = $('#mainNav').height();
|
||||||
|
$(window).on('scroll', {
|
||||||
|
previousTop: 0
|
||||||
|
},
|
||||||
|
function() {
|
||||||
|
var currentTop = $(window).scrollTop();
|
||||||
|
//check if user is scrolling up
|
||||||
|
if (currentTop < this.previousTop) {
|
||||||
|
//if scrolling up...
|
||||||
|
if (currentTop > 0 && $('#mainNav').hasClass('is-fixed')) {
|
||||||
|
$('#mainNav').addClass('is-visible');
|
||||||
|
} else {
|
||||||
|
$('#mainNav').removeClass('is-visible is-fixed');
|
||||||
|
}
|
||||||
|
} else if (currentTop > this.previousTop) {
|
||||||
|
//if scrolling down...
|
||||||
|
$('#mainNav').removeClass('is-visible');
|
||||||
|
if (currentTop > headerHeight && !$('#mainNav').hasClass('is-fixed')) $('#mainNav').addClass('is-fixed');
|
||||||
|
}
|
||||||
|
this.previousTop = currentTop;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
})(jQuery); // End of use strict
|
1
html/js/clean-blog.min.js
vendored
Normal file
1
html/js/clean-blog.min.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!function(i){"use strict";i("body").on("input propertychange",".floating-label-form-group",function(o){i(this).toggleClass("floating-label-form-group-with-value",!!i(o.target).val())}).on("focus",".floating-label-form-group",function(){i(this).addClass("floating-label-form-group-with-focus")}).on("blur",".floating-label-form-group",function(){i(this).removeClass("floating-label-form-group-with-focus")});if(i(window).width()>992){var o=i("#mainNav").height();i(window).on("scroll",{previousTop:0},function(){var s=i(window).scrollTop();s<this.previousTop?s>0&&i("#mainNav").hasClass("is-fixed")?i("#mainNav").addClass("is-visible"):i("#mainNav").removeClass("is-visible is-fixed"):s>this.previousTop&&(i("#mainNav").removeClass("is-visible"),s>o&&!i("#mainNav").hasClass("is-fixed")&&i("#mainNav").addClass("is-fixed")),this.previousTop=s})}}(jQuery);
|
75
html/js/contact_me.js
Normal file
75
html/js/contact_me.js
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
$(function() {
|
||||||
|
|
||||||
|
$("#contactForm input,#contactForm textarea").jqBootstrapValidation({
|
||||||
|
preventSubmit: true,
|
||||||
|
submitError: function($form, event, errors) {
|
||||||
|
// additional error messages or events
|
||||||
|
},
|
||||||
|
submitSuccess: function($form, event) {
|
||||||
|
event.preventDefault(); // prevent default submit behaviour
|
||||||
|
// get values from FORM
|
||||||
|
var name = $("input#name").val();
|
||||||
|
var email = $("input#email").val();
|
||||||
|
var phone = $("input#phone").val();
|
||||||
|
var message = $("textarea#message").val();
|
||||||
|
var firstName = name; // For Success/Failure Message
|
||||||
|
// Check for white space in name for Success/Fail message
|
||||||
|
if (firstName.indexOf(' ') >= 0) {
|
||||||
|
firstName = name.split(' ').slice(0, -1).join(' ');
|
||||||
|
}
|
||||||
|
$this = $("#sendMessageButton");
|
||||||
|
$this.prop("disabled", true); // Disable submit button until AJAX call is complete to prevent duplicate messages
|
||||||
|
$.ajax({
|
||||||
|
url: "././mail/contact_me.php",
|
||||||
|
type: "POST",
|
||||||
|
data: {
|
||||||
|
name: name,
|
||||||
|
phone: phone,
|
||||||
|
email: email,
|
||||||
|
message: message
|
||||||
|
},
|
||||||
|
cache: false,
|
||||||
|
success: function() {
|
||||||
|
// Success message
|
||||||
|
$('#success').html("<div class='alert alert-success'>");
|
||||||
|
$('#success > .alert-success').html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×")
|
||||||
|
.append("</button>");
|
||||||
|
$('#success > .alert-success')
|
||||||
|
.append("<strong>Your message has been sent. </strong>");
|
||||||
|
$('#success > .alert-success')
|
||||||
|
.append('</div>');
|
||||||
|
//clear all fields
|
||||||
|
$('#contactForm').trigger("reset");
|
||||||
|
},
|
||||||
|
error: function() {
|
||||||
|
// Fail message
|
||||||
|
$('#success').html("<div class='alert alert-danger'>");
|
||||||
|
$('#success > .alert-danger').html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×")
|
||||||
|
.append("</button>");
|
||||||
|
$('#success > .alert-danger').append($("<strong>").text("Sorry " + firstName + ", it seems that my mail server is not responding. Please try again later!"));
|
||||||
|
$('#success > .alert-danger').append('</div>');
|
||||||
|
//clear all fields
|
||||||
|
$('#contactForm').trigger("reset");
|
||||||
|
},
|
||||||
|
complete: function() {
|
||||||
|
setTimeout(function() {
|
||||||
|
$this.prop("disabled", false); // Re-enable submit button when AJAX call is complete
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
filter: function() {
|
||||||
|
return $(this).is(":visible");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
$("a[data-toggle=\"tab\"]").click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
$(this).tab("show");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
/*When clicking on Full hide fail/success boxes */
|
||||||
|
$('#name').focus(function() {
|
||||||
|
$('#success').html('');
|
||||||
|
});
|
1
html/js/contact_me.min.js
vendored
Normal file
1
html/js/contact_me.min.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
$(function(){$("#contactForm input,#contactForm textarea").jqBootstrapValidation({preventSubmit:!0,submitError:function(t,e,s){},submitSuccess:function(t,e){e.preventDefault();var s=$("input#name").val(),a=$("input#email").val(),n=$("input#phone").val(),c=$("textarea#message").val(),i=s;i.indexOf(" ")>=0&&(i=s.split(" ").slice(0,-1).join(" ")),$this=$("#sendMessageButton"),$this.prop("disabled",!0),$.ajax({url:"././mail/contact_me.php",type:"POST",data:{name:s,phone:n,email:a,message:c},cache:!1,success:function(){$("#success").html("<div class='alert alert-success'>"),$("#success > .alert-success").html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×").append("</button>"),$("#success > .alert-success").append("<strong>Your message has been sent. </strong>"),$("#success > .alert-success").append("</div>"),$("#contactForm").trigger("reset")},error:function(){$("#success").html("<div class='alert alert-danger'>"),$("#success > .alert-danger").html("<button type='button' class='close' data-dismiss='alert' aria-hidden='true'>×").append("</button>"),$("#success > .alert-danger").append($("<strong>").text("Sorry "+i+", it seems that my mail server is not responding. Please try again later!")),$("#success > .alert-danger").append("</div>"),$("#contactForm").trigger("reset")},complete:function(){setTimeout(function(){$this.prop("disabled",!1)},1e3)}})},filter:function(){return $(this).is(":visible")}}),$('a[data-toggle="tab"]').click(function(t){t.preventDefault(),$(this).tab("show")})}),$("#name").focus(function(){$("#success").html("")});
|
937
html/js/jqBootstrapValidation.js
Normal file
937
html/js/jqBootstrapValidation.js
Normal file
@ -0,0 +1,937 @@
|
|||||||
|
/* jqBootstrapValidation
|
||||||
|
* A plugin for automating validation on Twitter Bootstrap formatted forms.
|
||||||
|
*
|
||||||
|
* v1.3.6
|
||||||
|
*
|
||||||
|
* License: MIT <http://opensource.org/licenses/mit-license.php> - see LICENSE file
|
||||||
|
*
|
||||||
|
* http://ReactiveRaven.github.com/jqBootstrapValidation/
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function($) {
|
||||||
|
|
||||||
|
var createdElements = [];
|
||||||
|
|
||||||
|
var defaults = {
|
||||||
|
options: {
|
||||||
|
prependExistingHelpBlock: false,
|
||||||
|
sniffHtml: true, // sniff for 'required', 'maxlength', etc
|
||||||
|
preventSubmit: true, // stop the form submit event from firing if validation fails
|
||||||
|
submitError: false, // function called if there is an error when trying to submit
|
||||||
|
submitSuccess: false, // function called just before a successful submit event is sent to the server
|
||||||
|
semanticallyStrict: false, // set to true to tidy up generated HTML output
|
||||||
|
autoAdd: {
|
||||||
|
helpBlocks: true
|
||||||
|
},
|
||||||
|
filter: function() {
|
||||||
|
// return $(this).is(":visible"); // only validate elements you can see
|
||||||
|
return true; // validate everything
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
init: function(options) {
|
||||||
|
|
||||||
|
var settings = $.extend(true, {}, defaults);
|
||||||
|
|
||||||
|
settings.options = $.extend(true, settings.options, options);
|
||||||
|
|
||||||
|
var $siblingElements = this;
|
||||||
|
|
||||||
|
var uniqueForms = $.unique(
|
||||||
|
$siblingElements.map(function() {
|
||||||
|
return $(this).parents("form")[0];
|
||||||
|
}).toArray()
|
||||||
|
);
|
||||||
|
|
||||||
|
$(uniqueForms).bind("submit", function(e) {
|
||||||
|
var $form = $(this);
|
||||||
|
var warningsFound = 0;
|
||||||
|
var $inputs = $form.find("input,textarea,select").not("[type=submit],[type=image]").filter(settings.options.filter);
|
||||||
|
$inputs.trigger("submit.validation").trigger("validationLostFocus.validation");
|
||||||
|
|
||||||
|
$inputs.each(function(i, el) {
|
||||||
|
var $this = $(el),
|
||||||
|
$controlGroup = $this.parents(".form-group").first();
|
||||||
|
if (
|
||||||
|
$controlGroup.hasClass("warning")
|
||||||
|
) {
|
||||||
|
$controlGroup.removeClass("warning").addClass("error");
|
||||||
|
warningsFound++;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$inputs.trigger("validationLostFocus.validation");
|
||||||
|
|
||||||
|
if (warningsFound) {
|
||||||
|
if (settings.options.preventSubmit) {
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
|
$form.addClass("error");
|
||||||
|
if ($.isFunction(settings.options.submitError)) {
|
||||||
|
settings.options.submitError($form, e, $inputs.jqBootstrapValidation("collectErrors", true));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$form.removeClass("error");
|
||||||
|
if ($.isFunction(settings.options.submitSuccess)) {
|
||||||
|
settings.options.submitSuccess($form, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return this.each(function() {
|
||||||
|
|
||||||
|
// Get references to everything we're interested in
|
||||||
|
var $this = $(this),
|
||||||
|
$controlGroup = $this.parents(".form-group").first(),
|
||||||
|
$helpBlock = $controlGroup.find(".help-block").first(),
|
||||||
|
$form = $this.parents("form").first(),
|
||||||
|
validatorNames = [];
|
||||||
|
|
||||||
|
// create message container if not exists
|
||||||
|
if (!$helpBlock.length && settings.options.autoAdd && settings.options.autoAdd.helpBlocks) {
|
||||||
|
$helpBlock = $('<div class="help-block" />');
|
||||||
|
$controlGroup.find('.controls').append($helpBlock);
|
||||||
|
createdElements.push($helpBlock[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// SNIFF HTML FOR VALIDATORS
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
// *snort sniff snuffle*
|
||||||
|
|
||||||
|
if (settings.options.sniffHtml) {
|
||||||
|
var message = "";
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// PATTERN
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("pattern") !== undefined) {
|
||||||
|
message = "Not in the expected format<!-- data-validation-pattern-message to override -->";
|
||||||
|
if ($this.data("validationPatternMessage")) {
|
||||||
|
message = $this.data("validationPatternMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationPatternMessage", message);
|
||||||
|
$this.data("validationPatternRegex", $this.attr("pattern"));
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MAX
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("max") !== undefined || $this.attr("aria-valuemax") !== undefined) {
|
||||||
|
var max = ($this.attr("max") !== undefined ? $this.attr("max") : $this.attr("aria-valuemax"));
|
||||||
|
message = "Too high: Maximum of '" + max + "'<!-- data-validation-max-message to override -->";
|
||||||
|
if ($this.data("validationMaxMessage")) {
|
||||||
|
message = $this.data("validationMaxMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMaxMessage", message);
|
||||||
|
$this.data("validationMaxMax", max);
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MIN
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("min") !== undefined || $this.attr("aria-valuemin") !== undefined) {
|
||||||
|
var min = ($this.attr("min") !== undefined ? $this.attr("min") : $this.attr("aria-valuemin"));
|
||||||
|
message = "Too low: Minimum of '" + min + "'<!-- data-validation-min-message to override -->";
|
||||||
|
if ($this.data("validationMinMessage")) {
|
||||||
|
message = $this.data("validationMinMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMinMessage", message);
|
||||||
|
$this.data("validationMinMin", min);
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MAXLENGTH
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("maxlength") !== undefined) {
|
||||||
|
message = "Too long: Maximum of '" + $this.attr("maxlength") + "' characters<!-- data-validation-maxlength-message to override -->";
|
||||||
|
if ($this.data("validationMaxlengthMessage")) {
|
||||||
|
message = $this.data("validationMaxlengthMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMaxlengthMessage", message);
|
||||||
|
$this.data("validationMaxlengthMaxlength", $this.attr("maxlength"));
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MINLENGTH
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("minlength") !== undefined) {
|
||||||
|
message = "Too short: Minimum of '" + $this.attr("minlength") + "' characters<!-- data-validation-minlength-message to override -->";
|
||||||
|
if ($this.data("validationMinlengthMessage")) {
|
||||||
|
message = $this.data("validationMinlengthMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMinlengthMessage", message);
|
||||||
|
$this.data("validationMinlengthMinlength", $this.attr("minlength"));
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// REQUIRED
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("required") !== undefined || $this.attr("aria-required") !== undefined) {
|
||||||
|
message = settings.builtInValidators.required.message;
|
||||||
|
if ($this.data("validationRequiredMessage")) {
|
||||||
|
message = $this.data("validationRequiredMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationRequiredMessage", message);
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// NUMBER
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "number") {
|
||||||
|
message = settings.builtInValidators.number.message;
|
||||||
|
if ($this.data("validationNumberMessage")) {
|
||||||
|
message = $this.data("validationNumberMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationNumberMessage", message);
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// EMAIL
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("type") !== undefined && $this.attr("type").toLowerCase() === "email") {
|
||||||
|
message = "Not a valid email address<!-- data-validator-validemail-message to override -->";
|
||||||
|
if ($this.data("validationValidemailMessage")) {
|
||||||
|
message = $this.data("validationValidemailMessage");
|
||||||
|
} else if ($this.data("validationEmailMessage")) {
|
||||||
|
message = $this.data("validationEmailMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationValidemailMessage", message);
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MINCHECKED
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("minchecked") !== undefined) {
|
||||||
|
message = "Not enough options checked; Minimum of '" + $this.attr("minchecked") + "' required<!-- data-validation-minchecked-message to override -->";
|
||||||
|
if ($this.data("validationMincheckedMessage")) {
|
||||||
|
message = $this.data("validationMincheckedMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMincheckedMessage", message);
|
||||||
|
$this.data("validationMincheckedMinchecked", $this.attr("minchecked"));
|
||||||
|
}
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
// MAXCHECKED
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
if ($this.attr("maxchecked") !== undefined) {
|
||||||
|
message = "Too many options checked; Maximum of '" + $this.attr("maxchecked") + "' required<!-- data-validation-maxchecked-message to override -->";
|
||||||
|
if ($this.data("validationMaxcheckedMessage")) {
|
||||||
|
message = $this.data("validationMaxcheckedMessage");
|
||||||
|
}
|
||||||
|
$this.data("validationMaxcheckedMessage", message);
|
||||||
|
$this.data("validationMaxcheckedMaxchecked", $this.attr("maxchecked"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// COLLECT VALIDATOR NAMES
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
// Get named validators
|
||||||
|
if ($this.data("validation") !== undefined) {
|
||||||
|
validatorNames = $this.data("validation").split(",");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get extra ones defined on the element's data attributes
|
||||||
|
$.each($this.data(), function(i, el) {
|
||||||
|
var parts = i.replace(/([A-Z])/g, ",$1").split(",");
|
||||||
|
if (parts[0] === "validation" && parts[1]) {
|
||||||
|
validatorNames.push(parts[1]);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// NORMALISE VALIDATOR NAMES
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
var validatorNamesToInspect = validatorNames;
|
||||||
|
var newValidatorNamesToInspect = [];
|
||||||
|
|
||||||
|
do // repeatedly expand 'shortcut' validators into their real validators
|
||||||
|
{
|
||||||
|
// Uppercase only the first letter of each name
|
||||||
|
$.each(validatorNames, function(i, el) {
|
||||||
|
validatorNames[i] = formatValidatorName(el);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Remove duplicate validator names
|
||||||
|
validatorNames = $.unique(validatorNames);
|
||||||
|
|
||||||
|
// Pull out the new validator names from each shortcut
|
||||||
|
newValidatorNamesToInspect = [];
|
||||||
|
$.each(validatorNamesToInspect, function(i, el) {
|
||||||
|
if ($this.data("validation" + el + "Shortcut") !== undefined) {
|
||||||
|
// Are these custom validators?
|
||||||
|
// Pull them out!
|
||||||
|
$.each($this.data("validation" + el + "Shortcut").split(","), function(i2, el2) {
|
||||||
|
newValidatorNamesToInspect.push(el2);
|
||||||
|
});
|
||||||
|
} else if (settings.builtInValidators[el.toLowerCase()]) {
|
||||||
|
// Is this a recognised built-in?
|
||||||
|
// Pull it out!
|
||||||
|
var validator = settings.builtInValidators[el.toLowerCase()];
|
||||||
|
if (validator.type.toLowerCase() === "shortcut") {
|
||||||
|
$.each(validator.shortcut.split(","), function(i, el) {
|
||||||
|
el = formatValidatorName(el);
|
||||||
|
newValidatorNamesToInspect.push(el);
|
||||||
|
validatorNames.push(el);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
validatorNamesToInspect = newValidatorNamesToInspect;
|
||||||
|
|
||||||
|
} while (validatorNamesToInspect.length > 0)
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// SET UP VALIDATOR ARRAYS
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
var validators = {};
|
||||||
|
|
||||||
|
$.each(validatorNames, function(i, el) {
|
||||||
|
// Set up the 'override' message
|
||||||
|
var message = $this.data("validation" + el + "Message");
|
||||||
|
var hasOverrideMessage = (message !== undefined);
|
||||||
|
var foundValidator = false;
|
||||||
|
message =
|
||||||
|
(
|
||||||
|
message ?
|
||||||
|
message :
|
||||||
|
"'" + el + "' validation failed <!-- Add attribute 'data-validation-" + el.toLowerCase() + "-message' to input to change this message -->"
|
||||||
|
);
|
||||||
|
|
||||||
|
$.each(
|
||||||
|
settings.validatorTypes,
|
||||||
|
function(validatorType, validatorTemplate) {
|
||||||
|
if (validators[validatorType] === undefined) {
|
||||||
|
validators[validatorType] = [];
|
||||||
|
}
|
||||||
|
if (!foundValidator && $this.data("validation" + el + formatValidatorName(validatorTemplate.name)) !== undefined) {
|
||||||
|
validators[validatorType].push(
|
||||||
|
$.extend(
|
||||||
|
true, {
|
||||||
|
name: formatValidatorName(validatorTemplate.name),
|
||||||
|
message: message
|
||||||
|
},
|
||||||
|
validatorTemplate.init($this, el)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
foundValidator = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!foundValidator && settings.builtInValidators[el.toLowerCase()]) {
|
||||||
|
|
||||||
|
var validator = $.extend(true, {}, settings.builtInValidators[el.toLowerCase()]);
|
||||||
|
if (hasOverrideMessage) {
|
||||||
|
validator.message = message;
|
||||||
|
}
|
||||||
|
var validatorType = validator.type.toLowerCase();
|
||||||
|
|
||||||
|
if (validatorType === "shortcut") {
|
||||||
|
foundValidator = true;
|
||||||
|
} else {
|
||||||
|
$.each(
|
||||||
|
settings.validatorTypes,
|
||||||
|
function(validatorTemplateType, validatorTemplate) {
|
||||||
|
if (validators[validatorTemplateType] === undefined) {
|
||||||
|
validators[validatorTemplateType] = [];
|
||||||
|
}
|
||||||
|
if (!foundValidator && validatorType === validatorTemplateType.toLowerCase()) {
|
||||||
|
$this.data("validation" + el + formatValidatorName(validatorTemplate.name), validator[validatorTemplate.name.toLowerCase()]);
|
||||||
|
validators[validatorType].push(
|
||||||
|
$.extend(
|
||||||
|
validator,
|
||||||
|
validatorTemplate.init($this, el)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
foundValidator = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!foundValidator) {
|
||||||
|
$.error("Cannot find validation info for '" + el + "'");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// STORE FALLBACK VALUES
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
$helpBlock.data(
|
||||||
|
"original-contents",
|
||||||
|
(
|
||||||
|
$helpBlock.data("original-contents") ?
|
||||||
|
$helpBlock.data("original-contents") :
|
||||||
|
$helpBlock.html()
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$helpBlock.data(
|
||||||
|
"original-role",
|
||||||
|
(
|
||||||
|
$helpBlock.data("original-role") ?
|
||||||
|
$helpBlock.data("original-role") :
|
||||||
|
$helpBlock.attr("role")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$controlGroup.data(
|
||||||
|
"original-classes",
|
||||||
|
(
|
||||||
|
$controlGroup.data("original-clases") ?
|
||||||
|
$controlGroup.data("original-classes") :
|
||||||
|
$controlGroup.attr("class")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$this.data(
|
||||||
|
"original-aria-invalid",
|
||||||
|
(
|
||||||
|
$this.data("original-aria-invalid") ?
|
||||||
|
$this.data("original-aria-invalid") :
|
||||||
|
$this.attr("aria-invalid")
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// VALIDATION
|
||||||
|
// =============================================================
|
||||||
|
|
||||||
|
$this.bind(
|
||||||
|
"validation.validation",
|
||||||
|
function(event, params) {
|
||||||
|
|
||||||
|
var value = getValue($this);
|
||||||
|
|
||||||
|
// Get a list of the errors to apply
|
||||||
|
var errorsFound = [];
|
||||||
|
|
||||||
|
$.each(validators, function(validatorType, validatorTypeArray) {
|
||||||
|
if (value || value.length || (params && params.includeEmpty) || (!!settings.validatorTypes[validatorType].blockSubmit && params && !!params.submitting)) {
|
||||||
|
$.each(validatorTypeArray, function(i, validator) {
|
||||||
|
if (settings.validatorTypes[validatorType].validate($this, value, validator)) {
|
||||||
|
errorsFound.push(validator.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return errorsFound;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
$this.bind(
|
||||||
|
"getValidators.validation",
|
||||||
|
function() {
|
||||||
|
return validators;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// WATCH FOR CHANGES
|
||||||
|
// =============================================================
|
||||||
|
$this.bind(
|
||||||
|
"submit.validation",
|
||||||
|
function() {
|
||||||
|
return $this.triggerHandler("change.validation", {
|
||||||
|
submitting: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
|
$this.bind(
|
||||||
|
[
|
||||||
|
"keyup",
|
||||||
|
"focus",
|
||||||
|
"blur",
|
||||||
|
"click",
|
||||||
|
"keydown",
|
||||||
|
"keypress",
|
||||||
|
"change"
|
||||||
|
].join(".validation ") + ".validation",
|
||||||
|
function(e, params) {
|
||||||
|
|
||||||
|
var value = getValue($this);
|
||||||
|
|
||||||
|
var errorsFound = [];
|
||||||
|
|
||||||
|
$controlGroup.find("input,textarea,select").each(function(i, el) {
|
||||||
|
var oldCount = errorsFound.length;
|
||||||
|
$.each($(el).triggerHandler("validation.validation", params), function(j, message) {
|
||||||
|
errorsFound.push(message);
|
||||||
|
});
|
||||||
|
if (errorsFound.length > oldCount) {
|
||||||
|
$(el).attr("aria-invalid", "true");
|
||||||
|
} else {
|
||||||
|
var original = $this.data("original-aria-invalid");
|
||||||
|
$(el).attr("aria-invalid", (original !== undefined ? original : false));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$form.find("input,select,textarea").not($this).not("[name=\"" + $this.attr("name") + "\"]").trigger("validationLostFocus.validation");
|
||||||
|
|
||||||
|
errorsFound = $.unique(errorsFound.sort());
|
||||||
|
|
||||||
|
// Were there any errors?
|
||||||
|
if (errorsFound.length) {
|
||||||
|
// Better flag it up as a warning.
|
||||||
|
$controlGroup.removeClass("success error").addClass("warning");
|
||||||
|
|
||||||
|
// How many errors did we find?
|
||||||
|
if (settings.options.semanticallyStrict && errorsFound.length === 1) {
|
||||||
|
// Only one? Being strict? Just output it.
|
||||||
|
$helpBlock.html(errorsFound[0] +
|
||||||
|
(settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : ""));
|
||||||
|
} else {
|
||||||
|
// Multiple? Being sloppy? Glue them together into an UL.
|
||||||
|
$helpBlock.html("<ul role=\"alert\"><li>" + errorsFound.join("</li><li>") + "</li></ul>" +
|
||||||
|
(settings.options.prependExistingHelpBlock ? $helpBlock.data("original-contents") : ""));
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$controlGroup.removeClass("warning error success");
|
||||||
|
if (value.length > 0) {
|
||||||
|
$controlGroup.addClass("success");
|
||||||
|
}
|
||||||
|
$helpBlock.html($helpBlock.data("original-contents"));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (e.type === "blur") {
|
||||||
|
$controlGroup.removeClass("success");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
$this.bind("validationLostFocus.validation", function() {
|
||||||
|
$controlGroup.removeClass("success");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
destroy: function() {
|
||||||
|
|
||||||
|
return this.each(
|
||||||
|
function() {
|
||||||
|
|
||||||
|
var
|
||||||
|
$this = $(this),
|
||||||
|
$controlGroup = $this.parents(".form-group").first(),
|
||||||
|
$helpBlock = $controlGroup.find(".help-block").first();
|
||||||
|
|
||||||
|
// remove our events
|
||||||
|
$this.unbind('.validation'); // events are namespaced.
|
||||||
|
// reset help text
|
||||||
|
$helpBlock.html($helpBlock.data("original-contents"));
|
||||||
|
// reset classes
|
||||||
|
$controlGroup.attr("class", $controlGroup.data("original-classes"));
|
||||||
|
// reset aria
|
||||||
|
$this.attr("aria-invalid", $this.data("original-aria-invalid"));
|
||||||
|
// reset role
|
||||||
|
$helpBlock.attr("role", $this.data("original-role"));
|
||||||
|
// remove all elements we created
|
||||||
|
if (createdElements.indexOf($helpBlock[0]) > -1) {
|
||||||
|
$helpBlock.remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
},
|
||||||
|
collectErrors: function(includeEmpty) {
|
||||||
|
|
||||||
|
var errorMessages = {};
|
||||||
|
this.each(function(i, el) {
|
||||||
|
var $el = $(el);
|
||||||
|
var name = $el.attr("name");
|
||||||
|
var errors = $el.triggerHandler("validation.validation", {
|
||||||
|
includeEmpty: true
|
||||||
|
});
|
||||||
|
errorMessages[name] = $.extend(true, errors, errorMessages[name]);
|
||||||
|
});
|
||||||
|
|
||||||
|
$.each(errorMessages, function(i, el) {
|
||||||
|
if (el.length === 0) {
|
||||||
|
delete errorMessages[i];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return errorMessages;
|
||||||
|
|
||||||
|
},
|
||||||
|
hasErrors: function() {
|
||||||
|
|
||||||
|
var errorMessages = [];
|
||||||
|
|
||||||
|
this.each(function(i, el) {
|
||||||
|
errorMessages = errorMessages.concat(
|
||||||
|
$(el).triggerHandler("getValidators.validation") ? $(el).triggerHandler("validation.validation", {
|
||||||
|
submitting: true
|
||||||
|
}) : []
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
return (errorMessages.length > 0);
|
||||||
|
},
|
||||||
|
override: function(newDefaults) {
|
||||||
|
defaults = $.extend(true, defaults, newDefaults);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
validatorTypes: {
|
||||||
|
callback: {
|
||||||
|
name: "callback",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
validatorName: name,
|
||||||
|
callback: $this.data("validation" + name + "Callback"),
|
||||||
|
lastValue: $this.val(),
|
||||||
|
lastValid: true,
|
||||||
|
lastFinished: true
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
if (validator.lastValue === value && validator.lastFinished) {
|
||||||
|
return !validator.lastValid;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (validator.lastFinished === true) {
|
||||||
|
validator.lastValue = value;
|
||||||
|
validator.lastValid = true;
|
||||||
|
validator.lastFinished = false;
|
||||||
|
|
||||||
|
var rrjqbvValidator = validator;
|
||||||
|
var rrjqbvThis = $this;
|
||||||
|
executeFunctionByName(
|
||||||
|
validator.callback,
|
||||||
|
window,
|
||||||
|
$this,
|
||||||
|
value,
|
||||||
|
function(data) {
|
||||||
|
if (rrjqbvValidator.lastValue === data.value) {
|
||||||
|
rrjqbvValidator.lastValid = data.valid;
|
||||||
|
if (data.message) {
|
||||||
|
rrjqbvValidator.message = data.message;
|
||||||
|
}
|
||||||
|
rrjqbvValidator.lastFinished = true;
|
||||||
|
rrjqbvThis.data("validation" + rrjqbvValidator.validatorName + "Message", rrjqbvValidator.message);
|
||||||
|
// Timeout is set to avoid problems with the events being considered 'already fired'
|
||||||
|
setTimeout(function() {
|
||||||
|
rrjqbvThis.trigger("change.validation");
|
||||||
|
}, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
ajax: {
|
||||||
|
name: "ajax",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
validatorName: name,
|
||||||
|
url: $this.data("validation" + name + "Ajax"),
|
||||||
|
lastValue: $this.val(),
|
||||||
|
lastValid: true,
|
||||||
|
lastFinished: true
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
if ("" + validator.lastValue === "" + value && validator.lastFinished === true) {
|
||||||
|
return validator.lastValid === false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (validator.lastFinished === true) {
|
||||||
|
validator.lastValue = value;
|
||||||
|
validator.lastValid = true;
|
||||||
|
validator.lastFinished = false;
|
||||||
|
$.ajax({
|
||||||
|
url: validator.url,
|
||||||
|
data: "value=" + value + "&field=" + $this.attr("name"),
|
||||||
|
dataType: "json",
|
||||||
|
success: function(data) {
|
||||||
|
if ("" + validator.lastValue === "" + data.value) {
|
||||||
|
validator.lastValid = !!(data.valid);
|
||||||
|
if (data.message) {
|
||||||
|
validator.message = data.message;
|
||||||
|
}
|
||||||
|
validator.lastFinished = true;
|
||||||
|
$this.data("validation" + validator.validatorName + "Message", validator.message);
|
||||||
|
// Timeout is set to avoid problems with the events being considered 'already fired'
|
||||||
|
setTimeout(function() {
|
||||||
|
$this.trigger("change.validation");
|
||||||
|
}, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
|
||||||
|
}
|
||||||
|
},
|
||||||
|
failure: function() {
|
||||||
|
validator.lastValid = true;
|
||||||
|
validator.message = "ajax call failed";
|
||||||
|
validator.lastFinished = true;
|
||||||
|
$this.data("validation" + validator.validatorName + "Message", validator.message);
|
||||||
|
// Timeout is set to avoid problems with the events being considered 'already fired'
|
||||||
|
setTimeout(function() {
|
||||||
|
$this.trigger("change.validation");
|
||||||
|
}, 1); // doesn't need a long timeout, just long enough for the event bubble to burst
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
regex: {
|
||||||
|
name: "regex",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
regex: regexFromString($this.data("validation" + name + "Regex"))
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (!validator.regex.test(value) && !validator.negative) ||
|
||||||
|
(validator.regex.test(value) && validator.negative);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
required: {
|
||||||
|
name: "required",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return !!(value.length === 0 && !validator.negative) ||
|
||||||
|
!!(value.length > 0 && validator.negative);
|
||||||
|
},
|
||||||
|
blockSubmit: true
|
||||||
|
},
|
||||||
|
match: {
|
||||||
|
name: "match",
|
||||||
|
init: function($this, name) {
|
||||||
|
var element = $this.parents("form").first().find("[name=\"" + $this.data("validation" + name + "Match") + "\"]").first();
|
||||||
|
element.bind("validation.validation", function() {
|
||||||
|
$this.trigger("change.validation", {
|
||||||
|
submitting: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
"element": element
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (value !== validator.element.val() && !validator.negative) ||
|
||||||
|
(value === validator.element.val() && validator.negative);
|
||||||
|
},
|
||||||
|
blockSubmit: true
|
||||||
|
},
|
||||||
|
max: {
|
||||||
|
name: "max",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
max: $this.data("validation" + name + "Max")
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (parseFloat(value, 10) > parseFloat(validator.max, 10) && !validator.negative) ||
|
||||||
|
(parseFloat(value, 10) <= parseFloat(validator.max, 10) && validator.negative);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
min: {
|
||||||
|
name: "min",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
min: $this.data("validation" + name + "Min")
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (parseFloat(value) < parseFloat(validator.min) && !validator.negative) ||
|
||||||
|
(parseFloat(value) >= parseFloat(validator.min) && validator.negative);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
maxlength: {
|
||||||
|
name: "maxlength",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
maxlength: $this.data("validation" + name + "Maxlength")
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return ((value.length > validator.maxlength) && !validator.negative) ||
|
||||||
|
((value.length <= validator.maxlength) && validator.negative);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
minlength: {
|
||||||
|
name: "minlength",
|
||||||
|
init: function($this, name) {
|
||||||
|
return {
|
||||||
|
minlength: $this.data("validation" + name + "Minlength")
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return ((value.length < validator.minlength) && !validator.negative) ||
|
||||||
|
((value.length >= validator.minlength) && validator.negative);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
maxchecked: {
|
||||||
|
name: "maxchecked",
|
||||||
|
init: function($this, name) {
|
||||||
|
var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
|
||||||
|
elements.bind("click.validation", function() {
|
||||||
|
$this.trigger("change.validation", {
|
||||||
|
includeEmpty: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
maxchecked: $this.data("validation" + name + "Maxchecked"),
|
||||||
|
elements: elements
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (validator.elements.filter(":checked").length > validator.maxchecked && !validator.negative) ||
|
||||||
|
(validator.elements.filter(":checked").length <= validator.maxchecked && validator.negative);
|
||||||
|
},
|
||||||
|
blockSubmit: true
|
||||||
|
},
|
||||||
|
minchecked: {
|
||||||
|
name: "minchecked",
|
||||||
|
init: function($this, name) {
|
||||||
|
var elements = $this.parents("form").first().find("[name=\"" + $this.attr("name") + "\"]");
|
||||||
|
elements.bind("click.validation", function() {
|
||||||
|
$this.trigger("change.validation", {
|
||||||
|
includeEmpty: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
minchecked: $this.data("validation" + name + "Minchecked"),
|
||||||
|
elements: elements
|
||||||
|
};
|
||||||
|
},
|
||||||
|
validate: function($this, value, validator) {
|
||||||
|
return (validator.elements.filter(":checked").length < validator.minchecked && !validator.negative) ||
|
||||||
|
(validator.elements.filter(":checked").length >= validator.minchecked && validator.negative);
|
||||||
|
},
|
||||||
|
blockSubmit: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
builtInValidators: {
|
||||||
|
email: {
|
||||||
|
name: "Email",
|
||||||
|
type: "shortcut",
|
||||||
|
shortcut: "validemail"
|
||||||
|
},
|
||||||
|
validemail: {
|
||||||
|
name: "Validemail",
|
||||||
|
type: "regex",
|
||||||
|
regex: "[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\.[A-Za-z]{2,4}",
|
||||||
|
message: "Not a valid email address<!-- data-validator-validemail-message to override -->"
|
||||||
|
},
|
||||||
|
passwordagain: {
|
||||||
|
name: "Passwordagain",
|
||||||
|
type: "match",
|
||||||
|
match: "password",
|
||||||
|
message: "Does not match the given password<!-- data-validator-paswordagain-message to override -->"
|
||||||
|
},
|
||||||
|
positive: {
|
||||||
|
name: "Positive",
|
||||||
|
type: "shortcut",
|
||||||
|
shortcut: "number,positivenumber"
|
||||||
|
},
|
||||||
|
negative: {
|
||||||
|
name: "Negative",
|
||||||
|
type: "shortcut",
|
||||||
|
shortcut: "number,negativenumber"
|
||||||
|
},
|
||||||
|
number: {
|
||||||
|
name: "Number",
|
||||||
|
type: "regex",
|
||||||
|
regex: "([+-]?\\\d+(\\\.\\\d*)?([eE][+-]?[0-9]+)?)?",
|
||||||
|
message: "Must be a number<!-- data-validator-number-message to override -->"
|
||||||
|
},
|
||||||
|
integer: {
|
||||||
|
name: "Integer",
|
||||||
|
type: "regex",
|
||||||
|
regex: "[+-]?\\\d+",
|
||||||
|
message: "No decimal places allowed<!-- data-validator-integer-message to override -->"
|
||||||
|
},
|
||||||
|
positivenumber: {
|
||||||
|
name: "Positivenumber",
|
||||||
|
type: "min",
|
||||||
|
min: 0,
|
||||||
|
message: "Must be a positive number<!-- data-validator-positivenumber-message to override -->"
|
||||||
|
},
|
||||||
|
negativenumber: {
|
||||||
|
name: "Negativenumber",
|
||||||
|
type: "max",
|
||||||
|
max: 0,
|
||||||
|
message: "Must be a negative number<!-- data-validator-negativenumber-message to override -->"
|
||||||
|
},
|
||||||
|
required: {
|
||||||
|
name: "Required",
|
||||||
|
type: "required",
|
||||||
|
message: "This is required<!-- data-validator-required-message to override -->"
|
||||||
|
},
|
||||||
|
checkone: {
|
||||||
|
name: "Checkone",
|
||||||
|
type: "minchecked",
|
||||||
|
minchecked: 1,
|
||||||
|
message: "Check at least one option<!-- data-validation-checkone-message to override -->"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var formatValidatorName = function(name) {
|
||||||
|
return name
|
||||||
|
.toLowerCase()
|
||||||
|
.replace(
|
||||||
|
/(^|\s)([a-z])/g,
|
||||||
|
function(m, p1, p2) {
|
||||||
|
return p1 + p2.toUpperCase();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
var getValue = function($this) {
|
||||||
|
// Extract the value we're talking about
|
||||||
|
var value = $this.val();
|
||||||
|
var type = $this.attr("type");
|
||||||
|
if (type === "checkbox") {
|
||||||
|
value = ($this.is(":checked") ? value : "");
|
||||||
|
}
|
||||||
|
if (type === "radio") {
|
||||||
|
value = ($('input[name="' + $this.attr("name") + '"]:checked').length > 0 ? value : "");
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
};
|
||||||
|
|
||||||
|
function regexFromString(inputstring) {
|
||||||
|
return new RegExp("^" + inputstring + "$");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thanks to Jason Bunting via StackOverflow.com
|
||||||
|
*
|
||||||
|
* http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string#answer-359910
|
||||||
|
* Short link: http://tinyurl.com/executeFunctionByName
|
||||||
|
**/
|
||||||
|
function executeFunctionByName(functionName, context /*, args*/ ) {
|
||||||
|
var args = Array.prototype.slice.call(arguments).splice(2);
|
||||||
|
var namespaces = functionName.split(".");
|
||||||
|
var func = namespaces.pop();
|
||||||
|
for (var i = 0; i < namespaces.length; i++) {
|
||||||
|
context = context[namespaces[i]];
|
||||||
|
}
|
||||||
|
return context[func].apply(this, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
$.fn.jqBootstrapValidation = function(method) {
|
||||||
|
|
||||||
|
if (defaults.methods[method]) {
|
||||||
|
return defaults.methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
|
||||||
|
} else if (typeof method === 'object' || !method) {
|
||||||
|
return defaults.methods.init.apply(this, arguments);
|
||||||
|
} else {
|
||||||
|
$.error('Method ' + method + ' does not exist on jQuery.jqBootstrapValidation');
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
$.jqBootstrapValidation = function(options) {
|
||||||
|
$(":input").not("[type=image],[type=submit]").jqBootstrapValidation.apply(this, arguments);
|
||||||
|
};
|
||||||
|
|
||||||
|
})(jQuery);
|
1
html/js/jqBootstrapValidation.min.js
vendored
Normal file
1
html/js/jqBootstrapValidation.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
165
html/post.html
Normal file
165
html/post.html
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<title>Clean Blog - Start Bootstrap Theme</title>
|
||||||
|
|
||||||
|
<!-- Bootstrap core CSS -->
|
||||||
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Custom fonts for this template -->
|
||||||
|
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<link href="css/clean-blog.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Navigation -->
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Start Bootstrap</a>
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Menu
|
||||||
|
<i class="fa fa-bars"></i>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||||
|
<ul class="navbar-nav ml-auto">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="about.html">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="post.html">Sample Post</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="contact.html">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<!-- Page Header -->
|
||||||
|
<header class="masthead" style="background-image: url('img/post-bg.jpg')">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<div class="post-heading">
|
||||||
|
<h1>Man must explore, and this is exploration at its greatest</h1>
|
||||||
|
<h2 class="subheading">Problems look mighty small from 150 miles up</h2>
|
||||||
|
<span class="meta">Posted by
|
||||||
|
<a href="#">Start Bootstrap</a>
|
||||||
|
on August 24, 2018</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Post Content -->
|
||||||
|
<article>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>
|
||||||
|
|
||||||
|
<p>Science cuts two ways, of course; its products can be used for both good and evil. But there's no turning back from science. The early warnings about technological dangers also come from science.</p>
|
||||||
|
|
||||||
|
<p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
|
||||||
|
|
||||||
|
<p>A Chinese tale tells of some men sent to harm a young girl who, upon seeing her beauty, become her protectors rather than her violators. That's how I felt seeing the Earth for the first time. I could not help but love and cherish her.</p>
|
||||||
|
|
||||||
|
<p>For those who have seen the Earth from space, and for the hundreds and perhaps thousands more who will, the experience most certainly changes your perspective. The things that we share in our world are far more valuable than those which divide us.</p>
|
||||||
|
|
||||||
|
<h2 class="section-heading">The Final Frontier</h2>
|
||||||
|
|
||||||
|
<p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>
|
||||||
|
|
||||||
|
<p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>
|
||||||
|
|
||||||
|
<blockquote class="blockquote">The dreams of yesterday are the hopes of today and the reality of tomorrow. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next ten.</blockquote>
|
||||||
|
|
||||||
|
<p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>
|
||||||
|
|
||||||
|
<h2 class="section-heading">Reaching for the Stars</h2>
|
||||||
|
|
||||||
|
<p>As we got further and further away, it [the Earth] diminished in size. Finally it shrank to the size of a marble, the most beautiful you can imagine. That beautiful, warm, living object looked so fragile, so delicate, that if you touched it with a finger it would crumble and fall apart. Seeing this has to change a man.</p>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<img class="img-fluid" src="img/post-sample-image.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
<span class="caption text-muted">To go places and do things that have never been done before – that’s what living is all about.</span>
|
||||||
|
|
||||||
|
<p>Space, the final frontier. These are the voyages of the Starship Enterprise. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.</p>
|
||||||
|
|
||||||
|
<p>As I stand out here in the wonders of the unknown at Hadley, I sort of realize there’s a fundamental truth to our nature, Man must explore, and this is exploration at its greatest.</p>
|
||||||
|
|
||||||
|
<p>Placeholder text by
|
||||||
|
<a href="http://spaceipsum.com/">Space Ipsum</a>. Photographs by
|
||||||
|
<a href="https://www.flickr.com/photos/nasacommons/">NASA on The Commons</a>.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 col-md-10 mx-auto">
|
||||||
|
<ul class="list-inline text-center">
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li class="list-inline-item">
|
||||||
|
<a href="#">
|
||||||
|
<span class="fa-stack fa-lg">
|
||||||
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
|
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p class="copyright text-muted">Copyright © Your Website 2018</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- Bootstrap core JavaScript -->
|
||||||
|
<script src="vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Custom scripts for this template -->
|
||||||
|
<script src="js/clean-blog.min.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
8981
html/vendor/bootstrap/css/bootstrap.css
vendored
Normal file
8981
html/vendor/bootstrap/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
html/vendor/bootstrap/css/bootstrap.css.map
vendored
Normal file
1
html/vendor/bootstrap/css/bootstrap.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
html/vendor/bootstrap/css/bootstrap.min.css
vendored
Normal file
7
html/vendor/bootstrap/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
html/vendor/bootstrap/css/bootstrap.min.css.map
vendored
Normal file
1
html/vendor/bootstrap/css/bootstrap.min.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
6444
html/vendor/bootstrap/js/bootstrap.bundle.js
vendored
Normal file
6444
html/vendor/bootstrap/js/bootstrap.bundle.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
html/vendor/bootstrap/js/bootstrap.bundle.js.map
vendored
Normal file
1
html/vendor/bootstrap/js/bootstrap.bundle.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
html/vendor/bootstrap/js/bootstrap.bundle.min.js
vendored
Normal file
7
html/vendor/bootstrap/js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
html/vendor/bootstrap/js/bootstrap.bundle.min.js.map
vendored
Normal file
1
html/vendor/bootstrap/js/bootstrap.bundle.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3927
html/vendor/bootstrap/js/bootstrap.js
vendored
Normal file
3927
html/vendor/bootstrap/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
html/vendor/bootstrap/js/bootstrap.js.map
vendored
Normal file
1
html/vendor/bootstrap/js/bootstrap.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
html/vendor/bootstrap/js/bootstrap.min.js
vendored
Normal file
7
html/vendor/bootstrap/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
html/vendor/bootstrap/js/bootstrap.min.js.map
vendored
Normal file
1
html/vendor/bootstrap/js/bootstrap.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2337
html/vendor/font-awesome/css/font-awesome.css
vendored
Normal file
2337
html/vendor/font-awesome/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
html/vendor/font-awesome/css/font-awesome.css.map
vendored
Normal file
7
html/vendor/font-awesome/css/font-awesome.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
4
html/vendor/font-awesome/css/font-awesome.min.css
vendored
Normal file
4
html/vendor/font-awesome/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
html/vendor/font-awesome/fonts/FontAwesome.otf
vendored
Normal file
BIN
html/vendor/font-awesome/fonts/FontAwesome.otf
vendored
Normal file
Binary file not shown.
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.eot
vendored
Normal file
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.eot
vendored
Normal file
Binary file not shown.
2671
html/vendor/font-awesome/fonts/fontawesome-webfont.svg
vendored
Normal file
2671
html/vendor/font-awesome/fonts/fontawesome-webfont.svg
vendored
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.ttf
vendored
Normal file
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.ttf
vendored
Normal file
Binary file not shown.
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.woff
vendored
Normal file
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.woff
vendored
Normal file
Binary file not shown.
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.woff2
vendored
Normal file
BIN
html/vendor/font-awesome/fonts/fontawesome-webfont.woff2
vendored
Normal file
Binary file not shown.
34
html/vendor/font-awesome/less/animated.less
vendored
Normal file
34
html/vendor/font-awesome/less/animated.less
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// Animated Icons
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-spin {
|
||||||
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
|
animation: fa-spin 2s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pulse {
|
||||||
|
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||||
|
animation: fa-spin 1s infinite steps(8);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
25
html/vendor/font-awesome/less/bordered-pulled.less
vendored
Normal file
25
html/vendor/font-awesome/less/bordered-pulled.less
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
// Bordered & Pulled
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-border {
|
||||||
|
padding: .2em .25em .15em;
|
||||||
|
border: solid .08em @fa-border-color;
|
||||||
|
border-radius: .1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pull-left { float: left; }
|
||||||
|
.@{fa-css-prefix}-pull-right { float: right; }
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
&.@{fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||||
|
&.@{fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deprecated as of 4.4.0 */
|
||||||
|
.pull-right { float: right; }
|
||||||
|
.pull-left { float: left; }
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
&.pull-left { margin-right: .3em; }
|
||||||
|
&.pull-right { margin-left: .3em; }
|
||||||
|
}
|
12
html/vendor/font-awesome/less/core.less
vendored
Normal file
12
html/vendor/font-awesome/less/core.less
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// Base Class Definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix} {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
6
html/vendor/font-awesome/less/fixed-width.less
vendored
Normal file
6
html/vendor/font-awesome/less/fixed-width.less
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Fixed Width Icons
|
||||||
|
// -------------------------
|
||||||
|
.@{fa-css-prefix}-fw {
|
||||||
|
width: (18em / 14);
|
||||||
|
text-align: center;
|
||||||
|
}
|
18
html/vendor/font-awesome/less/font-awesome.less
vendored
Normal file
18
html/vendor/font-awesome/less/font-awesome.less
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import "variables.less";
|
||||||
|
@import "mixins.less";
|
||||||
|
@import "path.less";
|
||||||
|
@import "core.less";
|
||||||
|
@import "larger.less";
|
||||||
|
@import "fixed-width.less";
|
||||||
|
@import "list.less";
|
||||||
|
@import "bordered-pulled.less";
|
||||||
|
@import "animated.less";
|
||||||
|
@import "rotated-flipped.less";
|
||||||
|
@import "stacked.less";
|
||||||
|
@import "icons.less";
|
||||||
|
@import "screen-reader.less";
|
789
html/vendor/font-awesome/less/icons.less
vendored
Normal file
789
html/vendor/font-awesome/less/icons.less
vendored
Normal file
@ -0,0 +1,789 @@
|
|||||||
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||||
|
readers do not read off random characters that represent icons */
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
|
||||||
|
.@{fa-css-prefix}-music:before { content: @fa-var-music; }
|
||||||
|
.@{fa-css-prefix}-search:before { content: @fa-var-search; }
|
||||||
|
.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
|
||||||
|
.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }
|
||||||
|
.@{fa-css-prefix}-star:before { content: @fa-var-star; }
|
||||||
|
.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }
|
||||||
|
.@{fa-css-prefix}-user:before { content: @fa-var-user; }
|
||||||
|
.@{fa-css-prefix}-film:before { content: @fa-var-film; }
|
||||||
|
.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }
|
||||||
|
.@{fa-css-prefix}-th:before { content: @fa-var-th; }
|
||||||
|
.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }
|
||||||
|
.@{fa-css-prefix}-check:before { content: @fa-var-check; }
|
||||||
|
.@{fa-css-prefix}-remove:before,
|
||||||
|
.@{fa-css-prefix}-close:before,
|
||||||
|
.@{fa-css-prefix}-times:before { content: @fa-var-times; }
|
||||||
|
.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }
|
||||||
|
.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }
|
||||||
|
.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }
|
||||||
|
.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }
|
||||||
|
.@{fa-css-prefix}-gear:before,
|
||||||
|
.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }
|
||||||
|
.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }
|
||||||
|
.@{fa-css-prefix}-home:before { content: @fa-var-home; }
|
||||||
|
.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }
|
||||||
|
.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }
|
||||||
|
.@{fa-css-prefix}-road:before { content: @fa-var-road; }
|
||||||
|
.@{fa-css-prefix}-download:before { content: @fa-var-download; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }
|
||||||
|
.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }
|
||||||
|
.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }
|
||||||
|
.@{fa-css-prefix}-rotate-right:before,
|
||||||
|
.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }
|
||||||
|
.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }
|
||||||
|
.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }
|
||||||
|
.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }
|
||||||
|
.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }
|
||||||
|
.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }
|
||||||
|
.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }
|
||||||
|
.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }
|
||||||
|
.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }
|
||||||
|
.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }
|
||||||
|
.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }
|
||||||
|
.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }
|
||||||
|
.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }
|
||||||
|
.@{fa-css-prefix}-book:before { content: @fa-var-book; }
|
||||||
|
.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }
|
||||||
|
.@{fa-css-prefix}-print:before { content: @fa-var-print; }
|
||||||
|
.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }
|
||||||
|
.@{fa-css-prefix}-font:before { content: @fa-var-font; }
|
||||||
|
.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }
|
||||||
|
.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }
|
||||||
|
.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }
|
||||||
|
.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }
|
||||||
|
.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }
|
||||||
|
.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }
|
||||||
|
.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }
|
||||||
|
.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }
|
||||||
|
.@{fa-css-prefix}-list:before { content: @fa-var-list; }
|
||||||
|
.@{fa-css-prefix}-dedent:before,
|
||||||
|
.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }
|
||||||
|
.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }
|
||||||
|
.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }
|
||||||
|
.@{fa-css-prefix}-photo:before,
|
||||||
|
.@{fa-css-prefix}-image:before,
|
||||||
|
.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }
|
||||||
|
.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }
|
||||||
|
.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }
|
||||||
|
.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }
|
||||||
|
.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }
|
||||||
|
.@{fa-css-prefix}-edit:before,
|
||||||
|
.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }
|
||||||
|
.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }
|
||||||
|
.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }
|
||||||
|
.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }
|
||||||
|
.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }
|
||||||
|
.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }
|
||||||
|
.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }
|
||||||
|
.@{fa-css-prefix}-play:before { content: @fa-var-play; }
|
||||||
|
.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }
|
||||||
|
.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }
|
||||||
|
.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }
|
||||||
|
.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }
|
||||||
|
.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }
|
||||||
|
.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }
|
||||||
|
.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }
|
||||||
|
.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }
|
||||||
|
.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }
|
||||||
|
.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }
|
||||||
|
.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }
|
||||||
|
.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }
|
||||||
|
.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }
|
||||||
|
.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }
|
||||||
|
.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }
|
||||||
|
.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }
|
||||||
|
.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }
|
||||||
|
.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }
|
||||||
|
.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }
|
||||||
|
.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }
|
||||||
|
.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-mail-forward:before,
|
||||||
|
.@{fa-css-prefix}-share:before { content: @fa-var-share; }
|
||||||
|
.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }
|
||||||
|
.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }
|
||||||
|
.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }
|
||||||
|
.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }
|
||||||
|
.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }
|
||||||
|
.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }
|
||||||
|
.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }
|
||||||
|
.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }
|
||||||
|
.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }
|
||||||
|
.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }
|
||||||
|
.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }
|
||||||
|
.@{fa-css-prefix}-warning:before,
|
||||||
|
.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }
|
||||||
|
.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }
|
||||||
|
.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }
|
||||||
|
.@{fa-css-prefix}-random:before { content: @fa-var-random; }
|
||||||
|
.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }
|
||||||
|
.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }
|
||||||
|
.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }
|
||||||
|
.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }
|
||||||
|
.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }
|
||||||
|
.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }
|
||||||
|
.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }
|
||||||
|
.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }
|
||||||
|
.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }
|
||||||
|
.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }
|
||||||
|
.@{fa-css-prefix}-bar-chart-o:before,
|
||||||
|
.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; }
|
||||||
|
.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }
|
||||||
|
.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }
|
||||||
|
.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }
|
||||||
|
.@{fa-css-prefix}-key:before { content: @fa-var-key; }
|
||||||
|
.@{fa-css-prefix}-gears:before,
|
||||||
|
.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }
|
||||||
|
.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }
|
||||||
|
.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }
|
||||||
|
.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }
|
||||||
|
.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }
|
||||||
|
.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }
|
||||||
|
.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }
|
||||||
|
.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }
|
||||||
|
.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }
|
||||||
|
.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }
|
||||||
|
.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }
|
||||||
|
.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }
|
||||||
|
.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }
|
||||||
|
.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }
|
||||||
|
.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }
|
||||||
|
.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }
|
||||||
|
.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }
|
||||||
|
.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }
|
||||||
|
.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }
|
||||||
|
.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }
|
||||||
|
.@{fa-css-prefix}-facebook-f:before,
|
||||||
|
.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }
|
||||||
|
.@{fa-css-prefix}-github:before { content: @fa-var-github; }
|
||||||
|
.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }
|
||||||
|
.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }
|
||||||
|
.@{fa-css-prefix}-feed:before,
|
||||||
|
.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }
|
||||||
|
.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }
|
||||||
|
.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }
|
||||||
|
.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }
|
||||||
|
.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }
|
||||||
|
.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }
|
||||||
|
.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }
|
||||||
|
.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }
|
||||||
|
.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }
|
||||||
|
.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }
|
||||||
|
.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }
|
||||||
|
.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }
|
||||||
|
.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }
|
||||||
|
.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }
|
||||||
|
.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }
|
||||||
|
.@{fa-css-prefix}-group:before,
|
||||||
|
.@{fa-css-prefix}-users:before { content: @fa-var-users; }
|
||||||
|
.@{fa-css-prefix}-chain:before,
|
||||||
|
.@{fa-css-prefix}-link:before { content: @fa-var-link; }
|
||||||
|
.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }
|
||||||
|
.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }
|
||||||
|
.@{fa-css-prefix}-cut:before,
|
||||||
|
.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }
|
||||||
|
.@{fa-css-prefix}-copy:before,
|
||||||
|
.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }
|
||||||
|
.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }
|
||||||
|
.@{fa-css-prefix}-save:before,
|
||||||
|
.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }
|
||||||
|
.@{fa-css-prefix}-square:before { content: @fa-var-square; }
|
||||||
|
.@{fa-css-prefix}-navicon:before,
|
||||||
|
.@{fa-css-prefix}-reorder:before,
|
||||||
|
.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }
|
||||||
|
.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }
|
||||||
|
.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }
|
||||||
|
.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }
|
||||||
|
.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }
|
||||||
|
.@{fa-css-prefix}-table:before { content: @fa-var-table; }
|
||||||
|
.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }
|
||||||
|
.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }
|
||||||
|
.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }
|
||||||
|
.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }
|
||||||
|
.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }
|
||||||
|
.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }
|
||||||
|
.@{fa-css-prefix}-money:before { content: @fa-var-money; }
|
||||||
|
.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }
|
||||||
|
.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }
|
||||||
|
.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }
|
||||||
|
.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }
|
||||||
|
.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }
|
||||||
|
.@{fa-css-prefix}-unsorted:before,
|
||||||
|
.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }
|
||||||
|
.@{fa-css-prefix}-sort-down:before,
|
||||||
|
.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-up:before,
|
||||||
|
.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }
|
||||||
|
.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }
|
||||||
|
.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }
|
||||||
|
.@{fa-css-prefix}-rotate-left:before,
|
||||||
|
.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }
|
||||||
|
.@{fa-css-prefix}-legal:before,
|
||||||
|
.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }
|
||||||
|
.@{fa-css-prefix}-dashboard:before,
|
||||||
|
.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }
|
||||||
|
.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }
|
||||||
|
.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }
|
||||||
|
.@{fa-css-prefix}-flash:before,
|
||||||
|
.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }
|
||||||
|
.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }
|
||||||
|
.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }
|
||||||
|
.@{fa-css-prefix}-paste:before,
|
||||||
|
.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }
|
||||||
|
.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }
|
||||||
|
.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }
|
||||||
|
.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }
|
||||||
|
.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }
|
||||||
|
.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }
|
||||||
|
.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }
|
||||||
|
.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }
|
||||||
|
.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }
|
||||||
|
.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }
|
||||||
|
.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }
|
||||||
|
.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }
|
||||||
|
.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }
|
||||||
|
.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }
|
||||||
|
.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }
|
||||||
|
.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }
|
||||||
|
.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }
|
||||||
|
.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }
|
||||||
|
.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }
|
||||||
|
.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }
|
||||||
|
.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }
|
||||||
|
.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }
|
||||||
|
.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }
|
||||||
|
.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }
|
||||||
|
.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }
|
||||||
|
.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }
|
||||||
|
.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }
|
||||||
|
.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }
|
||||||
|
.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }
|
||||||
|
.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }
|
||||||
|
.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }
|
||||||
|
.@{fa-css-prefix}-mobile-phone:before,
|
||||||
|
.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }
|
||||||
|
.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }
|
||||||
|
.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }
|
||||||
|
.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }
|
||||||
|
.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }
|
||||||
|
.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }
|
||||||
|
.@{fa-css-prefix}-mail-reply:before,
|
||||||
|
.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }
|
||||||
|
.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }
|
||||||
|
.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }
|
||||||
|
.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }
|
||||||
|
.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }
|
||||||
|
.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }
|
||||||
|
.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }
|
||||||
|
.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }
|
||||||
|
.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }
|
||||||
|
.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }
|
||||||
|
.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }
|
||||||
|
.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }
|
||||||
|
.@{fa-css-prefix}-code:before { content: @fa-var-code; }
|
||||||
|
.@{fa-css-prefix}-mail-reply-all:before,
|
||||||
|
.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }
|
||||||
|
.@{fa-css-prefix}-star-half-empty:before,
|
||||||
|
.@{fa-css-prefix}-star-half-full:before,
|
||||||
|
.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }
|
||||||
|
.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }
|
||||||
|
.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }
|
||||||
|
.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }
|
||||||
|
.@{fa-css-prefix}-unlink:before,
|
||||||
|
.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }
|
||||||
|
.@{fa-css-prefix}-question:before { content: @fa-var-question; }
|
||||||
|
.@{fa-css-prefix}-info:before { content: @fa-var-info; }
|
||||||
|
.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }
|
||||||
|
.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }
|
||||||
|
.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }
|
||||||
|
.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }
|
||||||
|
.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }
|
||||||
|
.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }
|
||||||
|
.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }
|
||||||
|
.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }
|
||||||
|
.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }
|
||||||
|
.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }
|
||||||
|
.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }
|
||||||
|
.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }
|
||||||
|
.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }
|
||||||
|
.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }
|
||||||
|
.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }
|
||||||
|
.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }
|
||||||
|
.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }
|
||||||
|
.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }
|
||||||
|
.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }
|
||||||
|
.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }
|
||||||
|
.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }
|
||||||
|
.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }
|
||||||
|
.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }
|
||||||
|
.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }
|
||||||
|
.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }
|
||||||
|
.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }
|
||||||
|
.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }
|
||||||
|
.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }
|
||||||
|
.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }
|
||||||
|
.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }
|
||||||
|
.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }
|
||||||
|
.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }
|
||||||
|
.@{fa-css-prefix}-toggle-down:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }
|
||||||
|
.@{fa-css-prefix}-toggle-up:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }
|
||||||
|
.@{fa-css-prefix}-toggle-right:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }
|
||||||
|
.@{fa-css-prefix}-euro:before,
|
||||||
|
.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }
|
||||||
|
.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }
|
||||||
|
.@{fa-css-prefix}-dollar:before,
|
||||||
|
.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }
|
||||||
|
.@{fa-css-prefix}-rupee:before,
|
||||||
|
.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }
|
||||||
|
.@{fa-css-prefix}-cny:before,
|
||||||
|
.@{fa-css-prefix}-rmb:before,
|
||||||
|
.@{fa-css-prefix}-yen:before,
|
||||||
|
.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }
|
||||||
|
.@{fa-css-prefix}-ruble:before,
|
||||||
|
.@{fa-css-prefix}-rouble:before,
|
||||||
|
.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }
|
||||||
|
.@{fa-css-prefix}-won:before,
|
||||||
|
.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }
|
||||||
|
.@{fa-css-prefix}-bitcoin:before,
|
||||||
|
.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }
|
||||||
|
.@{fa-css-prefix}-file:before { content: @fa-var-file; }
|
||||||
|
.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }
|
||||||
|
.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
|
||||||
|
.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }
|
||||||
|
.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }
|
||||||
|
.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }
|
||||||
|
.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }
|
||||||
|
.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }
|
||||||
|
.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }
|
||||||
|
.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }
|
||||||
|
.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }
|
||||||
|
.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }
|
||||||
|
.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }
|
||||||
|
.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }
|
||||||
|
.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }
|
||||||
|
.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }
|
||||||
|
.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }
|
||||||
|
.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }
|
||||||
|
.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }
|
||||||
|
.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }
|
||||||
|
.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }
|
||||||
|
.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }
|
||||||
|
.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }
|
||||||
|
.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }
|
||||||
|
.@{fa-css-prefix}-android:before { content: @fa-var-android; }
|
||||||
|
.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }
|
||||||
|
.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }
|
||||||
|
.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }
|
||||||
|
.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }
|
||||||
|
.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }
|
||||||
|
.@{fa-css-prefix}-female:before { content: @fa-var-female; }
|
||||||
|
.@{fa-css-prefix}-male:before { content: @fa-var-male; }
|
||||||
|
.@{fa-css-prefix}-gittip:before,
|
||||||
|
.@{fa-css-prefix}-gratipay:before { content: @fa-var-gratipay; }
|
||||||
|
.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }
|
||||||
|
.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }
|
||||||
|
.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }
|
||||||
|
.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }
|
||||||
|
.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }
|
||||||
|
.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }
|
||||||
|
.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }
|
||||||
|
.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }
|
||||||
|
.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }
|
||||||
|
.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }
|
||||||
|
.@{fa-css-prefix}-toggle-left:before,
|
||||||
|
.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }
|
||||||
|
.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }
|
||||||
|
.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }
|
||||||
|
.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }
|
||||||
|
.@{fa-css-prefix}-turkish-lira:before,
|
||||||
|
.@{fa-css-prefix}-try:before { content: @fa-var-try; }
|
||||||
|
.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }
|
||||||
|
.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; }
|
||||||
|
.@{fa-css-prefix}-slack:before { content: @fa-var-slack; }
|
||||||
|
.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; }
|
||||||
|
.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; }
|
||||||
|
.@{fa-css-prefix}-openid:before { content: @fa-var-openid; }
|
||||||
|
.@{fa-css-prefix}-institution:before,
|
||||||
|
.@{fa-css-prefix}-bank:before,
|
||||||
|
.@{fa-css-prefix}-university:before { content: @fa-var-university; }
|
||||||
|
.@{fa-css-prefix}-mortar-board:before,
|
||||||
|
.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; }
|
||||||
|
.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; }
|
||||||
|
.@{fa-css-prefix}-google:before { content: @fa-var-google; }
|
||||||
|
.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; }
|
||||||
|
.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; }
|
||||||
|
.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; }
|
||||||
|
.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; }
|
||||||
|
.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; }
|
||||||
|
.@{fa-css-prefix}-digg:before { content: @fa-var-digg; }
|
||||||
|
.@{fa-css-prefix}-pied-piper-pp:before { content: @fa-var-pied-piper-pp; }
|
||||||
|
.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; }
|
||||||
|
.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; }
|
||||||
|
.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; }
|
||||||
|
.@{fa-css-prefix}-language:before { content: @fa-var-language; }
|
||||||
|
.@{fa-css-prefix}-fax:before { content: @fa-var-fax; }
|
||||||
|
.@{fa-css-prefix}-building:before { content: @fa-var-building; }
|
||||||
|
.@{fa-css-prefix}-child:before { content: @fa-var-child; }
|
||||||
|
.@{fa-css-prefix}-paw:before { content: @fa-var-paw; }
|
||||||
|
.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; }
|
||||||
|
.@{fa-css-prefix}-cube:before { content: @fa-var-cube; }
|
||||||
|
.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; }
|
||||||
|
.@{fa-css-prefix}-behance:before { content: @fa-var-behance; }
|
||||||
|
.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; }
|
||||||
|
.@{fa-css-prefix}-steam:before { content: @fa-var-steam; }
|
||||||
|
.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; }
|
||||||
|
.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; }
|
||||||
|
.@{fa-css-prefix}-automobile:before,
|
||||||
|
.@{fa-css-prefix}-car:before { content: @fa-var-car; }
|
||||||
|
.@{fa-css-prefix}-cab:before,
|
||||||
|
.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; }
|
||||||
|
.@{fa-css-prefix}-tree:before { content: @fa-var-tree; }
|
||||||
|
.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; }
|
||||||
|
.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; }
|
||||||
|
.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; }
|
||||||
|
.@{fa-css-prefix}-database:before { content: @fa-var-database; }
|
||||||
|
.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; }
|
||||||
|
.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; }
|
||||||
|
.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; }
|
||||||
|
.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; }
|
||||||
|
.@{fa-css-prefix}-file-photo-o:before,
|
||||||
|
.@{fa-css-prefix}-file-picture-o:before,
|
||||||
|
.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; }
|
||||||
|
.@{fa-css-prefix}-file-zip-o:before,
|
||||||
|
.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; }
|
||||||
|
.@{fa-css-prefix}-file-sound-o:before,
|
||||||
|
.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; }
|
||||||
|
.@{fa-css-prefix}-file-movie-o:before,
|
||||||
|
.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; }
|
||||||
|
.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; }
|
||||||
|
.@{fa-css-prefix}-vine:before { content: @fa-var-vine; }
|
||||||
|
.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; }
|
||||||
|
.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; }
|
||||||
|
.@{fa-css-prefix}-life-bouy:before,
|
||||||
|
.@{fa-css-prefix}-life-buoy:before,
|
||||||
|
.@{fa-css-prefix}-life-saver:before,
|
||||||
|
.@{fa-css-prefix}-support:before,
|
||||||
|
.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; }
|
||||||
|
.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; }
|
||||||
|
.@{fa-css-prefix}-ra:before,
|
||||||
|
.@{fa-css-prefix}-resistance:before,
|
||||||
|
.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; }
|
||||||
|
.@{fa-css-prefix}-ge:before,
|
||||||
|
.@{fa-css-prefix}-empire:before { content: @fa-var-empire; }
|
||||||
|
.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; }
|
||||||
|
.@{fa-css-prefix}-git:before { content: @fa-var-git; }
|
||||||
|
.@{fa-css-prefix}-y-combinator-square:before,
|
||||||
|
.@{fa-css-prefix}-yc-square:before,
|
||||||
|
.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; }
|
||||||
|
.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; }
|
||||||
|
.@{fa-css-prefix}-qq:before { content: @fa-var-qq; }
|
||||||
|
.@{fa-css-prefix}-wechat:before,
|
||||||
|
.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; }
|
||||||
|
.@{fa-css-prefix}-send:before,
|
||||||
|
.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; }
|
||||||
|
.@{fa-css-prefix}-send-o:before,
|
||||||
|
.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; }
|
||||||
|
.@{fa-css-prefix}-history:before { content: @fa-var-history; }
|
||||||
|
.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; }
|
||||||
|
.@{fa-css-prefix}-header:before { content: @fa-var-header; }
|
||||||
|
.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; }
|
||||||
|
.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; }
|
||||||
|
.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; }
|
||||||
|
.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; }
|
||||||
|
.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; }
|
||||||
|
.@{fa-css-prefix}-soccer-ball-o:before,
|
||||||
|
.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; }
|
||||||
|
.@{fa-css-prefix}-tty:before { content: @fa-var-tty; }
|
||||||
|
.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; }
|
||||||
|
.@{fa-css-prefix}-plug:before { content: @fa-var-plug; }
|
||||||
|
.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; }
|
||||||
|
.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; }
|
||||||
|
.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; }
|
||||||
|
.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; }
|
||||||
|
.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; }
|
||||||
|
.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; }
|
||||||
|
.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; }
|
||||||
|
.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; }
|
||||||
|
.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; }
|
||||||
|
.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; }
|
||||||
|
.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; }
|
||||||
|
.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; }
|
||||||
|
.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; }
|
||||||
|
.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; }
|
||||||
|
.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; }
|
||||||
|
.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; }
|
||||||
|
.@{fa-css-prefix}-trash:before { content: @fa-var-trash; }
|
||||||
|
.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; }
|
||||||
|
.@{fa-css-prefix}-at:before { content: @fa-var-at; }
|
||||||
|
.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; }
|
||||||
|
.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; }
|
||||||
|
.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; }
|
||||||
|
.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; }
|
||||||
|
.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; }
|
||||||
|
.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; }
|
||||||
|
.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; }
|
||||||
|
.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; }
|
||||||
|
.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; }
|
||||||
|
.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; }
|
||||||
|
.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; }
|
||||||
|
.@{fa-css-prefix}-bus:before { content: @fa-var-bus; }
|
||||||
|
.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; }
|
||||||
|
.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; }
|
||||||
|
.@{fa-css-prefix}-cc:before { content: @fa-var-cc; }
|
||||||
|
.@{fa-css-prefix}-shekel:before,
|
||||||
|
.@{fa-css-prefix}-sheqel:before,
|
||||||
|
.@{fa-css-prefix}-ils:before { content: @fa-var-ils; }
|
||||||
|
.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; }
|
||||||
|
.@{fa-css-prefix}-buysellads:before { content: @fa-var-buysellads; }
|
||||||
|
.@{fa-css-prefix}-connectdevelop:before { content: @fa-var-connectdevelop; }
|
||||||
|
.@{fa-css-prefix}-dashcube:before { content: @fa-var-dashcube; }
|
||||||
|
.@{fa-css-prefix}-forumbee:before { content: @fa-var-forumbee; }
|
||||||
|
.@{fa-css-prefix}-leanpub:before { content: @fa-var-leanpub; }
|
||||||
|
.@{fa-css-prefix}-sellsy:before { content: @fa-var-sellsy; }
|
||||||
|
.@{fa-css-prefix}-shirtsinbulk:before { content: @fa-var-shirtsinbulk; }
|
||||||
|
.@{fa-css-prefix}-simplybuilt:before { content: @fa-var-simplybuilt; }
|
||||||
|
.@{fa-css-prefix}-skyatlas:before { content: @fa-var-skyatlas; }
|
||||||
|
.@{fa-css-prefix}-cart-plus:before { content: @fa-var-cart-plus; }
|
||||||
|
.@{fa-css-prefix}-cart-arrow-down:before { content: @fa-var-cart-arrow-down; }
|
||||||
|
.@{fa-css-prefix}-diamond:before { content: @fa-var-diamond; }
|
||||||
|
.@{fa-css-prefix}-ship:before { content: @fa-var-ship; }
|
||||||
|
.@{fa-css-prefix}-user-secret:before { content: @fa-var-user-secret; }
|
||||||
|
.@{fa-css-prefix}-motorcycle:before { content: @fa-var-motorcycle; }
|
||||||
|
.@{fa-css-prefix}-street-view:before { content: @fa-var-street-view; }
|
||||||
|
.@{fa-css-prefix}-heartbeat:before { content: @fa-var-heartbeat; }
|
||||||
|
.@{fa-css-prefix}-venus:before { content: @fa-var-venus; }
|
||||||
|
.@{fa-css-prefix}-mars:before { content: @fa-var-mars; }
|
||||||
|
.@{fa-css-prefix}-mercury:before { content: @fa-var-mercury; }
|
||||||
|
.@{fa-css-prefix}-intersex:before,
|
||||||
|
.@{fa-css-prefix}-transgender:before { content: @fa-var-transgender; }
|
||||||
|
.@{fa-css-prefix}-transgender-alt:before { content: @fa-var-transgender-alt; }
|
||||||
|
.@{fa-css-prefix}-venus-double:before { content: @fa-var-venus-double; }
|
||||||
|
.@{fa-css-prefix}-mars-double:before { content: @fa-var-mars-double; }
|
||||||
|
.@{fa-css-prefix}-venus-mars:before { content: @fa-var-venus-mars; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke:before { content: @fa-var-mars-stroke; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke-v:before { content: @fa-var-mars-stroke-v; }
|
||||||
|
.@{fa-css-prefix}-mars-stroke-h:before { content: @fa-var-mars-stroke-h; }
|
||||||
|
.@{fa-css-prefix}-neuter:before { content: @fa-var-neuter; }
|
||||||
|
.@{fa-css-prefix}-genderless:before { content: @fa-var-genderless; }
|
||||||
|
.@{fa-css-prefix}-facebook-official:before { content: @fa-var-facebook-official; }
|
||||||
|
.@{fa-css-prefix}-pinterest-p:before { content: @fa-var-pinterest-p; }
|
||||||
|
.@{fa-css-prefix}-whatsapp:before { content: @fa-var-whatsapp; }
|
||||||
|
.@{fa-css-prefix}-server:before { content: @fa-var-server; }
|
||||||
|
.@{fa-css-prefix}-user-plus:before { content: @fa-var-user-plus; }
|
||||||
|
.@{fa-css-prefix}-user-times:before { content: @fa-var-user-times; }
|
||||||
|
.@{fa-css-prefix}-hotel:before,
|
||||||
|
.@{fa-css-prefix}-bed:before { content: @fa-var-bed; }
|
||||||
|
.@{fa-css-prefix}-viacoin:before { content: @fa-var-viacoin; }
|
||||||
|
.@{fa-css-prefix}-train:before { content: @fa-var-train; }
|
||||||
|
.@{fa-css-prefix}-subway:before { content: @fa-var-subway; }
|
||||||
|
.@{fa-css-prefix}-medium:before { content: @fa-var-medium; }
|
||||||
|
.@{fa-css-prefix}-yc:before,
|
||||||
|
.@{fa-css-prefix}-y-combinator:before { content: @fa-var-y-combinator; }
|
||||||
|
.@{fa-css-prefix}-optin-monster:before { content: @fa-var-optin-monster; }
|
||||||
|
.@{fa-css-prefix}-opencart:before { content: @fa-var-opencart; }
|
||||||
|
.@{fa-css-prefix}-expeditedssl:before { content: @fa-var-expeditedssl; }
|
||||||
|
.@{fa-css-prefix}-battery-4:before,
|
||||||
|
.@{fa-css-prefix}-battery:before,
|
||||||
|
.@{fa-css-prefix}-battery-full:before { content: @fa-var-battery-full; }
|
||||||
|
.@{fa-css-prefix}-battery-3:before,
|
||||||
|
.@{fa-css-prefix}-battery-three-quarters:before { content: @fa-var-battery-three-quarters; }
|
||||||
|
.@{fa-css-prefix}-battery-2:before,
|
||||||
|
.@{fa-css-prefix}-battery-half:before { content: @fa-var-battery-half; }
|
||||||
|
.@{fa-css-prefix}-battery-1:before,
|
||||||
|
.@{fa-css-prefix}-battery-quarter:before { content: @fa-var-battery-quarter; }
|
||||||
|
.@{fa-css-prefix}-battery-0:before,
|
||||||
|
.@{fa-css-prefix}-battery-empty:before { content: @fa-var-battery-empty; }
|
||||||
|
.@{fa-css-prefix}-mouse-pointer:before { content: @fa-var-mouse-pointer; }
|
||||||
|
.@{fa-css-prefix}-i-cursor:before { content: @fa-var-i-cursor; }
|
||||||
|
.@{fa-css-prefix}-object-group:before { content: @fa-var-object-group; }
|
||||||
|
.@{fa-css-prefix}-object-ungroup:before { content: @fa-var-object-ungroup; }
|
||||||
|
.@{fa-css-prefix}-sticky-note:before { content: @fa-var-sticky-note; }
|
||||||
|
.@{fa-css-prefix}-sticky-note-o:before { content: @fa-var-sticky-note-o; }
|
||||||
|
.@{fa-css-prefix}-cc-jcb:before { content: @fa-var-cc-jcb; }
|
||||||
|
.@{fa-css-prefix}-cc-diners-club:before { content: @fa-var-cc-diners-club; }
|
||||||
|
.@{fa-css-prefix}-clone:before { content: @fa-var-clone; }
|
||||||
|
.@{fa-css-prefix}-balance-scale:before { content: @fa-var-balance-scale; }
|
||||||
|
.@{fa-css-prefix}-hourglass-o:before { content: @fa-var-hourglass-o; }
|
||||||
|
.@{fa-css-prefix}-hourglass-1:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-start:before { content: @fa-var-hourglass-start; }
|
||||||
|
.@{fa-css-prefix}-hourglass-2:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-half:before { content: @fa-var-hourglass-half; }
|
||||||
|
.@{fa-css-prefix}-hourglass-3:before,
|
||||||
|
.@{fa-css-prefix}-hourglass-end:before { content: @fa-var-hourglass-end; }
|
||||||
|
.@{fa-css-prefix}-hourglass:before { content: @fa-var-hourglass; }
|
||||||
|
.@{fa-css-prefix}-hand-grab-o:before,
|
||||||
|
.@{fa-css-prefix}-hand-rock-o:before { content: @fa-var-hand-rock-o; }
|
||||||
|
.@{fa-css-prefix}-hand-stop-o:before,
|
||||||
|
.@{fa-css-prefix}-hand-paper-o:before { content: @fa-var-hand-paper-o; }
|
||||||
|
.@{fa-css-prefix}-hand-scissors-o:before { content: @fa-var-hand-scissors-o; }
|
||||||
|
.@{fa-css-prefix}-hand-lizard-o:before { content: @fa-var-hand-lizard-o; }
|
||||||
|
.@{fa-css-prefix}-hand-spock-o:before { content: @fa-var-hand-spock-o; }
|
||||||
|
.@{fa-css-prefix}-hand-pointer-o:before { content: @fa-var-hand-pointer-o; }
|
||||||
|
.@{fa-css-prefix}-hand-peace-o:before { content: @fa-var-hand-peace-o; }
|
||||||
|
.@{fa-css-prefix}-trademark:before { content: @fa-var-trademark; }
|
||||||
|
.@{fa-css-prefix}-registered:before { content: @fa-var-registered; }
|
||||||
|
.@{fa-css-prefix}-creative-commons:before { content: @fa-var-creative-commons; }
|
||||||
|
.@{fa-css-prefix}-gg:before { content: @fa-var-gg; }
|
||||||
|
.@{fa-css-prefix}-gg-circle:before { content: @fa-var-gg-circle; }
|
||||||
|
.@{fa-css-prefix}-tripadvisor:before { content: @fa-var-tripadvisor; }
|
||||||
|
.@{fa-css-prefix}-odnoklassniki:before { content: @fa-var-odnoklassniki; }
|
||||||
|
.@{fa-css-prefix}-odnoklassniki-square:before { content: @fa-var-odnoklassniki-square; }
|
||||||
|
.@{fa-css-prefix}-get-pocket:before { content: @fa-var-get-pocket; }
|
||||||
|
.@{fa-css-prefix}-wikipedia-w:before { content: @fa-var-wikipedia-w; }
|
||||||
|
.@{fa-css-prefix}-safari:before { content: @fa-var-safari; }
|
||||||
|
.@{fa-css-prefix}-chrome:before { content: @fa-var-chrome; }
|
||||||
|
.@{fa-css-prefix}-firefox:before { content: @fa-var-firefox; }
|
||||||
|
.@{fa-css-prefix}-opera:before { content: @fa-var-opera; }
|
||||||
|
.@{fa-css-prefix}-internet-explorer:before { content: @fa-var-internet-explorer; }
|
||||||
|
.@{fa-css-prefix}-tv:before,
|
||||||
|
.@{fa-css-prefix}-television:before { content: @fa-var-television; }
|
||||||
|
.@{fa-css-prefix}-contao:before { content: @fa-var-contao; }
|
||||||
|
.@{fa-css-prefix}-500px:before { content: @fa-var-500px; }
|
||||||
|
.@{fa-css-prefix}-amazon:before { content: @fa-var-amazon; }
|
||||||
|
.@{fa-css-prefix}-calendar-plus-o:before { content: @fa-var-calendar-plus-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-minus-o:before { content: @fa-var-calendar-minus-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-times-o:before { content: @fa-var-calendar-times-o; }
|
||||||
|
.@{fa-css-prefix}-calendar-check-o:before { content: @fa-var-calendar-check-o; }
|
||||||
|
.@{fa-css-prefix}-industry:before { content: @fa-var-industry; }
|
||||||
|
.@{fa-css-prefix}-map-pin:before { content: @fa-var-map-pin; }
|
||||||
|
.@{fa-css-prefix}-map-signs:before { content: @fa-var-map-signs; }
|
||||||
|
.@{fa-css-prefix}-map-o:before { content: @fa-var-map-o; }
|
||||||
|
.@{fa-css-prefix}-map:before { content: @fa-var-map; }
|
||||||
|
.@{fa-css-prefix}-commenting:before { content: @fa-var-commenting; }
|
||||||
|
.@{fa-css-prefix}-commenting-o:before { content: @fa-var-commenting-o; }
|
||||||
|
.@{fa-css-prefix}-houzz:before { content: @fa-var-houzz; }
|
||||||
|
.@{fa-css-prefix}-vimeo:before { content: @fa-var-vimeo; }
|
||||||
|
.@{fa-css-prefix}-black-tie:before { content: @fa-var-black-tie; }
|
||||||
|
.@{fa-css-prefix}-fonticons:before { content: @fa-var-fonticons; }
|
||||||
|
.@{fa-css-prefix}-reddit-alien:before { content: @fa-var-reddit-alien; }
|
||||||
|
.@{fa-css-prefix}-edge:before { content: @fa-var-edge; }
|
||||||
|
.@{fa-css-prefix}-credit-card-alt:before { content: @fa-var-credit-card-alt; }
|
||||||
|
.@{fa-css-prefix}-codiepie:before { content: @fa-var-codiepie; }
|
||||||
|
.@{fa-css-prefix}-modx:before { content: @fa-var-modx; }
|
||||||
|
.@{fa-css-prefix}-fort-awesome:before { content: @fa-var-fort-awesome; }
|
||||||
|
.@{fa-css-prefix}-usb:before { content: @fa-var-usb; }
|
||||||
|
.@{fa-css-prefix}-product-hunt:before { content: @fa-var-product-hunt; }
|
||||||
|
.@{fa-css-prefix}-mixcloud:before { content: @fa-var-mixcloud; }
|
||||||
|
.@{fa-css-prefix}-scribd:before { content: @fa-var-scribd; }
|
||||||
|
.@{fa-css-prefix}-pause-circle:before { content: @fa-var-pause-circle; }
|
||||||
|
.@{fa-css-prefix}-pause-circle-o:before { content: @fa-var-pause-circle-o; }
|
||||||
|
.@{fa-css-prefix}-stop-circle:before { content: @fa-var-stop-circle; }
|
||||||
|
.@{fa-css-prefix}-stop-circle-o:before { content: @fa-var-stop-circle-o; }
|
||||||
|
.@{fa-css-prefix}-shopping-bag:before { content: @fa-var-shopping-bag; }
|
||||||
|
.@{fa-css-prefix}-shopping-basket:before { content: @fa-var-shopping-basket; }
|
||||||
|
.@{fa-css-prefix}-hashtag:before { content: @fa-var-hashtag; }
|
||||||
|
.@{fa-css-prefix}-bluetooth:before { content: @fa-var-bluetooth; }
|
||||||
|
.@{fa-css-prefix}-bluetooth-b:before { content: @fa-var-bluetooth-b; }
|
||||||
|
.@{fa-css-prefix}-percent:before { content: @fa-var-percent; }
|
||||||
|
.@{fa-css-prefix}-gitlab:before { content: @fa-var-gitlab; }
|
||||||
|
.@{fa-css-prefix}-wpbeginner:before { content: @fa-var-wpbeginner; }
|
||||||
|
.@{fa-css-prefix}-wpforms:before { content: @fa-var-wpforms; }
|
||||||
|
.@{fa-css-prefix}-envira:before { content: @fa-var-envira; }
|
||||||
|
.@{fa-css-prefix}-universal-access:before { content: @fa-var-universal-access; }
|
||||||
|
.@{fa-css-prefix}-wheelchair-alt:before { content: @fa-var-wheelchair-alt; }
|
||||||
|
.@{fa-css-prefix}-question-circle-o:before { content: @fa-var-question-circle-o; }
|
||||||
|
.@{fa-css-prefix}-blind:before { content: @fa-var-blind; }
|
||||||
|
.@{fa-css-prefix}-audio-description:before { content: @fa-var-audio-description; }
|
||||||
|
.@{fa-css-prefix}-volume-control-phone:before { content: @fa-var-volume-control-phone; }
|
||||||
|
.@{fa-css-prefix}-braille:before { content: @fa-var-braille; }
|
||||||
|
.@{fa-css-prefix}-assistive-listening-systems:before { content: @fa-var-assistive-listening-systems; }
|
||||||
|
.@{fa-css-prefix}-asl-interpreting:before,
|
||||||
|
.@{fa-css-prefix}-american-sign-language-interpreting:before { content: @fa-var-american-sign-language-interpreting; }
|
||||||
|
.@{fa-css-prefix}-deafness:before,
|
||||||
|
.@{fa-css-prefix}-hard-of-hearing:before,
|
||||||
|
.@{fa-css-prefix}-deaf:before { content: @fa-var-deaf; }
|
||||||
|
.@{fa-css-prefix}-glide:before { content: @fa-var-glide; }
|
||||||
|
.@{fa-css-prefix}-glide-g:before { content: @fa-var-glide-g; }
|
||||||
|
.@{fa-css-prefix}-signing:before,
|
||||||
|
.@{fa-css-prefix}-sign-language:before { content: @fa-var-sign-language; }
|
||||||
|
.@{fa-css-prefix}-low-vision:before { content: @fa-var-low-vision; }
|
||||||
|
.@{fa-css-prefix}-viadeo:before { content: @fa-var-viadeo; }
|
||||||
|
.@{fa-css-prefix}-viadeo-square:before { content: @fa-var-viadeo-square; }
|
||||||
|
.@{fa-css-prefix}-snapchat:before { content: @fa-var-snapchat; }
|
||||||
|
.@{fa-css-prefix}-snapchat-ghost:before { content: @fa-var-snapchat-ghost; }
|
||||||
|
.@{fa-css-prefix}-snapchat-square:before { content: @fa-var-snapchat-square; }
|
||||||
|
.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; }
|
||||||
|
.@{fa-css-prefix}-first-order:before { content: @fa-var-first-order; }
|
||||||
|
.@{fa-css-prefix}-yoast:before { content: @fa-var-yoast; }
|
||||||
|
.@{fa-css-prefix}-themeisle:before { content: @fa-var-themeisle; }
|
||||||
|
.@{fa-css-prefix}-google-plus-circle:before,
|
||||||
|
.@{fa-css-prefix}-google-plus-official:before { content: @fa-var-google-plus-official; }
|
||||||
|
.@{fa-css-prefix}-fa:before,
|
||||||
|
.@{fa-css-prefix}-font-awesome:before { content: @fa-var-font-awesome; }
|
||||||
|
.@{fa-css-prefix}-handshake-o:before { content: @fa-var-handshake-o; }
|
||||||
|
.@{fa-css-prefix}-envelope-open:before { content: @fa-var-envelope-open; }
|
||||||
|
.@{fa-css-prefix}-envelope-open-o:before { content: @fa-var-envelope-open-o; }
|
||||||
|
.@{fa-css-prefix}-linode:before { content: @fa-var-linode; }
|
||||||
|
.@{fa-css-prefix}-address-book:before { content: @fa-var-address-book; }
|
||||||
|
.@{fa-css-prefix}-address-book-o:before { content: @fa-var-address-book-o; }
|
||||||
|
.@{fa-css-prefix}-vcard:before,
|
||||||
|
.@{fa-css-prefix}-address-card:before { content: @fa-var-address-card; }
|
||||||
|
.@{fa-css-prefix}-vcard-o:before,
|
||||||
|
.@{fa-css-prefix}-address-card-o:before { content: @fa-var-address-card-o; }
|
||||||
|
.@{fa-css-prefix}-user-circle:before { content: @fa-var-user-circle; }
|
||||||
|
.@{fa-css-prefix}-user-circle-o:before { content: @fa-var-user-circle-o; }
|
||||||
|
.@{fa-css-prefix}-user-o:before { content: @fa-var-user-o; }
|
||||||
|
.@{fa-css-prefix}-id-badge:before { content: @fa-var-id-badge; }
|
||||||
|
.@{fa-css-prefix}-drivers-license:before,
|
||||||
|
.@{fa-css-prefix}-id-card:before { content: @fa-var-id-card; }
|
||||||
|
.@{fa-css-prefix}-drivers-license-o:before,
|
||||||
|
.@{fa-css-prefix}-id-card-o:before { content: @fa-var-id-card-o; }
|
||||||
|
.@{fa-css-prefix}-quora:before { content: @fa-var-quora; }
|
||||||
|
.@{fa-css-prefix}-free-code-camp:before { content: @fa-var-free-code-camp; }
|
||||||
|
.@{fa-css-prefix}-telegram:before { content: @fa-var-telegram; }
|
||||||
|
.@{fa-css-prefix}-thermometer-4:before,
|
||||||
|
.@{fa-css-prefix}-thermometer:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-full:before { content: @fa-var-thermometer-full; }
|
||||||
|
.@{fa-css-prefix}-thermometer-3:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-three-quarters:before { content: @fa-var-thermometer-three-quarters; }
|
||||||
|
.@{fa-css-prefix}-thermometer-2:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-half:before { content: @fa-var-thermometer-half; }
|
||||||
|
.@{fa-css-prefix}-thermometer-1:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-quarter:before { content: @fa-var-thermometer-quarter; }
|
||||||
|
.@{fa-css-prefix}-thermometer-0:before,
|
||||||
|
.@{fa-css-prefix}-thermometer-empty:before { content: @fa-var-thermometer-empty; }
|
||||||
|
.@{fa-css-prefix}-shower:before { content: @fa-var-shower; }
|
||||||
|
.@{fa-css-prefix}-bathtub:before,
|
||||||
|
.@{fa-css-prefix}-s15:before,
|
||||||
|
.@{fa-css-prefix}-bath:before { content: @fa-var-bath; }
|
||||||
|
.@{fa-css-prefix}-podcast:before { content: @fa-var-podcast; }
|
||||||
|
.@{fa-css-prefix}-window-maximize:before { content: @fa-var-window-maximize; }
|
||||||
|
.@{fa-css-prefix}-window-minimize:before { content: @fa-var-window-minimize; }
|
||||||
|
.@{fa-css-prefix}-window-restore:before { content: @fa-var-window-restore; }
|
||||||
|
.@{fa-css-prefix}-times-rectangle:before,
|
||||||
|
.@{fa-css-prefix}-window-close:before { content: @fa-var-window-close; }
|
||||||
|
.@{fa-css-prefix}-times-rectangle-o:before,
|
||||||
|
.@{fa-css-prefix}-window-close-o:before { content: @fa-var-window-close-o; }
|
||||||
|
.@{fa-css-prefix}-bandcamp:before { content: @fa-var-bandcamp; }
|
||||||
|
.@{fa-css-prefix}-grav:before { content: @fa-var-grav; }
|
||||||
|
.@{fa-css-prefix}-etsy:before { content: @fa-var-etsy; }
|
||||||
|
.@{fa-css-prefix}-imdb:before { content: @fa-var-imdb; }
|
||||||
|
.@{fa-css-prefix}-ravelry:before { content: @fa-var-ravelry; }
|
||||||
|
.@{fa-css-prefix}-eercast:before { content: @fa-var-eercast; }
|
||||||
|
.@{fa-css-prefix}-microchip:before { content: @fa-var-microchip; }
|
||||||
|
.@{fa-css-prefix}-snowflake-o:before { content: @fa-var-snowflake-o; }
|
||||||
|
.@{fa-css-prefix}-superpowers:before { content: @fa-var-superpowers; }
|
||||||
|
.@{fa-css-prefix}-wpexplorer:before { content: @fa-var-wpexplorer; }
|
||||||
|
.@{fa-css-prefix}-meetup:before { content: @fa-var-meetup; }
|
13
html/vendor/font-awesome/less/larger.less
vendored
Normal file
13
html/vendor/font-awesome/less/larger.less
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Icon Sizes
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
/* makes the font 33% larger relative to the icon container */
|
||||||
|
.@{fa-css-prefix}-lg {
|
||||||
|
font-size: (4em / 3);
|
||||||
|
line-height: (3em / 4);
|
||||||
|
vertical-align: -15%;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-2x { font-size: 2em; }
|
||||||
|
.@{fa-css-prefix}-3x { font-size: 3em; }
|
||||||
|
.@{fa-css-prefix}-4x { font-size: 4em; }
|
||||||
|
.@{fa-css-prefix}-5x { font-size: 5em; }
|
19
html/vendor/font-awesome/less/list.less
vendored
Normal file
19
html/vendor/font-awesome/less/list.less
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
// List Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-ul {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-left: @fa-li-width;
|
||||||
|
list-style-type: none;
|
||||||
|
> li { position: relative; }
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-li {
|
||||||
|
position: absolute;
|
||||||
|
left: -@fa-li-width;
|
||||||
|
width: @fa-li-width;
|
||||||
|
top: (2em / 14);
|
||||||
|
text-align: center;
|
||||||
|
&.@{fa-css-prefix}-lg {
|
||||||
|
left: (-@fa-li-width + (4em / 14));
|
||||||
|
}
|
||||||
|
}
|
60
html/vendor/font-awesome/less/mixins.less
vendored
Normal file
60
html/vendor/font-awesome/less/mixins.less
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
// Mixins
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.fa-icon() {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-rotate(@degrees, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
|
||||||
|
-webkit-transform: rotate(@degrees);
|
||||||
|
-ms-transform: rotate(@degrees);
|
||||||
|
transform: rotate(@degrees);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-flip(@horiz, @vert, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
|
||||||
|
-webkit-transform: scale(@horiz, @vert);
|
||||||
|
-ms-transform: scale(@horiz, @vert);
|
||||||
|
transform: scale(@horiz, @vert);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Only display content to screen readers. A la Bootstrap 4.
|
||||||
|
//
|
||||||
|
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||||
|
|
||||||
|
.sr-only() {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||||
|
//
|
||||||
|
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||||
|
//
|
||||||
|
// Credit: HTML5 Boilerplate
|
||||||
|
|
||||||
|
.sr-only-focusable() {
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
position: static;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: visible;
|
||||||
|
clip: auto;
|
||||||
|
}
|
||||||
|
}
|
15
html/vendor/font-awesome/less/path.less
vendored
Normal file
15
html/vendor/font-awesome/less/path.less
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/* FONT PATH
|
||||||
|
* -------------------------- */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
||||||
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||||
|
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
||||||
|
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
20
html/vendor/font-awesome/less/rotated-flipped.less
vendored
Normal file
20
html/vendor/font-awesome/less/rotated-flipped.less
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Rotated & Flipped Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
|
||||||
|
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
|
||||||
|
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
|
||||||
|
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
|
||||||
|
|
||||||
|
// Hook for IE8-9
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
:root .@{fa-css-prefix}-rotate-90,
|
||||||
|
:root .@{fa-css-prefix}-rotate-180,
|
||||||
|
:root .@{fa-css-prefix}-rotate-270,
|
||||||
|
:root .@{fa-css-prefix}-flip-horizontal,
|
||||||
|
:root .@{fa-css-prefix}-flip-vertical {
|
||||||
|
filter: none;
|
||||||
|
}
|
5
html/vendor/font-awesome/less/screen-reader.less
vendored
Normal file
5
html/vendor/font-awesome/less/screen-reader.less
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// Screen Readers
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.sr-only { .sr-only(); }
|
||||||
|
.sr-only-focusable { .sr-only-focusable(); }
|
20
html/vendor/font-awesome/less/stacked.less
vendored
Normal file
20
html/vendor/font-awesome/less/stacked.less
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Stacked Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-stack {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||||
|
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||||
|
.@{fa-css-prefix}-inverse { color: @fa-inverse; }
|
800
html/vendor/font-awesome/less/variables.less
vendored
Normal file
800
html/vendor/font-awesome/less/variables.less
vendored
Normal file
@ -0,0 +1,800 @@
|
|||||||
|
// Variables
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
@fa-font-path: "../fonts";
|
||||||
|
@fa-font-size-base: 14px;
|
||||||
|
@fa-line-height-base: 1;
|
||||||
|
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"; // for referencing Bootstrap CDN font files directly
|
||||||
|
@fa-css-prefix: fa;
|
||||||
|
@fa-version: "4.7.0";
|
||||||
|
@fa-border-color: #eee;
|
||||||
|
@fa-inverse: #fff;
|
||||||
|
@fa-li-width: (30em / 14);
|
||||||
|
|
||||||
|
@fa-var-500px: "\f26e";
|
||||||
|
@fa-var-address-book: "\f2b9";
|
||||||
|
@fa-var-address-book-o: "\f2ba";
|
||||||
|
@fa-var-address-card: "\f2bb";
|
||||||
|
@fa-var-address-card-o: "\f2bc";
|
||||||
|
@fa-var-adjust: "\f042";
|
||||||
|
@fa-var-adn: "\f170";
|
||||||
|
@fa-var-align-center: "\f037";
|
||||||
|
@fa-var-align-justify: "\f039";
|
||||||
|
@fa-var-align-left: "\f036";
|
||||||
|
@fa-var-align-right: "\f038";
|
||||||
|
@fa-var-amazon: "\f270";
|
||||||
|
@fa-var-ambulance: "\f0f9";
|
||||||
|
@fa-var-american-sign-language-interpreting: "\f2a3";
|
||||||
|
@fa-var-anchor: "\f13d";
|
||||||
|
@fa-var-android: "\f17b";
|
||||||
|
@fa-var-angellist: "\f209";
|
||||||
|
@fa-var-angle-double-down: "\f103";
|
||||||
|
@fa-var-angle-double-left: "\f100";
|
||||||
|
@fa-var-angle-double-right: "\f101";
|
||||||
|
@fa-var-angle-double-up: "\f102";
|
||||||
|
@fa-var-angle-down: "\f107";
|
||||||
|
@fa-var-angle-left: "\f104";
|
||||||
|
@fa-var-angle-right: "\f105";
|
||||||
|
@fa-var-angle-up: "\f106";
|
||||||
|
@fa-var-apple: "\f179";
|
||||||
|
@fa-var-archive: "\f187";
|
||||||
|
@fa-var-area-chart: "\f1fe";
|
||||||
|
@fa-var-arrow-circle-down: "\f0ab";
|
||||||
|
@fa-var-arrow-circle-left: "\f0a8";
|
||||||
|
@fa-var-arrow-circle-o-down: "\f01a";
|
||||||
|
@fa-var-arrow-circle-o-left: "\f190";
|
||||||
|
@fa-var-arrow-circle-o-right: "\f18e";
|
||||||
|
@fa-var-arrow-circle-o-up: "\f01b";
|
||||||
|
@fa-var-arrow-circle-right: "\f0a9";
|
||||||
|
@fa-var-arrow-circle-up: "\f0aa";
|
||||||
|
@fa-var-arrow-down: "\f063";
|
||||||
|
@fa-var-arrow-left: "\f060";
|
||||||
|
@fa-var-arrow-right: "\f061";
|
||||||
|
@fa-var-arrow-up: "\f062";
|
||||||
|
@fa-var-arrows: "\f047";
|
||||||
|
@fa-var-arrows-alt: "\f0b2";
|
||||||
|
@fa-var-arrows-h: "\f07e";
|
||||||
|
@fa-var-arrows-v: "\f07d";
|
||||||
|
@fa-var-asl-interpreting: "\f2a3";
|
||||||
|
@fa-var-assistive-listening-systems: "\f2a2";
|
||||||
|
@fa-var-asterisk: "\f069";
|
||||||
|
@fa-var-at: "\f1fa";
|
||||||
|
@fa-var-audio-description: "\f29e";
|
||||||
|
@fa-var-automobile: "\f1b9";
|
||||||
|
@fa-var-backward: "\f04a";
|
||||||
|
@fa-var-balance-scale: "\f24e";
|
||||||
|
@fa-var-ban: "\f05e";
|
||||||
|
@fa-var-bandcamp: "\f2d5";
|
||||||
|
@fa-var-bank: "\f19c";
|
||||||
|
@fa-var-bar-chart: "\f080";
|
||||||
|
@fa-var-bar-chart-o: "\f080";
|
||||||
|
@fa-var-barcode: "\f02a";
|
||||||
|
@fa-var-bars: "\f0c9";
|
||||||
|
@fa-var-bath: "\f2cd";
|
||||||
|
@fa-var-bathtub: "\f2cd";
|
||||||
|
@fa-var-battery: "\f240";
|
||||||
|
@fa-var-battery-0: "\f244";
|
||||||
|
@fa-var-battery-1: "\f243";
|
||||||
|
@fa-var-battery-2: "\f242";
|
||||||
|
@fa-var-battery-3: "\f241";
|
||||||
|
@fa-var-battery-4: "\f240";
|
||||||
|
@fa-var-battery-empty: "\f244";
|
||||||
|
@fa-var-battery-full: "\f240";
|
||||||
|
@fa-var-battery-half: "\f242";
|
||||||
|
@fa-var-battery-quarter: "\f243";
|
||||||
|
@fa-var-battery-three-quarters: "\f241";
|
||||||
|
@fa-var-bed: "\f236";
|
||||||
|
@fa-var-beer: "\f0fc";
|
||||||
|
@fa-var-behance: "\f1b4";
|
||||||
|
@fa-var-behance-square: "\f1b5";
|
||||||
|
@fa-var-bell: "\f0f3";
|
||||||
|
@fa-var-bell-o: "\f0a2";
|
||||||
|
@fa-var-bell-slash: "\f1f6";
|
||||||
|
@fa-var-bell-slash-o: "\f1f7";
|
||||||
|
@fa-var-bicycle: "\f206";
|
||||||
|
@fa-var-binoculars: "\f1e5";
|
||||||
|
@fa-var-birthday-cake: "\f1fd";
|
||||||
|
@fa-var-bitbucket: "\f171";
|
||||||
|
@fa-var-bitbucket-square: "\f172";
|
||||||
|
@fa-var-bitcoin: "\f15a";
|
||||||
|
@fa-var-black-tie: "\f27e";
|
||||||
|
@fa-var-blind: "\f29d";
|
||||||
|
@fa-var-bluetooth: "\f293";
|
||||||
|
@fa-var-bluetooth-b: "\f294";
|
||||||
|
@fa-var-bold: "\f032";
|
||||||
|
@fa-var-bolt: "\f0e7";
|
||||||
|
@fa-var-bomb: "\f1e2";
|
||||||
|
@fa-var-book: "\f02d";
|
||||||
|
@fa-var-bookmark: "\f02e";
|
||||||
|
@fa-var-bookmark-o: "\f097";
|
||||||
|
@fa-var-braille: "\f2a1";
|
||||||
|
@fa-var-briefcase: "\f0b1";
|
||||||
|
@fa-var-btc: "\f15a";
|
||||||
|
@fa-var-bug: "\f188";
|
||||||
|
@fa-var-building: "\f1ad";
|
||||||
|
@fa-var-building-o: "\f0f7";
|
||||||
|
@fa-var-bullhorn: "\f0a1";
|
||||||
|
@fa-var-bullseye: "\f140";
|
||||||
|
@fa-var-bus: "\f207";
|
||||||
|
@fa-var-buysellads: "\f20d";
|
||||||
|
@fa-var-cab: "\f1ba";
|
||||||
|
@fa-var-calculator: "\f1ec";
|
||||||
|
@fa-var-calendar: "\f073";
|
||||||
|
@fa-var-calendar-check-o: "\f274";
|
||||||
|
@fa-var-calendar-minus-o: "\f272";
|
||||||
|
@fa-var-calendar-o: "\f133";
|
||||||
|
@fa-var-calendar-plus-o: "\f271";
|
||||||
|
@fa-var-calendar-times-o: "\f273";
|
||||||
|
@fa-var-camera: "\f030";
|
||||||
|
@fa-var-camera-retro: "\f083";
|
||||||
|
@fa-var-car: "\f1b9";
|
||||||
|
@fa-var-caret-down: "\f0d7";
|
||||||
|
@fa-var-caret-left: "\f0d9";
|
||||||
|
@fa-var-caret-right: "\f0da";
|
||||||
|
@fa-var-caret-square-o-down: "\f150";
|
||||||
|
@fa-var-caret-square-o-left: "\f191";
|
||||||
|
@fa-var-caret-square-o-right: "\f152";
|
||||||
|
@fa-var-caret-square-o-up: "\f151";
|
||||||
|
@fa-var-caret-up: "\f0d8";
|
||||||
|
@fa-var-cart-arrow-down: "\f218";
|
||||||
|
@fa-var-cart-plus: "\f217";
|
||||||
|
@fa-var-cc: "\f20a";
|
||||||
|
@fa-var-cc-amex: "\f1f3";
|
||||||
|
@fa-var-cc-diners-club: "\f24c";
|
||||||
|
@fa-var-cc-discover: "\f1f2";
|
||||||
|
@fa-var-cc-jcb: "\f24b";
|
||||||
|
@fa-var-cc-mastercard: "\f1f1";
|
||||||
|
@fa-var-cc-paypal: "\f1f4";
|
||||||
|
@fa-var-cc-stripe: "\f1f5";
|
||||||
|
@fa-var-cc-visa: "\f1f0";
|
||||||
|
@fa-var-certificate: "\f0a3";
|
||||||
|
@fa-var-chain: "\f0c1";
|
||||||
|
@fa-var-chain-broken: "\f127";
|
||||||
|
@fa-var-check: "\f00c";
|
||||||
|
@fa-var-check-circle: "\f058";
|
||||||
|
@fa-var-check-circle-o: "\f05d";
|
||||||
|
@fa-var-check-square: "\f14a";
|
||||||
|
@fa-var-check-square-o: "\f046";
|
||||||
|
@fa-var-chevron-circle-down: "\f13a";
|
||||||
|
@fa-var-chevron-circle-left: "\f137";
|
||||||
|
@fa-var-chevron-circle-right: "\f138";
|
||||||
|
@fa-var-chevron-circle-up: "\f139";
|
||||||
|
@fa-var-chevron-down: "\f078";
|
||||||
|
@fa-var-chevron-left: "\f053";
|
||||||
|
@fa-var-chevron-right: "\f054";
|
||||||
|
@fa-var-chevron-up: "\f077";
|
||||||
|
@fa-var-child: "\f1ae";
|
||||||
|
@fa-var-chrome: "\f268";
|
||||||
|
@fa-var-circle: "\f111";
|
||||||
|
@fa-var-circle-o: "\f10c";
|
||||||
|
@fa-var-circle-o-notch: "\f1ce";
|
||||||
|
@fa-var-circle-thin: "\f1db";
|
||||||
|
@fa-var-clipboard: "\f0ea";
|
||||||
|
@fa-var-clock-o: "\f017";
|
||||||
|
@fa-var-clone: "\f24d";
|
||||||
|
@fa-var-close: "\f00d";
|
||||||
|
@fa-var-cloud: "\f0c2";
|
||||||
|
@fa-var-cloud-download: "\f0ed";
|
||||||
|
@fa-var-cloud-upload: "\f0ee";
|
||||||
|
@fa-var-cny: "\f157";
|
||||||
|
@fa-var-code: "\f121";
|
||||||
|
@fa-var-code-fork: "\f126";
|
||||||
|
@fa-var-codepen: "\f1cb";
|
||||||
|
@fa-var-codiepie: "\f284";
|
||||||
|
@fa-var-coffee: "\f0f4";
|
||||||
|
@fa-var-cog: "\f013";
|
||||||
|
@fa-var-cogs: "\f085";
|
||||||
|
@fa-var-columns: "\f0db";
|
||||||
|
@fa-var-comment: "\f075";
|
||||||
|
@fa-var-comment-o: "\f0e5";
|
||||||
|
@fa-var-commenting: "\f27a";
|
||||||
|
@fa-var-commenting-o: "\f27b";
|
||||||
|
@fa-var-comments: "\f086";
|
||||||
|
@fa-var-comments-o: "\f0e6";
|
||||||
|
@fa-var-compass: "\f14e";
|
||||||
|
@fa-var-compress: "\f066";
|
||||||
|
@fa-var-connectdevelop: "\f20e";
|
||||||
|
@fa-var-contao: "\f26d";
|
||||||
|
@fa-var-copy: "\f0c5";
|
||||||
|
@fa-var-copyright: "\f1f9";
|
||||||
|
@fa-var-creative-commons: "\f25e";
|
||||||
|
@fa-var-credit-card: "\f09d";
|
||||||
|
@fa-var-credit-card-alt: "\f283";
|
||||||
|
@fa-var-crop: "\f125";
|
||||||
|
@fa-var-crosshairs: "\f05b";
|
||||||
|
@fa-var-css3: "\f13c";
|
||||||
|
@fa-var-cube: "\f1b2";
|
||||||
|
@fa-var-cubes: "\f1b3";
|
||||||
|
@fa-var-cut: "\f0c4";
|
||||||
|
@fa-var-cutlery: "\f0f5";
|
||||||
|
@fa-var-dashboard: "\f0e4";
|
||||||
|
@fa-var-dashcube: "\f210";
|
||||||
|
@fa-var-database: "\f1c0";
|
||||||
|
@fa-var-deaf: "\f2a4";
|
||||||
|
@fa-var-deafness: "\f2a4";
|
||||||
|
@fa-var-dedent: "\f03b";
|
||||||
|
@fa-var-delicious: "\f1a5";
|
||||||
|
@fa-var-desktop: "\f108";
|
||||||
|
@fa-var-deviantart: "\f1bd";
|
||||||
|
@fa-var-diamond: "\f219";
|
||||||
|
@fa-var-digg: "\f1a6";
|
||||||
|
@fa-var-dollar: "\f155";
|
||||||
|
@fa-var-dot-circle-o: "\f192";
|
||||||
|
@fa-var-download: "\f019";
|
||||||
|
@fa-var-dribbble: "\f17d";
|
||||||
|
@fa-var-drivers-license: "\f2c2";
|
||||||
|
@fa-var-drivers-license-o: "\f2c3";
|
||||||
|
@fa-var-dropbox: "\f16b";
|
||||||
|
@fa-var-drupal: "\f1a9";
|
||||||
|
@fa-var-edge: "\f282";
|
||||||
|
@fa-var-edit: "\f044";
|
||||||
|
@fa-var-eercast: "\f2da";
|
||||||
|
@fa-var-eject: "\f052";
|
||||||
|
@fa-var-ellipsis-h: "\f141";
|
||||||
|
@fa-var-ellipsis-v: "\f142";
|
||||||
|
@fa-var-empire: "\f1d1";
|
||||||
|
@fa-var-envelope: "\f0e0";
|
||||||
|
@fa-var-envelope-o: "\f003";
|
||||||
|
@fa-var-envelope-open: "\f2b6";
|
||||||
|
@fa-var-envelope-open-o: "\f2b7";
|
||||||
|
@fa-var-envelope-square: "\f199";
|
||||||
|
@fa-var-envira: "\f299";
|
||||||
|
@fa-var-eraser: "\f12d";
|
||||||
|
@fa-var-etsy: "\f2d7";
|
||||||
|
@fa-var-eur: "\f153";
|
||||||
|
@fa-var-euro: "\f153";
|
||||||
|
@fa-var-exchange: "\f0ec";
|
||||||
|
@fa-var-exclamation: "\f12a";
|
||||||
|
@fa-var-exclamation-circle: "\f06a";
|
||||||
|
@fa-var-exclamation-triangle: "\f071";
|
||||||
|
@fa-var-expand: "\f065";
|
||||||
|
@fa-var-expeditedssl: "\f23e";
|
||||||
|
@fa-var-external-link: "\f08e";
|
||||||
|
@fa-var-external-link-square: "\f14c";
|
||||||
|
@fa-var-eye: "\f06e";
|
||||||
|
@fa-var-eye-slash: "\f070";
|
||||||
|
@fa-var-eyedropper: "\f1fb";
|
||||||
|
@fa-var-fa: "\f2b4";
|
||||||
|
@fa-var-facebook: "\f09a";
|
||||||
|
@fa-var-facebook-f: "\f09a";
|
||||||
|
@fa-var-facebook-official: "\f230";
|
||||||
|
@fa-var-facebook-square: "\f082";
|
||||||
|
@fa-var-fast-backward: "\f049";
|
||||||
|
@fa-var-fast-forward: "\f050";
|
||||||
|
@fa-var-fax: "\f1ac";
|
||||||
|
@fa-var-feed: "\f09e";
|
||||||
|
@fa-var-female: "\f182";
|
||||||
|
@fa-var-fighter-jet: "\f0fb";
|
||||||
|
@fa-var-file: "\f15b";
|
||||||
|
@fa-var-file-archive-o: "\f1c6";
|
||||||
|
@fa-var-file-audio-o: "\f1c7";
|
||||||
|
@fa-var-file-code-o: "\f1c9";
|
||||||
|
@fa-var-file-excel-o: "\f1c3";
|
||||||
|
@fa-var-file-image-o: "\f1c5";
|
||||||
|
@fa-var-file-movie-o: "\f1c8";
|
||||||
|
@fa-var-file-o: "\f016";
|
||||||
|
@fa-var-file-pdf-o: "\f1c1";
|
||||||
|
@fa-var-file-photo-o: "\f1c5";
|
||||||
|
@fa-var-file-picture-o: "\f1c5";
|
||||||
|
@fa-var-file-powerpoint-o: "\f1c4";
|
||||||
|
@fa-var-file-sound-o: "\f1c7";
|
||||||
|
@fa-var-file-text: "\f15c";
|
||||||
|
@fa-var-file-text-o: "\f0f6";
|
||||||
|
@fa-var-file-video-o: "\f1c8";
|
||||||
|
@fa-var-file-word-o: "\f1c2";
|
||||||
|
@fa-var-file-zip-o: "\f1c6";
|
||||||
|
@fa-var-files-o: "\f0c5";
|
||||||
|
@fa-var-film: "\f008";
|
||||||
|
@fa-var-filter: "\f0b0";
|
||||||
|
@fa-var-fire: "\f06d";
|
||||||
|
@fa-var-fire-extinguisher: "\f134";
|
||||||
|
@fa-var-firefox: "\f269";
|
||||||
|
@fa-var-first-order: "\f2b0";
|
||||||
|
@fa-var-flag: "\f024";
|
||||||
|
@fa-var-flag-checkered: "\f11e";
|
||||||
|
@fa-var-flag-o: "\f11d";
|
||||||
|
@fa-var-flash: "\f0e7";
|
||||||
|
@fa-var-flask: "\f0c3";
|
||||||
|
@fa-var-flickr: "\f16e";
|
||||||
|
@fa-var-floppy-o: "\f0c7";
|
||||||
|
@fa-var-folder: "\f07b";
|
||||||
|
@fa-var-folder-o: "\f114";
|
||||||
|
@fa-var-folder-open: "\f07c";
|
||||||
|
@fa-var-folder-open-o: "\f115";
|
||||||
|
@fa-var-font: "\f031";
|
||||||
|
@fa-var-font-awesome: "\f2b4";
|
||||||
|
@fa-var-fonticons: "\f280";
|
||||||
|
@fa-var-fort-awesome: "\f286";
|
||||||
|
@fa-var-forumbee: "\f211";
|
||||||
|
@fa-var-forward: "\f04e";
|
||||||
|
@fa-var-foursquare: "\f180";
|
||||||
|
@fa-var-free-code-camp: "\f2c5";
|
||||||
|
@fa-var-frown-o: "\f119";
|
||||||
|
@fa-var-futbol-o: "\f1e3";
|
||||||
|
@fa-var-gamepad: "\f11b";
|
||||||
|
@fa-var-gavel: "\f0e3";
|
||||||
|
@fa-var-gbp: "\f154";
|
||||||
|
@fa-var-ge: "\f1d1";
|
||||||
|
@fa-var-gear: "\f013";
|
||||||
|
@fa-var-gears: "\f085";
|
||||||
|
@fa-var-genderless: "\f22d";
|
||||||
|
@fa-var-get-pocket: "\f265";
|
||||||
|
@fa-var-gg: "\f260";
|
||||||
|
@fa-var-gg-circle: "\f261";
|
||||||
|
@fa-var-gift: "\f06b";
|
||||||
|
@fa-var-git: "\f1d3";
|
||||||
|
@fa-var-git-square: "\f1d2";
|
||||||
|
@fa-var-github: "\f09b";
|
||||||
|
@fa-var-github-alt: "\f113";
|
||||||
|
@fa-var-github-square: "\f092";
|
||||||
|
@fa-var-gitlab: "\f296";
|
||||||
|
@fa-var-gittip: "\f184";
|
||||||
|
@fa-var-glass: "\f000";
|
||||||
|
@fa-var-glide: "\f2a5";
|
||||||
|
@fa-var-glide-g: "\f2a6";
|
||||||
|
@fa-var-globe: "\f0ac";
|
||||||
|
@fa-var-google: "\f1a0";
|
||||||
|
@fa-var-google-plus: "\f0d5";
|
||||||
|
@fa-var-google-plus-circle: "\f2b3";
|
||||||
|
@fa-var-google-plus-official: "\f2b3";
|
||||||
|
@fa-var-google-plus-square: "\f0d4";
|
||||||
|
@fa-var-google-wallet: "\f1ee";
|
||||||
|
@fa-var-graduation-cap: "\f19d";
|
||||||
|
@fa-var-gratipay: "\f184";
|
||||||
|
@fa-var-grav: "\f2d6";
|
||||||
|
@fa-var-group: "\f0c0";
|
||||||
|
@fa-var-h-square: "\f0fd";
|
||||||
|
@fa-var-hacker-news: "\f1d4";
|
||||||
|
@fa-var-hand-grab-o: "\f255";
|
||||||
|
@fa-var-hand-lizard-o: "\f258";
|
||||||
|
@fa-var-hand-o-down: "\f0a7";
|
||||||
|
@fa-var-hand-o-left: "\f0a5";
|
||||||
|
@fa-var-hand-o-right: "\f0a4";
|
||||||
|
@fa-var-hand-o-up: "\f0a6";
|
||||||
|
@fa-var-hand-paper-o: "\f256";
|
||||||
|
@fa-var-hand-peace-o: "\f25b";
|
||||||
|
@fa-var-hand-pointer-o: "\f25a";
|
||||||
|
@fa-var-hand-rock-o: "\f255";
|
||||||
|
@fa-var-hand-scissors-o: "\f257";
|
||||||
|
@fa-var-hand-spock-o: "\f259";
|
||||||
|
@fa-var-hand-stop-o: "\f256";
|
||||||
|
@fa-var-handshake-o: "\f2b5";
|
||||||
|
@fa-var-hard-of-hearing: "\f2a4";
|
||||||
|
@fa-var-hashtag: "\f292";
|
||||||
|
@fa-var-hdd-o: "\f0a0";
|
||||||
|
@fa-var-header: "\f1dc";
|
||||||
|
@fa-var-headphones: "\f025";
|
||||||
|
@fa-var-heart: "\f004";
|
||||||
|
@fa-var-heart-o: "\f08a";
|
||||||
|
@fa-var-heartbeat: "\f21e";
|
||||||
|
@fa-var-history: "\f1da";
|
||||||
|
@fa-var-home: "\f015";
|
||||||
|
@fa-var-hospital-o: "\f0f8";
|
||||||
|
@fa-var-hotel: "\f236";
|
||||||
|
@fa-var-hourglass: "\f254";
|
||||||
|
@fa-var-hourglass-1: "\f251";
|
||||||
|
@fa-var-hourglass-2: "\f252";
|
||||||
|
@fa-var-hourglass-3: "\f253";
|
||||||
|
@fa-var-hourglass-end: "\f253";
|
||||||
|
@fa-var-hourglass-half: "\f252";
|
||||||
|
@fa-var-hourglass-o: "\f250";
|
||||||
|
@fa-var-hourglass-start: "\f251";
|
||||||
|
@fa-var-houzz: "\f27c";
|
||||||
|
@fa-var-html5: "\f13b";
|
||||||
|
@fa-var-i-cursor: "\f246";
|
||||||
|
@fa-var-id-badge: "\f2c1";
|
||||||
|
@fa-var-id-card: "\f2c2";
|
||||||
|
@fa-var-id-card-o: "\f2c3";
|
||||||
|
@fa-var-ils: "\f20b";
|
||||||
|
@fa-var-image: "\f03e";
|
||||||
|
@fa-var-imdb: "\f2d8";
|
||||||
|
@fa-var-inbox: "\f01c";
|
||||||
|
@fa-var-indent: "\f03c";
|
||||||
|
@fa-var-industry: "\f275";
|
||||||
|
@fa-var-info: "\f129";
|
||||||
|
@fa-var-info-circle: "\f05a";
|
||||||
|
@fa-var-inr: "\f156";
|
||||||
|
@fa-var-instagram: "\f16d";
|
||||||
|
@fa-var-institution: "\f19c";
|
||||||
|
@fa-var-internet-explorer: "\f26b";
|
||||||
|
@fa-var-intersex: "\f224";
|
||||||
|
@fa-var-ioxhost: "\f208";
|
||||||
|
@fa-var-italic: "\f033";
|
||||||
|
@fa-var-joomla: "\f1aa";
|
||||||
|
@fa-var-jpy: "\f157";
|
||||||
|
@fa-var-jsfiddle: "\f1cc";
|
||||||
|
@fa-var-key: "\f084";
|
||||||
|
@fa-var-keyboard-o: "\f11c";
|
||||||
|
@fa-var-krw: "\f159";
|
||||||
|
@fa-var-language: "\f1ab";
|
||||||
|
@fa-var-laptop: "\f109";
|
||||||
|
@fa-var-lastfm: "\f202";
|
||||||
|
@fa-var-lastfm-square: "\f203";
|
||||||
|
@fa-var-leaf: "\f06c";
|
||||||
|
@fa-var-leanpub: "\f212";
|
||||||
|
@fa-var-legal: "\f0e3";
|
||||||
|
@fa-var-lemon-o: "\f094";
|
||||||
|
@fa-var-level-down: "\f149";
|
||||||
|
@fa-var-level-up: "\f148";
|
||||||
|
@fa-var-life-bouy: "\f1cd";
|
||||||
|
@fa-var-life-buoy: "\f1cd";
|
||||||
|
@fa-var-life-ring: "\f1cd";
|
||||||
|
@fa-var-life-saver: "\f1cd";
|
||||||
|
@fa-var-lightbulb-o: "\f0eb";
|
||||||
|
@fa-var-line-chart: "\f201";
|
||||||
|
@fa-var-link: "\f0c1";
|
||||||
|
@fa-var-linkedin: "\f0e1";
|
||||||
|
@fa-var-linkedin-square: "\f08c";
|
||||||
|
@fa-var-linode: "\f2b8";
|
||||||
|
@fa-var-linux: "\f17c";
|
||||||
|
@fa-var-list: "\f03a";
|
||||||
|
@fa-var-list-alt: "\f022";
|
||||||
|
@fa-var-list-ol: "\f0cb";
|
||||||
|
@fa-var-list-ul: "\f0ca";
|
||||||
|
@fa-var-location-arrow: "\f124";
|
||||||
|
@fa-var-lock: "\f023";
|
||||||
|
@fa-var-long-arrow-down: "\f175";
|
||||||
|
@fa-var-long-arrow-left: "\f177";
|
||||||
|
@fa-var-long-arrow-right: "\f178";
|
||||||
|
@fa-var-long-arrow-up: "\f176";
|
||||||
|
@fa-var-low-vision: "\f2a8";
|
||||||
|
@fa-var-magic: "\f0d0";
|
||||||
|
@fa-var-magnet: "\f076";
|
||||||
|
@fa-var-mail-forward: "\f064";
|
||||||
|
@fa-var-mail-reply: "\f112";
|
||||||
|
@fa-var-mail-reply-all: "\f122";
|
||||||
|
@fa-var-male: "\f183";
|
||||||
|
@fa-var-map: "\f279";
|
||||||
|
@fa-var-map-marker: "\f041";
|
||||||
|
@fa-var-map-o: "\f278";
|
||||||
|
@fa-var-map-pin: "\f276";
|
||||||
|
@fa-var-map-signs: "\f277";
|
||||||
|
@fa-var-mars: "\f222";
|
||||||
|
@fa-var-mars-double: "\f227";
|
||||||
|
@fa-var-mars-stroke: "\f229";
|
||||||
|
@fa-var-mars-stroke-h: "\f22b";
|
||||||
|
@fa-var-mars-stroke-v: "\f22a";
|
||||||
|
@fa-var-maxcdn: "\f136";
|
||||||
|
@fa-var-meanpath: "\f20c";
|
||||||
|
@fa-var-medium: "\f23a";
|
||||||
|
@fa-var-medkit: "\f0fa";
|
||||||
|
@fa-var-meetup: "\f2e0";
|
||||||
|
@fa-var-meh-o: "\f11a";
|
||||||
|
@fa-var-mercury: "\f223";
|
||||||
|
@fa-var-microchip: "\f2db";
|
||||||
|
@fa-var-microphone: "\f130";
|
||||||
|
@fa-var-microphone-slash: "\f131";
|
||||||
|
@fa-var-minus: "\f068";
|
||||||
|
@fa-var-minus-circle: "\f056";
|
||||||
|
@fa-var-minus-square: "\f146";
|
||||||
|
@fa-var-minus-square-o: "\f147";
|
||||||
|
@fa-var-mixcloud: "\f289";
|
||||||
|
@fa-var-mobile: "\f10b";
|
||||||
|
@fa-var-mobile-phone: "\f10b";
|
||||||
|
@fa-var-modx: "\f285";
|
||||||
|
@fa-var-money: "\f0d6";
|
||||||
|
@fa-var-moon-o: "\f186";
|
||||||
|
@fa-var-mortar-board: "\f19d";
|
||||||
|
@fa-var-motorcycle: "\f21c";
|
||||||
|
@fa-var-mouse-pointer: "\f245";
|
||||||
|
@fa-var-music: "\f001";
|
||||||
|
@fa-var-navicon: "\f0c9";
|
||||||
|
@fa-var-neuter: "\f22c";
|
||||||
|
@fa-var-newspaper-o: "\f1ea";
|
||||||
|
@fa-var-object-group: "\f247";
|
||||||
|
@fa-var-object-ungroup: "\f248";
|
||||||
|
@fa-var-odnoklassniki: "\f263";
|
||||||
|
@fa-var-odnoklassniki-square: "\f264";
|
||||||
|
@fa-var-opencart: "\f23d";
|
||||||
|
@fa-var-openid: "\f19b";
|
||||||
|
@fa-var-opera: "\f26a";
|
||||||
|
@fa-var-optin-monster: "\f23c";
|
||||||
|
@fa-var-outdent: "\f03b";
|
||||||
|
@fa-var-pagelines: "\f18c";
|
||||||
|
@fa-var-paint-brush: "\f1fc";
|
||||||
|
@fa-var-paper-plane: "\f1d8";
|
||||||
|
@fa-var-paper-plane-o: "\f1d9";
|
||||||
|
@fa-var-paperclip: "\f0c6";
|
||||||
|
@fa-var-paragraph: "\f1dd";
|
||||||
|
@fa-var-paste: "\f0ea";
|
||||||
|
@fa-var-pause: "\f04c";
|
||||||
|
@fa-var-pause-circle: "\f28b";
|
||||||
|
@fa-var-pause-circle-o: "\f28c";
|
||||||
|
@fa-var-paw: "\f1b0";
|
||||||
|
@fa-var-paypal: "\f1ed";
|
||||||
|
@fa-var-pencil: "\f040";
|
||||||
|
@fa-var-pencil-square: "\f14b";
|
||||||
|
@fa-var-pencil-square-o: "\f044";
|
||||||
|
@fa-var-percent: "\f295";
|
||||||
|
@fa-var-phone: "\f095";
|
||||||
|
@fa-var-phone-square: "\f098";
|
||||||
|
@fa-var-photo: "\f03e";
|
||||||
|
@fa-var-picture-o: "\f03e";
|
||||||
|
@fa-var-pie-chart: "\f200";
|
||||||
|
@fa-var-pied-piper: "\f2ae";
|
||||||
|
@fa-var-pied-piper-alt: "\f1a8";
|
||||||
|
@fa-var-pied-piper-pp: "\f1a7";
|
||||||
|
@fa-var-pinterest: "\f0d2";
|
||||||
|
@fa-var-pinterest-p: "\f231";
|
||||||
|
@fa-var-pinterest-square: "\f0d3";
|
||||||
|
@fa-var-plane: "\f072";
|
||||||
|
@fa-var-play: "\f04b";
|
||||||
|
@fa-var-play-circle: "\f144";
|
||||||
|
@fa-var-play-circle-o: "\f01d";
|
||||||
|
@fa-var-plug: "\f1e6";
|
||||||
|
@fa-var-plus: "\f067";
|
||||||
|
@fa-var-plus-circle: "\f055";
|
||||||
|
@fa-var-plus-square: "\f0fe";
|
||||||
|
@fa-var-plus-square-o: "\f196";
|
||||||
|
@fa-var-podcast: "\f2ce";
|
||||||
|
@fa-var-power-off: "\f011";
|
||||||
|
@fa-var-print: "\f02f";
|
||||||
|
@fa-var-product-hunt: "\f288";
|
||||||
|
@fa-var-puzzle-piece: "\f12e";
|
||||||
|
@fa-var-qq: "\f1d6";
|
||||||
|
@fa-var-qrcode: "\f029";
|
||||||
|
@fa-var-question: "\f128";
|
||||||
|
@fa-var-question-circle: "\f059";
|
||||||
|
@fa-var-question-circle-o: "\f29c";
|
||||||
|
@fa-var-quora: "\f2c4";
|
||||||
|
@fa-var-quote-left: "\f10d";
|
||||||
|
@fa-var-quote-right: "\f10e";
|
||||||
|
@fa-var-ra: "\f1d0";
|
||||||
|
@fa-var-random: "\f074";
|
||||||
|
@fa-var-ravelry: "\f2d9";
|
||||||
|
@fa-var-rebel: "\f1d0";
|
||||||
|
@fa-var-recycle: "\f1b8";
|
||||||
|
@fa-var-reddit: "\f1a1";
|
||||||
|
@fa-var-reddit-alien: "\f281";
|
||||||
|
@fa-var-reddit-square: "\f1a2";
|
||||||
|
@fa-var-refresh: "\f021";
|
||||||
|
@fa-var-registered: "\f25d";
|
||||||
|
@fa-var-remove: "\f00d";
|
||||||
|
@fa-var-renren: "\f18b";
|
||||||
|
@fa-var-reorder: "\f0c9";
|
||||||
|
@fa-var-repeat: "\f01e";
|
||||||
|
@fa-var-reply: "\f112";
|
||||||
|
@fa-var-reply-all: "\f122";
|
||||||
|
@fa-var-resistance: "\f1d0";
|
||||||
|
@fa-var-retweet: "\f079";
|
||||||
|
@fa-var-rmb: "\f157";
|
||||||
|
@fa-var-road: "\f018";
|
||||||
|
@fa-var-rocket: "\f135";
|
||||||
|
@fa-var-rotate-left: "\f0e2";
|
||||||
|
@fa-var-rotate-right: "\f01e";
|
||||||
|
@fa-var-rouble: "\f158";
|
||||||
|
@fa-var-rss: "\f09e";
|
||||||
|
@fa-var-rss-square: "\f143";
|
||||||
|
@fa-var-rub: "\f158";
|
||||||
|
@fa-var-ruble: "\f158";
|
||||||
|
@fa-var-rupee: "\f156";
|
||||||
|
@fa-var-s15: "\f2cd";
|
||||||
|
@fa-var-safari: "\f267";
|
||||||
|
@fa-var-save: "\f0c7";
|
||||||
|
@fa-var-scissors: "\f0c4";
|
||||||
|
@fa-var-scribd: "\f28a";
|
||||||
|
@fa-var-search: "\f002";
|
||||||
|
@fa-var-search-minus: "\f010";
|
||||||
|
@fa-var-search-plus: "\f00e";
|
||||||
|
@fa-var-sellsy: "\f213";
|
||||||
|
@fa-var-send: "\f1d8";
|
||||||
|
@fa-var-send-o: "\f1d9";
|
||||||
|
@fa-var-server: "\f233";
|
||||||
|
@fa-var-share: "\f064";
|
||||||
|
@fa-var-share-alt: "\f1e0";
|
||||||
|
@fa-var-share-alt-square: "\f1e1";
|
||||||
|
@fa-var-share-square: "\f14d";
|
||||||
|
@fa-var-share-square-o: "\f045";
|
||||||
|
@fa-var-shekel: "\f20b";
|
||||||
|
@fa-var-sheqel: "\f20b";
|
||||||
|
@fa-var-shield: "\f132";
|
||||||
|
@fa-var-ship: "\f21a";
|
||||||
|
@fa-var-shirtsinbulk: "\f214";
|
||||||
|
@fa-var-shopping-bag: "\f290";
|
||||||
|
@fa-var-shopping-basket: "\f291";
|
||||||
|
@fa-var-shopping-cart: "\f07a";
|
||||||
|
@fa-var-shower: "\f2cc";
|
||||||
|
@fa-var-sign-in: "\f090";
|
||||||
|
@fa-var-sign-language: "\f2a7";
|
||||||
|
@fa-var-sign-out: "\f08b";
|
||||||
|
@fa-var-signal: "\f012";
|
||||||
|
@fa-var-signing: "\f2a7";
|
||||||
|
@fa-var-simplybuilt: "\f215";
|
||||||
|
@fa-var-sitemap: "\f0e8";
|
||||||
|
@fa-var-skyatlas: "\f216";
|
||||||
|
@fa-var-skype: "\f17e";
|
||||||
|
@fa-var-slack: "\f198";
|
||||||
|
@fa-var-sliders: "\f1de";
|
||||||
|
@fa-var-slideshare: "\f1e7";
|
||||||
|
@fa-var-smile-o: "\f118";
|
||||||
|
@fa-var-snapchat: "\f2ab";
|
||||||
|
@fa-var-snapchat-ghost: "\f2ac";
|
||||||
|
@fa-var-snapchat-square: "\f2ad";
|
||||||
|
@fa-var-snowflake-o: "\f2dc";
|
||||||
|
@fa-var-soccer-ball-o: "\f1e3";
|
||||||
|
@fa-var-sort: "\f0dc";
|
||||||
|
@fa-var-sort-alpha-asc: "\f15d";
|
||||||
|
@fa-var-sort-alpha-desc: "\f15e";
|
||||||
|
@fa-var-sort-amount-asc: "\f160";
|
||||||
|
@fa-var-sort-amount-desc: "\f161";
|
||||||
|
@fa-var-sort-asc: "\f0de";
|
||||||
|
@fa-var-sort-desc: "\f0dd";
|
||||||
|
@fa-var-sort-down: "\f0dd";
|
||||||
|
@fa-var-sort-numeric-asc: "\f162";
|
||||||
|
@fa-var-sort-numeric-desc: "\f163";
|
||||||
|
@fa-var-sort-up: "\f0de";
|
||||||
|
@fa-var-soundcloud: "\f1be";
|
||||||
|
@fa-var-space-shuttle: "\f197";
|
||||||
|
@fa-var-spinner: "\f110";
|
||||||
|
@fa-var-spoon: "\f1b1";
|
||||||
|
@fa-var-spotify: "\f1bc";
|
||||||
|
@fa-var-square: "\f0c8";
|
||||||
|
@fa-var-square-o: "\f096";
|
||||||
|
@fa-var-stack-exchange: "\f18d";
|
||||||
|
@fa-var-stack-overflow: "\f16c";
|
||||||
|
@fa-var-star: "\f005";
|
||||||
|
@fa-var-star-half: "\f089";
|
||||||
|
@fa-var-star-half-empty: "\f123";
|
||||||
|
@fa-var-star-half-full: "\f123";
|
||||||
|
@fa-var-star-half-o: "\f123";
|
||||||
|
@fa-var-star-o: "\f006";
|
||||||
|
@fa-var-steam: "\f1b6";
|
||||||
|
@fa-var-steam-square: "\f1b7";
|
||||||
|
@fa-var-step-backward: "\f048";
|
||||||
|
@fa-var-step-forward: "\f051";
|
||||||
|
@fa-var-stethoscope: "\f0f1";
|
||||||
|
@fa-var-sticky-note: "\f249";
|
||||||
|
@fa-var-sticky-note-o: "\f24a";
|
||||||
|
@fa-var-stop: "\f04d";
|
||||||
|
@fa-var-stop-circle: "\f28d";
|
||||||
|
@fa-var-stop-circle-o: "\f28e";
|
||||||
|
@fa-var-street-view: "\f21d";
|
||||||
|
@fa-var-strikethrough: "\f0cc";
|
||||||
|
@fa-var-stumbleupon: "\f1a4";
|
||||||
|
@fa-var-stumbleupon-circle: "\f1a3";
|
||||||
|
@fa-var-subscript: "\f12c";
|
||||||
|
@fa-var-subway: "\f239";
|
||||||
|
@fa-var-suitcase: "\f0f2";
|
||||||
|
@fa-var-sun-o: "\f185";
|
||||||
|
@fa-var-superpowers: "\f2dd";
|
||||||
|
@fa-var-superscript: "\f12b";
|
||||||
|
@fa-var-support: "\f1cd";
|
||||||
|
@fa-var-table: "\f0ce";
|
||||||
|
@fa-var-tablet: "\f10a";
|
||||||
|
@fa-var-tachometer: "\f0e4";
|
||||||
|
@fa-var-tag: "\f02b";
|
||||||
|
@fa-var-tags: "\f02c";
|
||||||
|
@fa-var-tasks: "\f0ae";
|
||||||
|
@fa-var-taxi: "\f1ba";
|
||||||
|
@fa-var-telegram: "\f2c6";
|
||||||
|
@fa-var-television: "\f26c";
|
||||||
|
@fa-var-tencent-weibo: "\f1d5";
|
||||||
|
@fa-var-terminal: "\f120";
|
||||||
|
@fa-var-text-height: "\f034";
|
||||||
|
@fa-var-text-width: "\f035";
|
||||||
|
@fa-var-th: "\f00a";
|
||||||
|
@fa-var-th-large: "\f009";
|
||||||
|
@fa-var-th-list: "\f00b";
|
||||||
|
@fa-var-themeisle: "\f2b2";
|
||||||
|
@fa-var-thermometer: "\f2c7";
|
||||||
|
@fa-var-thermometer-0: "\f2cb";
|
||||||
|
@fa-var-thermometer-1: "\f2ca";
|
||||||
|
@fa-var-thermometer-2: "\f2c9";
|
||||||
|
@fa-var-thermometer-3: "\f2c8";
|
||||||
|
@fa-var-thermometer-4: "\f2c7";
|
||||||
|
@fa-var-thermometer-empty: "\f2cb";
|
||||||
|
@fa-var-thermometer-full: "\f2c7";
|
||||||
|
@fa-var-thermometer-half: "\f2c9";
|
||||||
|
@fa-var-thermometer-quarter: "\f2ca";
|
||||||
|
@fa-var-thermometer-three-quarters: "\f2c8";
|
||||||
|
@fa-var-thumb-tack: "\f08d";
|
||||||
|
@fa-var-thumbs-down: "\f165";
|
||||||
|
@fa-var-thumbs-o-down: "\f088";
|
||||||
|
@fa-var-thumbs-o-up: "\f087";
|
||||||
|
@fa-var-thumbs-up: "\f164";
|
||||||
|
@fa-var-ticket: "\f145";
|
||||||
|
@fa-var-times: "\f00d";
|
||||||
|
@fa-var-times-circle: "\f057";
|
||||||
|
@fa-var-times-circle-o: "\f05c";
|
||||||
|
@fa-var-times-rectangle: "\f2d3";
|
||||||
|
@fa-var-times-rectangle-o: "\f2d4";
|
||||||
|
@fa-var-tint: "\f043";
|
||||||
|
@fa-var-toggle-down: "\f150";
|
||||||
|
@fa-var-toggle-left: "\f191";
|
||||||
|
@fa-var-toggle-off: "\f204";
|
||||||
|
@fa-var-toggle-on: "\f205";
|
||||||
|
@fa-var-toggle-right: "\f152";
|
||||||
|
@fa-var-toggle-up: "\f151";
|
||||||
|
@fa-var-trademark: "\f25c";
|
||||||
|
@fa-var-train: "\f238";
|
||||||
|
@fa-var-transgender: "\f224";
|
||||||
|
@fa-var-transgender-alt: "\f225";
|
||||||
|
@fa-var-trash: "\f1f8";
|
||||||
|
@fa-var-trash-o: "\f014";
|
||||||
|
@fa-var-tree: "\f1bb";
|
||||||
|
@fa-var-trello: "\f181";
|
||||||
|
@fa-var-tripadvisor: "\f262";
|
||||||
|
@fa-var-trophy: "\f091";
|
||||||
|
@fa-var-truck: "\f0d1";
|
||||||
|
@fa-var-try: "\f195";
|
||||||
|
@fa-var-tty: "\f1e4";
|
||||||
|
@fa-var-tumblr: "\f173";
|
||||||
|
@fa-var-tumblr-square: "\f174";
|
||||||
|
@fa-var-turkish-lira: "\f195";
|
||||||
|
@fa-var-tv: "\f26c";
|
||||||
|
@fa-var-twitch: "\f1e8";
|
||||||
|
@fa-var-twitter: "\f099";
|
||||||
|
@fa-var-twitter-square: "\f081";
|
||||||
|
@fa-var-umbrella: "\f0e9";
|
||||||
|
@fa-var-underline: "\f0cd";
|
||||||
|
@fa-var-undo: "\f0e2";
|
||||||
|
@fa-var-universal-access: "\f29a";
|
||||||
|
@fa-var-university: "\f19c";
|
||||||
|
@fa-var-unlink: "\f127";
|
||||||
|
@fa-var-unlock: "\f09c";
|
||||||
|
@fa-var-unlock-alt: "\f13e";
|
||||||
|
@fa-var-unsorted: "\f0dc";
|
||||||
|
@fa-var-upload: "\f093";
|
||||||
|
@fa-var-usb: "\f287";
|
||||||
|
@fa-var-usd: "\f155";
|
||||||
|
@fa-var-user: "\f007";
|
||||||
|
@fa-var-user-circle: "\f2bd";
|
||||||
|
@fa-var-user-circle-o: "\f2be";
|
||||||
|
@fa-var-user-md: "\f0f0";
|
||||||
|
@fa-var-user-o: "\f2c0";
|
||||||
|
@fa-var-user-plus: "\f234";
|
||||||
|
@fa-var-user-secret: "\f21b";
|
||||||
|
@fa-var-user-times: "\f235";
|
||||||
|
@fa-var-users: "\f0c0";
|
||||||
|
@fa-var-vcard: "\f2bb";
|
||||||
|
@fa-var-vcard-o: "\f2bc";
|
||||||
|
@fa-var-venus: "\f221";
|
||||||
|
@fa-var-venus-double: "\f226";
|
||||||
|
@fa-var-venus-mars: "\f228";
|
||||||
|
@fa-var-viacoin: "\f237";
|
||||||
|
@fa-var-viadeo: "\f2a9";
|
||||||
|
@fa-var-viadeo-square: "\f2aa";
|
||||||
|
@fa-var-video-camera: "\f03d";
|
||||||
|
@fa-var-vimeo: "\f27d";
|
||||||
|
@fa-var-vimeo-square: "\f194";
|
||||||
|
@fa-var-vine: "\f1ca";
|
||||||
|
@fa-var-vk: "\f189";
|
||||||
|
@fa-var-volume-control-phone: "\f2a0";
|
||||||
|
@fa-var-volume-down: "\f027";
|
||||||
|
@fa-var-volume-off: "\f026";
|
||||||
|
@fa-var-volume-up: "\f028";
|
||||||
|
@fa-var-warning: "\f071";
|
||||||
|
@fa-var-wechat: "\f1d7";
|
||||||
|
@fa-var-weibo: "\f18a";
|
||||||
|
@fa-var-weixin: "\f1d7";
|
||||||
|
@fa-var-whatsapp: "\f232";
|
||||||
|
@fa-var-wheelchair: "\f193";
|
||||||
|
@fa-var-wheelchair-alt: "\f29b";
|
||||||
|
@fa-var-wifi: "\f1eb";
|
||||||
|
@fa-var-wikipedia-w: "\f266";
|
||||||
|
@fa-var-window-close: "\f2d3";
|
||||||
|
@fa-var-window-close-o: "\f2d4";
|
||||||
|
@fa-var-window-maximize: "\f2d0";
|
||||||
|
@fa-var-window-minimize: "\f2d1";
|
||||||
|
@fa-var-window-restore: "\f2d2";
|
||||||
|
@fa-var-windows: "\f17a";
|
||||||
|
@fa-var-won: "\f159";
|
||||||
|
@fa-var-wordpress: "\f19a";
|
||||||
|
@fa-var-wpbeginner: "\f297";
|
||||||
|
@fa-var-wpexplorer: "\f2de";
|
||||||
|
@fa-var-wpforms: "\f298";
|
||||||
|
@fa-var-wrench: "\f0ad";
|
||||||
|
@fa-var-xing: "\f168";
|
||||||
|
@fa-var-xing-square: "\f169";
|
||||||
|
@fa-var-y-combinator: "\f23b";
|
||||||
|
@fa-var-y-combinator-square: "\f1d4";
|
||||||
|
@fa-var-yahoo: "\f19e";
|
||||||
|
@fa-var-yc: "\f23b";
|
||||||
|
@fa-var-yc-square: "\f1d4";
|
||||||
|
@fa-var-yelp: "\f1e9";
|
||||||
|
@fa-var-yen: "\f157";
|
||||||
|
@fa-var-yoast: "\f2b1";
|
||||||
|
@fa-var-youtube: "\f167";
|
||||||
|
@fa-var-youtube-play: "\f16a";
|
||||||
|
@fa-var-youtube-square: "\f166";
|
||||||
|
|
34
html/vendor/font-awesome/scss/_animated.scss
vendored
Normal file
34
html/vendor/font-awesome/scss/_animated.scss
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
// Spinning Icons
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-spin {
|
||||||
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
|
animation: fa-spin 2s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-pulse {
|
||||||
|
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||||
|
animation: fa-spin 1s infinite steps(8);
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
25
html/vendor/font-awesome/scss/_bordered-pulled.scss
vendored
Normal file
25
html/vendor/font-awesome/scss/_bordered-pulled.scss
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
// Bordered & Pulled
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-border {
|
||||||
|
padding: .2em .25em .15em;
|
||||||
|
border: solid .08em $fa-border-color;
|
||||||
|
border-radius: .1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-pull-left { float: left; }
|
||||||
|
.#{$fa-css-prefix}-pull-right { float: right; }
|
||||||
|
|
||||||
|
.#{$fa-css-prefix} {
|
||||||
|
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||||
|
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deprecated as of 4.4.0 */
|
||||||
|
.pull-right { float: right; }
|
||||||
|
.pull-left { float: left; }
|
||||||
|
|
||||||
|
.#{$fa-css-prefix} {
|
||||||
|
&.pull-left { margin-right: .3em; }
|
||||||
|
&.pull-right { margin-left: .3em; }
|
||||||
|
}
|
12
html/vendor/font-awesome/scss/_core.scss
vendored
Normal file
12
html/vendor/font-awesome/scss/_core.scss
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// Base Class Definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix} {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
6
html/vendor/font-awesome/scss/_fixed-width.scss
vendored
Normal file
6
html/vendor/font-awesome/scss/_fixed-width.scss
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Fixed Width Icons
|
||||||
|
// -------------------------
|
||||||
|
.#{$fa-css-prefix}-fw {
|
||||||
|
width: (18em / 14);
|
||||||
|
text-align: center;
|
||||||
|
}
|
789
html/vendor/font-awesome/scss/_icons.scss
vendored
Normal file
789
html/vendor/font-awesome/scss/_icons.scss
vendored
Normal file
@ -0,0 +1,789 @@
|
|||||||
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||||
|
readers do not read off random characters that represent icons */
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; }
|
||||||
|
.#{$fa-css-prefix}-music:before { content: $fa-var-music; }
|
||||||
|
.#{$fa-css-prefix}-search:before { content: $fa-var-search; }
|
||||||
|
.#{$fa-css-prefix}-envelope-o:before { content: $fa-var-envelope-o; }
|
||||||
|
.#{$fa-css-prefix}-heart:before { content: $fa-var-heart; }
|
||||||
|
.#{$fa-css-prefix}-star:before { content: $fa-var-star; }
|
||||||
|
.#{$fa-css-prefix}-star-o:before { content: $fa-var-star-o; }
|
||||||
|
.#{$fa-css-prefix}-user:before { content: $fa-var-user; }
|
||||||
|
.#{$fa-css-prefix}-film:before { content: $fa-var-film; }
|
||||||
|
.#{$fa-css-prefix}-th-large:before { content: $fa-var-th-large; }
|
||||||
|
.#{$fa-css-prefix}-th:before { content: $fa-var-th; }
|
||||||
|
.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; }
|
||||||
|
.#{$fa-css-prefix}-check:before { content: $fa-var-check; }
|
||||||
|
.#{$fa-css-prefix}-remove:before,
|
||||||
|
.#{$fa-css-prefix}-close:before,
|
||||||
|
.#{$fa-css-prefix}-times:before { content: $fa-var-times; }
|
||||||
|
.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; }
|
||||||
|
.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; }
|
||||||
|
.#{$fa-css-prefix}-power-off:before { content: $fa-var-power-off; }
|
||||||
|
.#{$fa-css-prefix}-signal:before { content: $fa-var-signal; }
|
||||||
|
.#{$fa-css-prefix}-gear:before,
|
||||||
|
.#{$fa-css-prefix}-cog:before { content: $fa-var-cog; }
|
||||||
|
.#{$fa-css-prefix}-trash-o:before { content: $fa-var-trash-o; }
|
||||||
|
.#{$fa-css-prefix}-home:before { content: $fa-var-home; }
|
||||||
|
.#{$fa-css-prefix}-file-o:before { content: $fa-var-file-o; }
|
||||||
|
.#{$fa-css-prefix}-clock-o:before { content: $fa-var-clock-o; }
|
||||||
|
.#{$fa-css-prefix}-road:before { content: $fa-var-road; }
|
||||||
|
.#{$fa-css-prefix}-download:before { content: $fa-var-download; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-o-down:before { content: $fa-var-arrow-circle-o-down; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-o-up:before { content: $fa-var-arrow-circle-o-up; }
|
||||||
|
.#{$fa-css-prefix}-inbox:before { content: $fa-var-inbox; }
|
||||||
|
.#{$fa-css-prefix}-play-circle-o:before { content: $fa-var-play-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-rotate-right:before,
|
||||||
|
.#{$fa-css-prefix}-repeat:before { content: $fa-var-repeat; }
|
||||||
|
.#{$fa-css-prefix}-refresh:before { content: $fa-var-refresh; }
|
||||||
|
.#{$fa-css-prefix}-list-alt:before { content: $fa-var-list-alt; }
|
||||||
|
.#{$fa-css-prefix}-lock:before { content: $fa-var-lock; }
|
||||||
|
.#{$fa-css-prefix}-flag:before { content: $fa-var-flag; }
|
||||||
|
.#{$fa-css-prefix}-headphones:before { content: $fa-var-headphones; }
|
||||||
|
.#{$fa-css-prefix}-volume-off:before { content: $fa-var-volume-off; }
|
||||||
|
.#{$fa-css-prefix}-volume-down:before { content: $fa-var-volume-down; }
|
||||||
|
.#{$fa-css-prefix}-volume-up:before { content: $fa-var-volume-up; }
|
||||||
|
.#{$fa-css-prefix}-qrcode:before { content: $fa-var-qrcode; }
|
||||||
|
.#{$fa-css-prefix}-barcode:before { content: $fa-var-barcode; }
|
||||||
|
.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; }
|
||||||
|
.#{$fa-css-prefix}-tags:before { content: $fa-var-tags; }
|
||||||
|
.#{$fa-css-prefix}-book:before { content: $fa-var-book; }
|
||||||
|
.#{$fa-css-prefix}-bookmark:before { content: $fa-var-bookmark; }
|
||||||
|
.#{$fa-css-prefix}-print:before { content: $fa-var-print; }
|
||||||
|
.#{$fa-css-prefix}-camera:before { content: $fa-var-camera; }
|
||||||
|
.#{$fa-css-prefix}-font:before { content: $fa-var-font; }
|
||||||
|
.#{$fa-css-prefix}-bold:before { content: $fa-var-bold; }
|
||||||
|
.#{$fa-css-prefix}-italic:before { content: $fa-var-italic; }
|
||||||
|
.#{$fa-css-prefix}-text-height:before { content: $fa-var-text-height; }
|
||||||
|
.#{$fa-css-prefix}-text-width:before { content: $fa-var-text-width; }
|
||||||
|
.#{$fa-css-prefix}-align-left:before { content: $fa-var-align-left; }
|
||||||
|
.#{$fa-css-prefix}-align-center:before { content: $fa-var-align-center; }
|
||||||
|
.#{$fa-css-prefix}-align-right:before { content: $fa-var-align-right; }
|
||||||
|
.#{$fa-css-prefix}-align-justify:before { content: $fa-var-align-justify; }
|
||||||
|
.#{$fa-css-prefix}-list:before { content: $fa-var-list; }
|
||||||
|
.#{$fa-css-prefix}-dedent:before,
|
||||||
|
.#{$fa-css-prefix}-outdent:before { content: $fa-var-outdent; }
|
||||||
|
.#{$fa-css-prefix}-indent:before { content: $fa-var-indent; }
|
||||||
|
.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; }
|
||||||
|
.#{$fa-css-prefix}-photo:before,
|
||||||
|
.#{$fa-css-prefix}-image:before,
|
||||||
|
.#{$fa-css-prefix}-picture-o:before { content: $fa-var-picture-o; }
|
||||||
|
.#{$fa-css-prefix}-pencil:before { content: $fa-var-pencil; }
|
||||||
|
.#{$fa-css-prefix}-map-marker:before { content: $fa-var-map-marker; }
|
||||||
|
.#{$fa-css-prefix}-adjust:before { content: $fa-var-adjust; }
|
||||||
|
.#{$fa-css-prefix}-tint:before { content: $fa-var-tint; }
|
||||||
|
.#{$fa-css-prefix}-edit:before,
|
||||||
|
.#{$fa-css-prefix}-pencil-square-o:before { content: $fa-var-pencil-square-o; }
|
||||||
|
.#{$fa-css-prefix}-share-square-o:before { content: $fa-var-share-square-o; }
|
||||||
|
.#{$fa-css-prefix}-check-square-o:before { content: $fa-var-check-square-o; }
|
||||||
|
.#{$fa-css-prefix}-arrows:before { content: $fa-var-arrows; }
|
||||||
|
.#{$fa-css-prefix}-step-backward:before { content: $fa-var-step-backward; }
|
||||||
|
.#{$fa-css-prefix}-fast-backward:before { content: $fa-var-fast-backward; }
|
||||||
|
.#{$fa-css-prefix}-backward:before { content: $fa-var-backward; }
|
||||||
|
.#{$fa-css-prefix}-play:before { content: $fa-var-play; }
|
||||||
|
.#{$fa-css-prefix}-pause:before { content: $fa-var-pause; }
|
||||||
|
.#{$fa-css-prefix}-stop:before { content: $fa-var-stop; }
|
||||||
|
.#{$fa-css-prefix}-forward:before { content: $fa-var-forward; }
|
||||||
|
.#{$fa-css-prefix}-fast-forward:before { content: $fa-var-fast-forward; }
|
||||||
|
.#{$fa-css-prefix}-step-forward:before { content: $fa-var-step-forward; }
|
||||||
|
.#{$fa-css-prefix}-eject:before { content: $fa-var-eject; }
|
||||||
|
.#{$fa-css-prefix}-chevron-left:before { content: $fa-var-chevron-left; }
|
||||||
|
.#{$fa-css-prefix}-chevron-right:before { content: $fa-var-chevron-right; }
|
||||||
|
.#{$fa-css-prefix}-plus-circle:before { content: $fa-var-plus-circle; }
|
||||||
|
.#{$fa-css-prefix}-minus-circle:before { content: $fa-var-minus-circle; }
|
||||||
|
.#{$fa-css-prefix}-times-circle:before { content: $fa-var-times-circle; }
|
||||||
|
.#{$fa-css-prefix}-check-circle:before { content: $fa-var-check-circle; }
|
||||||
|
.#{$fa-css-prefix}-question-circle:before { content: $fa-var-question-circle; }
|
||||||
|
.#{$fa-css-prefix}-info-circle:before { content: $fa-var-info-circle; }
|
||||||
|
.#{$fa-css-prefix}-crosshairs:before { content: $fa-var-crosshairs; }
|
||||||
|
.#{$fa-css-prefix}-times-circle-o:before { content: $fa-var-times-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-check-circle-o:before { content: $fa-var-check-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-ban:before { content: $fa-var-ban; }
|
||||||
|
.#{$fa-css-prefix}-arrow-left:before { content: $fa-var-arrow-left; }
|
||||||
|
.#{$fa-css-prefix}-arrow-right:before { content: $fa-var-arrow-right; }
|
||||||
|
.#{$fa-css-prefix}-arrow-up:before { content: $fa-var-arrow-up; }
|
||||||
|
.#{$fa-css-prefix}-arrow-down:before { content: $fa-var-arrow-down; }
|
||||||
|
.#{$fa-css-prefix}-mail-forward:before,
|
||||||
|
.#{$fa-css-prefix}-share:before { content: $fa-var-share; }
|
||||||
|
.#{$fa-css-prefix}-expand:before { content: $fa-var-expand; }
|
||||||
|
.#{$fa-css-prefix}-compress:before { content: $fa-var-compress; }
|
||||||
|
.#{$fa-css-prefix}-plus:before { content: $fa-var-plus; }
|
||||||
|
.#{$fa-css-prefix}-minus:before { content: $fa-var-minus; }
|
||||||
|
.#{$fa-css-prefix}-asterisk:before { content: $fa-var-asterisk; }
|
||||||
|
.#{$fa-css-prefix}-exclamation-circle:before { content: $fa-var-exclamation-circle; }
|
||||||
|
.#{$fa-css-prefix}-gift:before { content: $fa-var-gift; }
|
||||||
|
.#{$fa-css-prefix}-leaf:before { content: $fa-var-leaf; }
|
||||||
|
.#{$fa-css-prefix}-fire:before { content: $fa-var-fire; }
|
||||||
|
.#{$fa-css-prefix}-eye:before { content: $fa-var-eye; }
|
||||||
|
.#{$fa-css-prefix}-eye-slash:before { content: $fa-var-eye-slash; }
|
||||||
|
.#{$fa-css-prefix}-warning:before,
|
||||||
|
.#{$fa-css-prefix}-exclamation-triangle:before { content: $fa-var-exclamation-triangle; }
|
||||||
|
.#{$fa-css-prefix}-plane:before { content: $fa-var-plane; }
|
||||||
|
.#{$fa-css-prefix}-calendar:before { content: $fa-var-calendar; }
|
||||||
|
.#{$fa-css-prefix}-random:before { content: $fa-var-random; }
|
||||||
|
.#{$fa-css-prefix}-comment:before { content: $fa-var-comment; }
|
||||||
|
.#{$fa-css-prefix}-magnet:before { content: $fa-var-magnet; }
|
||||||
|
.#{$fa-css-prefix}-chevron-up:before { content: $fa-var-chevron-up; }
|
||||||
|
.#{$fa-css-prefix}-chevron-down:before { content: $fa-var-chevron-down; }
|
||||||
|
.#{$fa-css-prefix}-retweet:before { content: $fa-var-retweet; }
|
||||||
|
.#{$fa-css-prefix}-shopping-cart:before { content: $fa-var-shopping-cart; }
|
||||||
|
.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }
|
||||||
|
.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; }
|
||||||
|
.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; }
|
||||||
|
.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; }
|
||||||
|
.#{$fa-css-prefix}-bar-chart-o:before,
|
||||||
|
.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; }
|
||||||
|
.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; }
|
||||||
|
.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; }
|
||||||
|
.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; }
|
||||||
|
.#{$fa-css-prefix}-key:before { content: $fa-var-key; }
|
||||||
|
.#{$fa-css-prefix}-gears:before,
|
||||||
|
.#{$fa-css-prefix}-cogs:before { content: $fa-var-cogs; }
|
||||||
|
.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; }
|
||||||
|
.#{$fa-css-prefix}-thumbs-o-up:before { content: $fa-var-thumbs-o-up; }
|
||||||
|
.#{$fa-css-prefix}-thumbs-o-down:before { content: $fa-var-thumbs-o-down; }
|
||||||
|
.#{$fa-css-prefix}-star-half:before { content: $fa-var-star-half; }
|
||||||
|
.#{$fa-css-prefix}-heart-o:before { content: $fa-var-heart-o; }
|
||||||
|
.#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; }
|
||||||
|
.#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; }
|
||||||
|
.#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; }
|
||||||
|
.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; }
|
||||||
|
.#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; }
|
||||||
|
.#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; }
|
||||||
|
.#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; }
|
||||||
|
.#{$fa-css-prefix}-upload:before { content: $fa-var-upload; }
|
||||||
|
.#{$fa-css-prefix}-lemon-o:before { content: $fa-var-lemon-o; }
|
||||||
|
.#{$fa-css-prefix}-phone:before { content: $fa-var-phone; }
|
||||||
|
.#{$fa-css-prefix}-square-o:before { content: $fa-var-square-o; }
|
||||||
|
.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; }
|
||||||
|
.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; }
|
||||||
|
.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; }
|
||||||
|
.#{$fa-css-prefix}-facebook-f:before,
|
||||||
|
.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; }
|
||||||
|
.#{$fa-css-prefix}-github:before { content: $fa-var-github; }
|
||||||
|
.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; }
|
||||||
|
.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; }
|
||||||
|
.#{$fa-css-prefix}-feed:before,
|
||||||
|
.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }
|
||||||
|
.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; }
|
||||||
|
.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; }
|
||||||
|
.#{$fa-css-prefix}-bell:before { content: $fa-var-bell; }
|
||||||
|
.#{$fa-css-prefix}-certificate:before { content: $fa-var-certificate; }
|
||||||
|
.#{$fa-css-prefix}-hand-o-right:before { content: $fa-var-hand-o-right; }
|
||||||
|
.#{$fa-css-prefix}-hand-o-left:before { content: $fa-var-hand-o-left; }
|
||||||
|
.#{$fa-css-prefix}-hand-o-up:before { content: $fa-var-hand-o-up; }
|
||||||
|
.#{$fa-css-prefix}-hand-o-down:before { content: $fa-var-hand-o-down; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-left:before { content: $fa-var-arrow-circle-left; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-right:before { content: $fa-var-arrow-circle-right; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-up:before { content: $fa-var-arrow-circle-up; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-down:before { content: $fa-var-arrow-circle-down; }
|
||||||
|
.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; }
|
||||||
|
.#{$fa-css-prefix}-wrench:before { content: $fa-var-wrench; }
|
||||||
|
.#{$fa-css-prefix}-tasks:before { content: $fa-var-tasks; }
|
||||||
|
.#{$fa-css-prefix}-filter:before { content: $fa-var-filter; }
|
||||||
|
.#{$fa-css-prefix}-briefcase:before { content: $fa-var-briefcase; }
|
||||||
|
.#{$fa-css-prefix}-arrows-alt:before { content: $fa-var-arrows-alt; }
|
||||||
|
.#{$fa-css-prefix}-group:before,
|
||||||
|
.#{$fa-css-prefix}-users:before { content: $fa-var-users; }
|
||||||
|
.#{$fa-css-prefix}-chain:before,
|
||||||
|
.#{$fa-css-prefix}-link:before { content: $fa-var-link; }
|
||||||
|
.#{$fa-css-prefix}-cloud:before { content: $fa-var-cloud; }
|
||||||
|
.#{$fa-css-prefix}-flask:before { content: $fa-var-flask; }
|
||||||
|
.#{$fa-css-prefix}-cut:before,
|
||||||
|
.#{$fa-css-prefix}-scissors:before { content: $fa-var-scissors; }
|
||||||
|
.#{$fa-css-prefix}-copy:before,
|
||||||
|
.#{$fa-css-prefix}-files-o:before { content: $fa-var-files-o; }
|
||||||
|
.#{$fa-css-prefix}-paperclip:before { content: $fa-var-paperclip; }
|
||||||
|
.#{$fa-css-prefix}-save:before,
|
||||||
|
.#{$fa-css-prefix}-floppy-o:before { content: $fa-var-floppy-o; }
|
||||||
|
.#{$fa-css-prefix}-square:before { content: $fa-var-square; }
|
||||||
|
.#{$fa-css-prefix}-navicon:before,
|
||||||
|
.#{$fa-css-prefix}-reorder:before,
|
||||||
|
.#{$fa-css-prefix}-bars:before { content: $fa-var-bars; }
|
||||||
|
.#{$fa-css-prefix}-list-ul:before { content: $fa-var-list-ul; }
|
||||||
|
.#{$fa-css-prefix}-list-ol:before { content: $fa-var-list-ol; }
|
||||||
|
.#{$fa-css-prefix}-strikethrough:before { content: $fa-var-strikethrough; }
|
||||||
|
.#{$fa-css-prefix}-underline:before { content: $fa-var-underline; }
|
||||||
|
.#{$fa-css-prefix}-table:before { content: $fa-var-table; }
|
||||||
|
.#{$fa-css-prefix}-magic:before { content: $fa-var-magic; }
|
||||||
|
.#{$fa-css-prefix}-truck:before { content: $fa-var-truck; }
|
||||||
|
.#{$fa-css-prefix}-pinterest:before { content: $fa-var-pinterest; }
|
||||||
|
.#{$fa-css-prefix}-pinterest-square:before { content: $fa-var-pinterest-square; }
|
||||||
|
.#{$fa-css-prefix}-google-plus-square:before { content: $fa-var-google-plus-square; }
|
||||||
|
.#{$fa-css-prefix}-google-plus:before { content: $fa-var-google-plus; }
|
||||||
|
.#{$fa-css-prefix}-money:before { content: $fa-var-money; }
|
||||||
|
.#{$fa-css-prefix}-caret-down:before { content: $fa-var-caret-down; }
|
||||||
|
.#{$fa-css-prefix}-caret-up:before { content: $fa-var-caret-up; }
|
||||||
|
.#{$fa-css-prefix}-caret-left:before { content: $fa-var-caret-left; }
|
||||||
|
.#{$fa-css-prefix}-caret-right:before { content: $fa-var-caret-right; }
|
||||||
|
.#{$fa-css-prefix}-columns:before { content: $fa-var-columns; }
|
||||||
|
.#{$fa-css-prefix}-unsorted:before,
|
||||||
|
.#{$fa-css-prefix}-sort:before { content: $fa-var-sort; }
|
||||||
|
.#{$fa-css-prefix}-sort-down:before,
|
||||||
|
.#{$fa-css-prefix}-sort-desc:before { content: $fa-var-sort-desc; }
|
||||||
|
.#{$fa-css-prefix}-sort-up:before,
|
||||||
|
.#{$fa-css-prefix}-sort-asc:before { content: $fa-var-sort-asc; }
|
||||||
|
.#{$fa-css-prefix}-envelope:before { content: $fa-var-envelope; }
|
||||||
|
.#{$fa-css-prefix}-linkedin:before { content: $fa-var-linkedin; }
|
||||||
|
.#{$fa-css-prefix}-rotate-left:before,
|
||||||
|
.#{$fa-css-prefix}-undo:before { content: $fa-var-undo; }
|
||||||
|
.#{$fa-css-prefix}-legal:before,
|
||||||
|
.#{$fa-css-prefix}-gavel:before { content: $fa-var-gavel; }
|
||||||
|
.#{$fa-css-prefix}-dashboard:before,
|
||||||
|
.#{$fa-css-prefix}-tachometer:before { content: $fa-var-tachometer; }
|
||||||
|
.#{$fa-css-prefix}-comment-o:before { content: $fa-var-comment-o; }
|
||||||
|
.#{$fa-css-prefix}-comments-o:before { content: $fa-var-comments-o; }
|
||||||
|
.#{$fa-css-prefix}-flash:before,
|
||||||
|
.#{$fa-css-prefix}-bolt:before { content: $fa-var-bolt; }
|
||||||
|
.#{$fa-css-prefix}-sitemap:before { content: $fa-var-sitemap; }
|
||||||
|
.#{$fa-css-prefix}-umbrella:before { content: $fa-var-umbrella; }
|
||||||
|
.#{$fa-css-prefix}-paste:before,
|
||||||
|
.#{$fa-css-prefix}-clipboard:before { content: $fa-var-clipboard; }
|
||||||
|
.#{$fa-css-prefix}-lightbulb-o:before { content: $fa-var-lightbulb-o; }
|
||||||
|
.#{$fa-css-prefix}-exchange:before { content: $fa-var-exchange; }
|
||||||
|
.#{$fa-css-prefix}-cloud-download:before { content: $fa-var-cloud-download; }
|
||||||
|
.#{$fa-css-prefix}-cloud-upload:before { content: $fa-var-cloud-upload; }
|
||||||
|
.#{$fa-css-prefix}-user-md:before { content: $fa-var-user-md; }
|
||||||
|
.#{$fa-css-prefix}-stethoscope:before { content: $fa-var-stethoscope; }
|
||||||
|
.#{$fa-css-prefix}-suitcase:before { content: $fa-var-suitcase; }
|
||||||
|
.#{$fa-css-prefix}-bell-o:before { content: $fa-var-bell-o; }
|
||||||
|
.#{$fa-css-prefix}-coffee:before { content: $fa-var-coffee; }
|
||||||
|
.#{$fa-css-prefix}-cutlery:before { content: $fa-var-cutlery; }
|
||||||
|
.#{$fa-css-prefix}-file-text-o:before { content: $fa-var-file-text-o; }
|
||||||
|
.#{$fa-css-prefix}-building-o:before { content: $fa-var-building-o; }
|
||||||
|
.#{$fa-css-prefix}-hospital-o:before { content: $fa-var-hospital-o; }
|
||||||
|
.#{$fa-css-prefix}-ambulance:before { content: $fa-var-ambulance; }
|
||||||
|
.#{$fa-css-prefix}-medkit:before { content: $fa-var-medkit; }
|
||||||
|
.#{$fa-css-prefix}-fighter-jet:before { content: $fa-var-fighter-jet; }
|
||||||
|
.#{$fa-css-prefix}-beer:before { content: $fa-var-beer; }
|
||||||
|
.#{$fa-css-prefix}-h-square:before { content: $fa-var-h-square; }
|
||||||
|
.#{$fa-css-prefix}-plus-square:before { content: $fa-var-plus-square; }
|
||||||
|
.#{$fa-css-prefix}-angle-double-left:before { content: $fa-var-angle-double-left; }
|
||||||
|
.#{$fa-css-prefix}-angle-double-right:before { content: $fa-var-angle-double-right; }
|
||||||
|
.#{$fa-css-prefix}-angle-double-up:before { content: $fa-var-angle-double-up; }
|
||||||
|
.#{$fa-css-prefix}-angle-double-down:before { content: $fa-var-angle-double-down; }
|
||||||
|
.#{$fa-css-prefix}-angle-left:before { content: $fa-var-angle-left; }
|
||||||
|
.#{$fa-css-prefix}-angle-right:before { content: $fa-var-angle-right; }
|
||||||
|
.#{$fa-css-prefix}-angle-up:before { content: $fa-var-angle-up; }
|
||||||
|
.#{$fa-css-prefix}-angle-down:before { content: $fa-var-angle-down; }
|
||||||
|
.#{$fa-css-prefix}-desktop:before { content: $fa-var-desktop; }
|
||||||
|
.#{$fa-css-prefix}-laptop:before { content: $fa-var-laptop; }
|
||||||
|
.#{$fa-css-prefix}-tablet:before { content: $fa-var-tablet; }
|
||||||
|
.#{$fa-css-prefix}-mobile-phone:before,
|
||||||
|
.#{$fa-css-prefix}-mobile:before { content: $fa-var-mobile; }
|
||||||
|
.#{$fa-css-prefix}-circle-o:before { content: $fa-var-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-quote-left:before { content: $fa-var-quote-left; }
|
||||||
|
.#{$fa-css-prefix}-quote-right:before { content: $fa-var-quote-right; }
|
||||||
|
.#{$fa-css-prefix}-spinner:before { content: $fa-var-spinner; }
|
||||||
|
.#{$fa-css-prefix}-circle:before { content: $fa-var-circle; }
|
||||||
|
.#{$fa-css-prefix}-mail-reply:before,
|
||||||
|
.#{$fa-css-prefix}-reply:before { content: $fa-var-reply; }
|
||||||
|
.#{$fa-css-prefix}-github-alt:before { content: $fa-var-github-alt; }
|
||||||
|
.#{$fa-css-prefix}-folder-o:before { content: $fa-var-folder-o; }
|
||||||
|
.#{$fa-css-prefix}-folder-open-o:before { content: $fa-var-folder-open-o; }
|
||||||
|
.#{$fa-css-prefix}-smile-o:before { content: $fa-var-smile-o; }
|
||||||
|
.#{$fa-css-prefix}-frown-o:before { content: $fa-var-frown-o; }
|
||||||
|
.#{$fa-css-prefix}-meh-o:before { content: $fa-var-meh-o; }
|
||||||
|
.#{$fa-css-prefix}-gamepad:before { content: $fa-var-gamepad; }
|
||||||
|
.#{$fa-css-prefix}-keyboard-o:before { content: $fa-var-keyboard-o; }
|
||||||
|
.#{$fa-css-prefix}-flag-o:before { content: $fa-var-flag-o; }
|
||||||
|
.#{$fa-css-prefix}-flag-checkered:before { content: $fa-var-flag-checkered; }
|
||||||
|
.#{$fa-css-prefix}-terminal:before { content: $fa-var-terminal; }
|
||||||
|
.#{$fa-css-prefix}-code:before { content: $fa-var-code; }
|
||||||
|
.#{$fa-css-prefix}-mail-reply-all:before,
|
||||||
|
.#{$fa-css-prefix}-reply-all:before { content: $fa-var-reply-all; }
|
||||||
|
.#{$fa-css-prefix}-star-half-empty:before,
|
||||||
|
.#{$fa-css-prefix}-star-half-full:before,
|
||||||
|
.#{$fa-css-prefix}-star-half-o:before { content: $fa-var-star-half-o; }
|
||||||
|
.#{$fa-css-prefix}-location-arrow:before { content: $fa-var-location-arrow; }
|
||||||
|
.#{$fa-css-prefix}-crop:before { content: $fa-var-crop; }
|
||||||
|
.#{$fa-css-prefix}-code-fork:before { content: $fa-var-code-fork; }
|
||||||
|
.#{$fa-css-prefix}-unlink:before,
|
||||||
|
.#{$fa-css-prefix}-chain-broken:before { content: $fa-var-chain-broken; }
|
||||||
|
.#{$fa-css-prefix}-question:before { content: $fa-var-question; }
|
||||||
|
.#{$fa-css-prefix}-info:before { content: $fa-var-info; }
|
||||||
|
.#{$fa-css-prefix}-exclamation:before { content: $fa-var-exclamation; }
|
||||||
|
.#{$fa-css-prefix}-superscript:before { content: $fa-var-superscript; }
|
||||||
|
.#{$fa-css-prefix}-subscript:before { content: $fa-var-subscript; }
|
||||||
|
.#{$fa-css-prefix}-eraser:before { content: $fa-var-eraser; }
|
||||||
|
.#{$fa-css-prefix}-puzzle-piece:before { content: $fa-var-puzzle-piece; }
|
||||||
|
.#{$fa-css-prefix}-microphone:before { content: $fa-var-microphone; }
|
||||||
|
.#{$fa-css-prefix}-microphone-slash:before { content: $fa-var-microphone-slash; }
|
||||||
|
.#{$fa-css-prefix}-shield:before { content: $fa-var-shield; }
|
||||||
|
.#{$fa-css-prefix}-calendar-o:before { content: $fa-var-calendar-o; }
|
||||||
|
.#{$fa-css-prefix}-fire-extinguisher:before { content: $fa-var-fire-extinguisher; }
|
||||||
|
.#{$fa-css-prefix}-rocket:before { content: $fa-var-rocket; }
|
||||||
|
.#{$fa-css-prefix}-maxcdn:before { content: $fa-var-maxcdn; }
|
||||||
|
.#{$fa-css-prefix}-chevron-circle-left:before { content: $fa-var-chevron-circle-left; }
|
||||||
|
.#{$fa-css-prefix}-chevron-circle-right:before { content: $fa-var-chevron-circle-right; }
|
||||||
|
.#{$fa-css-prefix}-chevron-circle-up:before { content: $fa-var-chevron-circle-up; }
|
||||||
|
.#{$fa-css-prefix}-chevron-circle-down:before { content: $fa-var-chevron-circle-down; }
|
||||||
|
.#{$fa-css-prefix}-html5:before { content: $fa-var-html5; }
|
||||||
|
.#{$fa-css-prefix}-css3:before { content: $fa-var-css3; }
|
||||||
|
.#{$fa-css-prefix}-anchor:before { content: $fa-var-anchor; }
|
||||||
|
.#{$fa-css-prefix}-unlock-alt:before { content: $fa-var-unlock-alt; }
|
||||||
|
.#{$fa-css-prefix}-bullseye:before { content: $fa-var-bullseye; }
|
||||||
|
.#{$fa-css-prefix}-ellipsis-h:before { content: $fa-var-ellipsis-h; }
|
||||||
|
.#{$fa-css-prefix}-ellipsis-v:before { content: $fa-var-ellipsis-v; }
|
||||||
|
.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; }
|
||||||
|
.#{$fa-css-prefix}-play-circle:before { content: $fa-var-play-circle; }
|
||||||
|
.#{$fa-css-prefix}-ticket:before { content: $fa-var-ticket; }
|
||||||
|
.#{$fa-css-prefix}-minus-square:before { content: $fa-var-minus-square; }
|
||||||
|
.#{$fa-css-prefix}-minus-square-o:before { content: $fa-var-minus-square-o; }
|
||||||
|
.#{$fa-css-prefix}-level-up:before { content: $fa-var-level-up; }
|
||||||
|
.#{$fa-css-prefix}-level-down:before { content: $fa-var-level-down; }
|
||||||
|
.#{$fa-css-prefix}-check-square:before { content: $fa-var-check-square; }
|
||||||
|
.#{$fa-css-prefix}-pencil-square:before { content: $fa-var-pencil-square; }
|
||||||
|
.#{$fa-css-prefix}-external-link-square:before { content: $fa-var-external-link-square; }
|
||||||
|
.#{$fa-css-prefix}-share-square:before { content: $fa-var-share-square; }
|
||||||
|
.#{$fa-css-prefix}-compass:before { content: $fa-var-compass; }
|
||||||
|
.#{$fa-css-prefix}-toggle-down:before,
|
||||||
|
.#{$fa-css-prefix}-caret-square-o-down:before { content: $fa-var-caret-square-o-down; }
|
||||||
|
.#{$fa-css-prefix}-toggle-up:before,
|
||||||
|
.#{$fa-css-prefix}-caret-square-o-up:before { content: $fa-var-caret-square-o-up; }
|
||||||
|
.#{$fa-css-prefix}-toggle-right:before,
|
||||||
|
.#{$fa-css-prefix}-caret-square-o-right:before { content: $fa-var-caret-square-o-right; }
|
||||||
|
.#{$fa-css-prefix}-euro:before,
|
||||||
|
.#{$fa-css-prefix}-eur:before { content: $fa-var-eur; }
|
||||||
|
.#{$fa-css-prefix}-gbp:before { content: $fa-var-gbp; }
|
||||||
|
.#{$fa-css-prefix}-dollar:before,
|
||||||
|
.#{$fa-css-prefix}-usd:before { content: $fa-var-usd; }
|
||||||
|
.#{$fa-css-prefix}-rupee:before,
|
||||||
|
.#{$fa-css-prefix}-inr:before { content: $fa-var-inr; }
|
||||||
|
.#{$fa-css-prefix}-cny:before,
|
||||||
|
.#{$fa-css-prefix}-rmb:before,
|
||||||
|
.#{$fa-css-prefix}-yen:before,
|
||||||
|
.#{$fa-css-prefix}-jpy:before { content: $fa-var-jpy; }
|
||||||
|
.#{$fa-css-prefix}-ruble:before,
|
||||||
|
.#{$fa-css-prefix}-rouble:before,
|
||||||
|
.#{$fa-css-prefix}-rub:before { content: $fa-var-rub; }
|
||||||
|
.#{$fa-css-prefix}-won:before,
|
||||||
|
.#{$fa-css-prefix}-krw:before { content: $fa-var-krw; }
|
||||||
|
.#{$fa-css-prefix}-bitcoin:before,
|
||||||
|
.#{$fa-css-prefix}-btc:before { content: $fa-var-btc; }
|
||||||
|
.#{$fa-css-prefix}-file:before { content: $fa-var-file; }
|
||||||
|
.#{$fa-css-prefix}-file-text:before { content: $fa-var-file-text; }
|
||||||
|
.#{$fa-css-prefix}-sort-alpha-asc:before { content: $fa-var-sort-alpha-asc; }
|
||||||
|
.#{$fa-css-prefix}-sort-alpha-desc:before { content: $fa-var-sort-alpha-desc; }
|
||||||
|
.#{$fa-css-prefix}-sort-amount-asc:before { content: $fa-var-sort-amount-asc; }
|
||||||
|
.#{$fa-css-prefix}-sort-amount-desc:before { content: $fa-var-sort-amount-desc; }
|
||||||
|
.#{$fa-css-prefix}-sort-numeric-asc:before { content: $fa-var-sort-numeric-asc; }
|
||||||
|
.#{$fa-css-prefix}-sort-numeric-desc:before { content: $fa-var-sort-numeric-desc; }
|
||||||
|
.#{$fa-css-prefix}-thumbs-up:before { content: $fa-var-thumbs-up; }
|
||||||
|
.#{$fa-css-prefix}-thumbs-down:before { content: $fa-var-thumbs-down; }
|
||||||
|
.#{$fa-css-prefix}-youtube-square:before { content: $fa-var-youtube-square; }
|
||||||
|
.#{$fa-css-prefix}-youtube:before { content: $fa-var-youtube; }
|
||||||
|
.#{$fa-css-prefix}-xing:before { content: $fa-var-xing; }
|
||||||
|
.#{$fa-css-prefix}-xing-square:before { content: $fa-var-xing-square; }
|
||||||
|
.#{$fa-css-prefix}-youtube-play:before { content: $fa-var-youtube-play; }
|
||||||
|
.#{$fa-css-prefix}-dropbox:before { content: $fa-var-dropbox; }
|
||||||
|
.#{$fa-css-prefix}-stack-overflow:before { content: $fa-var-stack-overflow; }
|
||||||
|
.#{$fa-css-prefix}-instagram:before { content: $fa-var-instagram; }
|
||||||
|
.#{$fa-css-prefix}-flickr:before { content: $fa-var-flickr; }
|
||||||
|
.#{$fa-css-prefix}-adn:before { content: $fa-var-adn; }
|
||||||
|
.#{$fa-css-prefix}-bitbucket:before { content: $fa-var-bitbucket; }
|
||||||
|
.#{$fa-css-prefix}-bitbucket-square:before { content: $fa-var-bitbucket-square; }
|
||||||
|
.#{$fa-css-prefix}-tumblr:before { content: $fa-var-tumblr; }
|
||||||
|
.#{$fa-css-prefix}-tumblr-square:before { content: $fa-var-tumblr-square; }
|
||||||
|
.#{$fa-css-prefix}-long-arrow-down:before { content: $fa-var-long-arrow-down; }
|
||||||
|
.#{$fa-css-prefix}-long-arrow-up:before { content: $fa-var-long-arrow-up; }
|
||||||
|
.#{$fa-css-prefix}-long-arrow-left:before { content: $fa-var-long-arrow-left; }
|
||||||
|
.#{$fa-css-prefix}-long-arrow-right:before { content: $fa-var-long-arrow-right; }
|
||||||
|
.#{$fa-css-prefix}-apple:before { content: $fa-var-apple; }
|
||||||
|
.#{$fa-css-prefix}-windows:before { content: $fa-var-windows; }
|
||||||
|
.#{$fa-css-prefix}-android:before { content: $fa-var-android; }
|
||||||
|
.#{$fa-css-prefix}-linux:before { content: $fa-var-linux; }
|
||||||
|
.#{$fa-css-prefix}-dribbble:before { content: $fa-var-dribbble; }
|
||||||
|
.#{$fa-css-prefix}-skype:before { content: $fa-var-skype; }
|
||||||
|
.#{$fa-css-prefix}-foursquare:before { content: $fa-var-foursquare; }
|
||||||
|
.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; }
|
||||||
|
.#{$fa-css-prefix}-female:before { content: $fa-var-female; }
|
||||||
|
.#{$fa-css-prefix}-male:before { content: $fa-var-male; }
|
||||||
|
.#{$fa-css-prefix}-gittip:before,
|
||||||
|
.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; }
|
||||||
|
.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; }
|
||||||
|
.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; }
|
||||||
|
.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; }
|
||||||
|
.#{$fa-css-prefix}-bug:before { content: $fa-var-bug; }
|
||||||
|
.#{$fa-css-prefix}-vk:before { content: $fa-var-vk; }
|
||||||
|
.#{$fa-css-prefix}-weibo:before { content: $fa-var-weibo; }
|
||||||
|
.#{$fa-css-prefix}-renren:before { content: $fa-var-renren; }
|
||||||
|
.#{$fa-css-prefix}-pagelines:before { content: $fa-var-pagelines; }
|
||||||
|
.#{$fa-css-prefix}-stack-exchange:before { content: $fa-var-stack-exchange; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-o-right:before { content: $fa-var-arrow-circle-o-right; }
|
||||||
|
.#{$fa-css-prefix}-arrow-circle-o-left:before { content: $fa-var-arrow-circle-o-left; }
|
||||||
|
.#{$fa-css-prefix}-toggle-left:before,
|
||||||
|
.#{$fa-css-prefix}-caret-square-o-left:before { content: $fa-var-caret-square-o-left; }
|
||||||
|
.#{$fa-css-prefix}-dot-circle-o:before { content: $fa-var-dot-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-wheelchair:before { content: $fa-var-wheelchair; }
|
||||||
|
.#{$fa-css-prefix}-vimeo-square:before { content: $fa-var-vimeo-square; }
|
||||||
|
.#{$fa-css-prefix}-turkish-lira:before,
|
||||||
|
.#{$fa-css-prefix}-try:before { content: $fa-var-try; }
|
||||||
|
.#{$fa-css-prefix}-plus-square-o:before { content: $fa-var-plus-square-o; }
|
||||||
|
.#{$fa-css-prefix}-space-shuttle:before { content: $fa-var-space-shuttle; }
|
||||||
|
.#{$fa-css-prefix}-slack:before { content: $fa-var-slack; }
|
||||||
|
.#{$fa-css-prefix}-envelope-square:before { content: $fa-var-envelope-square; }
|
||||||
|
.#{$fa-css-prefix}-wordpress:before { content: $fa-var-wordpress; }
|
||||||
|
.#{$fa-css-prefix}-openid:before { content: $fa-var-openid; }
|
||||||
|
.#{$fa-css-prefix}-institution:before,
|
||||||
|
.#{$fa-css-prefix}-bank:before,
|
||||||
|
.#{$fa-css-prefix}-university:before { content: $fa-var-university; }
|
||||||
|
.#{$fa-css-prefix}-mortar-board:before,
|
||||||
|
.#{$fa-css-prefix}-graduation-cap:before { content: $fa-var-graduation-cap; }
|
||||||
|
.#{$fa-css-prefix}-yahoo:before { content: $fa-var-yahoo; }
|
||||||
|
.#{$fa-css-prefix}-google:before { content: $fa-var-google; }
|
||||||
|
.#{$fa-css-prefix}-reddit:before { content: $fa-var-reddit; }
|
||||||
|
.#{$fa-css-prefix}-reddit-square:before { content: $fa-var-reddit-square; }
|
||||||
|
.#{$fa-css-prefix}-stumbleupon-circle:before { content: $fa-var-stumbleupon-circle; }
|
||||||
|
.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }
|
||||||
|
.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }
|
||||||
|
.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; }
|
||||||
|
.#{$fa-css-prefix}-pied-piper-pp:before { content: $fa-var-pied-piper-pp; }
|
||||||
|
.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }
|
||||||
|
.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }
|
||||||
|
.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; }
|
||||||
|
.#{$fa-css-prefix}-language:before { content: $fa-var-language; }
|
||||||
|
.#{$fa-css-prefix}-fax:before { content: $fa-var-fax; }
|
||||||
|
.#{$fa-css-prefix}-building:before { content: $fa-var-building; }
|
||||||
|
.#{$fa-css-prefix}-child:before { content: $fa-var-child; }
|
||||||
|
.#{$fa-css-prefix}-paw:before { content: $fa-var-paw; }
|
||||||
|
.#{$fa-css-prefix}-spoon:before { content: $fa-var-spoon; }
|
||||||
|
.#{$fa-css-prefix}-cube:before { content: $fa-var-cube; }
|
||||||
|
.#{$fa-css-prefix}-cubes:before { content: $fa-var-cubes; }
|
||||||
|
.#{$fa-css-prefix}-behance:before { content: $fa-var-behance; }
|
||||||
|
.#{$fa-css-prefix}-behance-square:before { content: $fa-var-behance-square; }
|
||||||
|
.#{$fa-css-prefix}-steam:before { content: $fa-var-steam; }
|
||||||
|
.#{$fa-css-prefix}-steam-square:before { content: $fa-var-steam-square; }
|
||||||
|
.#{$fa-css-prefix}-recycle:before { content: $fa-var-recycle; }
|
||||||
|
.#{$fa-css-prefix}-automobile:before,
|
||||||
|
.#{$fa-css-prefix}-car:before { content: $fa-var-car; }
|
||||||
|
.#{$fa-css-prefix}-cab:before,
|
||||||
|
.#{$fa-css-prefix}-taxi:before { content: $fa-var-taxi; }
|
||||||
|
.#{$fa-css-prefix}-tree:before { content: $fa-var-tree; }
|
||||||
|
.#{$fa-css-prefix}-spotify:before { content: $fa-var-spotify; }
|
||||||
|
.#{$fa-css-prefix}-deviantart:before { content: $fa-var-deviantart; }
|
||||||
|
.#{$fa-css-prefix}-soundcloud:before { content: $fa-var-soundcloud; }
|
||||||
|
.#{$fa-css-prefix}-database:before { content: $fa-var-database; }
|
||||||
|
.#{$fa-css-prefix}-file-pdf-o:before { content: $fa-var-file-pdf-o; }
|
||||||
|
.#{$fa-css-prefix}-file-word-o:before { content: $fa-var-file-word-o; }
|
||||||
|
.#{$fa-css-prefix}-file-excel-o:before { content: $fa-var-file-excel-o; }
|
||||||
|
.#{$fa-css-prefix}-file-powerpoint-o:before { content: $fa-var-file-powerpoint-o; }
|
||||||
|
.#{$fa-css-prefix}-file-photo-o:before,
|
||||||
|
.#{$fa-css-prefix}-file-picture-o:before,
|
||||||
|
.#{$fa-css-prefix}-file-image-o:before { content: $fa-var-file-image-o; }
|
||||||
|
.#{$fa-css-prefix}-file-zip-o:before,
|
||||||
|
.#{$fa-css-prefix}-file-archive-o:before { content: $fa-var-file-archive-o; }
|
||||||
|
.#{$fa-css-prefix}-file-sound-o:before,
|
||||||
|
.#{$fa-css-prefix}-file-audio-o:before { content: $fa-var-file-audio-o; }
|
||||||
|
.#{$fa-css-prefix}-file-movie-o:before,
|
||||||
|
.#{$fa-css-prefix}-file-video-o:before { content: $fa-var-file-video-o; }
|
||||||
|
.#{$fa-css-prefix}-file-code-o:before { content: $fa-var-file-code-o; }
|
||||||
|
.#{$fa-css-prefix}-vine:before { content: $fa-var-vine; }
|
||||||
|
.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; }
|
||||||
|
.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; }
|
||||||
|
.#{$fa-css-prefix}-life-bouy:before,
|
||||||
|
.#{$fa-css-prefix}-life-buoy:before,
|
||||||
|
.#{$fa-css-prefix}-life-saver:before,
|
||||||
|
.#{$fa-css-prefix}-support:before,
|
||||||
|
.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }
|
||||||
|
.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; }
|
||||||
|
.#{$fa-css-prefix}-ra:before,
|
||||||
|
.#{$fa-css-prefix}-resistance:before,
|
||||||
|
.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; }
|
||||||
|
.#{$fa-css-prefix}-ge:before,
|
||||||
|
.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }
|
||||||
|
.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; }
|
||||||
|
.#{$fa-css-prefix}-git:before { content: $fa-var-git; }
|
||||||
|
.#{$fa-css-prefix}-y-combinator-square:before,
|
||||||
|
.#{$fa-css-prefix}-yc-square:before,
|
||||||
|
.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; }
|
||||||
|
.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; }
|
||||||
|
.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; }
|
||||||
|
.#{$fa-css-prefix}-wechat:before,
|
||||||
|
.#{$fa-css-prefix}-weixin:before { content: $fa-var-weixin; }
|
||||||
|
.#{$fa-css-prefix}-send:before,
|
||||||
|
.#{$fa-css-prefix}-paper-plane:before { content: $fa-var-paper-plane; }
|
||||||
|
.#{$fa-css-prefix}-send-o:before,
|
||||||
|
.#{$fa-css-prefix}-paper-plane-o:before { content: $fa-var-paper-plane-o; }
|
||||||
|
.#{$fa-css-prefix}-history:before { content: $fa-var-history; }
|
||||||
|
.#{$fa-css-prefix}-circle-thin:before { content: $fa-var-circle-thin; }
|
||||||
|
.#{$fa-css-prefix}-header:before { content: $fa-var-header; }
|
||||||
|
.#{$fa-css-prefix}-paragraph:before { content: $fa-var-paragraph; }
|
||||||
|
.#{$fa-css-prefix}-sliders:before { content: $fa-var-sliders; }
|
||||||
|
.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; }
|
||||||
|
.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; }
|
||||||
|
.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; }
|
||||||
|
.#{$fa-css-prefix}-soccer-ball-o:before,
|
||||||
|
.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; }
|
||||||
|
.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; }
|
||||||
|
.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; }
|
||||||
|
.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; }
|
||||||
|
.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; }
|
||||||
|
.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; }
|
||||||
|
.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; }
|
||||||
|
.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; }
|
||||||
|
.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; }
|
||||||
|
.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; }
|
||||||
|
.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; }
|
||||||
|
.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; }
|
||||||
|
.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; }
|
||||||
|
.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; }
|
||||||
|
.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; }
|
||||||
|
.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; }
|
||||||
|
.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; }
|
||||||
|
.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; }
|
||||||
|
.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; }
|
||||||
|
.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; }
|
||||||
|
.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; }
|
||||||
|
.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; }
|
||||||
|
.#{$fa-css-prefix}-at:before { content: $fa-var-at; }
|
||||||
|
.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; }
|
||||||
|
.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; }
|
||||||
|
.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; }
|
||||||
|
.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; }
|
||||||
|
.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; }
|
||||||
|
.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; }
|
||||||
|
.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; }
|
||||||
|
.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; }
|
||||||
|
.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; }
|
||||||
|
.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; }
|
||||||
|
.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; }
|
||||||
|
.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; }
|
||||||
|
.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; }
|
||||||
|
.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; }
|
||||||
|
.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; }
|
||||||
|
.#{$fa-css-prefix}-shekel:before,
|
||||||
|
.#{$fa-css-prefix}-sheqel:before,
|
||||||
|
.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; }
|
||||||
|
.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; }
|
||||||
|
.#{$fa-css-prefix}-buysellads:before { content: $fa-var-buysellads; }
|
||||||
|
.#{$fa-css-prefix}-connectdevelop:before { content: $fa-var-connectdevelop; }
|
||||||
|
.#{$fa-css-prefix}-dashcube:before { content: $fa-var-dashcube; }
|
||||||
|
.#{$fa-css-prefix}-forumbee:before { content: $fa-var-forumbee; }
|
||||||
|
.#{$fa-css-prefix}-leanpub:before { content: $fa-var-leanpub; }
|
||||||
|
.#{$fa-css-prefix}-sellsy:before { content: $fa-var-sellsy; }
|
||||||
|
.#{$fa-css-prefix}-shirtsinbulk:before { content: $fa-var-shirtsinbulk; }
|
||||||
|
.#{$fa-css-prefix}-simplybuilt:before { content: $fa-var-simplybuilt; }
|
||||||
|
.#{$fa-css-prefix}-skyatlas:before { content: $fa-var-skyatlas; }
|
||||||
|
.#{$fa-css-prefix}-cart-plus:before { content: $fa-var-cart-plus; }
|
||||||
|
.#{$fa-css-prefix}-cart-arrow-down:before { content: $fa-var-cart-arrow-down; }
|
||||||
|
.#{$fa-css-prefix}-diamond:before { content: $fa-var-diamond; }
|
||||||
|
.#{$fa-css-prefix}-ship:before { content: $fa-var-ship; }
|
||||||
|
.#{$fa-css-prefix}-user-secret:before { content: $fa-var-user-secret; }
|
||||||
|
.#{$fa-css-prefix}-motorcycle:before { content: $fa-var-motorcycle; }
|
||||||
|
.#{$fa-css-prefix}-street-view:before { content: $fa-var-street-view; }
|
||||||
|
.#{$fa-css-prefix}-heartbeat:before { content: $fa-var-heartbeat; }
|
||||||
|
.#{$fa-css-prefix}-venus:before { content: $fa-var-venus; }
|
||||||
|
.#{$fa-css-prefix}-mars:before { content: $fa-var-mars; }
|
||||||
|
.#{$fa-css-prefix}-mercury:before { content: $fa-var-mercury; }
|
||||||
|
.#{$fa-css-prefix}-intersex:before,
|
||||||
|
.#{$fa-css-prefix}-transgender:before { content: $fa-var-transgender; }
|
||||||
|
.#{$fa-css-prefix}-transgender-alt:before { content: $fa-var-transgender-alt; }
|
||||||
|
.#{$fa-css-prefix}-venus-double:before { content: $fa-var-venus-double; }
|
||||||
|
.#{$fa-css-prefix}-mars-double:before { content: $fa-var-mars-double; }
|
||||||
|
.#{$fa-css-prefix}-venus-mars:before { content: $fa-var-venus-mars; }
|
||||||
|
.#{$fa-css-prefix}-mars-stroke:before { content: $fa-var-mars-stroke; }
|
||||||
|
.#{$fa-css-prefix}-mars-stroke-v:before { content: $fa-var-mars-stroke-v; }
|
||||||
|
.#{$fa-css-prefix}-mars-stroke-h:before { content: $fa-var-mars-stroke-h; }
|
||||||
|
.#{$fa-css-prefix}-neuter:before { content: $fa-var-neuter; }
|
||||||
|
.#{$fa-css-prefix}-genderless:before { content: $fa-var-genderless; }
|
||||||
|
.#{$fa-css-prefix}-facebook-official:before { content: $fa-var-facebook-official; }
|
||||||
|
.#{$fa-css-prefix}-pinterest-p:before { content: $fa-var-pinterest-p; }
|
||||||
|
.#{$fa-css-prefix}-whatsapp:before { content: $fa-var-whatsapp; }
|
||||||
|
.#{$fa-css-prefix}-server:before { content: $fa-var-server; }
|
||||||
|
.#{$fa-css-prefix}-user-plus:before { content: $fa-var-user-plus; }
|
||||||
|
.#{$fa-css-prefix}-user-times:before { content: $fa-var-user-times; }
|
||||||
|
.#{$fa-css-prefix}-hotel:before,
|
||||||
|
.#{$fa-css-prefix}-bed:before { content: $fa-var-bed; }
|
||||||
|
.#{$fa-css-prefix}-viacoin:before { content: $fa-var-viacoin; }
|
||||||
|
.#{$fa-css-prefix}-train:before { content: $fa-var-train; }
|
||||||
|
.#{$fa-css-prefix}-subway:before { content: $fa-var-subway; }
|
||||||
|
.#{$fa-css-prefix}-medium:before { content: $fa-var-medium; }
|
||||||
|
.#{$fa-css-prefix}-yc:before,
|
||||||
|
.#{$fa-css-prefix}-y-combinator:before { content: $fa-var-y-combinator; }
|
||||||
|
.#{$fa-css-prefix}-optin-monster:before { content: $fa-var-optin-monster; }
|
||||||
|
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
|
||||||
|
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
|
||||||
|
.#{$fa-css-prefix}-battery-4:before,
|
||||||
|
.#{$fa-css-prefix}-battery:before,
|
||||||
|
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
|
||||||
|
.#{$fa-css-prefix}-battery-3:before,
|
||||||
|
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
|
||||||
|
.#{$fa-css-prefix}-battery-2:before,
|
||||||
|
.#{$fa-css-prefix}-battery-half:before { content: $fa-var-battery-half; }
|
||||||
|
.#{$fa-css-prefix}-battery-1:before,
|
||||||
|
.#{$fa-css-prefix}-battery-quarter:before { content: $fa-var-battery-quarter; }
|
||||||
|
.#{$fa-css-prefix}-battery-0:before,
|
||||||
|
.#{$fa-css-prefix}-battery-empty:before { content: $fa-var-battery-empty; }
|
||||||
|
.#{$fa-css-prefix}-mouse-pointer:before { content: $fa-var-mouse-pointer; }
|
||||||
|
.#{$fa-css-prefix}-i-cursor:before { content: $fa-var-i-cursor; }
|
||||||
|
.#{$fa-css-prefix}-object-group:before { content: $fa-var-object-group; }
|
||||||
|
.#{$fa-css-prefix}-object-ungroup:before { content: $fa-var-object-ungroup; }
|
||||||
|
.#{$fa-css-prefix}-sticky-note:before { content: $fa-var-sticky-note; }
|
||||||
|
.#{$fa-css-prefix}-sticky-note-o:before { content: $fa-var-sticky-note-o; }
|
||||||
|
.#{$fa-css-prefix}-cc-jcb:before { content: $fa-var-cc-jcb; }
|
||||||
|
.#{$fa-css-prefix}-cc-diners-club:before { content: $fa-var-cc-diners-club; }
|
||||||
|
.#{$fa-css-prefix}-clone:before { content: $fa-var-clone; }
|
||||||
|
.#{$fa-css-prefix}-balance-scale:before { content: $fa-var-balance-scale; }
|
||||||
|
.#{$fa-css-prefix}-hourglass-o:before { content: $fa-var-hourglass-o; }
|
||||||
|
.#{$fa-css-prefix}-hourglass-1:before,
|
||||||
|
.#{$fa-css-prefix}-hourglass-start:before { content: $fa-var-hourglass-start; }
|
||||||
|
.#{$fa-css-prefix}-hourglass-2:before,
|
||||||
|
.#{$fa-css-prefix}-hourglass-half:before { content: $fa-var-hourglass-half; }
|
||||||
|
.#{$fa-css-prefix}-hourglass-3:before,
|
||||||
|
.#{$fa-css-prefix}-hourglass-end:before { content: $fa-var-hourglass-end; }
|
||||||
|
.#{$fa-css-prefix}-hourglass:before { content: $fa-var-hourglass; }
|
||||||
|
.#{$fa-css-prefix}-hand-grab-o:before,
|
||||||
|
.#{$fa-css-prefix}-hand-rock-o:before { content: $fa-var-hand-rock-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-stop-o:before,
|
||||||
|
.#{$fa-css-prefix}-hand-paper-o:before { content: $fa-var-hand-paper-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-scissors-o:before { content: $fa-var-hand-scissors-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-lizard-o:before { content: $fa-var-hand-lizard-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-spock-o:before { content: $fa-var-hand-spock-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-pointer-o:before { content: $fa-var-hand-pointer-o; }
|
||||||
|
.#{$fa-css-prefix}-hand-peace-o:before { content: $fa-var-hand-peace-o; }
|
||||||
|
.#{$fa-css-prefix}-trademark:before { content: $fa-var-trademark; }
|
||||||
|
.#{$fa-css-prefix}-registered:before { content: $fa-var-registered; }
|
||||||
|
.#{$fa-css-prefix}-creative-commons:before { content: $fa-var-creative-commons; }
|
||||||
|
.#{$fa-css-prefix}-gg:before { content: $fa-var-gg; }
|
||||||
|
.#{$fa-css-prefix}-gg-circle:before { content: $fa-var-gg-circle; }
|
||||||
|
.#{$fa-css-prefix}-tripadvisor:before { content: $fa-var-tripadvisor; }
|
||||||
|
.#{$fa-css-prefix}-odnoklassniki:before { content: $fa-var-odnoklassniki; }
|
||||||
|
.#{$fa-css-prefix}-odnoklassniki-square:before { content: $fa-var-odnoklassniki-square; }
|
||||||
|
.#{$fa-css-prefix}-get-pocket:before { content: $fa-var-get-pocket; }
|
||||||
|
.#{$fa-css-prefix}-wikipedia-w:before { content: $fa-var-wikipedia-w; }
|
||||||
|
.#{$fa-css-prefix}-safari:before { content: $fa-var-safari; }
|
||||||
|
.#{$fa-css-prefix}-chrome:before { content: $fa-var-chrome; }
|
||||||
|
.#{$fa-css-prefix}-firefox:before { content: $fa-var-firefox; }
|
||||||
|
.#{$fa-css-prefix}-opera:before { content: $fa-var-opera; }
|
||||||
|
.#{$fa-css-prefix}-internet-explorer:before { content: $fa-var-internet-explorer; }
|
||||||
|
.#{$fa-css-prefix}-tv:before,
|
||||||
|
.#{$fa-css-prefix}-television:before { content: $fa-var-television; }
|
||||||
|
.#{$fa-css-prefix}-contao:before { content: $fa-var-contao; }
|
||||||
|
.#{$fa-css-prefix}-500px:before { content: $fa-var-500px; }
|
||||||
|
.#{$fa-css-prefix}-amazon:before { content: $fa-var-amazon; }
|
||||||
|
.#{$fa-css-prefix}-calendar-plus-o:before { content: $fa-var-calendar-plus-o; }
|
||||||
|
.#{$fa-css-prefix}-calendar-minus-o:before { content: $fa-var-calendar-minus-o; }
|
||||||
|
.#{$fa-css-prefix}-calendar-times-o:before { content: $fa-var-calendar-times-o; }
|
||||||
|
.#{$fa-css-prefix}-calendar-check-o:before { content: $fa-var-calendar-check-o; }
|
||||||
|
.#{$fa-css-prefix}-industry:before { content: $fa-var-industry; }
|
||||||
|
.#{$fa-css-prefix}-map-pin:before { content: $fa-var-map-pin; }
|
||||||
|
.#{$fa-css-prefix}-map-signs:before { content: $fa-var-map-signs; }
|
||||||
|
.#{$fa-css-prefix}-map-o:before { content: $fa-var-map-o; }
|
||||||
|
.#{$fa-css-prefix}-map:before { content: $fa-var-map; }
|
||||||
|
.#{$fa-css-prefix}-commenting:before { content: $fa-var-commenting; }
|
||||||
|
.#{$fa-css-prefix}-commenting-o:before { content: $fa-var-commenting-o; }
|
||||||
|
.#{$fa-css-prefix}-houzz:before { content: $fa-var-houzz; }
|
||||||
|
.#{$fa-css-prefix}-vimeo:before { content: $fa-var-vimeo; }
|
||||||
|
.#{$fa-css-prefix}-black-tie:before { content: $fa-var-black-tie; }
|
||||||
|
.#{$fa-css-prefix}-fonticons:before { content: $fa-var-fonticons; }
|
||||||
|
.#{$fa-css-prefix}-reddit-alien:before { content: $fa-var-reddit-alien; }
|
||||||
|
.#{$fa-css-prefix}-edge:before { content: $fa-var-edge; }
|
||||||
|
.#{$fa-css-prefix}-credit-card-alt:before { content: $fa-var-credit-card-alt; }
|
||||||
|
.#{$fa-css-prefix}-codiepie:before { content: $fa-var-codiepie; }
|
||||||
|
.#{$fa-css-prefix}-modx:before { content: $fa-var-modx; }
|
||||||
|
.#{$fa-css-prefix}-fort-awesome:before { content: $fa-var-fort-awesome; }
|
||||||
|
.#{$fa-css-prefix}-usb:before { content: $fa-var-usb; }
|
||||||
|
.#{$fa-css-prefix}-product-hunt:before { content: $fa-var-product-hunt; }
|
||||||
|
.#{$fa-css-prefix}-mixcloud:before { content: $fa-var-mixcloud; }
|
||||||
|
.#{$fa-css-prefix}-scribd:before { content: $fa-var-scribd; }
|
||||||
|
.#{$fa-css-prefix}-pause-circle:before { content: $fa-var-pause-circle; }
|
||||||
|
.#{$fa-css-prefix}-pause-circle-o:before { content: $fa-var-pause-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-stop-circle:before { content: $fa-var-stop-circle; }
|
||||||
|
.#{$fa-css-prefix}-stop-circle-o:before { content: $fa-var-stop-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-shopping-bag:before { content: $fa-var-shopping-bag; }
|
||||||
|
.#{$fa-css-prefix}-shopping-basket:before { content: $fa-var-shopping-basket; }
|
||||||
|
.#{$fa-css-prefix}-hashtag:before { content: $fa-var-hashtag; }
|
||||||
|
.#{$fa-css-prefix}-bluetooth:before { content: $fa-var-bluetooth; }
|
||||||
|
.#{$fa-css-prefix}-bluetooth-b:before { content: $fa-var-bluetooth-b; }
|
||||||
|
.#{$fa-css-prefix}-percent:before { content: $fa-var-percent; }
|
||||||
|
.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; }
|
||||||
|
.#{$fa-css-prefix}-wpbeginner:before { content: $fa-var-wpbeginner; }
|
||||||
|
.#{$fa-css-prefix}-wpforms:before { content: $fa-var-wpforms; }
|
||||||
|
.#{$fa-css-prefix}-envira:before { content: $fa-var-envira; }
|
||||||
|
.#{$fa-css-prefix}-universal-access:before { content: $fa-var-universal-access; }
|
||||||
|
.#{$fa-css-prefix}-wheelchair-alt:before { content: $fa-var-wheelchair-alt; }
|
||||||
|
.#{$fa-css-prefix}-question-circle-o:before { content: $fa-var-question-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-blind:before { content: $fa-var-blind; }
|
||||||
|
.#{$fa-css-prefix}-audio-description:before { content: $fa-var-audio-description; }
|
||||||
|
.#{$fa-css-prefix}-volume-control-phone:before { content: $fa-var-volume-control-phone; }
|
||||||
|
.#{$fa-css-prefix}-braille:before { content: $fa-var-braille; }
|
||||||
|
.#{$fa-css-prefix}-assistive-listening-systems:before { content: $fa-var-assistive-listening-systems; }
|
||||||
|
.#{$fa-css-prefix}-asl-interpreting:before,
|
||||||
|
.#{$fa-css-prefix}-american-sign-language-interpreting:before { content: $fa-var-american-sign-language-interpreting; }
|
||||||
|
.#{$fa-css-prefix}-deafness:before,
|
||||||
|
.#{$fa-css-prefix}-hard-of-hearing:before,
|
||||||
|
.#{$fa-css-prefix}-deaf:before { content: $fa-var-deaf; }
|
||||||
|
.#{$fa-css-prefix}-glide:before { content: $fa-var-glide; }
|
||||||
|
.#{$fa-css-prefix}-glide-g:before { content: $fa-var-glide-g; }
|
||||||
|
.#{$fa-css-prefix}-signing:before,
|
||||||
|
.#{$fa-css-prefix}-sign-language:before { content: $fa-var-sign-language; }
|
||||||
|
.#{$fa-css-prefix}-low-vision:before { content: $fa-var-low-vision; }
|
||||||
|
.#{$fa-css-prefix}-viadeo:before { content: $fa-var-viadeo; }
|
||||||
|
.#{$fa-css-prefix}-viadeo-square:before { content: $fa-var-viadeo-square; }
|
||||||
|
.#{$fa-css-prefix}-snapchat:before { content: $fa-var-snapchat; }
|
||||||
|
.#{$fa-css-prefix}-snapchat-ghost:before { content: $fa-var-snapchat-ghost; }
|
||||||
|
.#{$fa-css-prefix}-snapchat-square:before { content: $fa-var-snapchat-square; }
|
||||||
|
.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }
|
||||||
|
.#{$fa-css-prefix}-first-order:before { content: $fa-var-first-order; }
|
||||||
|
.#{$fa-css-prefix}-yoast:before { content: $fa-var-yoast; }
|
||||||
|
.#{$fa-css-prefix}-themeisle:before { content: $fa-var-themeisle; }
|
||||||
|
.#{$fa-css-prefix}-google-plus-circle:before,
|
||||||
|
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
|
||||||
|
.#{$fa-css-prefix}-fa:before,
|
||||||
|
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
|
||||||
|
.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; }
|
||||||
|
.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; }
|
||||||
|
.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; }
|
||||||
|
.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; }
|
||||||
|
.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; }
|
||||||
|
.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; }
|
||||||
|
.#{$fa-css-prefix}-vcard:before,
|
||||||
|
.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; }
|
||||||
|
.#{$fa-css-prefix}-vcard-o:before,
|
||||||
|
.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; }
|
||||||
|
.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; }
|
||||||
|
.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; }
|
||||||
|
.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; }
|
||||||
|
.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; }
|
||||||
|
.#{$fa-css-prefix}-drivers-license:before,
|
||||||
|
.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; }
|
||||||
|
.#{$fa-css-prefix}-drivers-license-o:before,
|
||||||
|
.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; }
|
||||||
|
.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; }
|
||||||
|
.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; }
|
||||||
|
.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-4:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-3:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-2:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-1:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; }
|
||||||
|
.#{$fa-css-prefix}-thermometer-0:before,
|
||||||
|
.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; }
|
||||||
|
.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; }
|
||||||
|
.#{$fa-css-prefix}-bathtub:before,
|
||||||
|
.#{$fa-css-prefix}-s15:before,
|
||||||
|
.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; }
|
||||||
|
.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; }
|
||||||
|
.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; }
|
||||||
|
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
|
||||||
|
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
|
||||||
|
.#{$fa-css-prefix}-times-rectangle:before,
|
||||||
|
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
|
||||||
|
.#{$fa-css-prefix}-times-rectangle-o:before,
|
||||||
|
.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; }
|
||||||
|
.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; }
|
||||||
|
.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; }
|
||||||
|
.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; }
|
||||||
|
.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; }
|
||||||
|
.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; }
|
||||||
|
.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; }
|
||||||
|
.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; }
|
||||||
|
.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; }
|
||||||
|
.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; }
|
||||||
|
.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; }
|
||||||
|
.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; }
|
13
html/vendor/font-awesome/scss/_larger.scss
vendored
Normal file
13
html/vendor/font-awesome/scss/_larger.scss
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// Icon Sizes
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
/* makes the font 33% larger relative to the icon container */
|
||||||
|
.#{$fa-css-prefix}-lg {
|
||||||
|
font-size: (4em / 3);
|
||||||
|
line-height: (3em / 4);
|
||||||
|
vertical-align: -15%;
|
||||||
|
}
|
||||||
|
.#{$fa-css-prefix}-2x { font-size: 2em; }
|
||||||
|
.#{$fa-css-prefix}-3x { font-size: 3em; }
|
||||||
|
.#{$fa-css-prefix}-4x { font-size: 4em; }
|
||||||
|
.#{$fa-css-prefix}-5x { font-size: 5em; }
|
19
html/vendor/font-awesome/scss/_list.scss
vendored
Normal file
19
html/vendor/font-awesome/scss/_list.scss
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
// List Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-ul {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-left: $fa-li-width;
|
||||||
|
list-style-type: none;
|
||||||
|
> li { position: relative; }
|
||||||
|
}
|
||||||
|
.#{$fa-css-prefix}-li {
|
||||||
|
position: absolute;
|
||||||
|
left: -$fa-li-width;
|
||||||
|
width: $fa-li-width;
|
||||||
|
top: (2em / 14);
|
||||||
|
text-align: center;
|
||||||
|
&.#{$fa-css-prefix}-lg {
|
||||||
|
left: -$fa-li-width + (4em / 14);
|
||||||
|
}
|
||||||
|
}
|
60
html/vendor/font-awesome/scss/_mixins.scss
vendored
Normal file
60
html/vendor/font-awesome/scss/_mixins.scss
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
// Mixins
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
@mixin fa-icon() {
|
||||||
|
display: inline-block;
|
||||||
|
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
|
||||||
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||||
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})";
|
||||||
|
-webkit-transform: rotate($degrees);
|
||||||
|
-ms-transform: rotate($degrees);
|
||||||
|
transform: rotate($degrees);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)";
|
||||||
|
-webkit-transform: scale($horiz, $vert);
|
||||||
|
-ms-transform: scale($horiz, $vert);
|
||||||
|
transform: scale($horiz, $vert);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Only display content to screen readers. A la Bootstrap 4.
|
||||||
|
//
|
||||||
|
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||||
|
|
||||||
|
@mixin sr-only {
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: 1px;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||||
|
//
|
||||||
|
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||||
|
//
|
||||||
|
// Credit: HTML5 Boilerplate
|
||||||
|
|
||||||
|
@mixin sr-only-focusable {
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
position: static;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: visible;
|
||||||
|
clip: auto;
|
||||||
|
}
|
||||||
|
}
|
15
html/vendor/font-awesome/scss/_path.scss
vendored
Normal file
15
html/vendor/font-awesome/scss/_path.scss
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/* FONT PATH
|
||||||
|
* -------------------------- */
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'FontAwesome';
|
||||||
|
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
|
||||||
|
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
|
||||||
|
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),
|
||||||
|
url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
|
||||||
|
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
|
||||||
|
url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
|
||||||
|
// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
20
html/vendor/font-awesome/scss/_rotated-flipped.scss
vendored
Normal file
20
html/vendor/font-awesome/scss/_rotated-flipped.scss
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Rotated & Flipped Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); }
|
||||||
|
.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); }
|
||||||
|
.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); }
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
|
||||||
|
.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }
|
||||||
|
|
||||||
|
// Hook for IE8-9
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
:root .#{$fa-css-prefix}-rotate-90,
|
||||||
|
:root .#{$fa-css-prefix}-rotate-180,
|
||||||
|
:root .#{$fa-css-prefix}-rotate-270,
|
||||||
|
:root .#{$fa-css-prefix}-flip-horizontal,
|
||||||
|
:root .#{$fa-css-prefix}-flip-vertical {
|
||||||
|
filter: none;
|
||||||
|
}
|
5
html/vendor/font-awesome/scss/_screen-reader.scss
vendored
Normal file
5
html/vendor/font-awesome/scss/_screen-reader.scss
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// Screen Readers
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.sr-only { @include sr-only(); }
|
||||||
|
.sr-only-focusable { @include sr-only-focusable(); }
|
20
html/vendor/font-awesome/scss/_stacked.scss
vendored
Normal file
20
html/vendor/font-awesome/scss/_stacked.scss
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// Stacked Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.#{$fa-css-prefix}-stack {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.#{$fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||||
|
.#{$fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||||
|
.#{$fa-css-prefix}-inverse { color: $fa-inverse; }
|
800
html/vendor/font-awesome/scss/_variables.scss
vendored
Normal file
800
html/vendor/font-awesome/scss/_variables.scss
vendored
Normal file
@ -0,0 +1,800 @@
|
|||||||
|
// Variables
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
$fa-font-path: "../fonts" !default;
|
||||||
|
$fa-font-size-base: 14px !default;
|
||||||
|
$fa-line-height-base: 1 !default;
|
||||||
|
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
|
||||||
|
$fa-css-prefix: fa !default;
|
||||||
|
$fa-version: "4.7.0" !default;
|
||||||
|
$fa-border-color: #eee !default;
|
||||||
|
$fa-inverse: #fff !default;
|
||||||
|
$fa-li-width: (30em / 14) !default;
|
||||||
|
|
||||||
|
$fa-var-500px: "\f26e";
|
||||||
|
$fa-var-address-book: "\f2b9";
|
||||||
|
$fa-var-address-book-o: "\f2ba";
|
||||||
|
$fa-var-address-card: "\f2bb";
|
||||||
|
$fa-var-address-card-o: "\f2bc";
|
||||||
|
$fa-var-adjust: "\f042";
|
||||||
|
$fa-var-adn: "\f170";
|
||||||
|
$fa-var-align-center: "\f037";
|
||||||
|
$fa-var-align-justify: "\f039";
|
||||||
|
$fa-var-align-left: "\f036";
|
||||||
|
$fa-var-align-right: "\f038";
|
||||||
|
$fa-var-amazon: "\f270";
|
||||||
|
$fa-var-ambulance: "\f0f9";
|
||||||
|
$fa-var-american-sign-language-interpreting: "\f2a3";
|
||||||
|
$fa-var-anchor: "\f13d";
|
||||||
|
$fa-var-android: "\f17b";
|
||||||
|
$fa-var-angellist: "\f209";
|
||||||
|
$fa-var-angle-double-down: "\f103";
|
||||||
|
$fa-var-angle-double-left: "\f100";
|
||||||
|
$fa-var-angle-double-right: "\f101";
|
||||||
|
$fa-var-angle-double-up: "\f102";
|
||||||
|
$fa-var-angle-down: "\f107";
|
||||||
|
$fa-var-angle-left: "\f104";
|
||||||
|
$fa-var-angle-right: "\f105";
|
||||||
|
$fa-var-angle-up: "\f106";
|
||||||
|
$fa-var-apple: "\f179";
|
||||||
|
$fa-var-archive: "\f187";
|
||||||
|
$fa-var-area-chart: "\f1fe";
|
||||||
|
$fa-var-arrow-circle-down: "\f0ab";
|
||||||
|
$fa-var-arrow-circle-left: "\f0a8";
|
||||||
|
$fa-var-arrow-circle-o-down: "\f01a";
|
||||||
|
$fa-var-arrow-circle-o-left: "\f190";
|
||||||
|
$fa-var-arrow-circle-o-right: "\f18e";
|
||||||
|
$fa-var-arrow-circle-o-up: "\f01b";
|
||||||
|
$fa-var-arrow-circle-right: "\f0a9";
|
||||||
|
$fa-var-arrow-circle-up: "\f0aa";
|
||||||
|
$fa-var-arrow-down: "\f063";
|
||||||
|
$fa-var-arrow-left: "\f060";
|
||||||
|
$fa-var-arrow-right: "\f061";
|
||||||
|
$fa-var-arrow-up: "\f062";
|
||||||
|
$fa-var-arrows: "\f047";
|
||||||
|
$fa-var-arrows-alt: "\f0b2";
|
||||||
|
$fa-var-arrows-h: "\f07e";
|
||||||
|
$fa-var-arrows-v: "\f07d";
|
||||||
|
$fa-var-asl-interpreting: "\f2a3";
|
||||||
|
$fa-var-assistive-listening-systems: "\f2a2";
|
||||||
|
$fa-var-asterisk: "\f069";
|
||||||
|
$fa-var-at: "\f1fa";
|
||||||
|
$fa-var-audio-description: "\f29e";
|
||||||
|
$fa-var-automobile: "\f1b9";
|
||||||
|
$fa-var-backward: "\f04a";
|
||||||
|
$fa-var-balance-scale: "\f24e";
|
||||||
|
$fa-var-ban: "\f05e";
|
||||||
|
$fa-var-bandcamp: "\f2d5";
|
||||||
|
$fa-var-bank: "\f19c";
|
||||||
|
$fa-var-bar-chart: "\f080";
|
||||||
|
$fa-var-bar-chart-o: "\f080";
|
||||||
|
$fa-var-barcode: "\f02a";
|
||||||
|
$fa-var-bars: "\f0c9";
|
||||||
|
$fa-var-bath: "\f2cd";
|
||||||
|
$fa-var-bathtub: "\f2cd";
|
||||||
|
$fa-var-battery: "\f240";
|
||||||
|
$fa-var-battery-0: "\f244";
|
||||||
|
$fa-var-battery-1: "\f243";
|
||||||
|
$fa-var-battery-2: "\f242";
|
||||||
|
$fa-var-battery-3: "\f241";
|
||||||
|
$fa-var-battery-4: "\f240";
|
||||||
|
$fa-var-battery-empty: "\f244";
|
||||||
|
$fa-var-battery-full: "\f240";
|
||||||
|
$fa-var-battery-half: "\f242";
|
||||||
|
$fa-var-battery-quarter: "\f243";
|
||||||
|
$fa-var-battery-three-quarters: "\f241";
|
||||||
|
$fa-var-bed: "\f236";
|
||||||
|
$fa-var-beer: "\f0fc";
|
||||||
|
$fa-var-behance: "\f1b4";
|
||||||
|
$fa-var-behance-square: "\f1b5";
|
||||||
|
$fa-var-bell: "\f0f3";
|
||||||
|
$fa-var-bell-o: "\f0a2";
|
||||||
|
$fa-var-bell-slash: "\f1f6";
|
||||||
|
$fa-var-bell-slash-o: "\f1f7";
|
||||||
|
$fa-var-bicycle: "\f206";
|
||||||
|
$fa-var-binoculars: "\f1e5";
|
||||||
|
$fa-var-birthday-cake: "\f1fd";
|
||||||
|
$fa-var-bitbucket: "\f171";
|
||||||
|
$fa-var-bitbucket-square: "\f172";
|
||||||
|
$fa-var-bitcoin: "\f15a";
|
||||||
|
$fa-var-black-tie: "\f27e";
|
||||||
|
$fa-var-blind: "\f29d";
|
||||||
|
$fa-var-bluetooth: "\f293";
|
||||||
|
$fa-var-bluetooth-b: "\f294";
|
||||||
|
$fa-var-bold: "\f032";
|
||||||
|
$fa-var-bolt: "\f0e7";
|
||||||
|
$fa-var-bomb: "\f1e2";
|
||||||
|
$fa-var-book: "\f02d";
|
||||||
|
$fa-var-bookmark: "\f02e";
|
||||||
|
$fa-var-bookmark-o: "\f097";
|
||||||
|
$fa-var-braille: "\f2a1";
|
||||||
|
$fa-var-briefcase: "\f0b1";
|
||||||
|
$fa-var-btc: "\f15a";
|
||||||
|
$fa-var-bug: "\f188";
|
||||||
|
$fa-var-building: "\f1ad";
|
||||||
|
$fa-var-building-o: "\f0f7";
|
||||||
|
$fa-var-bullhorn: "\f0a1";
|
||||||
|
$fa-var-bullseye: "\f140";
|
||||||
|
$fa-var-bus: "\f207";
|
||||||
|
$fa-var-buysellads: "\f20d";
|
||||||
|
$fa-var-cab: "\f1ba";
|
||||||
|
$fa-var-calculator: "\f1ec";
|
||||||
|
$fa-var-calendar: "\f073";
|
||||||
|
$fa-var-calendar-check-o: "\f274";
|
||||||
|
$fa-var-calendar-minus-o: "\f272";
|
||||||
|
$fa-var-calendar-o: "\f133";
|
||||||
|
$fa-var-calendar-plus-o: "\f271";
|
||||||
|
$fa-var-calendar-times-o: "\f273";
|
||||||
|
$fa-var-camera: "\f030";
|
||||||
|
$fa-var-camera-retro: "\f083";
|
||||||
|
$fa-var-car: "\f1b9";
|
||||||
|
$fa-var-caret-down: "\f0d7";
|
||||||
|
$fa-var-caret-left: "\f0d9";
|
||||||
|
$fa-var-caret-right: "\f0da";
|
||||||
|
$fa-var-caret-square-o-down: "\f150";
|
||||||
|
$fa-var-caret-square-o-left: "\f191";
|
||||||
|
$fa-var-caret-square-o-right: "\f152";
|
||||||
|
$fa-var-caret-square-o-up: "\f151";
|
||||||
|
$fa-var-caret-up: "\f0d8";
|
||||||
|
$fa-var-cart-arrow-down: "\f218";
|
||||||
|
$fa-var-cart-plus: "\f217";
|
||||||
|
$fa-var-cc: "\f20a";
|
||||||
|
$fa-var-cc-amex: "\f1f3";
|
||||||
|
$fa-var-cc-diners-club: "\f24c";
|
||||||
|
$fa-var-cc-discover: "\f1f2";
|
||||||
|
$fa-var-cc-jcb: "\f24b";
|
||||||
|
$fa-var-cc-mastercard: "\f1f1";
|
||||||
|
$fa-var-cc-paypal: "\f1f4";
|
||||||
|
$fa-var-cc-stripe: "\f1f5";
|
||||||
|
$fa-var-cc-visa: "\f1f0";
|
||||||
|
$fa-var-certificate: "\f0a3";
|
||||||
|
$fa-var-chain: "\f0c1";
|
||||||
|
$fa-var-chain-broken: "\f127";
|
||||||
|
$fa-var-check: "\f00c";
|
||||||
|
$fa-var-check-circle: "\f058";
|
||||||
|
$fa-var-check-circle-o: "\f05d";
|
||||||
|
$fa-var-check-square: "\f14a";
|
||||||
|
$fa-var-check-square-o: "\f046";
|
||||||
|
$fa-var-chevron-circle-down: "\f13a";
|
||||||
|
$fa-var-chevron-circle-left: "\f137";
|
||||||
|
$fa-var-chevron-circle-right: "\f138";
|
||||||
|
$fa-var-chevron-circle-up: "\f139";
|
||||||
|
$fa-var-chevron-down: "\f078";
|
||||||
|
$fa-var-chevron-left: "\f053";
|
||||||
|
$fa-var-chevron-right: "\f054";
|
||||||
|
$fa-var-chevron-up: "\f077";
|
||||||
|
$fa-var-child: "\f1ae";
|
||||||
|
$fa-var-chrome: "\f268";
|
||||||
|
$fa-var-circle: "\f111";
|
||||||
|
$fa-var-circle-o: "\f10c";
|
||||||
|
$fa-var-circle-o-notch: "\f1ce";
|
||||||
|
$fa-var-circle-thin: "\f1db";
|
||||||
|
$fa-var-clipboard: "\f0ea";
|
||||||
|
$fa-var-clock-o: "\f017";
|
||||||
|
$fa-var-clone: "\f24d";
|
||||||
|
$fa-var-close: "\f00d";
|
||||||
|
$fa-var-cloud: "\f0c2";
|
||||||
|
$fa-var-cloud-download: "\f0ed";
|
||||||
|
$fa-var-cloud-upload: "\f0ee";
|
||||||
|
$fa-var-cny: "\f157";
|
||||||
|
$fa-var-code: "\f121";
|
||||||
|
$fa-var-code-fork: "\f126";
|
||||||
|
$fa-var-codepen: "\f1cb";
|
||||||
|
$fa-var-codiepie: "\f284";
|
||||||
|
$fa-var-coffee: "\f0f4";
|
||||||
|
$fa-var-cog: "\f013";
|
||||||
|
$fa-var-cogs: "\f085";
|
||||||
|
$fa-var-columns: "\f0db";
|
||||||
|
$fa-var-comment: "\f075";
|
||||||
|
$fa-var-comment-o: "\f0e5";
|
||||||
|
$fa-var-commenting: "\f27a";
|
||||||
|
$fa-var-commenting-o: "\f27b";
|
||||||
|
$fa-var-comments: "\f086";
|
||||||
|
$fa-var-comments-o: "\f0e6";
|
||||||
|
$fa-var-compass: "\f14e";
|
||||||
|
$fa-var-compress: "\f066";
|
||||||
|
$fa-var-connectdevelop: "\f20e";
|
||||||
|
$fa-var-contao: "\f26d";
|
||||||
|
$fa-var-copy: "\f0c5";
|
||||||
|
$fa-var-copyright: "\f1f9";
|
||||||
|
$fa-var-creative-commons: "\f25e";
|
||||||
|
$fa-var-credit-card: "\f09d";
|
||||||
|
$fa-var-credit-card-alt: "\f283";
|
||||||
|
$fa-var-crop: "\f125";
|
||||||
|
$fa-var-crosshairs: "\f05b";
|
||||||
|
$fa-var-css3: "\f13c";
|
||||||
|
$fa-var-cube: "\f1b2";
|
||||||
|
$fa-var-cubes: "\f1b3";
|
||||||
|
$fa-var-cut: "\f0c4";
|
||||||
|
$fa-var-cutlery: "\f0f5";
|
||||||
|
$fa-var-dashboard: "\f0e4";
|
||||||
|
$fa-var-dashcube: "\f210";
|
||||||
|
$fa-var-database: "\f1c0";
|
||||||
|
$fa-var-deaf: "\f2a4";
|
||||||
|
$fa-var-deafness: "\f2a4";
|
||||||
|
$fa-var-dedent: "\f03b";
|
||||||
|
$fa-var-delicious: "\f1a5";
|
||||||
|
$fa-var-desktop: "\f108";
|
||||||
|
$fa-var-deviantart: "\f1bd";
|
||||||
|
$fa-var-diamond: "\f219";
|
||||||
|
$fa-var-digg: "\f1a6";
|
||||||
|
$fa-var-dollar: "\f155";
|
||||||
|
$fa-var-dot-circle-o: "\f192";
|
||||||
|
$fa-var-download: "\f019";
|
||||||
|
$fa-var-dribbble: "\f17d";
|
||||||
|
$fa-var-drivers-license: "\f2c2";
|
||||||
|
$fa-var-drivers-license-o: "\f2c3";
|
||||||
|
$fa-var-dropbox: "\f16b";
|
||||||
|
$fa-var-drupal: "\f1a9";
|
||||||
|
$fa-var-edge: "\f282";
|
||||||
|
$fa-var-edit: "\f044";
|
||||||
|
$fa-var-eercast: "\f2da";
|
||||||
|
$fa-var-eject: "\f052";
|
||||||
|
$fa-var-ellipsis-h: "\f141";
|
||||||
|
$fa-var-ellipsis-v: "\f142";
|
||||||
|
$fa-var-empire: "\f1d1";
|
||||||
|
$fa-var-envelope: "\f0e0";
|
||||||
|
$fa-var-envelope-o: "\f003";
|
||||||
|
$fa-var-envelope-open: "\f2b6";
|
||||||
|
$fa-var-envelope-open-o: "\f2b7";
|
||||||
|
$fa-var-envelope-square: "\f199";
|
||||||
|
$fa-var-envira: "\f299";
|
||||||
|
$fa-var-eraser: "\f12d";
|
||||||
|
$fa-var-etsy: "\f2d7";
|
||||||
|
$fa-var-eur: "\f153";
|
||||||
|
$fa-var-euro: "\f153";
|
||||||
|
$fa-var-exchange: "\f0ec";
|
||||||
|
$fa-var-exclamation: "\f12a";
|
||||||
|
$fa-var-exclamation-circle: "\f06a";
|
||||||
|
$fa-var-exclamation-triangle: "\f071";
|
||||||
|
$fa-var-expand: "\f065";
|
||||||
|
$fa-var-expeditedssl: "\f23e";
|
||||||
|
$fa-var-external-link: "\f08e";
|
||||||
|
$fa-var-external-link-square: "\f14c";
|
||||||
|
$fa-var-eye: "\f06e";
|
||||||
|
$fa-var-eye-slash: "\f070";
|
||||||
|
$fa-var-eyedropper: "\f1fb";
|
||||||
|
$fa-var-fa: "\f2b4";
|
||||||
|
$fa-var-facebook: "\f09a";
|
||||||
|
$fa-var-facebook-f: "\f09a";
|
||||||
|
$fa-var-facebook-official: "\f230";
|
||||||
|
$fa-var-facebook-square: "\f082";
|
||||||
|
$fa-var-fast-backward: "\f049";
|
||||||
|
$fa-var-fast-forward: "\f050";
|
||||||
|
$fa-var-fax: "\f1ac";
|
||||||
|
$fa-var-feed: "\f09e";
|
||||||
|
$fa-var-female: "\f182";
|
||||||
|
$fa-var-fighter-jet: "\f0fb";
|
||||||
|
$fa-var-file: "\f15b";
|
||||||
|
$fa-var-file-archive-o: "\f1c6";
|
||||||
|
$fa-var-file-audio-o: "\f1c7";
|
||||||
|
$fa-var-file-code-o: "\f1c9";
|
||||||
|
$fa-var-file-excel-o: "\f1c3";
|
||||||
|
$fa-var-file-image-o: "\f1c5";
|
||||||
|
$fa-var-file-movie-o: "\f1c8";
|
||||||
|
$fa-var-file-o: "\f016";
|
||||||
|
$fa-var-file-pdf-o: "\f1c1";
|
||||||
|
$fa-var-file-photo-o: "\f1c5";
|
||||||
|
$fa-var-file-picture-o: "\f1c5";
|
||||||
|
$fa-var-file-powerpoint-o: "\f1c4";
|
||||||
|
$fa-var-file-sound-o: "\f1c7";
|
||||||
|
$fa-var-file-text: "\f15c";
|
||||||
|
$fa-var-file-text-o: "\f0f6";
|
||||||
|
$fa-var-file-video-o: "\f1c8";
|
||||||
|
$fa-var-file-word-o: "\f1c2";
|
||||||
|
$fa-var-file-zip-o: "\f1c6";
|
||||||
|
$fa-var-files-o: "\f0c5";
|
||||||
|
$fa-var-film: "\f008";
|
||||||
|
$fa-var-filter: "\f0b0";
|
||||||
|
$fa-var-fire: "\f06d";
|
||||||
|
$fa-var-fire-extinguisher: "\f134";
|
||||||
|
$fa-var-firefox: "\f269";
|
||||||
|
$fa-var-first-order: "\f2b0";
|
||||||
|
$fa-var-flag: "\f024";
|
||||||
|
$fa-var-flag-checkered: "\f11e";
|
||||||
|
$fa-var-flag-o: "\f11d";
|
||||||
|
$fa-var-flash: "\f0e7";
|
||||||
|
$fa-var-flask: "\f0c3";
|
||||||
|
$fa-var-flickr: "\f16e";
|
||||||
|
$fa-var-floppy-o: "\f0c7";
|
||||||
|
$fa-var-folder: "\f07b";
|
||||||
|
$fa-var-folder-o: "\f114";
|
||||||
|
$fa-var-folder-open: "\f07c";
|
||||||
|
$fa-var-folder-open-o: "\f115";
|
||||||
|
$fa-var-font: "\f031";
|
||||||
|
$fa-var-font-awesome: "\f2b4";
|
||||||
|
$fa-var-fonticons: "\f280";
|
||||||
|
$fa-var-fort-awesome: "\f286";
|
||||||
|
$fa-var-forumbee: "\f211";
|
||||||
|
$fa-var-forward: "\f04e";
|
||||||
|
$fa-var-foursquare: "\f180";
|
||||||
|
$fa-var-free-code-camp: "\f2c5";
|
||||||
|
$fa-var-frown-o: "\f119";
|
||||||
|
$fa-var-futbol-o: "\f1e3";
|
||||||
|
$fa-var-gamepad: "\f11b";
|
||||||
|
$fa-var-gavel: "\f0e3";
|
||||||
|
$fa-var-gbp: "\f154";
|
||||||
|
$fa-var-ge: "\f1d1";
|
||||||
|
$fa-var-gear: "\f013";
|
||||||
|
$fa-var-gears: "\f085";
|
||||||
|
$fa-var-genderless: "\f22d";
|
||||||
|
$fa-var-get-pocket: "\f265";
|
||||||
|
$fa-var-gg: "\f260";
|
||||||
|
$fa-var-gg-circle: "\f261";
|
||||||
|
$fa-var-gift: "\f06b";
|
||||||
|
$fa-var-git: "\f1d3";
|
||||||
|
$fa-var-git-square: "\f1d2";
|
||||||
|
$fa-var-github: "\f09b";
|
||||||
|
$fa-var-github-alt: "\f113";
|
||||||
|
$fa-var-github-square: "\f092";
|
||||||
|
$fa-var-gitlab: "\f296";
|
||||||
|
$fa-var-gittip: "\f184";
|
||||||
|
$fa-var-glass: "\f000";
|
||||||
|
$fa-var-glide: "\f2a5";
|
||||||
|
$fa-var-glide-g: "\f2a6";
|
||||||
|
$fa-var-globe: "\f0ac";
|
||||||
|
$fa-var-google: "\f1a0";
|
||||||
|
$fa-var-google-plus: "\f0d5";
|
||||||
|
$fa-var-google-plus-circle: "\f2b3";
|
||||||
|
$fa-var-google-plus-official: "\f2b3";
|
||||||
|
$fa-var-google-plus-square: "\f0d4";
|
||||||
|
$fa-var-google-wallet: "\f1ee";
|
||||||
|
$fa-var-graduation-cap: "\f19d";
|
||||||
|
$fa-var-gratipay: "\f184";
|
||||||
|
$fa-var-grav: "\f2d6";
|
||||||
|
$fa-var-group: "\f0c0";
|
||||||
|
$fa-var-h-square: "\f0fd";
|
||||||
|
$fa-var-hacker-news: "\f1d4";
|
||||||
|
$fa-var-hand-grab-o: "\f255";
|
||||||
|
$fa-var-hand-lizard-o: "\f258";
|
||||||
|
$fa-var-hand-o-down: "\f0a7";
|
||||||
|
$fa-var-hand-o-left: "\f0a5";
|
||||||
|
$fa-var-hand-o-right: "\f0a4";
|
||||||
|
$fa-var-hand-o-up: "\f0a6";
|
||||||
|
$fa-var-hand-paper-o: "\f256";
|
||||||
|
$fa-var-hand-peace-o: "\f25b";
|
||||||
|
$fa-var-hand-pointer-o: "\f25a";
|
||||||
|
$fa-var-hand-rock-o: "\f255";
|
||||||
|
$fa-var-hand-scissors-o: "\f257";
|
||||||
|
$fa-var-hand-spock-o: "\f259";
|
||||||
|
$fa-var-hand-stop-o: "\f256";
|
||||||
|
$fa-var-handshake-o: "\f2b5";
|
||||||
|
$fa-var-hard-of-hearing: "\f2a4";
|
||||||
|
$fa-var-hashtag: "\f292";
|
||||||
|
$fa-var-hdd-o: "\f0a0";
|
||||||
|
$fa-var-header: "\f1dc";
|
||||||
|
$fa-var-headphones: "\f025";
|
||||||
|
$fa-var-heart: "\f004";
|
||||||
|
$fa-var-heart-o: "\f08a";
|
||||||
|
$fa-var-heartbeat: "\f21e";
|
||||||
|
$fa-var-history: "\f1da";
|
||||||
|
$fa-var-home: "\f015";
|
||||||
|
$fa-var-hospital-o: "\f0f8";
|
||||||
|
$fa-var-hotel: "\f236";
|
||||||
|
$fa-var-hourglass: "\f254";
|
||||||
|
$fa-var-hourglass-1: "\f251";
|
||||||
|
$fa-var-hourglass-2: "\f252";
|
||||||
|
$fa-var-hourglass-3: "\f253";
|
||||||
|
$fa-var-hourglass-end: "\f253";
|
||||||
|
$fa-var-hourglass-half: "\f252";
|
||||||
|
$fa-var-hourglass-o: "\f250";
|
||||||
|
$fa-var-hourglass-start: "\f251";
|
||||||
|
$fa-var-houzz: "\f27c";
|
||||||
|
$fa-var-html5: "\f13b";
|
||||||
|
$fa-var-i-cursor: "\f246";
|
||||||
|
$fa-var-id-badge: "\f2c1";
|
||||||
|
$fa-var-id-card: "\f2c2";
|
||||||
|
$fa-var-id-card-o: "\f2c3";
|
||||||
|
$fa-var-ils: "\f20b";
|
||||||
|
$fa-var-image: "\f03e";
|
||||||
|
$fa-var-imdb: "\f2d8";
|
||||||
|
$fa-var-inbox: "\f01c";
|
||||||
|
$fa-var-indent: "\f03c";
|
||||||
|
$fa-var-industry: "\f275";
|
||||||
|
$fa-var-info: "\f129";
|
||||||
|
$fa-var-info-circle: "\f05a";
|
||||||
|
$fa-var-inr: "\f156";
|
||||||
|
$fa-var-instagram: "\f16d";
|
||||||
|
$fa-var-institution: "\f19c";
|
||||||
|
$fa-var-internet-explorer: "\f26b";
|
||||||
|
$fa-var-intersex: "\f224";
|
||||||
|
$fa-var-ioxhost: "\f208";
|
||||||
|
$fa-var-italic: "\f033";
|
||||||
|
$fa-var-joomla: "\f1aa";
|
||||||
|
$fa-var-jpy: "\f157";
|
||||||
|
$fa-var-jsfiddle: "\f1cc";
|
||||||
|
$fa-var-key: "\f084";
|
||||||
|
$fa-var-keyboard-o: "\f11c";
|
||||||
|
$fa-var-krw: "\f159";
|
||||||
|
$fa-var-language: "\f1ab";
|
||||||
|
$fa-var-laptop: "\f109";
|
||||||
|
$fa-var-lastfm: "\f202";
|
||||||
|
$fa-var-lastfm-square: "\f203";
|
||||||
|
$fa-var-leaf: "\f06c";
|
||||||
|
$fa-var-leanpub: "\f212";
|
||||||
|
$fa-var-legal: "\f0e3";
|
||||||
|
$fa-var-lemon-o: "\f094";
|
||||||
|
$fa-var-level-down: "\f149";
|
||||||
|
$fa-var-level-up: "\f148";
|
||||||
|
$fa-var-life-bouy: "\f1cd";
|
||||||
|
$fa-var-life-buoy: "\f1cd";
|
||||||
|
$fa-var-life-ring: "\f1cd";
|
||||||
|
$fa-var-life-saver: "\f1cd";
|
||||||
|
$fa-var-lightbulb-o: "\f0eb";
|
||||||
|
$fa-var-line-chart: "\f201";
|
||||||
|
$fa-var-link: "\f0c1";
|
||||||
|
$fa-var-linkedin: "\f0e1";
|
||||||
|
$fa-var-linkedin-square: "\f08c";
|
||||||
|
$fa-var-linode: "\f2b8";
|
||||||
|
$fa-var-linux: "\f17c";
|
||||||
|
$fa-var-list: "\f03a";
|
||||||
|
$fa-var-list-alt: "\f022";
|
||||||
|
$fa-var-list-ol: "\f0cb";
|
||||||
|
$fa-var-list-ul: "\f0ca";
|
||||||
|
$fa-var-location-arrow: "\f124";
|
||||||
|
$fa-var-lock: "\f023";
|
||||||
|
$fa-var-long-arrow-down: "\f175";
|
||||||
|
$fa-var-long-arrow-left: "\f177";
|
||||||
|
$fa-var-long-arrow-right: "\f178";
|
||||||
|
$fa-var-long-arrow-up: "\f176";
|
||||||
|
$fa-var-low-vision: "\f2a8";
|
||||||
|
$fa-var-magic: "\f0d0";
|
||||||
|
$fa-var-magnet: "\f076";
|
||||||
|
$fa-var-mail-forward: "\f064";
|
||||||
|
$fa-var-mail-reply: "\f112";
|
||||||
|
$fa-var-mail-reply-all: "\f122";
|
||||||
|
$fa-var-male: "\f183";
|
||||||
|
$fa-var-map: "\f279";
|
||||||
|
$fa-var-map-marker: "\f041";
|
||||||
|
$fa-var-map-o: "\f278";
|
||||||
|
$fa-var-map-pin: "\f276";
|
||||||
|
$fa-var-map-signs: "\f277";
|
||||||
|
$fa-var-mars: "\f222";
|
||||||
|
$fa-var-mars-double: "\f227";
|
||||||
|
$fa-var-mars-stroke: "\f229";
|
||||||
|
$fa-var-mars-stroke-h: "\f22b";
|
||||||
|
$fa-var-mars-stroke-v: "\f22a";
|
||||||
|
$fa-var-maxcdn: "\f136";
|
||||||
|
$fa-var-meanpath: "\f20c";
|
||||||
|
$fa-var-medium: "\f23a";
|
||||||
|
$fa-var-medkit: "\f0fa";
|
||||||
|
$fa-var-meetup: "\f2e0";
|
||||||
|
$fa-var-meh-o: "\f11a";
|
||||||
|
$fa-var-mercury: "\f223";
|
||||||
|
$fa-var-microchip: "\f2db";
|
||||||
|
$fa-var-microphone: "\f130";
|
||||||
|
$fa-var-microphone-slash: "\f131";
|
||||||
|
$fa-var-minus: "\f068";
|
||||||
|
$fa-var-minus-circle: "\f056";
|
||||||
|
$fa-var-minus-square: "\f146";
|
||||||
|
$fa-var-minus-square-o: "\f147";
|
||||||
|
$fa-var-mixcloud: "\f289";
|
||||||
|
$fa-var-mobile: "\f10b";
|
||||||
|
$fa-var-mobile-phone: "\f10b";
|
||||||
|
$fa-var-modx: "\f285";
|
||||||
|
$fa-var-money: "\f0d6";
|
||||||
|
$fa-var-moon-o: "\f186";
|
||||||
|
$fa-var-mortar-board: "\f19d";
|
||||||
|
$fa-var-motorcycle: "\f21c";
|
||||||
|
$fa-var-mouse-pointer: "\f245";
|
||||||
|
$fa-var-music: "\f001";
|
||||||
|
$fa-var-navicon: "\f0c9";
|
||||||
|
$fa-var-neuter: "\f22c";
|
||||||
|
$fa-var-newspaper-o: "\f1ea";
|
||||||
|
$fa-var-object-group: "\f247";
|
||||||
|
$fa-var-object-ungroup: "\f248";
|
||||||
|
$fa-var-odnoklassniki: "\f263";
|
||||||
|
$fa-var-odnoklassniki-square: "\f264";
|
||||||
|
$fa-var-opencart: "\f23d";
|
||||||
|
$fa-var-openid: "\f19b";
|
||||||
|
$fa-var-opera: "\f26a";
|
||||||
|
$fa-var-optin-monster: "\f23c";
|
||||||
|
$fa-var-outdent: "\f03b";
|
||||||
|
$fa-var-pagelines: "\f18c";
|
||||||
|
$fa-var-paint-brush: "\f1fc";
|
||||||
|
$fa-var-paper-plane: "\f1d8";
|
||||||
|
$fa-var-paper-plane-o: "\f1d9";
|
||||||
|
$fa-var-paperclip: "\f0c6";
|
||||||
|
$fa-var-paragraph: "\f1dd";
|
||||||
|
$fa-var-paste: "\f0ea";
|
||||||
|
$fa-var-pause: "\f04c";
|
||||||
|
$fa-var-pause-circle: "\f28b";
|
||||||
|
$fa-var-pause-circle-o: "\f28c";
|
||||||
|
$fa-var-paw: "\f1b0";
|
||||||
|
$fa-var-paypal: "\f1ed";
|
||||||
|
$fa-var-pencil: "\f040";
|
||||||
|
$fa-var-pencil-square: "\f14b";
|
||||||
|
$fa-var-pencil-square-o: "\f044";
|
||||||
|
$fa-var-percent: "\f295";
|
||||||
|
$fa-var-phone: "\f095";
|
||||||
|
$fa-var-phone-square: "\f098";
|
||||||
|
$fa-var-photo: "\f03e";
|
||||||
|
$fa-var-picture-o: "\f03e";
|
||||||
|
$fa-var-pie-chart: "\f200";
|
||||||
|
$fa-var-pied-piper: "\f2ae";
|
||||||
|
$fa-var-pied-piper-alt: "\f1a8";
|
||||||
|
$fa-var-pied-piper-pp: "\f1a7";
|
||||||
|
$fa-var-pinterest: "\f0d2";
|
||||||
|
$fa-var-pinterest-p: "\f231";
|
||||||
|
$fa-var-pinterest-square: "\f0d3";
|
||||||
|
$fa-var-plane: "\f072";
|
||||||
|
$fa-var-play: "\f04b";
|
||||||
|
$fa-var-play-circle: "\f144";
|
||||||
|
$fa-var-play-circle-o: "\f01d";
|
||||||
|
$fa-var-plug: "\f1e6";
|
||||||
|
$fa-var-plus: "\f067";
|
||||||
|
$fa-var-plus-circle: "\f055";
|
||||||
|
$fa-var-plus-square: "\f0fe";
|
||||||
|
$fa-var-plus-square-o: "\f196";
|
||||||
|
$fa-var-podcast: "\f2ce";
|
||||||
|
$fa-var-power-off: "\f011";
|
||||||
|
$fa-var-print: "\f02f";
|
||||||
|
$fa-var-product-hunt: "\f288";
|
||||||
|
$fa-var-puzzle-piece: "\f12e";
|
||||||
|
$fa-var-qq: "\f1d6";
|
||||||
|
$fa-var-qrcode: "\f029";
|
||||||
|
$fa-var-question: "\f128";
|
||||||
|
$fa-var-question-circle: "\f059";
|
||||||
|
$fa-var-question-circle-o: "\f29c";
|
||||||
|
$fa-var-quora: "\f2c4";
|
||||||
|
$fa-var-quote-left: "\f10d";
|
||||||
|
$fa-var-quote-right: "\f10e";
|
||||||
|
$fa-var-ra: "\f1d0";
|
||||||
|
$fa-var-random: "\f074";
|
||||||
|
$fa-var-ravelry: "\f2d9";
|
||||||
|
$fa-var-rebel: "\f1d0";
|
||||||
|
$fa-var-recycle: "\f1b8";
|
||||||
|
$fa-var-reddit: "\f1a1";
|
||||||
|
$fa-var-reddit-alien: "\f281";
|
||||||
|
$fa-var-reddit-square: "\f1a2";
|
||||||
|
$fa-var-refresh: "\f021";
|
||||||
|
$fa-var-registered: "\f25d";
|
||||||
|
$fa-var-remove: "\f00d";
|
||||||
|
$fa-var-renren: "\f18b";
|
||||||
|
$fa-var-reorder: "\f0c9";
|
||||||
|
$fa-var-repeat: "\f01e";
|
||||||
|
$fa-var-reply: "\f112";
|
||||||
|
$fa-var-reply-all: "\f122";
|
||||||
|
$fa-var-resistance: "\f1d0";
|
||||||
|
$fa-var-retweet: "\f079";
|
||||||
|
$fa-var-rmb: "\f157";
|
||||||
|
$fa-var-road: "\f018";
|
||||||
|
$fa-var-rocket: "\f135";
|
||||||
|
$fa-var-rotate-left: "\f0e2";
|
||||||
|
$fa-var-rotate-right: "\f01e";
|
||||||
|
$fa-var-rouble: "\f158";
|
||||||
|
$fa-var-rss: "\f09e";
|
||||||
|
$fa-var-rss-square: "\f143";
|
||||||
|
$fa-var-rub: "\f158";
|
||||||
|
$fa-var-ruble: "\f158";
|
||||||
|
$fa-var-rupee: "\f156";
|
||||||
|
$fa-var-s15: "\f2cd";
|
||||||
|
$fa-var-safari: "\f267";
|
||||||
|
$fa-var-save: "\f0c7";
|
||||||
|
$fa-var-scissors: "\f0c4";
|
||||||
|
$fa-var-scribd: "\f28a";
|
||||||
|
$fa-var-search: "\f002";
|
||||||
|
$fa-var-search-minus: "\f010";
|
||||||
|
$fa-var-search-plus: "\f00e";
|
||||||
|
$fa-var-sellsy: "\f213";
|
||||||
|
$fa-var-send: "\f1d8";
|
||||||
|
$fa-var-send-o: "\f1d9";
|
||||||
|
$fa-var-server: "\f233";
|
||||||
|
$fa-var-share: "\f064";
|
||||||
|
$fa-var-share-alt: "\f1e0";
|
||||||
|
$fa-var-share-alt-square: "\f1e1";
|
||||||
|
$fa-var-share-square: "\f14d";
|
||||||
|
$fa-var-share-square-o: "\f045";
|
||||||
|
$fa-var-shekel: "\f20b";
|
||||||
|
$fa-var-sheqel: "\f20b";
|
||||||
|
$fa-var-shield: "\f132";
|
||||||
|
$fa-var-ship: "\f21a";
|
||||||
|
$fa-var-shirtsinbulk: "\f214";
|
||||||
|
$fa-var-shopping-bag: "\f290";
|
||||||
|
$fa-var-shopping-basket: "\f291";
|
||||||
|
$fa-var-shopping-cart: "\f07a";
|
||||||
|
$fa-var-shower: "\f2cc";
|
||||||
|
$fa-var-sign-in: "\f090";
|
||||||
|
$fa-var-sign-language: "\f2a7";
|
||||||
|
$fa-var-sign-out: "\f08b";
|
||||||
|
$fa-var-signal: "\f012";
|
||||||
|
$fa-var-signing: "\f2a7";
|
||||||
|
$fa-var-simplybuilt: "\f215";
|
||||||
|
$fa-var-sitemap: "\f0e8";
|
||||||
|
$fa-var-skyatlas: "\f216";
|
||||||
|
$fa-var-skype: "\f17e";
|
||||||
|
$fa-var-slack: "\f198";
|
||||||
|
$fa-var-sliders: "\f1de";
|
||||||
|
$fa-var-slideshare: "\f1e7";
|
||||||
|
$fa-var-smile-o: "\f118";
|
||||||
|
$fa-var-snapchat: "\f2ab";
|
||||||
|
$fa-var-snapchat-ghost: "\f2ac";
|
||||||
|
$fa-var-snapchat-square: "\f2ad";
|
||||||
|
$fa-var-snowflake-o: "\f2dc";
|
||||||
|
$fa-var-soccer-ball-o: "\f1e3";
|
||||||
|
$fa-var-sort: "\f0dc";
|
||||||
|
$fa-var-sort-alpha-asc: "\f15d";
|
||||||
|
$fa-var-sort-alpha-desc: "\f15e";
|
||||||
|
$fa-var-sort-amount-asc: "\f160";
|
||||||
|
$fa-var-sort-amount-desc: "\f161";
|
||||||
|
$fa-var-sort-asc: "\f0de";
|
||||||
|
$fa-var-sort-desc: "\f0dd";
|
||||||
|
$fa-var-sort-down: "\f0dd";
|
||||||
|
$fa-var-sort-numeric-asc: "\f162";
|
||||||
|
$fa-var-sort-numeric-desc: "\f163";
|
||||||
|
$fa-var-sort-up: "\f0de";
|
||||||
|
$fa-var-soundcloud: "\f1be";
|
||||||
|
$fa-var-space-shuttle: "\f197";
|
||||||
|
$fa-var-spinner: "\f110";
|
||||||
|
$fa-var-spoon: "\f1b1";
|
||||||
|
$fa-var-spotify: "\f1bc";
|
||||||
|
$fa-var-square: "\f0c8";
|
||||||
|
$fa-var-square-o: "\f096";
|
||||||
|
$fa-var-stack-exchange: "\f18d";
|
||||||
|
$fa-var-stack-overflow: "\f16c";
|
||||||
|
$fa-var-star: "\f005";
|
||||||
|
$fa-var-star-half: "\f089";
|
||||||
|
$fa-var-star-half-empty: "\f123";
|
||||||
|
$fa-var-star-half-full: "\f123";
|
||||||
|
$fa-var-star-half-o: "\f123";
|
||||||
|
$fa-var-star-o: "\f006";
|
||||||
|
$fa-var-steam: "\f1b6";
|
||||||
|
$fa-var-steam-square: "\f1b7";
|
||||||
|
$fa-var-step-backward: "\f048";
|
||||||
|
$fa-var-step-forward: "\f051";
|
||||||
|
$fa-var-stethoscope: "\f0f1";
|
||||||
|
$fa-var-sticky-note: "\f249";
|
||||||
|
$fa-var-sticky-note-o: "\f24a";
|
||||||
|
$fa-var-stop: "\f04d";
|
||||||
|
$fa-var-stop-circle: "\f28d";
|
||||||
|
$fa-var-stop-circle-o: "\f28e";
|
||||||
|
$fa-var-street-view: "\f21d";
|
||||||
|
$fa-var-strikethrough: "\f0cc";
|
||||||
|
$fa-var-stumbleupon: "\f1a4";
|
||||||
|
$fa-var-stumbleupon-circle: "\f1a3";
|
||||||
|
$fa-var-subscript: "\f12c";
|
||||||
|
$fa-var-subway: "\f239";
|
||||||
|
$fa-var-suitcase: "\f0f2";
|
||||||
|
$fa-var-sun-o: "\f185";
|
||||||
|
$fa-var-superpowers: "\f2dd";
|
||||||
|
$fa-var-superscript: "\f12b";
|
||||||
|
$fa-var-support: "\f1cd";
|
||||||
|
$fa-var-table: "\f0ce";
|
||||||
|
$fa-var-tablet: "\f10a";
|
||||||
|
$fa-var-tachometer: "\f0e4";
|
||||||
|
$fa-var-tag: "\f02b";
|
||||||
|
$fa-var-tags: "\f02c";
|
||||||
|
$fa-var-tasks: "\f0ae";
|
||||||
|
$fa-var-taxi: "\f1ba";
|
||||||
|
$fa-var-telegram: "\f2c6";
|
||||||
|
$fa-var-television: "\f26c";
|
||||||
|
$fa-var-tencent-weibo: "\f1d5";
|
||||||
|
$fa-var-terminal: "\f120";
|
||||||
|
$fa-var-text-height: "\f034";
|
||||||
|
$fa-var-text-width: "\f035";
|
||||||
|
$fa-var-th: "\f00a";
|
||||||
|
$fa-var-th-large: "\f009";
|
||||||
|
$fa-var-th-list: "\f00b";
|
||||||
|
$fa-var-themeisle: "\f2b2";
|
||||||
|
$fa-var-thermometer: "\f2c7";
|
||||||
|
$fa-var-thermometer-0: "\f2cb";
|
||||||
|
$fa-var-thermometer-1: "\f2ca";
|
||||||
|
$fa-var-thermometer-2: "\f2c9";
|
||||||
|
$fa-var-thermometer-3: "\f2c8";
|
||||||
|
$fa-var-thermometer-4: "\f2c7";
|
||||||
|
$fa-var-thermometer-empty: "\f2cb";
|
||||||
|
$fa-var-thermometer-full: "\f2c7";
|
||||||
|
$fa-var-thermometer-half: "\f2c9";
|
||||||
|
$fa-var-thermometer-quarter: "\f2ca";
|
||||||
|
$fa-var-thermometer-three-quarters: "\f2c8";
|
||||||
|
$fa-var-thumb-tack: "\f08d";
|
||||||
|
$fa-var-thumbs-down: "\f165";
|
||||||
|
$fa-var-thumbs-o-down: "\f088";
|
||||||
|
$fa-var-thumbs-o-up: "\f087";
|
||||||
|
$fa-var-thumbs-up: "\f164";
|
||||||
|
$fa-var-ticket: "\f145";
|
||||||
|
$fa-var-times: "\f00d";
|
||||||
|
$fa-var-times-circle: "\f057";
|
||||||
|
$fa-var-times-circle-o: "\f05c";
|
||||||
|
$fa-var-times-rectangle: "\f2d3";
|
||||||
|
$fa-var-times-rectangle-o: "\f2d4";
|
||||||
|
$fa-var-tint: "\f043";
|
||||||
|
$fa-var-toggle-down: "\f150";
|
||||||
|
$fa-var-toggle-left: "\f191";
|
||||||
|
$fa-var-toggle-off: "\f204";
|
||||||
|
$fa-var-toggle-on: "\f205";
|
||||||
|
$fa-var-toggle-right: "\f152";
|
||||||
|
$fa-var-toggle-up: "\f151";
|
||||||
|
$fa-var-trademark: "\f25c";
|
||||||
|
$fa-var-train: "\f238";
|
||||||
|
$fa-var-transgender: "\f224";
|
||||||
|
$fa-var-transgender-alt: "\f225";
|
||||||
|
$fa-var-trash: "\f1f8";
|
||||||
|
$fa-var-trash-o: "\f014";
|
||||||
|
$fa-var-tree: "\f1bb";
|
||||||
|
$fa-var-trello: "\f181";
|
||||||
|
$fa-var-tripadvisor: "\f262";
|
||||||
|
$fa-var-trophy: "\f091";
|
||||||
|
$fa-var-truck: "\f0d1";
|
||||||
|
$fa-var-try: "\f195";
|
||||||
|
$fa-var-tty: "\f1e4";
|
||||||
|
$fa-var-tumblr: "\f173";
|
||||||
|
$fa-var-tumblr-square: "\f174";
|
||||||
|
$fa-var-turkish-lira: "\f195";
|
||||||
|
$fa-var-tv: "\f26c";
|
||||||
|
$fa-var-twitch: "\f1e8";
|
||||||
|
$fa-var-twitter: "\f099";
|
||||||
|
$fa-var-twitter-square: "\f081";
|
||||||
|
$fa-var-umbrella: "\f0e9";
|
||||||
|
$fa-var-underline: "\f0cd";
|
||||||
|
$fa-var-undo: "\f0e2";
|
||||||
|
$fa-var-universal-access: "\f29a";
|
||||||
|
$fa-var-university: "\f19c";
|
||||||
|
$fa-var-unlink: "\f127";
|
||||||
|
$fa-var-unlock: "\f09c";
|
||||||
|
$fa-var-unlock-alt: "\f13e";
|
||||||
|
$fa-var-unsorted: "\f0dc";
|
||||||
|
$fa-var-upload: "\f093";
|
||||||
|
$fa-var-usb: "\f287";
|
||||||
|
$fa-var-usd: "\f155";
|
||||||
|
$fa-var-user: "\f007";
|
||||||
|
$fa-var-user-circle: "\f2bd";
|
||||||
|
$fa-var-user-circle-o: "\f2be";
|
||||||
|
$fa-var-user-md: "\f0f0";
|
||||||
|
$fa-var-user-o: "\f2c0";
|
||||||
|
$fa-var-user-plus: "\f234";
|
||||||
|
$fa-var-user-secret: "\f21b";
|
||||||
|
$fa-var-user-times: "\f235";
|
||||||
|
$fa-var-users: "\f0c0";
|
||||||
|
$fa-var-vcard: "\f2bb";
|
||||||
|
$fa-var-vcard-o: "\f2bc";
|
||||||
|
$fa-var-venus: "\f221";
|
||||||
|
$fa-var-venus-double: "\f226";
|
||||||
|
$fa-var-venus-mars: "\f228";
|
||||||
|
$fa-var-viacoin: "\f237";
|
||||||
|
$fa-var-viadeo: "\f2a9";
|
||||||
|
$fa-var-viadeo-square: "\f2aa";
|
||||||
|
$fa-var-video-camera: "\f03d";
|
||||||
|
$fa-var-vimeo: "\f27d";
|
||||||
|
$fa-var-vimeo-square: "\f194";
|
||||||
|
$fa-var-vine: "\f1ca";
|
||||||
|
$fa-var-vk: "\f189";
|
||||||
|
$fa-var-volume-control-phone: "\f2a0";
|
||||||
|
$fa-var-volume-down: "\f027";
|
||||||
|
$fa-var-volume-off: "\f026";
|
||||||
|
$fa-var-volume-up: "\f028";
|
||||||
|
$fa-var-warning: "\f071";
|
||||||
|
$fa-var-wechat: "\f1d7";
|
||||||
|
$fa-var-weibo: "\f18a";
|
||||||
|
$fa-var-weixin: "\f1d7";
|
||||||
|
$fa-var-whatsapp: "\f232";
|
||||||
|
$fa-var-wheelchair: "\f193";
|
||||||
|
$fa-var-wheelchair-alt: "\f29b";
|
||||||
|
$fa-var-wifi: "\f1eb";
|
||||||
|
$fa-var-wikipedia-w: "\f266";
|
||||||
|
$fa-var-window-close: "\f2d3";
|
||||||
|
$fa-var-window-close-o: "\f2d4";
|
||||||
|
$fa-var-window-maximize: "\f2d0";
|
||||||
|
$fa-var-window-minimize: "\f2d1";
|
||||||
|
$fa-var-window-restore: "\f2d2";
|
||||||
|
$fa-var-windows: "\f17a";
|
||||||
|
$fa-var-won: "\f159";
|
||||||
|
$fa-var-wordpress: "\f19a";
|
||||||
|
$fa-var-wpbeginner: "\f297";
|
||||||
|
$fa-var-wpexplorer: "\f2de";
|
||||||
|
$fa-var-wpforms: "\f298";
|
||||||
|
$fa-var-wrench: "\f0ad";
|
||||||
|
$fa-var-xing: "\f168";
|
||||||
|
$fa-var-xing-square: "\f169";
|
||||||
|
$fa-var-y-combinator: "\f23b";
|
||||||
|
$fa-var-y-combinator-square: "\f1d4";
|
||||||
|
$fa-var-yahoo: "\f19e";
|
||||||
|
$fa-var-yc: "\f23b";
|
||||||
|
$fa-var-yc-square: "\f1d4";
|
||||||
|
$fa-var-yelp: "\f1e9";
|
||||||
|
$fa-var-yen: "\f157";
|
||||||
|
$fa-var-yoast: "\f2b1";
|
||||||
|
$fa-var-youtube: "\f167";
|
||||||
|
$fa-var-youtube-play: "\f16a";
|
||||||
|
$fa-var-youtube-square: "\f166";
|
||||||
|
|
18
html/vendor/font-awesome/scss/font-awesome.scss
vendored
Normal file
18
html/vendor/font-awesome/scss/font-awesome.scss
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*!
|
||||||
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
|
*/
|
||||||
|
|
||||||
|
@import "variables";
|
||||||
|
@import "mixins";
|
||||||
|
@import "path";
|
||||||
|
@import "core";
|
||||||
|
@import "larger";
|
||||||
|
@import "fixed-width";
|
||||||
|
@import "list";
|
||||||
|
@import "bordered-pulled";
|
||||||
|
@import "animated";
|
||||||
|
@import "rotated-flipped";
|
||||||
|
@import "stacked";
|
||||||
|
@import "icons";
|
||||||
|
@import "screen-reader";
|
10364
html/vendor/jquery/jquery.js
vendored
Normal file
10364
html/vendor/jquery/jquery.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
html/vendor/jquery/jquery.min.js
vendored
Normal file
2
html/vendor/jquery/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
html/vendor/jquery/jquery.min.map
vendored
Normal file
1
html/vendor/jquery/jquery.min.map
vendored
Normal file
File diff suppressed because one or more lines are too long
8269
html/vendor/jquery/jquery.slim.js
vendored
Normal file
8269
html/vendor/jquery/jquery.slim.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2
html/vendor/jquery/jquery.slim.min.js
vendored
Normal file
2
html/vendor/jquery/jquery.slim.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
html/vendor/jquery/jquery.slim.min.map
vendored
Normal file
1
html/vendor/jquery/jquery.slim.min.map
vendored
Normal file
File diff suppressed because one or more lines are too long
353
http/connection.cpp
Executable file
353
http/connection.cpp
Executable file
@ -0,0 +1,353 @@
|
|||||||
|
//
|
||||||
|
// connection.cpp
|
||||||
|
// ~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "connection.hpp"
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
#include "connection_manager.hpp"
|
||||||
|
#include "request_handler.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <boost/lexical_cast.hpp>
|
||||||
|
#include <thread>
|
||||||
|
#include <array>
|
||||||
|
#include <iomanip>
|
||||||
|
|
||||||
|
#include "boost/algorithm/string/split.hpp"
|
||||||
|
|
||||||
|
#include "boost/algorithm/string/classification.hpp"
|
||||||
|
#include "boost/algorithm/string/predicate.hpp"
|
||||||
|
class ConnectRequestRecord
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
std::string address;
|
||||||
|
|
||||||
|
uint16_t port;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
connection::connection(std::shared_ptr<ssl_socket> newSocketPtr,
|
||||||
|
connection_manager& manager, request_handler& handler, boost::asio::io_context& io_context)
|
||||||
|
: socketPtr(newSocketPtr),
|
||||||
|
connection_manager_(manager),
|
||||||
|
request_handler_(handler),
|
||||||
|
io_context_(io_context),
|
||||||
|
outsideSocket_(io_context_)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::start()
|
||||||
|
{
|
||||||
|
doHandshake();
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::stop()
|
||||||
|
{
|
||||||
|
socketPtr->lowest_layer().close();
|
||||||
|
//socketPtr.reset();
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::doHandshake()
|
||||||
|
{
|
||||||
|
std::cout << "ProxySession::asyncHandshake" << std::endl;
|
||||||
|
auto self(shared_from_this());
|
||||||
|
|
||||||
|
socketPtr->async_handshake(boost::asio::ssl::stream_base::server,
|
||||||
|
[this, self](boost::system::error_code ec) {
|
||||||
|
|
||||||
|
std::cout << "ProxySession::asyncHandshake inner" << std::endl;
|
||||||
|
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
std::cout << "ProxySession::asyncHandshake inner2" << std::endl;
|
||||||
|
do_read();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::do_read()
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
socketPtr->async_read_some(boost::asio::buffer(buffer_),
|
||||||
|
[this, self](boost::system::error_code ec, std::size_t bytes_transferred)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
request_parser::result_type result;
|
||||||
|
std::tie(result, std::ignore) = request_parser_.parse(
|
||||||
|
request_, buffer_.data(), buffer_.data() + bytes_transferred);
|
||||||
|
|
||||||
|
std::string addressAndPort = request_.uri;
|
||||||
|
|
||||||
|
using namespace boost::algorithm;
|
||||||
|
using namespace boost;
|
||||||
|
|
||||||
|
for (auto& header : request_.headers)
|
||||||
|
{
|
||||||
|
if (header.name == "Host" && header.value == "browser.fishrungames.com")
|
||||||
|
{
|
||||||
|
using namespace boost::algorithm;
|
||||||
|
using namespace boost;
|
||||||
|
|
||||||
|
if (istarts_with(addressAndPort, "/wololo?id="))
|
||||||
|
{
|
||||||
|
addressAndPort.erase(addressAndPort.begin(), addressAndPort.begin() + 11);
|
||||||
|
|
||||||
|
std::vector<std::string> splitVal;
|
||||||
|
|
||||||
|
split(splitVal, addressAndPort, is_any_of(":"), token_compress_on);
|
||||||
|
|
||||||
|
if (splitVal.size() >= 2)
|
||||||
|
{
|
||||||
|
do_try_connect_remote(splitVal[0], splitVal[1]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if (result == request_parser::good)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
request_handler_.handle_request(request_, reply_);
|
||||||
|
|
||||||
|
|
||||||
|
do_write();
|
||||||
|
|
||||||
|
}
|
||||||
|
else if (result == request_parser::bad)
|
||||||
|
{
|
||||||
|
reply_ = reply::stock_reply(reply::bad_request);
|
||||||
|
do_write();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
do_read();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::do_write()
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
boost::asio::async_write((*socketPtr), reply_.to_buffers(),
|
||||||
|
[this, self](boost::system::error_code ec, std::size_t)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
|
||||||
|
// Initiate graceful connection closure.
|
||||||
|
boost::system::error_code ignored_ec;
|
||||||
|
socketPtr->shutdown(ignored_ec);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static const std::array<char, 5> okReply = {'o', 'k', 'l', 'o', 'l'};
|
||||||
|
|
||||||
|
void connection::do_try_connect_remote(std::string host, std::string port)
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
|
||||||
|
boost::asio::ip::tcp::resolver resolver(io_context_);
|
||||||
|
boost::asio::ip::tcp::resolver::iterator endpointIterator = resolver.resolve({ host, port });
|
||||||
|
|
||||||
|
|
||||||
|
boost::asio::async_connect(outsideSocket_, endpointIterator,
|
||||||
|
[this, self](boost::system::error_code ec, boost::asio::ip::tcp::resolver::iterator)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
boost::asio::async_write((*socketPtr), boost::asio::buffer(okReply),
|
||||||
|
[this, self](boost::system::error_code ec, std::size_t)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
transferDataForward();
|
||||||
|
transferDataBackward();
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
|
||||||
|
outsideSocket_.close();
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
|
||||||
|
outsideSocket_.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::transferDataForward()
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
|
||||||
|
socketPtr->async_read_some(boost::asio::buffer(forwardBuffer),
|
||||||
|
[this, self](boost::system::error_code ec, std::size_t length)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
|
||||||
|
std::shared_ptr<std::vector<unsigned char>> data = std::make_shared<std::vector<unsigned char>>();
|
||||||
|
data->resize(length);
|
||||||
|
|
||||||
|
std::copy(&forwardBuffer[0], &forwardBuffer[0] + length, &(*data)[0]);
|
||||||
|
|
||||||
|
std::cout << "Forward Received " << length << " Bytes, sending\n";
|
||||||
|
std::cout << boost::lexical_cast<std::string>(int(forwardBuffer[0])) << "\n";
|
||||||
|
std::cout << boost::lexical_cast<std::string>(int(forwardBuffer[length-1])) << "\n";
|
||||||
|
|
||||||
|
boost::asio::async_write(outsideSocket_,
|
||||||
|
boost::asio::buffer(*data),
|
||||||
|
[this, self, data](boost::system::error_code ec, std::size_t length)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
std::cout << "Forward Sent, now read again!\n";
|
||||||
|
transferDataForward();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
outsideSocket_.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else if (ec == boost::asio::error::eof)
|
||||||
|
{
|
||||||
|
std::cout << "transferDataForward read end of file" << std::endl;
|
||||||
|
if (length > 0)
|
||||||
|
{
|
||||||
|
std::cout << "but length is positive" << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
|
||||||
|
outsideSocket_.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection::transferDataBackward()
|
||||||
|
{
|
||||||
|
auto self(shared_from_this());
|
||||||
|
|
||||||
|
outsideSocket_.async_read_some(boost::asio::buffer(backwardBuffer),
|
||||||
|
[this, self](boost::system::error_code ec, std::size_t length)
|
||||||
|
{
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
|
||||||
|
std::shared_ptr<std::vector<unsigned char>> data = std::make_shared<std::vector<unsigned char>>();
|
||||||
|
data->resize(length);
|
||||||
|
|
||||||
|
std::copy(&backwardBuffer[0], &backwardBuffer[0] + length, &(*data)[0]);
|
||||||
|
|
||||||
|
|
||||||
|
std::cout << "Backward Received " << length << " Bytes, sending\n";
|
||||||
|
std::cout << boost::lexical_cast<std::string>(int(backwardBuffer[0])) << "\n";
|
||||||
|
std::cout << boost::lexical_cast<std::string>(int(backwardBuffer[length - 1])) << "\n";
|
||||||
|
|
||||||
|
|
||||||
|
boost::asio::async_write((*socketPtr),
|
||||||
|
boost::asio::buffer(*data),
|
||||||
|
[this, self, data](boost::system::error_code ec, std::size_t length)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
std::cout << "Backward Sent, now read again!\n";
|
||||||
|
transferDataBackward();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (ec != boost::asio::error::operation_aborted)
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
}
|
||||||
|
|
||||||
|
outsideSocket_.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else if (ec == boost::asio::error::eof)
|
||||||
|
{
|
||||||
|
std::cout << "transferDataBackward read end of file" << std::endl;
|
||||||
|
if (length > 0)
|
||||||
|
{
|
||||||
|
std::cout << "but length is positive" << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
connection_manager_.stop(shared_from_this());
|
||||||
|
outsideSocket_.close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
114
http/connection.hpp
Executable file
114
http/connection.hpp
Executable file
@ -0,0 +1,114 @@
|
|||||||
|
//
|
||||||
|
// connection.hpp
|
||||||
|
// ~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_CONNECTION_HPP
|
||||||
|
#define HTTP_CONNECTION_HPP
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
#include <memory>
|
||||||
|
#include <boost/asio.hpp>
|
||||||
|
#include "reply.hpp"
|
||||||
|
#include "request.hpp"
|
||||||
|
#include "request_handler.hpp"
|
||||||
|
#include "request_parser.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef SSL_R_SHORT_READ
|
||||||
|
#define SSL_R_SHORT_READ 219
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ssl/ssl_locl.h"
|
||||||
|
#include <boost/asio/ssl.hpp>
|
||||||
|
|
||||||
|
#if defined(close)
|
||||||
|
#undef close
|
||||||
|
#endif
|
||||||
|
|
||||||
|
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> ssl_socket;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
class connection_manager;
|
||||||
|
|
||||||
|
/// Represents a single connection from a client.
|
||||||
|
class connection
|
||||||
|
: public std::enable_shared_from_this<connection>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
connection(const connection&) = delete;
|
||||||
|
connection& operator=(const connection&) = delete;
|
||||||
|
|
||||||
|
/// Construct a connection with the given socket.
|
||||||
|
explicit connection(std::shared_ptr<ssl_socket> newSocketPtr,
|
||||||
|
connection_manager& manager, request_handler& handler, boost::asio::io_context& io_context);
|
||||||
|
|
||||||
|
/// Start the first asynchronous operation for the connection.
|
||||||
|
void start();
|
||||||
|
|
||||||
|
/// Stop all asynchronous operations associated with the connection.
|
||||||
|
void stop();
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
|
void doHandshake();
|
||||||
|
|
||||||
|
/// Perform an asynchronous read operation.
|
||||||
|
void do_read();
|
||||||
|
|
||||||
|
/// Perform an asynchronous write operation.
|
||||||
|
void do_write();
|
||||||
|
|
||||||
|
/// Socket for the connection.
|
||||||
|
//boost::asio::ip::tcp::socket socket_;
|
||||||
|
std::shared_ptr<ssl_socket> socketPtr;
|
||||||
|
|
||||||
|
/// The manager for this connection.
|
||||||
|
connection_manager& connection_manager_;
|
||||||
|
|
||||||
|
/// The handler used to process the incoming request.
|
||||||
|
request_handler& request_handler_;
|
||||||
|
|
||||||
|
/// Buffer for incoming data.
|
||||||
|
std::array<char, 8192> buffer_;
|
||||||
|
|
||||||
|
/// The incoming request.
|
||||||
|
request request_;
|
||||||
|
|
||||||
|
/// The parser for the incoming request.
|
||||||
|
request_parser request_parser_;
|
||||||
|
|
||||||
|
/// The reply to be sent back to the client.
|
||||||
|
reply reply_;
|
||||||
|
|
||||||
|
|
||||||
|
boost::asio::io_context& io_context_;
|
||||||
|
|
||||||
|
|
||||||
|
boost::asio::ip::tcp::socket outsideSocket_;
|
||||||
|
|
||||||
|
std::array<unsigned char, 8192> forwardBuffer;
|
||||||
|
std::array<unsigned char, 8192> backwardBuffer;
|
||||||
|
|
||||||
|
void do_try_connect_remote(std::string host, std::string port);
|
||||||
|
|
||||||
|
void transferDataForward();
|
||||||
|
void transferDataBackward();
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef std::shared_ptr<connection> connection_ptr;
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_CONNECTION_HPP
|
40
http/connection_manager.cpp
Executable file
40
http/connection_manager.cpp
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
//
|
||||||
|
// connection_manager.cpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "connection_manager.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
connection_manager::connection_manager()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection_manager::start(connection_ptr c)
|
||||||
|
{
|
||||||
|
connections_.insert(c);
|
||||||
|
c->start();
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection_manager::stop(connection_ptr c)
|
||||||
|
{
|
||||||
|
connections_.erase(c);
|
||||||
|
c->stop();
|
||||||
|
}
|
||||||
|
|
||||||
|
void connection_manager::stop_all()
|
||||||
|
{
|
||||||
|
for (auto c: connections_)
|
||||||
|
c->stop();
|
||||||
|
connections_.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
48
http/connection_manager.hpp
Executable file
48
http/connection_manager.hpp
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
//
|
||||||
|
// connection_manager.hpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_CONNECTION_MANAGER_HPP
|
||||||
|
#define HTTP_CONNECTION_MANAGER_HPP
|
||||||
|
|
||||||
|
#include <set>
|
||||||
|
#include "connection.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
/// Manages open connections so that they may be cleanly stopped when the server
|
||||||
|
/// needs to shut down.
|
||||||
|
class connection_manager
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
connection_manager(const connection_manager&) = delete;
|
||||||
|
connection_manager& operator=(const connection_manager&) = delete;
|
||||||
|
|
||||||
|
/// Construct a connection manager.
|
||||||
|
connection_manager();
|
||||||
|
|
||||||
|
/// Add the specified connection to the manager and start it.
|
||||||
|
void start(connection_ptr c);
|
||||||
|
|
||||||
|
/// Stop the specified connection.
|
||||||
|
void stop(connection_ptr c);
|
||||||
|
|
||||||
|
/// Stop all connections.
|
||||||
|
void stop_all();
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// The managed connections.
|
||||||
|
std::set<connection_ptr> connections_;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_CONNECTION_MANAGER_HPP
|
28
http/header.hpp
Executable file
28
http/header.hpp
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
//
|
||||||
|
// header.hpp
|
||||||
|
// ~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_HEADER_HPP
|
||||||
|
#define HTTP_HEADER_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
struct header
|
||||||
|
{
|
||||||
|
std::string name;
|
||||||
|
std::string value;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_HEADER_HPP
|
51
http/mime_types.cpp
Executable file
51
http/mime_types.cpp
Executable file
@ -0,0 +1,51 @@
|
|||||||
|
//
|
||||||
|
// mime_types.cpp
|
||||||
|
// ~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "mime_types.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
namespace mime_types {
|
||||||
|
|
||||||
|
struct mapping
|
||||||
|
{
|
||||||
|
const char* extension;
|
||||||
|
const char* mime_type;
|
||||||
|
} mappings[] =
|
||||||
|
{
|
||||||
|
{ "gif", "image/gif" },
|
||||||
|
{ "htm", "text/html" },
|
||||||
|
{ "html", "text/html" },
|
||||||
|
{ "jpg", "image/jpeg" },
|
||||||
|
{ "png", "image/png" },
|
||||||
|
{"css", "text/css"},
|
||||||
|
{"js", "application/javascript"},
|
||||||
|
{"eot", "application/vnd.ms-fontobject"},
|
||||||
|
{"ttf", "font/ttf"},
|
||||||
|
{"otf", "font/otf"},
|
||||||
|
{"svg", "image/svg+xml"}
|
||||||
|
};
|
||||||
|
|
||||||
|
std::string extension_to_type(const std::string& extension)
|
||||||
|
{
|
||||||
|
for (mapping m: mappings)
|
||||||
|
{
|
||||||
|
if (m.extension == extension)
|
||||||
|
{
|
||||||
|
return m.mime_type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return "text/plain";
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace mime_types
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
27
http/mime_types.hpp
Executable file
27
http/mime_types.hpp
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
//
|
||||||
|
// mime_types.hpp
|
||||||
|
// ~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_MIME_TYPES_HPP
|
||||||
|
#define HTTP_MIME_TYPES_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
namespace mime_types {
|
||||||
|
|
||||||
|
/// Convert a file extension into a MIME type.
|
||||||
|
std::string extension_to_type(const std::string& extension);
|
||||||
|
|
||||||
|
} // namespace mime_types
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_MIME_TYPES_HPP
|
255
http/reply.cpp
Executable file
255
http/reply.cpp
Executable file
@ -0,0 +1,255 @@
|
|||||||
|
//
|
||||||
|
// reply.cpp
|
||||||
|
// ~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "reply.hpp"
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
namespace status_strings {
|
||||||
|
|
||||||
|
const std::string ok =
|
||||||
|
"HTTP/1.0 200 OK\r\n";
|
||||||
|
const std::string created =
|
||||||
|
"HTTP/1.0 201 Created\r\n";
|
||||||
|
const std::string accepted =
|
||||||
|
"HTTP/1.0 202 Accepted\r\n";
|
||||||
|
const std::string no_content =
|
||||||
|
"HTTP/1.0 204 No Content\r\n";
|
||||||
|
const std::string multiple_choices =
|
||||||
|
"HTTP/1.0 300 Multiple Choices\r\n";
|
||||||
|
const std::string moved_permanently =
|
||||||
|
"HTTP/1.0 301 Moved Permanently\r\n";
|
||||||
|
const std::string moved_temporarily =
|
||||||
|
"HTTP/1.0 302 Moved Temporarily\r\n";
|
||||||
|
const std::string not_modified =
|
||||||
|
"HTTP/1.0 304 Not Modified\r\n";
|
||||||
|
const std::string bad_request =
|
||||||
|
"HTTP/1.0 400 Bad Request\r\n";
|
||||||
|
const std::string unauthorized =
|
||||||
|
"HTTP/1.0 401 Unauthorized\r\n";
|
||||||
|
const std::string forbidden =
|
||||||
|
"HTTP/1.0 403 Forbidden\r\n";
|
||||||
|
const std::string not_found =
|
||||||
|
"HTTP/1.0 404 Not Found\r\n";
|
||||||
|
const std::string internal_server_error =
|
||||||
|
"HTTP/1.0 500 Internal Server Error\r\n";
|
||||||
|
const std::string not_implemented =
|
||||||
|
"HTTP/1.0 501 Not Implemented\r\n";
|
||||||
|
const std::string bad_gateway =
|
||||||
|
"HTTP/1.0 502 Bad Gateway\r\n";
|
||||||
|
const std::string service_unavailable =
|
||||||
|
"HTTP/1.0 503 Service Unavailable\r\n";
|
||||||
|
|
||||||
|
boost::asio::const_buffer to_buffer(reply::status_type status)
|
||||||
|
{
|
||||||
|
switch (status)
|
||||||
|
{
|
||||||
|
case reply::ok:
|
||||||
|
return boost::asio::buffer(ok);
|
||||||
|
case reply::created:
|
||||||
|
return boost::asio::buffer(created);
|
||||||
|
case reply::accepted:
|
||||||
|
return boost::asio::buffer(accepted);
|
||||||
|
case reply::no_content:
|
||||||
|
return boost::asio::buffer(no_content);
|
||||||
|
case reply::multiple_choices:
|
||||||
|
return boost::asio::buffer(multiple_choices);
|
||||||
|
case reply::moved_permanently:
|
||||||
|
return boost::asio::buffer(moved_permanently);
|
||||||
|
case reply::moved_temporarily:
|
||||||
|
return boost::asio::buffer(moved_temporarily);
|
||||||
|
case reply::not_modified:
|
||||||
|
return boost::asio::buffer(not_modified);
|
||||||
|
case reply::bad_request:
|
||||||
|
return boost::asio::buffer(bad_request);
|
||||||
|
case reply::unauthorized:
|
||||||
|
return boost::asio::buffer(unauthorized);
|
||||||
|
case reply::forbidden:
|
||||||
|
return boost::asio::buffer(forbidden);
|
||||||
|
case reply::not_found:
|
||||||
|
return boost::asio::buffer(not_found);
|
||||||
|
case reply::internal_server_error:
|
||||||
|
return boost::asio::buffer(internal_server_error);
|
||||||
|
case reply::not_implemented:
|
||||||
|
return boost::asio::buffer(not_implemented);
|
||||||
|
case reply::bad_gateway:
|
||||||
|
return boost::asio::buffer(bad_gateway);
|
||||||
|
case reply::service_unavailable:
|
||||||
|
return boost::asio::buffer(service_unavailable);
|
||||||
|
default:
|
||||||
|
return boost::asio::buffer(internal_server_error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace status_strings
|
||||||
|
|
||||||
|
namespace misc_strings {
|
||||||
|
|
||||||
|
const char name_value_separator[] = { ':', ' ' };
|
||||||
|
const char crlf[] = { '\r', '\n' };
|
||||||
|
|
||||||
|
} // namespace misc_strings
|
||||||
|
|
||||||
|
std::vector<boost::asio::const_buffer> reply::to_buffers()
|
||||||
|
{
|
||||||
|
std::vector<boost::asio::const_buffer> buffers;
|
||||||
|
buffers.push_back(status_strings::to_buffer(status));
|
||||||
|
for (std::size_t i = 0; i < headers.size(); ++i)
|
||||||
|
{
|
||||||
|
header& h = headers[i];
|
||||||
|
buffers.push_back(boost::asio::buffer(h.name));
|
||||||
|
buffers.push_back(boost::asio::buffer(misc_strings::name_value_separator));
|
||||||
|
buffers.push_back(boost::asio::buffer(h.value));
|
||||||
|
buffers.push_back(boost::asio::buffer(misc_strings::crlf));
|
||||||
|
}
|
||||||
|
buffers.push_back(boost::asio::buffer(misc_strings::crlf));
|
||||||
|
buffers.push_back(boost::asio::buffer(content));
|
||||||
|
return buffers;
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace stock_replies {
|
||||||
|
|
||||||
|
const char ok[] = "";
|
||||||
|
const char created[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Created</title></head>"
|
||||||
|
"<body><h1>201 Created</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char accepted[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Accepted</title></head>"
|
||||||
|
"<body><h1>202 Accepted</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char no_content[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>No Content</title></head>"
|
||||||
|
"<body><h1>204 Content</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char multiple_choices[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Multiple Choices</title></head>"
|
||||||
|
"<body><h1>300 Multiple Choices</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char moved_permanently[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Moved Permanently</title></head>"
|
||||||
|
"<body><h1>301 Moved Permanently</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char moved_temporarily[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Moved Temporarily</title></head>"
|
||||||
|
"<body><h1>302 Moved Temporarily</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char not_modified[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Not Modified</title></head>"
|
||||||
|
"<body><h1>304 Not Modified</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char bad_request[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Bad Request</title></head>"
|
||||||
|
"<body><h1>400 Bad Request</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char unauthorized[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Unauthorized</title></head>"
|
||||||
|
"<body><h1>401 Unauthorized</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char forbidden[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Forbidden</title></head>"
|
||||||
|
"<body><h1>403 Forbidden</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char not_found[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Not Found</title></head>"
|
||||||
|
"<body><h1>404 Not Found</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char internal_server_error[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Internal Server Error</title></head>"
|
||||||
|
"<body><h1>500 Internal Server Error</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char not_implemented[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Not Implemented</title></head>"
|
||||||
|
"<body><h1>501 Not Implemented</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char bad_gateway[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Bad Gateway</title></head>"
|
||||||
|
"<body><h1>502 Bad Gateway</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
const char service_unavailable[] =
|
||||||
|
"<html>"
|
||||||
|
"<head><title>Service Unavailable</title></head>"
|
||||||
|
"<body><h1>503 Service Unavailable</h1></body>"
|
||||||
|
"</html>";
|
||||||
|
|
||||||
|
std::string to_string(reply::status_type status)
|
||||||
|
{
|
||||||
|
switch (status)
|
||||||
|
{
|
||||||
|
case reply::ok:
|
||||||
|
return ok;
|
||||||
|
case reply::created:
|
||||||
|
return created;
|
||||||
|
case reply::accepted:
|
||||||
|
return accepted;
|
||||||
|
case reply::no_content:
|
||||||
|
return no_content;
|
||||||
|
case reply::multiple_choices:
|
||||||
|
return multiple_choices;
|
||||||
|
case reply::moved_permanently:
|
||||||
|
return moved_permanently;
|
||||||
|
case reply::moved_temporarily:
|
||||||
|
return moved_temporarily;
|
||||||
|
case reply::not_modified:
|
||||||
|
return not_modified;
|
||||||
|
case reply::bad_request:
|
||||||
|
return bad_request;
|
||||||
|
case reply::unauthorized:
|
||||||
|
return unauthorized;
|
||||||
|
case reply::forbidden:
|
||||||
|
return forbidden;
|
||||||
|
case reply::not_found:
|
||||||
|
return not_found;
|
||||||
|
case reply::internal_server_error:
|
||||||
|
return internal_server_error;
|
||||||
|
case reply::not_implemented:
|
||||||
|
return not_implemented;
|
||||||
|
case reply::bad_gateway:
|
||||||
|
return bad_gateway;
|
||||||
|
case reply::service_unavailable:
|
||||||
|
return service_unavailable;
|
||||||
|
default:
|
||||||
|
return internal_server_error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace stock_replies
|
||||||
|
|
||||||
|
reply reply::stock_reply(reply::status_type status)
|
||||||
|
{
|
||||||
|
reply rep;
|
||||||
|
rep.status = status;
|
||||||
|
rep.content = stock_replies::to_string(status);
|
||||||
|
rep.headers.resize(2);
|
||||||
|
rep.headers[0].name = "Content-Length";
|
||||||
|
rep.headers[0].value = std::to_string(rep.content.size());
|
||||||
|
rep.headers[1].name = "Content-Type";
|
||||||
|
rep.headers[1].value = "text/html";
|
||||||
|
return rep;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
64
http/reply.hpp
Executable file
64
http/reply.hpp
Executable file
@ -0,0 +1,64 @@
|
|||||||
|
//
|
||||||
|
// reply.hpp
|
||||||
|
// ~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_REPLY_HPP
|
||||||
|
#define HTTP_REPLY_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <boost/asio.hpp>
|
||||||
|
#include "header.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
/// A reply to be sent to a client.
|
||||||
|
struct reply
|
||||||
|
{
|
||||||
|
/// The status of the reply.
|
||||||
|
enum status_type
|
||||||
|
{
|
||||||
|
ok = 200,
|
||||||
|
created = 201,
|
||||||
|
accepted = 202,
|
||||||
|
no_content = 204,
|
||||||
|
multiple_choices = 300,
|
||||||
|
moved_permanently = 301,
|
||||||
|
moved_temporarily = 302,
|
||||||
|
not_modified = 304,
|
||||||
|
bad_request = 400,
|
||||||
|
unauthorized = 401,
|
||||||
|
forbidden = 403,
|
||||||
|
not_found = 404,
|
||||||
|
internal_server_error = 500,
|
||||||
|
not_implemented = 501,
|
||||||
|
bad_gateway = 502,
|
||||||
|
service_unavailable = 503
|
||||||
|
} status;
|
||||||
|
|
||||||
|
/// The headers to be included in the reply.
|
||||||
|
std::vector<header> headers;
|
||||||
|
|
||||||
|
/// The content to be sent in the reply.
|
||||||
|
std::string content;
|
||||||
|
|
||||||
|
/// Convert the reply into a vector of buffers. The buffers do not own the
|
||||||
|
/// underlying memory blocks, therefore the reply object must remain valid and
|
||||||
|
/// not be changed until the write operation has completed.
|
||||||
|
std::vector<boost::asio::const_buffer> to_buffers();
|
||||||
|
|
||||||
|
/// Get a stock reply.
|
||||||
|
static reply stock_reply(status_type status);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_REPLY_HPP
|
34
http/request.hpp
Executable file
34
http/request.hpp
Executable file
@ -0,0 +1,34 @@
|
|||||||
|
//
|
||||||
|
// request.hpp
|
||||||
|
// ~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_REQUEST_HPP
|
||||||
|
#define HTTP_REQUEST_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include "header.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
/// A request received from a client.
|
||||||
|
struct request
|
||||||
|
{
|
||||||
|
std::string method;
|
||||||
|
std::string uri;
|
||||||
|
int http_version_major;
|
||||||
|
int http_version_minor;
|
||||||
|
std::vector<header> headers;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_REQUEST_HPP
|
121
http/request_handler.cpp
Executable file
121
http/request_handler.cpp
Executable file
@ -0,0 +1,121 @@
|
|||||||
|
//
|
||||||
|
// request_handler.cpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "request_handler.hpp"
|
||||||
|
#include <fstream>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string>
|
||||||
|
#include "mime_types.hpp"
|
||||||
|
#include "reply.hpp"
|
||||||
|
#include "request.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
request_handler::request_handler(const std::string& doc_root)
|
||||||
|
: doc_root_(doc_root)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void request_handler::handle_request(const request& req, reply& rep)
|
||||||
|
{
|
||||||
|
// Decode url to path.
|
||||||
|
std::string request_path;
|
||||||
|
if (!url_decode(req.uri, request_path))
|
||||||
|
{
|
||||||
|
rep = reply::stock_reply(reply::bad_request);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Request path must be absolute and not contain "..".
|
||||||
|
if (request_path.empty() || request_path[0] != '/'
|
||||||
|
|| request_path.find("..") != std::string::npos)
|
||||||
|
{
|
||||||
|
rep = reply::stock_reply(reply::bad_request);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If path ends in slash (i.e. is a directory) then add "index.html".
|
||||||
|
if (request_path[request_path.size() - 1] == '/')
|
||||||
|
{
|
||||||
|
request_path += "index.html";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Determine the file extension.
|
||||||
|
std::size_t last_slash_pos = request_path.find_last_of("/");
|
||||||
|
std::size_t last_dot_pos = request_path.find_last_of(".");
|
||||||
|
std::string extension;
|
||||||
|
if (last_dot_pos != std::string::npos && last_dot_pos > last_slash_pos)
|
||||||
|
{
|
||||||
|
extension = request_path.substr(last_dot_pos + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Open the file to send back.
|
||||||
|
std::string full_path = doc_root_ + request_path;
|
||||||
|
std::ifstream is(full_path.c_str(), std::ios::in | std::ios::binary);
|
||||||
|
if (!is)
|
||||||
|
{
|
||||||
|
rep = reply::stock_reply(reply::not_found);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fill out the reply to be sent to the client.
|
||||||
|
rep.status = reply::ok;
|
||||||
|
char buf[512];
|
||||||
|
while (is.read(buf, sizeof(buf)).gcount() > 0)
|
||||||
|
rep.content.append(buf, is.gcount());
|
||||||
|
rep.headers.resize(2);
|
||||||
|
rep.headers[0].name = "Content-Length";
|
||||||
|
rep.headers[0].value = std::to_string(rep.content.size());
|
||||||
|
rep.headers[1].name = "Content-Type";
|
||||||
|
rep.headers[1].value = mime_types::extension_to_type(extension);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool request_handler::url_decode(const std::string& in, std::string& out)
|
||||||
|
{
|
||||||
|
out.clear();
|
||||||
|
out.reserve(in.size());
|
||||||
|
for (std::size_t i = 0; i < in.size(); ++i)
|
||||||
|
{
|
||||||
|
if (in[i] == '%')
|
||||||
|
{
|
||||||
|
if (i + 3 <= in.size())
|
||||||
|
{
|
||||||
|
int value = 0;
|
||||||
|
std::istringstream is(in.substr(i + 1, 2));
|
||||||
|
if (is >> std::hex >> value)
|
||||||
|
{
|
||||||
|
out += static_cast<char>(value);
|
||||||
|
i += 2;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (in[i] == '+')
|
||||||
|
{
|
||||||
|
out += ' ';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
out += in[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
47
http/request_handler.hpp
Executable file
47
http/request_handler.hpp
Executable file
@ -0,0 +1,47 @@
|
|||||||
|
//
|
||||||
|
// request_handler.hpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_REQUEST_HANDLER_HPP
|
||||||
|
#define HTTP_REQUEST_HANDLER_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
struct reply;
|
||||||
|
struct request;
|
||||||
|
|
||||||
|
/// The common handler for all incoming requests.
|
||||||
|
class request_handler
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
request_handler(const request_handler&) = delete;
|
||||||
|
request_handler& operator=(const request_handler&) = delete;
|
||||||
|
|
||||||
|
/// Construct with a directory containing files to be served.
|
||||||
|
explicit request_handler(const std::string& doc_root);
|
||||||
|
|
||||||
|
/// Handle a request and produce a reply.
|
||||||
|
void handle_request(const request& req, reply& rep);
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// The directory containing the files to be served.
|
||||||
|
std::string doc_root_;
|
||||||
|
|
||||||
|
/// Perform URL-decoding on a string. Returns false if the encoding was
|
||||||
|
/// invalid.
|
||||||
|
static bool url_decode(const std::string& in, std::string& out);
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_REQUEST_HANDLER_HPP
|
315
http/request_parser.cpp
Executable file
315
http/request_parser.cpp
Executable file
@ -0,0 +1,315 @@
|
|||||||
|
//
|
||||||
|
// request_parser.cpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "request_parser.hpp"
|
||||||
|
#include "request.hpp"
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
request_parser::request_parser()
|
||||||
|
: state_(method_start)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void request_parser::reset()
|
||||||
|
{
|
||||||
|
state_ = method_start;
|
||||||
|
}
|
||||||
|
|
||||||
|
request_parser::result_type request_parser::consume(request& req, char input)
|
||||||
|
{
|
||||||
|
switch (state_)
|
||||||
|
{
|
||||||
|
case method_start:
|
||||||
|
if (!is_char(input) || is_ctl(input) || is_tspecial(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
state_ = method;
|
||||||
|
req.method.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case method:
|
||||||
|
if (input == ' ')
|
||||||
|
{
|
||||||
|
state_ = uri;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (!is_char(input) || is_ctl(input) || is_tspecial(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
req.method.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case uri:
|
||||||
|
if (input == ' ')
|
||||||
|
{
|
||||||
|
state_ = http_version_h;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (is_ctl(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
req.uri.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case http_version_h:
|
||||||
|
if (input == 'H')
|
||||||
|
{
|
||||||
|
state_ = http_version_t_1;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_t_1:
|
||||||
|
if (input == 'T')
|
||||||
|
{
|
||||||
|
state_ = http_version_t_2;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_t_2:
|
||||||
|
if (input == 'T')
|
||||||
|
{
|
||||||
|
state_ = http_version_p;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_p:
|
||||||
|
if (input == 'P')
|
||||||
|
{
|
||||||
|
state_ = http_version_slash;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_slash:
|
||||||
|
if (input == '/')
|
||||||
|
{
|
||||||
|
req.http_version_major = 0;
|
||||||
|
req.http_version_minor = 0;
|
||||||
|
state_ = http_version_major_start;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_major_start:
|
||||||
|
if (is_digit(input))
|
||||||
|
{
|
||||||
|
req.http_version_major = req.http_version_major * 10 + input - '0';
|
||||||
|
state_ = http_version_major;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_major:
|
||||||
|
if (input == '.')
|
||||||
|
{
|
||||||
|
state_ = http_version_minor_start;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (is_digit(input))
|
||||||
|
{
|
||||||
|
req.http_version_major = req.http_version_major * 10 + input - '0';
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_minor_start:
|
||||||
|
if (is_digit(input))
|
||||||
|
{
|
||||||
|
req.http_version_minor = req.http_version_minor * 10 + input - '0';
|
||||||
|
state_ = http_version_minor;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case http_version_minor:
|
||||||
|
if (input == '\r')
|
||||||
|
{
|
||||||
|
state_ = expecting_newline_1;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (is_digit(input))
|
||||||
|
{
|
||||||
|
req.http_version_minor = req.http_version_minor * 10 + input - '0';
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case expecting_newline_1:
|
||||||
|
if (input == '\n')
|
||||||
|
{
|
||||||
|
state_ = header_line_start;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case header_line_start:
|
||||||
|
if (input == '\r')
|
||||||
|
{
|
||||||
|
state_ = expecting_newline_3;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (!req.headers.empty() && (input == ' ' || input == '\t'))
|
||||||
|
{
|
||||||
|
state_ = header_lws;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (!is_char(input) || is_ctl(input) || is_tspecial(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
req.headers.push_back(header());
|
||||||
|
req.headers.back().name.push_back(input);
|
||||||
|
state_ = header_name;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case header_lws:
|
||||||
|
if (input == '\r')
|
||||||
|
{
|
||||||
|
state_ = expecting_newline_2;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (input == ' ' || input == '\t')
|
||||||
|
{
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (is_ctl(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
state_ = header_value;
|
||||||
|
req.headers.back().value.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case header_name:
|
||||||
|
if (input == ':')
|
||||||
|
{
|
||||||
|
state_ = space_before_header_value;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (!is_char(input) || is_ctl(input) || is_tspecial(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
req.headers.back().name.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case space_before_header_value:
|
||||||
|
if (input == ' ')
|
||||||
|
{
|
||||||
|
state_ = header_value;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case header_value:
|
||||||
|
if (input == '\r')
|
||||||
|
{
|
||||||
|
state_ = expecting_newline_2;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else if (is_ctl(input))
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
req.headers.back().value.push_back(input);
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
case expecting_newline_2:
|
||||||
|
if (input == '\n')
|
||||||
|
{
|
||||||
|
state_ = header_line_start;
|
||||||
|
return indeterminate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
case expecting_newline_3:
|
||||||
|
return (input == '\n') ? good : bad;
|
||||||
|
default:
|
||||||
|
return bad;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool request_parser::is_char(int c)
|
||||||
|
{
|
||||||
|
return c >= 0 && c <= 127;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool request_parser::is_ctl(int c)
|
||||||
|
{
|
||||||
|
return (c >= 0 && c <= 31) || (c == 127);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool request_parser::is_tspecial(int c)
|
||||||
|
{
|
||||||
|
switch (c)
|
||||||
|
{
|
||||||
|
case '(': case ')': case '<': case '>': case '@':
|
||||||
|
case ',': case ';': case ':': case '\\': case '"':
|
||||||
|
case '/': case '[': case ']': case '?': case '=':
|
||||||
|
case '{': case '}': case ' ': case '\t':
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool request_parser::is_digit(int c)
|
||||||
|
{
|
||||||
|
return c >= '0' && c <= '9';
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
96
http/request_parser.hpp
Executable file
96
http/request_parser.hpp
Executable file
@ -0,0 +1,96 @@
|
|||||||
|
//
|
||||||
|
// request_parser.hpp
|
||||||
|
// ~~~~~~~~~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_REQUEST_PARSER_HPP
|
||||||
|
#define HTTP_REQUEST_PARSER_HPP
|
||||||
|
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
struct request;
|
||||||
|
|
||||||
|
/// Parser for incoming requests.
|
||||||
|
class request_parser
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
/// Construct ready to parse the request method.
|
||||||
|
request_parser();
|
||||||
|
|
||||||
|
/// Reset to initial parser state.
|
||||||
|
void reset();
|
||||||
|
|
||||||
|
/// Result of parse.
|
||||||
|
enum result_type { good, bad, indeterminate };
|
||||||
|
|
||||||
|
/// Parse some data. The enum return value is good when a complete request has
|
||||||
|
/// been parsed, bad if the data is invalid, indeterminate when more data is
|
||||||
|
/// required. The InputIterator return value indicates how much of the input
|
||||||
|
/// has been consumed.
|
||||||
|
template <typename InputIterator>
|
||||||
|
std::tuple<result_type, InputIterator> parse(request& req,
|
||||||
|
InputIterator begin, InputIterator end)
|
||||||
|
{
|
||||||
|
while (begin != end)
|
||||||
|
{
|
||||||
|
result_type result = consume(req, *begin++);
|
||||||
|
if (result == good || result == bad)
|
||||||
|
return std::make_tuple(result, begin);
|
||||||
|
}
|
||||||
|
return std::make_tuple(indeterminate, begin);
|
||||||
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// Handle the next character of input.
|
||||||
|
result_type consume(request& req, char input);
|
||||||
|
|
||||||
|
/// Check if a byte is an HTTP character.
|
||||||
|
static bool is_char(int c);
|
||||||
|
|
||||||
|
/// Check if a byte is an HTTP control character.
|
||||||
|
static bool is_ctl(int c);
|
||||||
|
|
||||||
|
/// Check if a byte is defined as an HTTP tspecial character.
|
||||||
|
static bool is_tspecial(int c);
|
||||||
|
|
||||||
|
/// Check if a byte is a digit.
|
||||||
|
static bool is_digit(int c);
|
||||||
|
|
||||||
|
/// The current state of the parser.
|
||||||
|
enum state
|
||||||
|
{
|
||||||
|
method_start,
|
||||||
|
method,
|
||||||
|
uri,
|
||||||
|
http_version_h,
|
||||||
|
http_version_t_1,
|
||||||
|
http_version_t_2,
|
||||||
|
http_version_p,
|
||||||
|
http_version_slash,
|
||||||
|
http_version_major_start,
|
||||||
|
http_version_major,
|
||||||
|
http_version_minor_start,
|
||||||
|
http_version_minor,
|
||||||
|
expecting_newline_1,
|
||||||
|
header_line_start,
|
||||||
|
header_lws,
|
||||||
|
header_name,
|
||||||
|
space_before_header_value,
|
||||||
|
header_value,
|
||||||
|
expecting_newline_2,
|
||||||
|
expecting_newline_3
|
||||||
|
} state_;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_REQUEST_PARSER_HPP
|
90
http/server.cpp
Executable file
90
http/server.cpp
Executable file
@ -0,0 +1,90 @@
|
|||||||
|
//
|
||||||
|
// server.cpp
|
||||||
|
// ~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "server.hpp"
|
||||||
|
#include <signal.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
server::server(const std::string& address, const std::string& port,
|
||||||
|
const std::string& doc_root, boost::asio::ssl::context& inSslContext)
|
||||||
|
: io_context_(1),
|
||||||
|
signals_(io_context_),
|
||||||
|
acceptor_(io_context_, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), 443)),
|
||||||
|
connection_manager_(),
|
||||||
|
request_handler_(doc_root),
|
||||||
|
sslContext(inSslContext),
|
||||||
|
tempSocketPtr(std::make_shared<ssl_socket>(io_context_, inSslContext))
|
||||||
|
{
|
||||||
|
// Register to handle the signals that indicate when the server should exit.
|
||||||
|
// It is safe to register for the same signal multiple times in a program,
|
||||||
|
// provided all registration for the specified signal is made through Asio.
|
||||||
|
signals_.add(SIGINT);
|
||||||
|
signals_.add(SIGTERM);
|
||||||
|
#if defined(SIGQUIT)
|
||||||
|
signals_.add(SIGQUIT);
|
||||||
|
#endif // defined(SIGQUIT)
|
||||||
|
|
||||||
|
do_await_stop();
|
||||||
|
|
||||||
|
do_accept();
|
||||||
|
}
|
||||||
|
|
||||||
|
void server::run()
|
||||||
|
{
|
||||||
|
// The io_context::run() call will block until all asynchronous operations
|
||||||
|
// have finished. While the server is running, there is always at least one
|
||||||
|
// asynchronous operation outstanding: the asynchronous accept call waiting
|
||||||
|
// for new incoming connections.
|
||||||
|
io_context_.run();
|
||||||
|
}
|
||||||
|
|
||||||
|
void server::do_accept()
|
||||||
|
{
|
||||||
|
auto newSocketPtr = tempSocketPtr;
|
||||||
|
acceptor_.async_accept(tempSocketPtr->lowest_layer(),
|
||||||
|
[newSocketPtr, this](boost::system::error_code ec)
|
||||||
|
{
|
||||||
|
// Check whether the server was stopped by a signal before this
|
||||||
|
// completion handler had a chance to run.
|
||||||
|
if (!acceptor_.is_open())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!ec)
|
||||||
|
{
|
||||||
|
connection_manager_.start(std::make_shared<connection>(
|
||||||
|
newSocketPtr, connection_manager_, request_handler_, io_context_));
|
||||||
|
}
|
||||||
|
|
||||||
|
this->tempSocketPtr = std::make_shared<ssl_socket>(io_context_, sslContext);
|
||||||
|
|
||||||
|
do_accept();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
void server::do_await_stop()
|
||||||
|
{
|
||||||
|
signals_.async_wait(
|
||||||
|
[this](boost::system::error_code /*ec*/, int /*signo*/)
|
||||||
|
{
|
||||||
|
// The server is stopped by cancelling all outstanding asynchronous
|
||||||
|
// operations. Once all operations have finished the io_context::run()
|
||||||
|
// call will exit.
|
||||||
|
acceptor_.close();
|
||||||
|
connection_manager_.stop_all();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
83
http/server.hpp
Executable file
83
http/server.hpp
Executable file
@ -0,0 +1,83 @@
|
|||||||
|
//
|
||||||
|
// server.hpp
|
||||||
|
// ~~~~~~~~~~
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
||||||
|
//
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef HTTP_SERVER_HPP
|
||||||
|
#define HTTP_SERVER_HPP
|
||||||
|
|
||||||
|
#include <boost/asio.hpp>
|
||||||
|
#include <string>
|
||||||
|
#include "connection.hpp"
|
||||||
|
#include "connection_manager.hpp"
|
||||||
|
#include "request_handler.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef SSL_R_SHORT_READ
|
||||||
|
#define SSL_R_SHORT_READ 219
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "ssl/ssl_locl.h"
|
||||||
|
#include <boost/asio/ssl.hpp>
|
||||||
|
|
||||||
|
#if defined(close)
|
||||||
|
#undef close
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
namespace http {
|
||||||
|
namespace server {
|
||||||
|
|
||||||
|
/// The top-level class of the HTTP server.
|
||||||
|
class server
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
server(const server&) = delete;
|
||||||
|
server& operator=(const server&) = delete;
|
||||||
|
|
||||||
|
/// Construct the server to listen on the specified TCP address and port, and
|
||||||
|
/// serve up files from the given directory.
|
||||||
|
explicit server(const std::string& address, const std::string& port,
|
||||||
|
const std::string& doc_root, boost::asio::ssl::context& inSslContext);
|
||||||
|
|
||||||
|
/// Run the server's io_context loop.
|
||||||
|
void run();
|
||||||
|
|
||||||
|
private:
|
||||||
|
/// Perform an asynchronous accept operation.
|
||||||
|
void do_accept();
|
||||||
|
|
||||||
|
/// Wait for a request to stop the server.
|
||||||
|
void do_await_stop();
|
||||||
|
|
||||||
|
/// The io_context used to perform asynchronous operations.
|
||||||
|
boost::asio::io_context io_context_;
|
||||||
|
|
||||||
|
/// The signal_set is used to register for process termination notifications.
|
||||||
|
boost::asio::signal_set signals_;
|
||||||
|
|
||||||
|
/// Acceptor used to listen for incoming connections.
|
||||||
|
boost::asio::ip::tcp::acceptor acceptor_;
|
||||||
|
|
||||||
|
/// The connection manager which owns all live connections.
|
||||||
|
connection_manager connection_manager_;
|
||||||
|
|
||||||
|
/// The handler for all incoming requests.
|
||||||
|
request_handler request_handler_;
|
||||||
|
|
||||||
|
|
||||||
|
boost::asio::ssl::context& sslContext;
|
||||||
|
|
||||||
|
|
||||||
|
std::shared_ptr<ssl_socket> tempSocketPtr;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace server
|
||||||
|
} // namespace http
|
||||||
|
|
||||||
|
#endif // HTTP_SERVER_HPP
|
62
linux/fullchain1.pem
Normal file
62
linux/fullchain1.pem
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIGGzCCBQOgAwIBAgISA52L0MToNPEy6I29raZdpHEmMA0GCSqGSIb3DQEBCwUA
|
||||||
|
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
|
||||||
|
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xODA4MjUxODU2MjhaFw0x
|
||||||
|
ODExMjMxODU2MjhaMCMxITAfBgNVBAMTGGJyb3dzZXIuZmlzaHJ1bmdhbWVzLmNv
|
||||||
|
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMH+vpGfNphCWplwGdGS
|
||||||
|
3u5WXOifcwyQbNcSbkWRJIoc3rF83F93uDuM6w/SLk+dKqONA6nbhsJw0wJ/DaCb
|
||||||
|
+8gGtwIWXLKnyC/1hCgOWUX5e5pFkbamFosjDoTTTbk3Ylcvw1uaUG4OY/decAhk
|
||||||
|
rwjzBQLumGBau84P6lo+H6OkBYERiOv+3YYVj+J1ear/crLHbSv7I2p73rWuEfuz
|
||||||
|
Syjqx1UF8h2UkIUsDDKiatCnlpNHqkkYdhmNDbF+WKXkmshQ7hSRtCzIf+x63ncE
|
||||||
|
b7IXfaBgDKizIMpKoX9Graet5THQeNWU6PCnOSOkrw63Q5Hr30NWDJH/oITJYgpN
|
||||||
|
sg8CAwEAAaOCAyAwggMcMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEF
|
||||||
|
BQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUROWMMAzDrR5n
|
||||||
|
M7nVmEfNZkpoHQ8wHwYDVR0jBBgwFoAUqEpqYwR93brm0Tm3pkVl7/Oo7KEwbwYI
|
||||||
|
KwYBBQUHAQEEYzBhMC4GCCsGAQUFBzABhiJodHRwOi8vb2NzcC5pbnQteDMubGV0
|
||||||
|
c2VuY3J5cHQub3JnMC8GCCsGAQUFBzAChiNodHRwOi8vY2VydC5pbnQteDMubGV0
|
||||||
|
c2VuY3J5cHQub3JnLzAjBgNVHREEHDAaghhicm93c2VyLmZpc2hydW5nYW1lcy5j
|
||||||
|
b20wgf4GA1UdIASB9jCB8zAIBgZngQwBAgEwgeYGCysGAQQBgt8TAQEBMIHWMCYG
|
||||||
|
CCsGAQUFBwIBFhpodHRwOi8vY3BzLmxldHNlbmNyeXB0Lm9yZzCBqwYIKwYBBQUH
|
||||||
|
AgIwgZ4MgZtUaGlzIENlcnRpZmljYXRlIG1heSBvbmx5IGJlIHJlbGllZCB1cG9u
|
||||||
|
IGJ5IFJlbHlpbmcgUGFydGllcyBhbmQgb25seSBpbiBhY2NvcmRhbmNlIHdpdGgg
|
||||||
|
dGhlIENlcnRpZmljYXRlIFBvbGljeSBmb3VuZCBhdCBodHRwczovL2xldHNlbmNy
|
||||||
|
eXB0Lm9yZy9yZXBvc2l0b3J5LzCCAQQGCisGAQQB1nkCBAIEgfUEgfIA8AB3ANt0
|
||||||
|
r+7LKeyx/so+cW0s5bmquzb3hHGDx12dTze2H79kAAABZXKoxoQAAAQDAEgwRgIh
|
||||||
|
APNkxuuG8Mlr74zILqc1tQrgqzy0Es2Gh2KOMXmteLs8AiEAwBTQ8coVtrSOd1CR
|
||||||
|
x1aIitM3TUFLnqP8huaEOyN52tcAdQCkUBJpBVoVVF5iEas3vBA/Yq5VdqReSxcU
|
||||||
|
RT4bIhBqJQAAAWVyqMaJAAAEAwBGMEQCIFAyDy/ypOK3rfB2vsiS4ZcnLFjLqipJ
|
||||||
|
kiA7X/73lPV6AiACNllhmN2onPoKgrtLb6hffunXlmKeZoBz5SktgYVmqDANBgkq
|
||||||
|
hkiG9w0BAQsFAAOCAQEAfLdouxnmtoo8VOlhPCwZVrXTpSd8KfqLAh46OFYkBu4k
|
||||||
|
SMNh5aE+bd356Y89d7NLox6MDiJa3eFKlgXSFd0orsal1wnbR2fujgSlEDphnt1T
|
||||||
|
n5MSMVxzyzdamJnlkVJ0QI6b161IQxrnjUEIyTsRArG8OpthYsONB7KrtqHnc4zC
|
||||||
|
dWCym0FmUaUOZHAdsjjwh6d+23VMicA6R7hY03Lh7BEXNglFQDGLI19qtF/9sLUG
|
||||||
|
4rbzLDiSTCbQiTiK7JPKBQXhcQHR8DSqAP6g6+NfyK2V7r6c8uElMcJI2TgbzYUE
|
||||||
|
WvRAdMT2m9XTpTx5mbqAHM5mm68p4Br7ApJonGlamw==
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/
|
||||||
|
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
|
||||||
|
DkRTVCBSb290IENBIFgzMB4XDTE2MDMxNzE2NDA0NloXDTIxMDMxNzE2NDA0Nlow
|
||||||
|
SjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUxldCdzIEVuY3J5cHQxIzAhBgNVBAMT
|
||||||
|
GkxldCdzIEVuY3J5cHQgQXV0aG9yaXR5IFgzMIIBIjANBgkqhkiG9w0BAQEFAAOC
|
||||||
|
AQ8AMIIBCgKCAQEAnNMM8FrlLke3cl03g7NoYzDq1zUmGSXhvb418XCSL7e4S0EF
|
||||||
|
q6meNQhY7LEqxGiHC6PjdeTm86dicbp5gWAf15Gan/PQeGdxyGkOlZHP/uaZ6WA8
|
||||||
|
SMx+yk13EiSdRxta67nsHjcAHJyse6cF6s5K671B5TaYucv9bTyWaN8jKkKQDIZ0
|
||||||
|
Z8h/pZq4UmEUEz9l6YKHy9v6Dlb2honzhT+Xhq+w3Brvaw2VFn3EK6BlspkENnWA
|
||||||
|
a6xK8xuQSXgvopZPKiAlKQTGdMDQMc2PMTiVFrqoM7hD8bEfwzB/onkxEz0tNvjj
|
||||||
|
/PIzark5McWvxI0NHWQWM6r6hCm21AvA2H3DkwIDAQABo4IBfTCCAXkwEgYDVR0T
|
||||||
|
AQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwfwYIKwYBBQUHAQEEczBxMDIG
|
||||||
|
CCsGAQUFBzABhiZodHRwOi8vaXNyZy50cnVzdGlkLm9jc3AuaWRlbnRydXN0LmNv
|
||||||
|
bTA7BggrBgEFBQcwAoYvaHR0cDovL2FwcHMuaWRlbnRydXN0LmNvbS9yb290cy9k
|
||||||
|
c3Ryb290Y2F4My5wN2MwHwYDVR0jBBgwFoAUxKexpHsscfrb4UuQdf/EFWCFiRAw
|
||||||
|
VAYDVR0gBE0wSzAIBgZngQwBAgEwPwYLKwYBBAGC3xMBAQEwMDAuBggrBgEFBQcC
|
||||||
|
ARYiaHR0cDovL2Nwcy5yb290LXgxLmxldHNlbmNyeXB0Lm9yZzA8BgNVHR8ENTAz
|
||||||
|
MDGgL6AthitodHRwOi8vY3JsLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu
|
||||||
|
Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF
|
||||||
|
AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo
|
||||||
|
uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/
|
||||||
|
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu
|
||||||
|
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG
|
||||||
|
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6
|
||||||
|
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg==
|
||||||
|
-----END CERTIFICATE-----
|
@ -60,6 +60,13 @@ CFLAGS += -I../ \
|
|||||||
-I/home/ubuntu/work/openssl \
|
-I/home/ubuntu/work/openssl \
|
||||||
-I/home/ubuntu/work/openssl/include
|
-I/home/ubuntu/work/openssl/include
|
||||||
LOCAL_SRC_FILES += ../main.cpp
|
LOCAL_SRC_FILES += ../main.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/connection.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/connection_manager.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/mime_types.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/reply.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/request_handler.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/request_parser.cpp
|
||||||
|
LOCAL_SRC_FILES += ../http/server.cpp
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(CC) $(LOCAL_SRC_FILES) $(CFLAGS) $(LDFLAGS) -o proxyServerTest
|
$(CC) $(LOCAL_SRC_FILES) $(CFLAGS) $(LDFLAGS) -o proxyServerTest
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession::sendServerVersionNoAuth
|
|
||||||
ProxySession::sendServerVersionNoAuth inner
|
|
||||||
ProxySession::readConnectRequest
|
|
||||||
ProxySession::readConnectRequest iner
|
|
||||||
End of file
|
|
||||||
Operation canceled
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
||||||
ProxySession Create
|
|
||||||
ProxySession::start
|
|
||||||
ProxySession::asyncHandshake
|
|
||||||
ProxySession::asyncHandshake inner
|
|
||||||
ProxySession::readClientVersion
|
|
||||||
ProxySession::readClientVersion inner
|
|
||||||
ProxySession Destroy
|
|
28
linux/privkey1.pem
Normal file
28
linux/privkey1.pem
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
-----BEGIN PRIVATE KEY-----
|
||||||
|
MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQDB/r6RnzaYQlqZ
|
||||||
|
cBnRkt7uVlzon3MMkGzXEm5FkSSKHN6xfNxfd7g7jOsP0i5PnSqjjQOp24bCcNMC
|
||||||
|
fw2gm/vIBrcCFlyyp8gv9YQoDllF+XuaRZG2phaLIw6E0025N2JXL8NbmlBuDmP3
|
||||||
|
XnAIZK8I8wUC7phgWrvOD+paPh+jpAWBEYjr/t2GFY/idXmq/3Kyx20r+yNqe961
|
||||||
|
rhH7s0so6sdVBfIdlJCFLAwyomrQp5aTR6pJGHYZjQ2xflil5JrIUO4UkbQsyH/s
|
||||||
|
et53BG+yF32gYAyosyDKSqF/Rq2nreUx0HjVlOjwpzkjpK8Ot0OR699DVgyR/6CE
|
||||||
|
yWIKTbIPAgMBAAECggEAYivVKoJEsYaarJ1TI4BMupYPzFSsdwY7XhdgoGnT8OSt
|
||||||
|
OWpzZwiBvfkRF1+IuhdR9ZQt7249YvaPgerj7YwiPVZQlIjWfj50CvkW2OJyAPxA
|
||||||
|
tZBRLfoc3GpwNX1tDrbdWDu+hAOygg9cPVmYHlc9UK0SsyolCFXCRoQ9V0+q2TcL
|
||||||
|
45zFukr9Y1IBk0tv4AwafP/r8aW/AWx9wFO78WCE7Niqxu9H+NUkD/CZMycaSyX3
|
||||||
|
EQnM2GBOvsWiH+nNDxBTX5u/VvG0MVvYgnwcaomrBkgzTEofEuKQ2/oX6Gy9byx/
|
||||||
|
h8Wo9U2QZoUX61FzKvAazYO+wT1DnaGDFzS8LVUCCQKBgQD5rCEMSdSYBT3BSmCD
|
||||||
|
40AASkR3jmEJURK7PlUYDicdFzQYaHmpEg7EDigmU7s+TEft5AQR7/w5QoLPLD4M
|
||||||
|
wN/Ee7vTwKqp6B9Lla3HpRlMkPwNWqcW3b8eCddHB55K/pDAsLCgM5wZHGmeYvkL
|
||||||
|
nMH1oHGm4YBtuPoxcXLoxrDDswKBgQDG6WHCoPCi5ouVN3Cs+pPWl5QoYv5/aNnB
|
||||||
|
0o8bfzV6YE+5BAtLTkiCw3GHj+eWV6XchH6D1l9sN+73VPQ91uHpvmfU2AcoYSTJ
|
||||||
|
ThzLzUtPtuxTPMvOnHbrPkcvr1B3oEK8fyuG8WlhSO6wofwS/zKyDb13RstysDHO
|
||||||
|
A3IcxlcaNQJ/PXEesOd6ae7gQ7EKD2rdVTTxpHplZuWMtoegaUsSVRZgu6D6T6Ei
|
||||||
|
AR16w/PXIH2lNeXnGoL0jyLPDizVGE5ewvuwPWwsk6OMEA3Ftlvq3ezQGnk0pWvs
|
||||||
|
nHfPgqtdSRdciA7zaHlK8OMNGu1AXJs3IDtbvLXB5T6gU4qXvLEozwKBgBrRdIDN
|
||||||
|
OiR8eO1RYDuyPSR9o1geoLmE5XcgcHMAn7E0Mwt65BrvHw+iUjg4yryWbKJiqrwT
|
||||||
|
tyHcGLf4GEYOJr9hEJa92Zk0H8WUZoWD1FeXDh3a4I+mwNHOv8JKHMtELDtF2hSD
|
||||||
|
j/Wx45yk+luFVMx01cqzHNMFtnFUPZprk2rRAoGATS3bAB/Z5C5JI/4a8jXj74kk
|
||||||
|
z7P5V7jwVUqru5albC7v/PqQOeL62AA5EQHq0kDJ67+mhdX5V4l2E1/mARpcsCV5
|
||||||
|
+apDDUFry10fhLX3NVHUbDm1qKoT4mVGmkpM08eZe0pqcmvdzB1i+9y6BFtEAPa5
|
||||||
|
4lKUaeTHVKVCm23P7L8=
|
||||||
|
-----END PRIVATE KEY-----
|
Binary file not shown.
@ -1,24 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIECTCCAvGgAwIBAgIJAKlzlxSAr1BkMA0GCSqGSIb3DQEBCwUAMIGZMQswCQYD
|
|
||||||
VQQGEwJMVjETMBEGA1UECAwKU29tZS1TdGF0ZTENMAsGA1UEBwwEUmlnYTEbMBkG
|
|
||||||
A1UECgwSRmlzaCBSdW4gR2FtZXMgU0lBMRcwFQYDVQQDDA5mcmctcHJveHktcm9v
|
|
||||||
dDEwMC4GCSqGSIb3DQEJARYhdmxhZGlzbGF2Lmtob3JldkBmaXNocnVuZ2FtZXMu
|
|
||||||
Y29tMCAXDTE3MDgwNjE4MjgxMFoYDzIwNzIwNTA5MTgyODEwWjCBmTELMAkGA1UE
|
|
||||||
BhMCTFYxEzARBgNVBAgMClNvbWUtU3RhdGUxDTALBgNVBAcMBFJpZ2ExGzAZBgNV
|
|
||||||
BAoMEkZpc2ggUnVuIEdhbWVzIFNJQTEXMBUGA1UEAwwOZnJnLXByb3h5LXJvb3Qx
|
|
||||||
MDAuBgkqhkiG9w0BCQEWIXZsYWRpc2xhdi5raG9yZXZAZmlzaHJ1bmdhbWVzLmNv
|
|
||||||
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM5NIDsckYAgP1zhXwzg
|
|
||||||
DHOnFbpQCF0gJVOQK66tgda7o5vbLFqzqW5R6rRieNdlUEtztXrRMjO+1LYBQ+vD
|
|
||||||
bT058uwlTgD7xpRtr73kMoPBosZpxRxBKJpp60wOHLyZJqSn16WlgTm8/TTTaF2R
|
|
||||||
yFYhHxGM+xkDzgXo0LU0yjHOgsJSlnBHGC6mmbrdzCGY9c7hFcYPawCty+FNIqVW
|
|
||||||
eFEWHSOXqAhADxp5KbdrcUK8EmVljRLEGItctiRdq9PWxhHpodEgKiwOUk0bXds/
|
|
||||||
ErTw1ozopqSYZD5RgL1DcL3T/bKbGDdqp+blIZN1nsL6hYW4b2gHPTSNrUkBkt5v
|
|
||||||
oz0CAwEAAaNQME4wHQYDVR0OBBYEFHhY1354tUtbEk1mMtRcRbgK4LPsMB8GA1Ud
|
|
||||||
IwQYMBaAFHhY1354tUtbEk1mMtRcRbgK4LPsMAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
|
||||||
hvcNAQELBQADggEBAMEiLatj4IURN1U1779TLRbKf4gIVlopey0xbzSRSosNtAOu
|
|
||||||
s+zApVzaDEDdULM7YhkXo+kThp41xCU7xMZZan0XyvTcos1KTjHISf3swJb9L8XT
|
|
||||||
S6t/D2bUt+FnjKCyRC3xtheNhoxOwCAQXNvXu5HJ1O87eDxYorQQ5ujAjbToxbTs
|
|
||||||
i8xR9HwLe3h36NY22qsX6LRohZufXa3S8YUATW2frDp1q7vArBXuY7o/+UIQxn49
|
|
||||||
dTzAqYhEpBJZw7MZB/3BqHPzmZ3jqEsj3HK6rgxwlYEnY6kB6eAhiAtaPVARx538
|
|
||||||
6Yz8LsofRoZSVnytmYquxiWB7YJuhEYiIwrpcXo=
|
|
||||||
-----END CERTIFICATE-----
|
|
@ -1,22 +0,0 @@
|
|||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIDqDCCApACCQCHryODPTrImDANBgkqhkiG9w0BAQsFADCBmTELMAkGA1UEBhMC
|
|
||||||
TFYxEzARBgNVBAgMClNvbWUtU3RhdGUxDTALBgNVBAcMBFJpZ2ExGzAZBgNVBAoM
|
|
||||||
EkZpc2ggUnVuIEdhbWVzIFNJQTEXMBUGA1UEAwwOZnJnLXByb3h5LXJvb3QxMDAu
|
|
||||||
BgkqhkiG9w0BCQEWIXZsYWRpc2xhdi5raG9yZXZAZmlzaHJ1bmdhbWVzLmNvbTAg
|
|
||||||
Fw0xNzA4MDYxODI5NDVaGA8yMDcyMDUwOTE4Mjk0NVowgY8xCzAJBgNVBAYTAkxW
|
|
||||||
MRMwEQYDVQQIDApTb21lLVN0YXRlMQ0wCwYDVQQHDARSaWdhMRswGQYDVQQKDBJG
|
|
||||||
aXNoIFJ1biBHYW1lcyBTSUExDTALBgNVBAMMBHVzZXIxMDAuBgkqhkiG9w0BCQEW
|
|
||||||
IXZsYWRpc2xhdi5raG9yZXZAZmlzaHJ1bmdhbWVzLmNvbTCCASIwDQYJKoZIhvcN
|
|
||||||
AQEBBQADggEPADCCAQoCggEBAKk5iMe4m8SW9vV/VDePQznIiZ870b5CXrklOzcV
|
|
||||||
iI3kFDAsfnk9AR6UALfojCjDFO97DfaKDXOJBH+hkyJVuDQt25unnsG9Sbtr/Uwn
|
|
||||||
msdOTv8hr2IPyRnBIJc1MW7zoYaNOZ/etJcAyAYVMsr8/8CoTZi4vhARvgdgXmZd
|
|
||||||
bI+wMt13ZObihobuyLrjvRvoc1se/gwN8AkluQBz7h7FFYTda7sBdCw/qAz2/hUT
|
|
||||||
zskPLiPwbXWm7iC1eAoQgXy/DZLzXUVVJ94CmkUflsVbjKq3Z9wudYIptMqG9tsO
|
|
||||||
mKOhbwi579NbiB1afeSf4cHtDcnH3JM4AgEgcru5Js27pocCAwEAATANBgkqhkiG
|
|
||||||
9w0BAQsFAAOCAQEAiRySYyBhpksv1vOvc7eMKcpGh+1wS85PpcwH8uOaBGsqgjxz
|
|
||||||
mQZK+tnw/WmL9mlgOY6GqfEpz1VW6gytD3kvlmXrIDUgUGxthVZ7pZhc7lsACkU1
|
|
||||||
TN+kZUP1wVeHhYdoAFdCnFQjsm4DEGB8ArXAAteN1onnPC7wUTiDeVDLyhTAYzj9
|
|
||||||
9o/4nrP941QgACBt9h+mXAKwUCD8Zr9GhcktlZA+XvF+z6ckV8L6XyepdEvriVT/
|
|
||||||
84jEOOdPYmI5/FJRxCriDxmVJubwswDiIezgZ0vo2pdPVftEoTR6/iebu+lUWXFV
|
|
||||||
5mqnHTucNTHVWmimiv/de0FHbO/qnwYnQPgaMA==
|
|
||||||
-----END CERTIFICATE-----
|
|
@ -1,27 +0,0 @@
|
|||||||
-----BEGIN RSA PRIVATE KEY-----
|
|
||||||
MIIEowIBAAKCAQEAqTmIx7ibxJb29X9UN49DOciJnzvRvkJeuSU7NxWIjeQUMCx+
|
|
||||||
eT0BHpQAt+iMKMMU73sN9ooNc4kEf6GTIlW4NC3bm6eewb1Ju2v9TCeax05O/yGv
|
|
||||||
Yg/JGcEglzUxbvOhho05n960lwDIBhUyyvz/wKhNmLi+EBG+B2BeZl1sj7Ay3Xdk
|
|
||||||
5uKGhu7IuuO9G+hzWx7+DA3wCSW5AHPuHsUVhN1ruwF0LD+oDPb+FRPOyQ8uI/Bt
|
|
||||||
dabuILV4ChCBfL8NkvNdRVUn3gKaRR+WxVuMqrdn3C51gim0yob22w6Yo6FvCLnv
|
|
||||||
01uIHVp95J/hwe0NycfckzgCASByu7kmzbumhwIDAQABAoIBAEdIOvuWIdc/mCt1
|
|
||||||
RS5aJIE0nfP7KLCyGGB49GaRpYHPb0mTlHrRXaVZxquxQ0jwU+NEvG77XAsszj5M
|
|
||||||
+0NdREiGgJkilFcbuvE93ea0UBhgPhpuQAhYiedVWLsY5wfLjGC3IGzdTMjGxXr6
|
|
||||||
dvjWdYzb2EPangT61EcbKuiHtfEYIhQ26Mdb3tVWPMW/g2KMYCTOFSraNZoSHXLn
|
|
||||||
f7gpzP1dY/aoL2FYz7GBV/7W2corA5iYIFe4HVHpppEjnPja6+WZwsTR2rndSvj7
|
|
||||||
N9zwdXcpLJr1GJCrta8RiJTlD0kHAKXOMPYTG/pcxwUfLr8ceP5HTh/7624sPsYo
|
|
||||||
rnyt7fECgYEA0+RMZ9tYT3i0peaLC12MTyr8X+xzDnHK501Ep+0VnpS0quHwWJ0u
|
|
||||||
3ab9EFhM1u8NEFwF6YnXyORq1AMHIU/O+O3rHt6VlF4z625tF6Wu61zQNerCVM/M
|
|
||||||
bOqX9yl+ukNW4qx1maSEqhajKhhp69qJ3Cr+2eD+igENuDRqn/2eHtsCgYEAzHOC
|
|
||||||
4/xrF4iWlx4MYflENa9miTGxnYDz9rDuhZu9Zqlv55dtv39WEkhKvcFjMx4McvNy
|
|
||||||
nu0yKBdpZ75QORfjaAHX0J47+RnDZhiSxh53P7vSy7/jDbUDle44x+H0IWJwoK4b
|
|
||||||
ECqvKIh/tibYukFFoSJyBdZQ4U67kaXbsrNKOMUCgYEAoFUhk3ygCBJ37wjRsZnp
|
|
||||||
r4YBTbwnG4jzVa5cAw0czNANHTi1mvflHIdc+d821XQxWG2pc5uAElz0kNRxsr0n
|
|
||||||
CalNviAC4y+c7cqy9a/C+glS61lmDrLmJowkzTsyz1JhDkgc/FNGp0VV1WZ/z52f
|
|
||||||
r19BVDAxqs89SGMxQzqvSP0CgYB2r7PTX+xXXA53qZTsp0Smma0/hZ6jXYHCutGs
|
|
||||||
tE1ONJxm6Cxo16YCtP7Wi1ZoDVCSxqrKgc31IiopdHyjuC9maHN9gu4z3HXnZeqG
|
|
||||||
opb9Y66qYzmO8n8jYYiK2KvdWYUicg/54Z2PPTZOatyzu0KNmS5yHwkS0p7mnU8d
|
|
||||||
vSEgNQKBgC0eq1urDxRl0FbcoLPNaxwVRRyUhcZZc7RRDz8TH0Z2/iVdnsmhBhum
|
|
||||||
Z27ZfBfp7HZA4k44sld15ZIw5H2lsFlEz/oHiJgAobGx556WbQwJypvY/Ii3jtap
|
|
||||||
sE6umZIoJF90oo33ARRC743Ed46fD1BrIFaJ+BBG3raheA3SONmG
|
|
||||||
-----END RSA PRIVATE KEY-----
|
|
795
main.cpp
795
main.cpp
@ -9,752 +9,11 @@
|
|||||||
|
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
|
|
||||||
#define SSL_R_SHORT_READ 219
|
|
||||||
#include "ssl/ssl_locl.h"
|
|
||||||
#include <boost/asio/ssl.hpp>
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(close)
|
|
||||||
#undef close
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum AddressType
|
|
||||||
{
|
|
||||||
AT_IPV4 = 0,
|
|
||||||
AT_HOST = 3,
|
|
||||||
AT_IPV6 = 4
|
|
||||||
};
|
|
||||||
|
|
||||||
class ConnectResponseRecord
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
std::vector<unsigned char> rawData;
|
|
||||||
|
|
||||||
enum ConnectResponseType
|
|
||||||
{
|
|
||||||
CRT_SUCCESS = 0,
|
|
||||||
CRT_GENERAL_SOCKS_SERVER_FAILURE = 1,
|
|
||||||
CRT_CONNECTION_NOT_ALLOWED_BY_RULESET = 2,
|
|
||||||
CRT_NETWORK_UNREACHABLE = 3,
|
|
||||||
CRT_HOST_UNREACHABLE = 4,
|
|
||||||
CRT_CONNECTION_REFUSED = 5,
|
|
||||||
CRT_TTL_EXPIRED = 6,
|
|
||||||
CRT_COMMAND_NOT_SUPPORTED = 7,
|
|
||||||
CRT_ADDRESS_TYPE_NOT_SUPPORTED = 8,
|
|
||||||
CRT_TO_FF_UNASSIGNED = 9
|
|
||||||
};
|
|
||||||
|
|
||||||
ConnectResponseType connectResponseType;
|
|
||||||
|
|
||||||
AddressType addressType;
|
|
||||||
|
|
||||||
std::string address;
|
|
||||||
|
|
||||||
uint16_t port;
|
|
||||||
};
|
|
||||||
|
|
||||||
class ConnectRequestRecord
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
std::string address;
|
|
||||||
uint16_t port;
|
|
||||||
|
|
||||||
std::string getRequestData();
|
|
||||||
};
|
|
||||||
|
|
||||||
std::string ConnectRequestRecord::getRequestData()
|
|
||||||
{
|
|
||||||
std::string data = "";
|
|
||||||
data += 0x05;
|
|
||||||
data += 0x01;
|
|
||||||
data += char(0x00);
|
|
||||||
data += 0x03;
|
|
||||||
data += static_cast<unsigned char>(address.size());
|
|
||||||
data += address;
|
|
||||||
data += port / 256;
|
|
||||||
data += port % 256;
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> ssl_socket;
|
|
||||||
|
|
||||||
|
|
||||||
class ProxySession :
|
|
||||||
public std::enable_shared_from_this<ProxySession>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
ProxySession(std::shared_ptr<ssl_socket> socket, boost::asio::io_service& inIoService)
|
|
||||||
: ioService(inIoService)
|
|
||||||
, mSocket(socket)
|
|
||||||
, outsideConnectSocket(ioService)
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession Create" << std::endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
~ProxySession()
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession Destroy" << std::endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void start()
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::start" << std::endl;
|
|
||||||
asyncHandshake();
|
|
||||||
//readClientVersion();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
ssl_socket& socket()
|
|
||||||
{
|
|
||||||
return *mSocket;
|
|
||||||
}
|
|
||||||
|
|
||||||
ssl_socket::lowest_layer_type& lowerSocket()
|
|
||||||
{
|
|
||||||
return mSocket->lowest_layer();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void asyncHandshake()
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::asyncHandshake" << std::endl;
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
socket().async_handshake(boost::asio::ssl::stream_base::server,
|
|
||||||
[this, self](boost::system::error_code ec) {
|
|
||||||
|
|
||||||
std::cout << "ProxySession::asyncHandshake inner" << std::endl;
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
readClientVersion();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
void handleHandshake(const boost::system::error_code& error)
|
|
||||||
{
|
|
||||||
if (!error)
|
|
||||||
{
|
|
||||||
readClientVersion();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
std::array<unsigned char, 3> clientVersion;
|
|
||||||
|
|
||||||
void readClientVersion()
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::readClientVersion" << std::endl;
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
boost::asio::async_read(socket(),
|
|
||||||
boost::asio::buffer(clientVersion.data(), clientVersion.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t /*length*/)
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::readClientVersion inner" << std::endl;
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
if (clientVersion[0] == 0x05 && clientVersion[1] == 0x01 && clientVersion[2] == 0x02)
|
|
||||||
{
|
|
||||||
sendServerVersion();
|
|
||||||
}
|
|
||||||
else if (clientVersion[0] == 0x05 && clientVersion[1] == 0x01 && clientVersion[2] == 0x00)
|
|
||||||
{
|
|
||||||
sendServerVersionNoAuth();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void sendServerVersion()
|
|
||||||
{
|
|
||||||
|
|
||||||
std::cout << "ProxySession::sendServerVersion" << std::endl;
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
std::array<char, 2> version = { 0x05, 0x02 };
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(version.data(), version.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::sendServerVersion inner" << std::endl;
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
readLoginPassword();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
void sendServerVersionNoAuth()
|
|
||||||
{
|
|
||||||
|
|
||||||
std::cout << "ProxySession::sendServerVersionNoAuth" << std::endl;
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
std::array<char, 2> version = { 0x05, 0x00 };
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(version.data(), version.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::sendServerVersionNoAuth inner" << std::endl;
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
//readLoginPassword();
|
|
||||||
readConnectRequest();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void readLoginPassword()
|
|
||||||
{
|
|
||||||
std::string login = "telegram-proxy-user";
|
|
||||||
std::string password = "telegram-telegram-999112";
|
|
||||||
std::string expectedData = "";
|
|
||||||
expectedData += 0x01;
|
|
||||||
expectedData += static_cast<unsigned char>(login.size());
|
|
||||||
expectedData += login;
|
|
||||||
expectedData += static_cast<unsigned char>(password.size());
|
|
||||||
expectedData += password;
|
|
||||||
|
|
||||||
std::shared_ptr<std::string> clientLoginPasswordPtr = std::make_shared<std::string>();
|
|
||||||
|
|
||||||
|
|
||||||
clientLoginPasswordPtr->resize(expectedData.size());
|
|
||||||
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_read(socket(),
|
|
||||||
boost::asio::buffer(&((*clientLoginPasswordPtr)[0]), clientLoginPasswordPtr->size()),
|
|
||||||
[this, self, expectedData, clientLoginPasswordPtr](boost::system::error_code ec, std::size_t /*length*/)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
if (*clientLoginPasswordPtr == expectedData)
|
|
||||||
{
|
|
||||||
sendAuthStatus();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::array<unsigned char, 2> authStatus = std::array<unsigned char, 2>{ (unsigned char)0x01, (unsigned char)0x00 };
|
|
||||||
|
|
||||||
void sendAuthStatus()
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(authStatus.data(), authStatus.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
readConnectRequest();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
void readConnectRequest()
|
|
||||||
{
|
|
||||||
|
|
||||||
std::cout << "ProxySession::readConnectRequest" << std::endl;
|
|
||||||
|
|
||||||
std::shared_ptr<std::array<unsigned char, 5>> firstPartPtr = std::make_shared<std::array<unsigned char, 5>>();
|
|
||||||
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_read(socket(),
|
|
||||||
boost::asio::buffer(firstPartPtr->data(), firstPartPtr->size()),
|
|
||||||
[this, self, firstPartPtr](boost::system::error_code ec, std::size_t /*length*/)
|
|
||||||
{
|
|
||||||
std::cout << "ProxySession::readConnectRequest iner" << std::endl;
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
if ((*firstPartPtr)[0] == 0x05 && (*firstPartPtr)[1] == 0x01 && (*firstPartPtr)[2] == 0x00)
|
|
||||||
{
|
|
||||||
if ((*firstPartPtr)[3] == 0x03)
|
|
||||||
{
|
|
||||||
readConnectRequestPart2(firstPartPtr);
|
|
||||||
}
|
|
||||||
else if ((*firstPartPtr)[3] == 0x01)
|
|
||||||
{
|
|
||||||
readConnectRequestPart2IpAddress(firstPartPtr);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void readConnectRequestPart2(std::shared_ptr<std::array<unsigned char, 5>> firstPartPtr)
|
|
||||||
{
|
|
||||||
unsigned int len = (*firstPartPtr)[4];
|
|
||||||
|
|
||||||
std::shared_ptr<std::vector<unsigned char>> secondPartPtr = std::make_shared<std::vector<unsigned char>>();
|
|
||||||
|
|
||||||
|
|
||||||
secondPartPtr->resize(len + 2);
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_read(socket(),
|
|
||||||
boost::asio::buffer(secondPartPtr->data(), secondPartPtr->size()),
|
|
||||||
[this, self, firstPartPtr, secondPartPtr, len](boost::system::error_code ec, std::size_t /*length*/)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
|
|
||||||
ConnectRequestRecord connectRequestRecord;
|
|
||||||
|
|
||||||
connectRequestRecord.address = std::string(&((*secondPartPtr)[0]), &((*secondPartPtr)[0]) + len);
|
|
||||||
connectRequestRecord.port = (*secondPartPtr)[len] * 256 + (*secondPartPtr)[len + 1];
|
|
||||||
|
|
||||||
boost::asio::ip::tcp::resolver resolver(this->ioService);
|
|
||||||
auto endpointIterator = resolver.resolve({ connectRequestRecord.address, boost::lexical_cast<std::string>(connectRequestRecord.port) });
|
|
||||||
|
|
||||||
|
|
||||||
doConnectOutput(endpointIterator, connectRequestRecord);
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void readConnectRequestPart2IpAddress(std::shared_ptr<std::array<unsigned char, 5>> firstPartPtr)
|
|
||||||
{
|
|
||||||
unsigned int ip1st = (*firstPartPtr)[4];
|
|
||||||
|
|
||||||
std::shared_ptr<std::array<unsigned char, 5>> secondPartPtr = std::make_shared<std::array<unsigned char, 5>>();
|
|
||||||
|
|
||||||
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_read(socket(),
|
|
||||||
boost::asio::buffer(secondPartPtr->data(), secondPartPtr->size()),
|
|
||||||
[this, self, firstPartPtr, secondPartPtr, ip1st](boost::system::error_code ec, std::size_t /*length*/)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
|
|
||||||
ConnectRequestRecord connectRequestRecord;
|
|
||||||
|
|
||||||
connectRequestRecord.address = boost::lexical_cast<std::string>(static_cast<unsigned int>(ip1st)) + "."
|
|
||||||
+ boost::lexical_cast<std::string>(static_cast<unsigned int>((*secondPartPtr)[0])) + "."
|
|
||||||
+ boost::lexical_cast<std::string>(static_cast<unsigned int>((*secondPartPtr)[1])) + "."
|
|
||||||
+ boost::lexical_cast<std::string>(static_cast<unsigned int>((*secondPartPtr)[2]));
|
|
||||||
|
|
||||||
connectRequestRecord.port = (*secondPartPtr)[3] * 256 + (*secondPartPtr)[4];
|
|
||||||
|
|
||||||
boost::asio::ip::tcp::resolver resolver(this->ioService);
|
|
||||||
auto endpointIterator = resolver.resolve({ connectRequestRecord.address, boost::lexical_cast<std::string>(connectRequestRecord.port) });
|
|
||||||
|
|
||||||
|
|
||||||
doConnectOutputIpAddress(endpointIterator, connectRequestRecord, { static_cast<unsigned char>(ip1st) , ((*secondPartPtr)[0]) , ((*secondPartPtr)[1]) , ((*secondPartPtr)[2]) });
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void doConnectOutput(boost::asio::ip::tcp::resolver::iterator endpointIterator, ConnectRequestRecord connectRequestRecord)
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
boost::asio::async_connect(outsideConnectSocket, endpointIterator,
|
|
||||||
[this, self, connectRequestRecord](boost::system::error_code ec, boost::asio::ip::tcp::resolver::iterator)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
sendConnectResponse(connectRequestRecord);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
void doConnectOutputIpAddress(boost::asio::ip::tcp::resolver::iterator endpointIterator, ConnectRequestRecord connectRequestRecord, std::array<unsigned char, 4> ipAddress)
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
boost::asio::async_connect(outsideConnectSocket, endpointIterator,
|
|
||||||
[this, self, connectRequestRecord, ipAddress](boost::system::error_code ec, boost::asio::ip::tcp::resolver::iterator)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
sendConnectResponseIpAddress(connectRequestRecord, ipAddress);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void sendConnectResponse(ConnectRequestRecord connectRequestRecord)
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
std::string connectResponse;
|
|
||||||
|
|
||||||
connectResponse += 0x05;
|
|
||||||
connectResponse += static_cast<char>(0x00);
|
|
||||||
connectResponse += static_cast<char>(0x00);
|
|
||||||
connectResponse += 0x03;
|
|
||||||
|
|
||||||
connectResponse += static_cast<unsigned char>(connectRequestRecord.address.size());
|
|
||||||
connectResponse += connectRequestRecord.address;
|
|
||||||
connectResponse += static_cast<unsigned char>(connectRequestRecord.port / 256);
|
|
||||||
connectResponse += static_cast<unsigned char>(connectRequestRecord.port % 256);
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(connectResponse.data(), connectResponse.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
transferDataForward();
|
|
||||||
transferDataBackward();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void sendConnectResponseIpAddress(ConnectRequestRecord connectRequestRecord, std::array<unsigned char, 4> ipAddress)
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
std::string connectResponse;
|
|
||||||
|
|
||||||
connectResponse += 0x05;
|
|
||||||
connectResponse += static_cast<char>(0x00);
|
|
||||||
connectResponse += static_cast<char>(0x00);
|
|
||||||
connectResponse += 0x01;
|
|
||||||
|
|
||||||
connectResponse += ipAddress[0];
|
|
||||||
connectResponse += ipAddress[1];
|
|
||||||
connectResponse += ipAddress[2];
|
|
||||||
connectResponse += ipAddress[3];
|
|
||||||
connectResponse += static_cast<unsigned char>(connectRequestRecord.port / 256);
|
|
||||||
connectResponse += static_cast<unsigned char>(connectRequestRecord.port % 256);
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(connectResponse.data(), connectResponse.size()),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
transferDataForward();
|
|
||||||
transferDataBackward();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
lowerSocket().close();
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
std::array<unsigned char, 8192> forwardBuffer;
|
|
||||||
std::array<unsigned char, 8192> backwardBuffer;
|
|
||||||
//unsigned char forwardChar;
|
|
||||||
//unsigned char backwardChar;
|
|
||||||
|
|
||||||
|
|
||||||
void transferDataForward()
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
socket().async_read_some(boost::asio::buffer(forwardBuffer),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
|
|
||||||
std::shared_ptr<std::vector<unsigned char>> data = std::make_shared<std::vector<unsigned char>>();
|
|
||||||
data->resize(length);
|
|
||||||
|
|
||||||
std::copy(&forwardBuffer[0], &forwardBuffer[0] + length, &(*data)[0]);
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_write(outsideConnectSocket,
|
|
||||||
boost::asio::buffer(*data),
|
|
||||||
[this, self, data](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
transferDataForward();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else if (ec == boost::asio::error::eof)
|
|
||||||
{
|
|
||||||
std::cout << "transferDataForward read end of file" << std::endl;
|
|
||||||
if (length > 0)
|
|
||||||
{
|
|
||||||
std::cout << "but length is positive" << std::endl;
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
void transferDataBackward()
|
|
||||||
{
|
|
||||||
auto self(shared_from_this());
|
|
||||||
|
|
||||||
outsideConnectSocket.async_read_some(boost::asio::buffer(backwardBuffer),
|
|
||||||
[this, self](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
|
|
||||||
std::shared_ptr<std::vector<unsigned char>> data = std::make_shared<std::vector<unsigned char>>();
|
|
||||||
data->resize(length);
|
|
||||||
|
|
||||||
std::copy(&backwardBuffer[0], &backwardBuffer[0] + length, &(*data)[0]);
|
|
||||||
|
|
||||||
|
|
||||||
boost::asio::async_write(socket(),
|
|
||||||
boost::asio::buffer(*data),
|
|
||||||
[this, self, data](boost::system::error_code ec, std::size_t length)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
transferDataBackward();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else if (ec == boost::asio::error::eof)
|
|
||||||
{
|
|
||||||
std::cout << "transferDataBackward read end of file" << std::endl;
|
|
||||||
if (length > 0)
|
|
||||||
{
|
|
||||||
std::cout << "but length is positive" << std::endl;
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
std::string msg = ec.message();
|
|
||||||
std::cout << msg << std::endl;
|
|
||||||
outsideConnectSocket.close();
|
|
||||||
lowerSocket().close();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
boost::asio::io_service& ioService;
|
|
||||||
|
|
||||||
std::shared_ptr<ssl_socket> mSocket;
|
|
||||||
|
|
||||||
boost::asio::ip::tcp::socket outsideConnectSocket;
|
|
||||||
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class ProxyServer
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
ProxyServer(boost::asio::io_service& inIoService,
|
|
||||||
const boost::asio::ip::tcp::endpoint& endpoint,
|
|
||||||
boost::asio::ssl::context& inSslContext)
|
|
||||||
: ioService(inIoService)
|
|
||||||
, acceptor(inIoService, endpoint)
|
|
||||||
, socket(std::make_shared<ssl_socket>(inIoService, inSslContext))
|
|
||||||
, sslContext(inSslContext)
|
|
||||||
{
|
|
||||||
doAccept();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
void doAccept()
|
|
||||||
{
|
|
||||||
acceptor.async_accept(socket->lowest_layer(),
|
|
||||||
[this](boost::system::error_code ec)
|
|
||||||
{
|
|
||||||
if (!ec)
|
|
||||||
{
|
|
||||||
std::make_shared<ProxySession>(socket, ioService)->start();
|
|
||||||
}
|
|
||||||
|
|
||||||
counter++;
|
|
||||||
|
|
||||||
socket = std::make_shared<ssl_socket>(ioService, sslContext);
|
|
||||||
|
|
||||||
doAccept();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
boost::asio::io_service& ioService;
|
|
||||||
|
|
||||||
boost::asio::ip::tcp::acceptor acceptor;
|
|
||||||
std::shared_ptr<ssl_socket> socket;
|
|
||||||
|
|
||||||
boost::asio::ssl::context& sslContext;
|
|
||||||
|
|
||||||
//std::map<size_t, ProxySession> proxySessionMap;
|
|
||||||
|
|
||||||
size_t counter = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
#include "http/server.hpp"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@ -762,10 +21,6 @@ int main()
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
boost::asio::io_service ioService;
|
|
||||||
|
|
||||||
boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::tcp::v4(), 8043);
|
|
||||||
|
|
||||||
boost::asio::ssl::context sslContext(boost::asio::ssl::context::tls_server);
|
boost::asio::ssl::context sslContext(boost::asio::ssl::context::tls_server);
|
||||||
|
|
||||||
SSL_CTX_set_cipher_list(sslContext.native_handle(), "EECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS");
|
SSL_CTX_set_cipher_list(sslContext.native_handle(), "EECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS");
|
||||||
@ -781,43 +36,35 @@ int main()
|
|||||||
std::function<std::string(std::size_t, boost::asio::ssl::context_base::password_purpose)> f = [](std::size_t, boost::asio::ssl::context_base::password_purpose) -> std::string { return ""; };
|
std::function<std::string(std::size_t, boost::asio::ssl::context_base::password_purpose)> f = [](std::size_t, boost::asio::ssl::context_base::password_purpose) -> std::string { return ""; };
|
||||||
sslContext.set_password_callback(f);
|
sslContext.set_password_callback(f);
|
||||||
|
|
||||||
sslContext.use_certificate_chain_file("server.crt");
|
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||||
|
sslContext.use_certificate_chain_file("../linux/fullchain1.pem");
|
||||||
|
|
||||||
sslContext.use_private_key_file("server.key", boost::asio::ssl::context::pem);
|
sslContext.use_private_key_file("../linux/privkey1.pem", boost::asio::ssl::context::pem);
|
||||||
|
#else
|
||||||
|
sslContext.use_certificate_chain_file("/home/ubuntu/work/proxyServerTest/linux/fullchain1.pem");
|
||||||
|
|
||||||
|
sslContext.use_private_key_file("/home/ubuntu/work/proxyServerTest/linux/privkey1.pem", boost::asio::ssl::context::pem);
|
||||||
|
#endif
|
||||||
|
|
||||||
sslContext.use_tmp_dh_file("dh2048.pem");
|
sslContext.use_tmp_dh_file("dh2048.pem");
|
||||||
|
|
||||||
|
|
||||||
ProxyServer proxyServer(ioService, endpoint, sslContext);
|
// Initialise the server.
|
||||||
|
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||||
|
http::server::server s("0.0.0.0", "", "../html/", sslContext);
|
||||||
boost::thread_group threadpool;
|
#else
|
||||||
/*
|
http::server::server s("0.0.0.0", "", "/home/ubuntu/work/proxyServerTest/html/", sslContext);
|
||||||
threadpool.create_thread(
|
#endif
|
||||||
boost::bind(&boost::asio::io_service::run, &ioService)
|
// Run the server until stopped.
|
||||||
);
|
s.run();
|
||||||
threadpool.create_thread(
|
|
||||||
boost::bind(&boost::asio::io_service::run, &ioService)
|
|
||||||
);
|
|
||||||
threadpool.create_thread(
|
|
||||||
boost::bind(&boost::asio::io_service::run, &ioService)
|
|
||||||
);*/
|
|
||||||
threadpool.create_thread(
|
|
||||||
boost::bind(&boost::asio::io_service::run, &ioService)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
threadpool.join_all();
|
|
||||||
|
|
||||||
//ioService.run();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (std::exception& e)
|
catch (std::exception& e)
|
||||||
{
|
{
|
||||||
std::cerr << "Exception: " << e.what() << "\n";
|
std::cerr << "exception: " << e.what() << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -132,8 +132,26 @@
|
|||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ClCompile Include="http\connection.cpp" />
|
||||||
|
<ClCompile Include="http\connection_manager.cpp" />
|
||||||
|
<ClCompile Include="http\mime_types.cpp" />
|
||||||
|
<ClCompile Include="http\reply.cpp" />
|
||||||
|
<ClCompile Include="http\request_handler.cpp" />
|
||||||
|
<ClCompile Include="http\request_parser.cpp" />
|
||||||
|
<ClCompile Include="http\server.cpp" />
|
||||||
<ClCompile Include="main.cpp" />
|
<ClCompile Include="main.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="http\connection.hpp" />
|
||||||
|
<ClInclude Include="http\connection_manager.hpp" />
|
||||||
|
<ClInclude Include="http\header.hpp" />
|
||||||
|
<ClInclude Include="http\mime_types.hpp" />
|
||||||
|
<ClInclude Include="http\reply.hpp" />
|
||||||
|
<ClInclude Include="http\request.hpp" />
|
||||||
|
<ClInclude Include="http\request_handler.hpp" />
|
||||||
|
<ClInclude Include="http\request_parser.hpp" />
|
||||||
|
<ClInclude Include="http\server.hpp" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
@ -13,10 +13,63 @@
|
|||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="Source Files\http">
|
||||||
|
<UniqueIdentifier>{24b9a1fb-1821-48c8-958f-b07830316f3e}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="main.cpp">
|
<ClCompile Include="main.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\connection.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\connection_manager.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\mime_types.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\reply.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\request_handler.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\request_parser.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="http\server.cpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="http\server.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\connection.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\connection_manager.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\header.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\mime_types.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\reply.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\request.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\request_handler.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="http\request_parser.hpp">
|
||||||
|
<Filter>Source Files\http</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user