Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Page 01.2
- {. Word Tracker .}
- Page #01.2 (Word Tracker)
- http://noiretblanc-themes.tumblr.com/
- Please don't use this page as a base or claim it as your own.
- You are free to edit this page as much as you want, please just don't erase the credits.
- Take in mind that I won't provide assistance to heavy edited codes.
- CREDITS TO:
- Filter Code: https://www.kunkalabs.com/mixitup/
- ************** INSTRUCTIONS **************
- Search for the word:
- Edit:
- To find all the editable parts of this code.
- Filter creation instructions can be found more below.
- -->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="shortcut icon" href="{Favicon}">
- <link href="https://dl.dropboxusercontent.com/s/c8x3tijrg1fuolf/credits.css" rel="stylesheet" type="text/css" />
- <link href="https://fonts.googleapis.com/css?family=Saira|Share+Tech+Mono" rel="stylesheet">
- <!-- FontAwesome -->
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
- <!-- Jquery -->
- <script src="https://code.jquery.com/jquery-latest.min.js"></script>
- <!-- Mix it Up -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/mixitup/2.1.11/jquery.mixitup.js"></script>
- <title>{Title}</title>
- <style>
- ::-webkit-scrollbar-track
- {
- border: 3px solid #e0e0e0;
- background-color: #333333;
- border-bottom: none;
- border-top: none;
- }
- ::-webkit-scrollbar
- {
- width: 7px;
- background-color: #F5F5F5;
- }
- ::-webkit-scrollbar-thumb
- {
- background-color: #ffffff;
- border: 2px solid #363636;
- }
- .summary::-webkit-scrollbar-track
- {
- border: 1px solid #000000;
- background-color: #F5F5F5;
- }
- .summary::-webkit-scrollbar
- {
- width: 3px;
- background-color: #F5F5F5;
- }
- .summary::-webkit-scrollbar-thumb
- {
- background-color: #171717;
- }
- * {
- margin: 0;
- padding: 0;
- }
- a {
- text-decoration: none;
- color: inherit;
- }
- body {
- font-family: 'Share Tech Mono', monospace;
- font-size: 10px;
- background-color: #ffffff; /* Edit: Content BG color */
- background-image: url("URL"); /* Edit: Add a BG Image if you want */
- }
- h1,h2,h3 {font-family: 'Share Tech Mono', monospace;}
- span.noir-et-blanc {
- position: fixed!important;
- bottom: 0;
- right: 0;
- height: 35px;
- width: 35px;
- }
- /* Edit: Credits color */
- span.noir-et-blanc:before,span.noiretblanc:after,span.noiretblanc:before,span.noir-et-blanc:after {
- background: #5f5f5f;
- }
- /* Edit: Credits hover color */
- span.noir-et-blanc:hover:before,span.noir-et-blanc:hover>span.noiretblanc:after,span.noir-et-blanc:hover>span.noiretblanc:before,span.noir-et-blanc:hover:after {
- background: #000000;
- }
- /*Edit: Credit text color*/
- .hoverme{
- left: -55px;
- bottom: 23px;
- color: black;
- }
- .noir-et-blanc:hover > .hoverme{
- left: -60px;
- }
- /************************ Left Side Bar ************************/
- #left-bar {
- position: fixed;
- width: 200px;
- height: 100vh;
- background-color: black; /* Edit: Sidebar BG color */
- background-image: url("URL"); /* Edit: Add a BG Image if you want */
- color: white; /* Edit: Sidebar Font color */
- }
- .page-title {
- display: block;
- text-align: center;
- margin: 40px 0 20px;
- font-size: 28px;
- }
- #left-bar p {
- padding: 0 15px 15px;
- }
- .link-box a {
- position: relative;
- display: block;
- margin: 0 15px;
- }
- .link-box a:hover>.fa {
- margin-right: 5px;
- }
- .acc li {
- list-style-type: none;
- }
- ul.acc {
- margin: 10px 0;
- }
- .linkb{
- margin-bottom:5px;
- }
- .acc_ctrl,.linkb {
- border: none;
- display: block;
- position: relative;
- width: 100%;
- padding: .5em;
- border-bottom: 1px solid black; /* Edit: Tabs border color */
- background: #ffffff; /* Edit: Tabs bg color */
- color: black; /* Edit: Tabs font color */
- }
- .acc_ctrl h2, .linkb h2 {
- font-size: 14px;
- font-weight: normal;
- position: relative;
- text-align: left;
- }
- .linkb h2.nav:before {
- font-family: FontAwesome;
- content: "\f0c9";
- margin-right: 3px;
- }
- .acc_ctrl h2.lin:before {
- font-family: FontAwesome;
- content: "\f0fe";
- margin-right: 3px;
- }
- .acc_ctrl h2.fil:before {
- font-family: FontAwesome;
- content: "\f046";
- margin-right: 3px;
- }
- .acc_panel {
- display: none;
- overflow: hidden;
- text-align: left;
- margin: 5px;
- }
- .acc_panel a {
- position: relative;
- display: block;
- margin: 0 10px;
- }
- .fa {
- -moz-transition: all .5s ease-in-out;
- -webkit-transition: all .5s ease-in-out;
- -o-transition: all .5s ease-in-out;
- transition: all .5s ease-in-out;
- }
- .acc_panel a:hover>.fa {
- margin-right: 5px;
- }
- /************************ FILTERS ************************/
- .filterbox,.centre {
- text-align: center;
- font-family: 'Saira', sans-serif;
- }
- h2.filter-title {
- padding: 5px 10px;
- font-size: 14px;
- text-align: left;
- }
- .checkbox {
- display: inline-block;
- position: relative;
- cursor: pointer;
- margin-right: 5px;
- top: -10px;
- }
- .checkbox input[type="checkbox"] {
- position: absolute;
- display: block;
- top: 0;
- left: 0;
- cursor: crosshair;
- margin: 0;
- opacity: 0;
- z-index: 1;
- }
- .checkbox label {
- display: inline-block;
- vertical-align: top;
- padding-left: 1.85em;
- }
- .checkbox label:before,
- .checkbox label:after {
- content: '';
- display: block;
- position: absolute;
- }
- .checkbox label:before {
- left: 0;
- top: 0;
- width: 15px;
- height: 15px;
- margin-right: 10px;
- border-radius: 30px;
- background: #f8f8f8; /* Edit: Checkbox BG color */
- }
- .checkbox label:after {
- position: absolute;
- top: 2px;
- left: 2px;
- width: 11px;
- height: 11px;
- padding-top: 2px;
- padding-left: 3px;
- box-sizing: border-box;
- border-radius: 30px;
- opacity: 0;
- pointer-events: none;
- background: #292929; /* Edit: Selected checkbox color */
- }
- .checkbox input:checked~label:after {
- opacity: 1;
- }
- .checkbox:last-child {
- margin-top: 8px;
- }
- .reset-button {
- background-color: transparent;
- border: none;
- text-align: center;
- font-family: 'Share Tech Mono', monospace;
- padding: 5px 15px;
- font-size: 12px;
- border-radius: 4px;
- border-bottom: 1px solid white; /* Edit: Clear botton border color */
- color: white; /* Edit: Clear botton font color */
- }
- .container {
- position: absolute;
- left: 200px;
- right: 0;
- padding: 30px 0 0 15px;
- height: 100%;
- box-sizing: border-box;
- color: black; /* Edit: Content font color */
- }
- .container .fail-message {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- text-align: center;
- opacity: 0;
- pointer-events: none;
- -webkit-transition: 150ms;
- -moz-transition: 150ms;
- transition: 150ms;
- }
- .container .fail-message:before {
- content: '';
- display: inline-block;
- vertical-align: middle;
- height: 100%;
- }
- .container .fail-message span {
- display: inline-block;
- vertical-align: middle;
- font-size: 20px;
- font-weight: bold;
- }
- .container.fail .fail-message {
- opacity: 1;
- pointer-events: auto;
- }
- .container .mix {
- display: none;
- }
- /************************ RP Boxes ************************/
- .thread-box {
- position: relative;
- display: inline-block;
- width: 300px;
- height: 195px;
- margin: 5px 10px 10px;
- }
- .thread-header {
- position: relative;
- display: block;
- height: 25px;
- }
- .t-title {
- display: block;
- font-size: 18px;
- padding-left: 5px;
- font-family: 'Saira', sans-serif;
- }
- .t-title:before {
- font-family: FontAwesome;
- content: "\f02e";
- margin-right: 3px;
- }
- .t-details {
- position: absolute;
- top: 10px;
- right: 5px;
- }
- .t-details span:last-child:before {
- font-family: FontAwesome;
- content: "\f142";
- margin-right: 5px;
- }
- .thread-content {
- position: relative;
- display: block;
- height: 150px;
- border-radius: 5px;
- overflow: hidden;
- background: #ebebeb; /* Edit: RP box bg color */
- }
- .t-bar {
- display: block;
- height: 25px;
- line-height: 25px;
- padding: 0 5px;
- position: relative;
- top: 15px;
- border-bottom: 1px dashed black;
- border-top: 1px dashed black;
- background: white; /* Edit: Character name bg color */
- }
- .summary {
- position: absolute;
- top: 42px;
- bottom: 1px;
- right: 0;
- left: 0;
- padding: 10px;
- overflow-y: auto;
- font-family: 'Saira', sans-serif;
- }
- .t-bar p {
- display: inline-block;
- font-size: 15px;
- }
- .t-bar i {
- font-size: 9px;
- }
- .t-bar i:before {
- content: "(";
- }
- .t-bar i:after {
- content: ")";
- }
- span.complete {
- position: absolute;
- right: 5px;
- color: #4ebf4e;
- }
- span.complete:after {
- font-family: FontAwesome;
- content: "\f14a";
- font-size: 14px;
- }
- span.complete:before {
- content: "Complete ";
- position: relative;
- top: -2px;
- }
- span.ongoing-active {
- position: absolute;
- right: 5px;
- color: #4ebf4e;
- }
- span.ongoing-active:after {
- font-family: FontAwesome;
- content: "\f021";
- font-size: 14px;
- }
- span.ongoing-active:before {
- content: "On-Going ";
- position: relative;
- top: -2px;
- }
- span.ongoing-hiatus {
- position: absolute;
- right: 5px;
- color: #d9a925;
- }
- span.ongoing-hiatus:after {
- font-family: FontAwesome;
- content: "\f110";
- font-size: 14px;
- }
- span.ongoing-hiatus:before {
- content: "On-Going ";
- position: relative;
- top: -2px;
- }
- span.cancel {
- position: absolute;
- right: 5px;
- color: #dd1a1a;
- }
- span.cancel:after {
- font-family: FontAwesome;
- content: "\f057";
- font-size: 14px;
- }
- span.cancel:before {
- content: "Cancelled ";
- position: relative;
- top: -2px;
- }
- .tags {
- display: block;
- margin: 5px 0;
- font-family: 'Share Tech Mono', monospace;
- }
- .tags a {
- font-size: 12px;
- margin-left: -2px;
- }
- .tags a:before {
- content: "#";
- }
- .tags a:after {
- content: ",";
- }
- .tags a:last-child:after {
- content: "";
- }
- .thread-footer {
- display: block;
- height: 20px;
- text-align: center;
- font-size: 9px;
- }
- .post {
- display: inline-block;
- position: relative;
- width: 145px;
- }
- .post a {
- display: inline-block;
- padding: 0 20px;
- height: 100%;
- line-height: 20px;
- border-radius: 0 0 10px 10px;
- font-family: 'Saira', sans-serif;
- background: #ebebeb; /* Edit: Starter and Last post bg color */
- }
- </style>
- </head>
- <body>
- <div id="left-bar">
- <!-- Edit: Top Title -->
- <h1 class="page-title">RP Tracker</h1>
- <!-- Edit: Intro text -->
- <p>Some intro text. Totally optional But honestly why not?</p>
- <!-- Edit: Main Navigation -->
- <div class="link-box">
- <button class="linkb"><h2 class="nav">Navigation</h2></button>
- <a href="/"><i class="fa fa-home fa-fw" aria-hidden="true"></i> Home</a>
- <a href="/ask"><i class="fa fa-envelope fa-fw" aria-hidden="true"></i> Message</a>
- <a href="/submit"><i class="fa fa-external-link fa-fw" aria-hidden="true"></i> Submit</a>
- <a href="/dashboard"><i class="fa fa-history fa-fw" aria-hidden="true"></i> Dashboard</a>
- </div>
- <ul class="acc">
- <!-- Edit: Extra Links -->
- <li><button class="acc_ctrl"><h2 class="lin">Extra Links</h2></button>
- <div class="acc_panel">
- <a href="/"><i class="fa fa-star fa-fw" aria-hidden="true"></i> Link1</a>
- <a href="/"><i class="fa fa-star fa-fw" aria-hidden="true"></i> Link2</a>
- <a href="/"><i class="fa fa-star fa-fw" aria-hidden="true"></i> Link3</a>
- <a href="/"><i class="fa fa-star fa-fw" aria-hidden="true"></i> Link4</a>
- <a href="/"><i class="fa fa-star fa-fw" aria-hidden="true"></i> Link5</a>
- </div>
- </li>
- <!-- Edit: Extra Links -->
- <!-- Edit: Filters -->
- <li><form class="controls" id="Filters">
- <button class="acc_ctrl"><h2 class="fil">Filter By:</h2></button>
- <div class="acc_panel centre">
- <!-- To create a new category you can copy this base code:
- <div class="filterbox">
- <h2 class="filter-title">Privacy:</h2>
- <div class="filter-category">
- <!-- New filter // Erase this line
- <div class="checkbox">
- <input type="checkbox" value=".open" />
- <label>Open</label>
- </div>
- <!-- End of New filter // Erase this line //
- </div>
- </div>
- ------------------------------------------------
- You will have to replace the next parts:
- <h2 class="filter-title">Privacy:</h2>
- value=".open" (replace .open to w/e you want)
- <label>Open</label>
- <!-- New Category: Privacy -->
- <div class="filterbox">
- <h2 class="filter-title">Privacy:</h2>
- <div class="filter-category">
- <div class="checkbox">
- <input type="checkbox" value=".open" />
- <label>Open</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".private" />
- <label>Private</label>
- </div>
- </div>
- </div>
- <!-- New Category: Privacy -->
- <!-- New Category: Status -->
- <div class="filterbox">
- <h2 class="filter-title">Status:</h2>
- <div class="filter-category">
- <div class="checkbox">
- <input type="checkbox" value=".complete" />
- <label>Complete</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".ongoing-active" />
- <label>On-Going (Active)</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".ongoing-hiatus" />
- <label>On-Going (Hiatus)</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".cancelled" />
- <label>Cancelled</label>
- </div>
- </div>
- </div>
- <!-- New Category: Status -->
- <!-- New Category: Rating -->
- <div class="filterbox">
- <h2 class="filter-title">Rating:</h2>
- <div class="filter-category">
- <div class="checkbox">
- <input type="checkbox" value=".sfw" />
- <label>SFW</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".nsfw" />
- <label>NSFW</label>
- </div>
- </div>
- </div>
- <!-- New Category: Rating -->
- <!-- New Category: Setting -->
- <div class="filterbox">
- <h2 class="filter-title">Setting:</h2>
- <div class="filter-category">
- <div class="checkbox">
- <input type="checkbox" value=".canon" />
- <label>Canon</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".au" />
- <label>AU</label>
- </div>
- </div>
- </div>
- <!-- New Category:Setting -->
- <!-- New Category: Setting -->
- <div class="filterbox">
- <h2 class="filter-title">Fandom:</h2>
- <div class="filter-category">
- <div class="checkbox">
- <input type="checkbox" value=".oc" />
- <label>OC</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".fan1" />
- <label>Haikyuu!!</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".fan3" />
- <label>Voltron</label>
- </div>
- <div class="checkbox">
- <input type="checkbox" value=".fan2" />
- <label>Boku no Hero Academia</label>
- </div>
- </div>
- </div>
- <!-- New Category:Setting -->
- <button id="Reset" class="reset-button">Clear</button>
- </div>
- </form>
- </li>
- </ul>
- </div>
- <div id="Container" class="container">
- <!-- Edit: Error Message. This message will appear when nothing matches the combination of filters -->
- <div class="fail-message"><span>No Rp's match your search.<br>Try something different.</span></div>
- <!-- Example Thread -->
- <!-- Edit: Change the filters of each RP below: -->
- <div class="mix open complete sfw au fan1">
- <div class="thread-box">
- <div class="thread-header">
- <!-- Edit: RP Title. You can erase it if needed.-->
- <span class="t-title">Example 1</span>
- <span class="t-details">
- <!-- Edit: Open or Private RP-->
- <span>Open RP</span>
- <!-- Edit: SFW or NSFW -->
- <span>SFW</span>
- </span>
- </div>
- <div class="thread-content">
- <span class="t-bar">
- <!-- Edit: Character Name -->
- <p>Character Name</p>
- <!-- Edit: Character Series-->
- <i>Series</i>
- <!-- Edit: RP Status. Change the word "complete" for whatever fits your rp:
- complete ongoing-active ongoing-hiatus cancel
- -->
- <span class="complete"></span>
- </span>
- <span class="summary">
- <!-- Edit: RP Summary. Feel free to erase if needed.-->
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure olor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
- <!-- End of RP Summary -->
- <!-- Edit: RP Tags. Feel free to erase if needed. -->
- <span class="tags">
- <a href="/tagged/">Haikyuu</a>
- <a href="/tagged/">Mermaid AU</a>
- </span>
- <!-- End of RP Tags -->
- </span>
- </div>
- <div class="thread-footer">
- <!-- Edit: Link to starter post -->
- <span class="post"><a href="URL">Starter</a></span>
- <!-- Edit: Link to last post. Feel free to erase if needed. -->
- <span class="post"><a href="URL">Last Post</a></span>
- </div>
- </div>
- </div>
- <!-- End of Example Thread -->
- </div>
- <!-- Credit. Do not erase or modify this part -->
- <a href="http://noiretblanc-themes.tumblr.com/"><span class="noir-et-blanc"><span class="noiretblanc"></span><span class="hoverme"></span></span></a>
- <script>
- // Accordion //
- $(function() {
- $('.acc_ctrl').on('click', function(e) {
- e.preventDefault();
- if ($(this).hasClass('active')) {
- $(this).removeClass('active');
- $(this).next()
- .stop()
- .slideUp(300);
- } else {
- $(this).addClass('active');
- $(this).next()
- .stop()
- .slideDown(300);
- }
- });
- });
- // Mix it up //
- var checkboxFilter = {
- $filters: null,
- $reset: null,
- groups: [],
- outputArray: [],
- outputString: '',
- init: function() {
- var self = this;
- self.$filters = $('#Filters');
- self.$reset = $('#Reset');
- self.$container = $('#Container');
- self.$filters.find('.filter-category').each(function() {
- self.groups.push({
- $inputs: $(this).find('input'),
- active: [],
- tracker: false
- });
- });
- self.bindHandlers();
- },
- bindHandlers: function() {
- var self = this;
- self.$filters.on('change', function() {
- self.parseFilters();
- });
- self.$reset.on('click', function(e) {
- e.preventDefault();
- self.$filters[0].reset();
- self.parseFilters();
- });
- },
- parseFilters: function() {
- var self = this;
- for (var i = 0, group; group = self.groups[i]; i++) {
- group.active = [];
- group.$inputs.each(function() {
- $(this).is(':checked') && group.active.push(this.value);
- });
- group.active.length && (group.tracker = 0);
- }
- self.concatenate();
- },
- concatenate: function() {
- var self = this,
- cache = '',
- crawled = false,
- checkTrackers = function() {
- var done = 0;
- for (var i = 0, group; group = self.groups[i]; i++) {
- (group.tracker === false) && done++;
- }
- return (done < self.groups.length);
- },
- crawl = function() {
- for (var i = 0, group; group = self.groups[i]; i++) {
- group.active[group.tracker] && (cache += group.active[group.tracker]);
- if (i === self.groups.length - 1) {
- self.outputArray.push(cache);
- cache = '';
- updateTrackers();
- }
- }
- },
- updateTrackers = function() {
- for (var i = self.groups.length - 1; i > -1; i--) {
- var group = self.groups[i];
- if (group.active[group.tracker + 1]) {
- group.tracker++;
- break;
- } else if (i > 0) {
- group.tracker && (group.tracker = 0);
- } else {
- crawled = true;
- }
- }
- };
- self.outputArray = [];
- do {
- crawl();
- }
- while (!crawled && checkTrackers());
- self.outputString = self.outputArray.join();
- !self.outputString.length && (self.outputString = 'all');
- if (self.$container.mixItUp('isLoaded')) {
- self.$container.mixItUp('filter', self.outputString);
- }
- }
- };
- $(function() {
- checkboxFilter.init();
- $('#Container').mixItUp({
- controls: {
- enable: false
- },
- animation: {
- easing: 'cubic-bezier(0.86, 0, 0.07, 1)',
- duration: 600
- }
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement