├── .gitattributes ├── README.md ├── Tweet.py ├── constants.py ├── localhost-wordpress-20200313-074610-uxz1wx (1).wpress ├── main.py ├── requirements.txt ├── screenshots ├── 1-home-page.png ├── 10-input-symbol.png ├── 11-resuts.png ├── 2-dashboard.png ├── 3-login.png ├── 4-register.png ├── 5-about.png ├── 6-news.png ├── 7-know-more.png ├── 8-currency-converter.png ├── 9-admin-panel.png └── banner.PNG ├── static ├── 1.jpg ├── 2.jpg ├── 3.jpg ├── 4.jpg ├── ARIMA.jpg ├── ARIMA.png ├── LR.jpg ├── LR.png ├── LSTM.jpg ├── LSTM.png ├── SA.png ├── Trends.jpg ├── Trends.png ├── animate.css ├── animate.min.css ├── bootstrap-RES.min.js ├── bootstrap.css ├── bootstrap.js ├── bootstrap.min-RES.css ├── bootstrap.min.css ├── bootstrap.min.js ├── cryptocoins-colors.css ├── cryptocoins.css ├── custom.min.js ├── d3.min.js ├── dashboard1-init.js ├── datamap-init.js ├── datamaps.world.min.js ├── echarts.js ├── et-line-font.css ├── flag-icon.min.css ├── font-awesome-RES.min.css ├── font-awesome.css ├── font-awesome.min.css ├── fore.png ├── helper.css ├── inner-bg.jpg ├── jquery-RES.min.js ├── jquery.min.js ├── jquery.simpleWeather.min.js ├── jquery.slimscroll.js ├── linea.css ├── logo-2.png ├── logo-3.png ├── logo-4.png ├── logo.png ├── logotile.png ├── main.js ├── materialdesignicons.min.css ├── menuzord.css ├── menuzord.js ├── no.png ├── owl.carousel-init.js ├── owl.carousel.css ├── owl.carousel.js ├── owl.carousel.min.css ├── owl.carousel.min.js ├── owl.theme.css ├── owl.theme.default.min.css ├── popper.min.js ├── responsive.css ├── sidebarmenu.js ├── simple-line-icons.css ├── spinner1.gif ├── spinners.css ├── sticky-kit.min.js ├── style-RES.css ├── style.css ├── themify-icons.css ├── tile7.png ├── top-arrow.png ├── topojson.js ├── twitter-logo.png ├── wall.png └── weather-init.js └── templates ├── index.html └── results.html /.gitattributes: -------------------------------------------------------------------------------- 1 | *.wpress filter=lfs diff=lfs merge=lfs -text 2 | *.py linguist-detectable=true 3 | *.css linguist-detectable=false 4 | *.js linguist-detectable=false 5 | *.html linguist-detectable=false 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Stock-Market-Prediction-Web-App-using-Machine-Learning 2 | **Stock Market Prediction** Web App based on **Machine Learning** and **Sentiment Analysis** of Tweets **(API keys included in code)**. The front end of the Web App is based on **Flask** and **Wordpress**. The App forecasts stock prices of the next seven days for any given stock under **NASDAQ** or **NSE** as input by the user. Predictions are made using three algorithms: **ARIMA, LSTM, Linear Regression**. The Web App combines the predicted prices of the next seven days with the **sentiment analysis of tweets** to give recommendation whether the price is going to rise or fall 3 | 4 | # Screenshots 5 | 6 | Find how the project looks in screenshots folder Or click here 7 | 8 | # File and Directory Structure 9 |
10 | screenshots - Screenshots of Web App
11 | static - static files of flask app: css, images, js, etc.
12 | templates - html files
13 | Tweets.py - structure of Tweets for sentiment Analysis
14 | constants.py - config file for app with Twitter API keys and other details
15 | main.py - main machine learning module
16 | 
17 | 18 | # Technologies Used 19 | 34 | 35 | # How to Install and Use 36 |
    37 |
  1. Download and install Wordpress from https://wordpress.org/download/
  2. 38 |
  3. Once wordpress is installed, install All In One WP Migration Plugin on Wordpress
  4. 39 |
  5. Once installed, go to the plugin and import the file "localhost-wordpress-20200313-074610-uxz1wx (1).wpress" provided in my repo
  6. 40 |
  7. Go to command prompt, change directory to directory of repository and type pip install -r requirements.txt
  8. 41 |
  9. To run app, type in command prompt, python main.py
  10. 42 |
  11. Open your web browser and go to http://localhost/wordpress to access the web app
  12. 43 |
44 | -------------------------------------------------------------------------------- /Tweet.py: -------------------------------------------------------------------------------- 1 | class Tweet(object): 2 | 3 | def __init__(self, content, polarity): 4 | self.content = content 5 | self.polarity = polarity -------------------------------------------------------------------------------- /constants.py: -------------------------------------------------------------------------------- 1 | consumer_key= 'E0pFYVai9VaOhqLiRBEC6gpGF' 2 | consumer_secret= 'XAMh4l9XL5nwFK3MN5tAjtXA2YgDN1tw5f7L2n6dz5ib8VYlbm' 3 | 4 | access_token='3261604734-86c7DOJP98GwNeFWzvgPQKFUTyHn1ZFwlloJP3v' 5 | access_token_secret='eXEmlEAdxaFjueVP03jsAWeOeNMkI7ToiDQkyvLDa6eX7' 6 | 7 | num_of_tweets = int(300) 8 | -------------------------------------------------------------------------------- /localhost-wordpress-20200313-074610-uxz1wx (1).wpress: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:48e58c9072146a20299548fe7b2a59de59b10d406eb5f508e3730c4b2c0141a5 3 | size 1275844216 4 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | nltk 2 | keras==2.3.1 3 | numpy 4 | streamlit==0.52.1 5 | seaborn 6 | tweepy 7 | textblob 8 | flask 9 | pandas 10 | matplotlib 11 | scikit_learn 12 | statsmodels==0.10.1 13 | yfinance==0.1.54 14 | alpha_vantage==2.1.3 15 | tensorflow==1.14.0 16 | https://pypi.anaconda.org/berber/simple/tweet-preprocessor/0.5.0/tweet-preprocessor-0.5.0.tar.gz 17 | -------------------------------------------------------------------------------- /screenshots/1-home-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/1-home-page.png -------------------------------------------------------------------------------- /screenshots/10-input-symbol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/10-input-symbol.png -------------------------------------------------------------------------------- /screenshots/11-resuts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/11-resuts.png -------------------------------------------------------------------------------- /screenshots/2-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/2-dashboard.png -------------------------------------------------------------------------------- /screenshots/3-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/3-login.png -------------------------------------------------------------------------------- /screenshots/4-register.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/4-register.png -------------------------------------------------------------------------------- /screenshots/5-about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/5-about.png -------------------------------------------------------------------------------- /screenshots/6-news.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/6-news.png -------------------------------------------------------------------------------- /screenshots/7-know-more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/7-know-more.png -------------------------------------------------------------------------------- /screenshots/8-currency-converter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/8-currency-converter.png -------------------------------------------------------------------------------- /screenshots/9-admin-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/9-admin-panel.png -------------------------------------------------------------------------------- /screenshots/banner.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/screenshots/banner.PNG -------------------------------------------------------------------------------- /static/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/1.jpg -------------------------------------------------------------------------------- /static/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/2.jpg -------------------------------------------------------------------------------- /static/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/3.jpg -------------------------------------------------------------------------------- /static/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/4.jpg -------------------------------------------------------------------------------- /static/ARIMA.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/ARIMA.jpg -------------------------------------------------------------------------------- /static/ARIMA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/ARIMA.png -------------------------------------------------------------------------------- /static/LR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/LR.jpg -------------------------------------------------------------------------------- /static/LR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/LR.png -------------------------------------------------------------------------------- /static/LSTM.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/LSTM.jpg -------------------------------------------------------------------------------- /static/LSTM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/LSTM.png -------------------------------------------------------------------------------- /static/SA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/SA.png -------------------------------------------------------------------------------- /static/Trends.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/Trends.jpg -------------------------------------------------------------------------------- /static/Trends.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/Trends.png -------------------------------------------------------------------------------- /static/cryptocoins-colors.css: -------------------------------------------------------------------------------- 1 | .ADA { color: #3CC8C8; } 2 | .ADC { color: #3CB0E5; } 3 | .AEON { color: #164450; } 4 | .AMP { color: #048DD2; } 5 | .ANC { color: #000; } 6 | .ARCH { color: #002652; } 7 | .ARDR { color: #1162a1; } 8 | .ARK { color: #F70000; } 9 | .AUR { color: #136c5e; } 10 | .BANX { color: #225BA6; } 11 | .BAT { color: #9e1f63; } 12 | .BAY { color: #584ba1; } 13 | .BC { color: #202121; } 14 | .BCN { color: #964F51; } 15 | .BFT { color: #4fc3f7; } 16 | .BRK { color: #194fa0; } 17 | .BRX { color: #a8c300; } 18 | .BSD { color: #1186E7; } 19 | .BTA { color: #210094; } 20 | .BTC, .BCH { color: #F7931A; } 21 | .BTCD { color: #2A72DC; } 22 | .BTM { color: #9FA8B4; } 23 | .BTS { color: #03A9E0; } 24 | .CLAM { color: #D6AB31; } 25 | .CLOAK { color: #DF3F1E; } 26 | .DAO { color: #FF3B3B; } 27 | .DASH { color: #1c75bc; } 28 | .DCR { color: #3b7cfb; } 29 | .DCT { color: #008770; } 30 | .DGB { color: #0066cc; } 31 | .DGD, .DGX { color: #D8A24A; } 32 | .DMD { color: #5497b2; } 33 | .DOGE { color: #BA9F33; } 34 | .EMC { color: #674c8c; } 35 | .EOS { color: #19191A; } 36 | .ERC { color: #101E84; } 37 | .ETC { color: #669073; } 38 | .ETH { color: #282828; } 39 | .FC2 { color: #040405; } 40 | .FCT { color: #2175BB; } 41 | .FLO { color: #1358C8; } 42 | .FRK { color: #0633cd; } 43 | .FTC { color: #679EF1; } 44 | .GAME { color: #ed1b24; } 45 | .GBYTE { color: #2C3E50; } 46 | .GDC { color: #E9A226; } 47 | .GEMZ { color: #e86060; } 48 | .GLD { color: #E8BE24; } 49 | .GNO { color: #00A6C4; } 50 | .GNT { color: #00d6e3; } 51 | .GOLOS { color: #2670B7; } 52 | .GRC { color: #88A13C; } 53 | .GRS { color: #648FA0; } 54 | .HEAT { color: #ff5606; } 55 | .ICN { color: #4c6f8c; } 56 | .IFC { color: #ed272d; } 57 | .INCNT { color: #f2932f; } 58 | .IOC { color: #2fa3de; } 59 | .IOTA { color: #FFFFFF; } 60 | .JBS { color: #1A8BCD; } 61 | .KMD { color: #326464; } 62 | .KOBO { color: #80C342; } 63 | .KORE { color: #DF4124; } 64 | .LBC { color: #015C47; } 65 | .LDOGE { color: #ffcc00; } 66 | .LISK { color: #1A6896; } 67 | .LTC { color: #838383; } 68 | .MAID { color: #5492D6; } 69 | .MCO { color: #0D3459; } 70 | .MINT { color: #006835; } 71 | .MONA { color: #a99364; } 72 | .MRC { color: #4279bd; } 73 | .MSC { color: #1D4983; } 74 | .MTR { color: #b92429; } 75 | .MUE { color: #f5a10e; } 76 | .NBT { color: #FFC93D; } 77 | .NEO { color: #58BF00; } 78 | .NEOS { color: #1d1d1b; } 79 | .NEU { color: #2983c0; } 80 | .NLG { color: #003E7E; } 81 | .NMC { color: #6787B7; } 82 | .NOTE { color: #42daff; } 83 | .NVC { color: #ecab41; } 84 | .NXT { color: #008FBB; } 85 | .OK { color: #0165A4; } 86 | .OMG { color: #1A53F0; } 87 | .OMNI { color: #18347E; } 88 | .OPAL { color: #7193AA; } 89 | .PART { color: #05D5A3; } 90 | .PIGGY { color: #F27A7A; } 91 | .PINK { color: #ED31CA; } 92 | .PIVX { color: #3b2f4d; } 93 | .POT { color: #105B2F; } 94 | .PPC { color: #3FA30C; } 95 | .QRK { color: #22AABF; } 96 | .QTUM { color: #359BCE; } 97 | .RADS { color: #924cea; } 98 | .RBIES { color: #C62436; } 99 | .RBT { color: #0d4982; } 100 | .RBY { color: #D31F26; } 101 | .RDD { color: #ED1C24; } 102 | .REP { color: #40a2cb; } 103 | .RISE { color: #43CEA2; } 104 | .SALT { color: #373C43; } 105 | .SAR { color: #1B72B8; } 106 | .SCOT { color: #3498DB; } 107 | .SDC { color: #981D2D; } 108 | .SIA { color: #00CBA0; } 109 | .SJCX { color: #003366; } 110 | .SLG { color: #5A6875; } 111 | .SLS { color: #1EB549; } 112 | .SNRG { color: #160363; } 113 | .START { color: #01AEF0; } 114 | .STEEM { color: #1A5099; } 115 | .STR { color: #08B5E5; } 116 | .STRAT { color: #2398dd; } 117 | .SWIFT { color: #428BCA; } 118 | .SYNC { color: #008DD2; } 119 | .SYS { color: #0098DA; } 120 | .TRIG { color: #1fbff4; } 121 | .TX { color: #1F8BCC; } 122 | .UBQ { color: #00ec8d; } 123 | .UNITY { color: #ED8527; } 124 | .USDT { color: #2CA07A; } 125 | .VIOR { color: #1F52A4; } 126 | .VNL { color: #404249; } 127 | .VPN { color: #589700; } 128 | .VRC { color: #418bca; } 129 | .VTC { color: #1b5c2e; } 130 | .WAVES { color: #24aad6; } 131 | .XAI { color: #2ef99f; } 132 | .XBS { color: #d3261d; } 133 | .XCP { color: #EC1550; } 134 | .XEM { color: #41bf76; } 135 | .XMR { color: #FF6600; } 136 | .XPM { color: #e5b625; } 137 | .XRP { color: #346AA9; } 138 | .XTZ { color: #A6DF00; } 139 | .XVG { color: #42AFB2; } 140 | .XZC { color: #23B852; } 141 | .YBC { color: #D6C154; } 142 | .ZEC { color: #e5a93d; } 143 | .ZEIT { color: #ACACAC; } 144 | -------------------------------------------------------------------------------- /static/cryptocoins.css: -------------------------------------------------------------------------------- 1 | /*! Cryptocoins - cryptocurrency icon font | https://github.com/allienworks/cryptocoins */ 2 | 3 | @font-face { 4 | font-family: "cryptocoins"; 5 | src: url('../fonts/cryptocoins.woff2') format('woff2'), 6 | url('../fonts/cryptocoins.woff') format('woff'), 7 | url('../fonts/cryptocoins.ttf') format('truetype'); 8 | } 9 | 10 | /* .cc:before { */ 11 | .cc::before { 12 | font-family: "cryptocoins"; 13 | -webkit-font-smoothing: antialiased; 14 | -moz-osx-font-smoothing: grayscale; 15 | font-style: normal; 16 | font-variant: normal; 17 | font-weight: normal; 18 | /* speak: none; only necessary if not using the private unicode range (firstGlyph option) */ 19 | text-decoration: none; 20 | text-transform: none; 21 | } 22 | 23 | 24 | .cc.ADA-alt::before { 25 | content: "\E001"; 26 | } 27 | 28 | .cc.ADA::before { 29 | content: "\E002"; 30 | } 31 | 32 | .cc.ADC-alt::before { 33 | content: "\E003"; 34 | } 35 | 36 | .cc.ADC::before { 37 | content: "\E004"; 38 | } 39 | 40 | .cc.AEON-alt::before { 41 | content: "\E005"; 42 | } 43 | 44 | .cc.AEON::before { 45 | content: "\E006"; 46 | } 47 | 48 | .cc.AMP-alt::before { 49 | content: "\E007"; 50 | } 51 | 52 | .cc.AMP::before { 53 | content: "\E008"; 54 | } 55 | 56 | .cc.ANC-alt::before { 57 | content: "\E009"; 58 | } 59 | 60 | .cc.ANC::before { 61 | content: "\E00A"; 62 | } 63 | 64 | .cc.ARCH-alt::before { 65 | content: "\E00B"; 66 | } 67 | 68 | .cc.ARCH::before { 69 | content: "\E00C"; 70 | } 71 | 72 | .cc.ARDR-alt::before { 73 | content: "\E00D"; 74 | } 75 | 76 | .cc.ARDR::before { 77 | content: "\E00E"; 78 | } 79 | 80 | .cc.ARK-alt::before { 81 | content: "\E00F"; 82 | } 83 | 84 | .cc.ARK::before { 85 | content: "\E010"; 86 | } 87 | 88 | .cc.AUR-alt::before { 89 | content: "\E011"; 90 | } 91 | 92 | .cc.AUR::before { 93 | content: "\E012"; 94 | } 95 | 96 | .cc.BANX-alt::before { 97 | content: "\E013"; 98 | } 99 | 100 | .cc.BANX::before { 101 | content: "\E014"; 102 | } 103 | 104 | .cc.BAT-alt::before { 105 | content: "\E015"; 106 | } 107 | 108 | .cc.BAT::before { 109 | content: "\E016"; 110 | } 111 | 112 | .cc.BAY-alt::before { 113 | content: "\E017"; 114 | } 115 | 116 | .cc.BAY::before { 117 | content: "\E018"; 118 | } 119 | 120 | .cc.BC-alt::before { 121 | content: "\E019"; 122 | } 123 | 124 | .cc.BC::before { 125 | content: "\E01A"; 126 | } 127 | 128 | .cc.BCH-alt::before { 129 | content: "\E01B"; 130 | } 131 | 132 | .cc.BCH::before { 133 | content: "\E01C"; 134 | } 135 | 136 | .cc.BCN-alt::before { 137 | content: "\E01D"; 138 | } 139 | 140 | .cc.BCN::before { 141 | content: "\E01E"; 142 | } 143 | 144 | .cc.BFT-alt::before { 145 | content: "\E01F"; 146 | } 147 | 148 | .cc.BFT::before { 149 | content: "\E020"; 150 | } 151 | 152 | .cc.BRK-alt::before { 153 | content: "\E021"; 154 | } 155 | 156 | .cc.BRK::before { 157 | content: "\E022"; 158 | } 159 | 160 | .cc.BRX-alt::before { 161 | content: "\E023"; 162 | } 163 | 164 | .cc.BRX::before { 165 | content: "\E024"; 166 | } 167 | 168 | .cc.BSD-alt::before { 169 | content: "\E025"; 170 | } 171 | 172 | .cc.BSD::before { 173 | content: "\E026"; 174 | } 175 | 176 | .cc.BTA::before { 177 | content: "\E027"; 178 | } 179 | 180 | .cc.BTC-alt::before { 181 | content: "\E028"; 182 | } 183 | 184 | .cc.BTC::before { 185 | content: "\E029"; 186 | } 187 | 188 | .cc.BTCD-alt::before { 189 | content: "\E02A"; 190 | } 191 | 192 | .cc.BTCD::before { 193 | content: "\E02B"; 194 | } 195 | 196 | .cc.BTM-alt::before { 197 | content: "\E02C"; 198 | } 199 | 200 | .cc.BTM::before { 201 | content: "\E02D"; 202 | } 203 | 204 | .cc.BTS-alt::before { 205 | content: "\E02E"; 206 | } 207 | 208 | .cc.BTS::before { 209 | content: "\E02F"; 210 | } 211 | 212 | .cc.CLAM-alt::before { 213 | content: "\E030"; 214 | } 215 | 216 | .cc.CLAM::before { 217 | content: "\E031"; 218 | } 219 | 220 | .cc.CLOAK-alt::before { 221 | content: "\E032"; 222 | } 223 | 224 | .cc.CLOAK::before { 225 | content: "\E033"; 226 | } 227 | 228 | .cc.DAO-alt::before { 229 | content: "\E034"; 230 | } 231 | 232 | .cc.DAO::before { 233 | content: "\E035"; 234 | } 235 | 236 | .cc.DASH-alt::before { 237 | content: "\E036"; 238 | } 239 | 240 | .cc.DASH::before { 241 | content: "\E037"; 242 | } 243 | 244 | .cc.DCR-alt::before { 245 | content: "\E038"; 246 | } 247 | 248 | .cc.DCR::before { 249 | content: "\E039"; 250 | } 251 | 252 | .cc.DCT-alt::before { 253 | content: "\E03A"; 254 | } 255 | 256 | .cc.DCT::before { 257 | content: "\E03B"; 258 | } 259 | 260 | .cc.DGB-alt::before { 261 | content: "\E03C"; 262 | } 263 | 264 | .cc.DGB::before { 265 | content: "\E03D"; 266 | } 267 | 268 | .cc.DGD::before { 269 | content: "\E03E"; 270 | } 271 | 272 | .cc.DGX::before { 273 | content: "\E03F"; 274 | } 275 | 276 | .cc.DMD-alt::before { 277 | content: "\E040"; 278 | } 279 | 280 | .cc.DMD::before { 281 | content: "\E041"; 282 | } 283 | 284 | .cc.DOGE-alt::before { 285 | content: "\E042"; 286 | } 287 | 288 | .cc.DOGE::before { 289 | content: "\E043"; 290 | } 291 | 292 | .cc.EMC-alt::before { 293 | content: "\E044"; 294 | } 295 | 296 | .cc.EMC::before { 297 | content: "\E045"; 298 | } 299 | 300 | .cc.EOS-alt::before { 301 | content: "\E046"; 302 | } 303 | 304 | .cc.EOS::before { 305 | content: "\E047"; 306 | } 307 | 308 | .cc.ERC-alt::before { 309 | content: "\E048"; 310 | } 311 | 312 | .cc.ERC::before { 313 | content: "\E049"; 314 | } 315 | 316 | .cc.ETC-alt::before { 317 | content: "\E04A"; 318 | } 319 | 320 | .cc.ETC::before { 321 | content: "\E04B"; 322 | } 323 | 324 | .cc.ETH-alt::before { 325 | content: "\E04C"; 326 | } 327 | 328 | .cc.ETH::before { 329 | content: "\E04D"; 330 | } 331 | 332 | .cc.FC2-alt::before { 333 | content: "\E04E"; 334 | } 335 | 336 | .cc.FC2::before { 337 | content: "\E04F"; 338 | } 339 | 340 | .cc.FCT-alt::before { 341 | content: "\E050"; 342 | } 343 | 344 | .cc.FCT::before { 345 | content: "\E051"; 346 | } 347 | 348 | .cc.FLO-alt::before { 349 | content: "\E052"; 350 | } 351 | 352 | .cc.FLO::before { 353 | content: "\E053"; 354 | } 355 | 356 | .cc.FRK-alt::before { 357 | content: "\E054"; 358 | } 359 | 360 | .cc.FRK::before { 361 | content: "\E055"; 362 | } 363 | 364 | .cc.FTC-alt::before { 365 | content: "\E056"; 366 | } 367 | 368 | .cc.FTC::before { 369 | content: "\E057"; 370 | } 371 | 372 | .cc.GAME-alt::before { 373 | content: "\E058"; 374 | } 375 | 376 | .cc.GAME::before { 377 | content: "\E059"; 378 | } 379 | 380 | .cc.GBYTE-alt::before { 381 | content: "\E05A"; 382 | } 383 | 384 | .cc.GBYTE::before { 385 | content: "\E05B"; 386 | } 387 | 388 | .cc.GDC-alt::before { 389 | content: "\E05C"; 390 | } 391 | 392 | .cc.GDC::before { 393 | content: "\E05D"; 394 | } 395 | 396 | .cc.GEMZ-alt::before { 397 | content: "\E05E"; 398 | } 399 | 400 | .cc.GEMZ::before { 401 | content: "\E05F"; 402 | } 403 | 404 | .cc.GLD-alt::before { 405 | content: "\E060"; 406 | } 407 | 408 | .cc.GLD::before { 409 | content: "\E061"; 410 | } 411 | 412 | .cc.GNO-alt::before { 413 | content: "\E062"; 414 | } 415 | 416 | .cc.GNO::before { 417 | content: "\E063"; 418 | } 419 | 420 | .cc.GNT-alt::before { 421 | content: "\E064"; 422 | } 423 | 424 | .cc.GNT::before { 425 | content: "\E065"; 426 | } 427 | 428 | .cc.GOLOS-alt::before { 429 | content: "\E066"; 430 | } 431 | 432 | .cc.GOLOS::before { 433 | content: "\E067"; 434 | } 435 | 436 | .cc.GRC-alt::before { 437 | content: "\E068"; 438 | } 439 | 440 | .cc.GRC::before { 441 | content: "\E069"; 442 | } 443 | 444 | .cc.GRS::before { 445 | content: "\E06A"; 446 | } 447 | 448 | .cc.HEAT-alt::before { 449 | content: "\E06B"; 450 | } 451 | 452 | .cc.HEAT::before { 453 | content: "\E06C"; 454 | } 455 | 456 | .cc.ICN-alt::before { 457 | content: "\E06D"; 458 | } 459 | 460 | .cc.ICN::before { 461 | content: "\E06E"; 462 | } 463 | 464 | .cc.IFC-alt::before { 465 | content: "\E06F"; 466 | } 467 | 468 | .cc.IFC::before { 469 | content: "\E070"; 470 | } 471 | 472 | .cc.INCNT-alt::before { 473 | content: "\E071"; 474 | } 475 | 476 | .cc.INCNT::before { 477 | content: "\E072"; 478 | } 479 | 480 | .cc.IOC-alt::before { 481 | content: "\E073"; 482 | } 483 | 484 | .cc.IOC::before { 485 | content: "\E074"; 486 | } 487 | 488 | .cc.IOTA-alt::before { 489 | content: "\E075"; 490 | } 491 | 492 | .cc.IOTA::before { 493 | content: "\E076"; 494 | } 495 | 496 | .cc.JBS-alt::before { 497 | content: "\E077"; 498 | } 499 | 500 | .cc.JBS::before { 501 | content: "\E078"; 502 | } 503 | 504 | .cc.KMD-alt::before { 505 | content: "\E079"; 506 | } 507 | 508 | .cc.KMD::before { 509 | content: "\E07A"; 510 | } 511 | 512 | .cc.KOBO::before { 513 | content: "\E07B"; 514 | } 515 | 516 | .cc.KORE-alt::before { 517 | content: "\E07C"; 518 | } 519 | 520 | .cc.KORE::before { 521 | content: "\E07D"; 522 | } 523 | 524 | .cc.LBC-alt::before { 525 | content: "\E07E"; 526 | } 527 | 528 | .cc.LBC::before { 529 | content: "\E07F"; 530 | } 531 | 532 | .cc.LDOGE-alt::before { 533 | content: "\E080"; 534 | } 535 | 536 | .cc.LDOGE::before { 537 | content: "\E081"; 538 | } 539 | 540 | .cc.LSK-alt::before { 541 | content: "\E082"; 542 | } 543 | 544 | .cc.LSK::before { 545 | content: "\E083"; 546 | } 547 | 548 | .cc.LTC-alt::before { 549 | content: "\E084"; 550 | } 551 | 552 | .cc.LTC::before { 553 | content: "\E085"; 554 | } 555 | 556 | .cc.MAID-alt::before { 557 | content: "\E086"; 558 | } 559 | 560 | .cc.MAID::before { 561 | content: "\E087"; 562 | } 563 | 564 | .cc.MCO-alt::before { 565 | content: "\E088"; 566 | } 567 | 568 | .cc.MCO::before { 569 | content: "\E089"; 570 | } 571 | 572 | .cc.MINT-alt::before { 573 | content: "\E08A"; 574 | } 575 | 576 | .cc.MINT::before { 577 | content: "\E08B"; 578 | } 579 | 580 | .cc.MONA-alt::before { 581 | content: "\E08C"; 582 | } 583 | 584 | .cc.MONA::before { 585 | content: "\E08D"; 586 | } 587 | 588 | .cc.MRC::before { 589 | content: "\E08E"; 590 | } 591 | 592 | .cc.MSC-alt::before { 593 | content: "\E08F"; 594 | } 595 | 596 | .cc.MSC::before { 597 | content: "\E090"; 598 | } 599 | 600 | .cc.MTR-alt::before { 601 | content: "\E091"; 602 | } 603 | 604 | .cc.MTR::before { 605 | content: "\E092"; 606 | } 607 | 608 | .cc.MUE-alt::before { 609 | content: "\E093"; 610 | } 611 | 612 | .cc.MUE::before { 613 | content: "\E094"; 614 | } 615 | 616 | .cc.NBT::before { 617 | content: "\E095"; 618 | } 619 | 620 | .cc.NEO-alt::before { 621 | content: "\E096"; 622 | } 623 | 624 | .cc.NEO::before { 625 | content: "\E097"; 626 | } 627 | 628 | .cc.NEOS-alt::before { 629 | content: "\E098"; 630 | } 631 | 632 | .cc.NEOS::before { 633 | content: "\E099"; 634 | } 635 | 636 | .cc.NEU-alt::before { 637 | content: "\E09A"; 638 | } 639 | 640 | .cc.NEU::before { 641 | content: "\E09B"; 642 | } 643 | 644 | .cc.NLG-alt::before { 645 | content: "\E09C"; 646 | } 647 | 648 | .cc.NLG::before { 649 | content: "\E09D"; 650 | } 651 | 652 | .cc.NMC-alt::before { 653 | content: "\E09E"; 654 | } 655 | 656 | .cc.NMC::before { 657 | content: "\E09F"; 658 | } 659 | 660 | .cc.NOTE-alt::before { 661 | content: "\E0A0"; 662 | } 663 | 664 | .cc.NOTE::before { 665 | content: "\E0A1"; 666 | } 667 | 668 | .cc.NVC-alt::before { 669 | content: "\E0A2"; 670 | } 671 | 672 | .cc.NVC::before { 673 | content: "\E0A3"; 674 | } 675 | 676 | .cc.NXT-alt::before { 677 | content: "\E0A4"; 678 | } 679 | 680 | .cc.NXT::before { 681 | content: "\E0A5"; 682 | } 683 | 684 | .cc.OK-alt::before { 685 | content: "\E0A6"; 686 | } 687 | 688 | .cc.OK::before { 689 | content: "\E0A7"; 690 | } 691 | 692 | .cc.OMG-alt::before { 693 | content: "\E0A8"; 694 | } 695 | 696 | .cc.OMG::before { 697 | content: "\E0A9"; 698 | } 699 | 700 | .cc.OMNI-alt::before { 701 | content: "\E0AA"; 702 | } 703 | 704 | .cc.OMNI::before { 705 | content: "\E0AB"; 706 | } 707 | 708 | .cc.OPAL-alt::before { 709 | content: "\E0AC"; 710 | } 711 | 712 | .cc.OPAL::before { 713 | content: "\E0AD"; 714 | } 715 | 716 | .cc.PART-alt::before { 717 | content: "\E0AE"; 718 | } 719 | 720 | .cc.PART::before { 721 | content: "\E0AF"; 722 | } 723 | 724 | .cc.PIGGY-alt::before { 725 | content: "\E0B0"; 726 | } 727 | 728 | .cc.PIGGY::before { 729 | content: "\E0B1"; 730 | } 731 | 732 | .cc.PINK-alt::before { 733 | content: "\E0B2"; 734 | } 735 | 736 | .cc.PINK::before { 737 | content: "\E0B3"; 738 | } 739 | 740 | .cc.PIVX-alt::before { 741 | content: "\E0B4"; 742 | } 743 | 744 | .cc.PIVX::before { 745 | content: "\E0B5"; 746 | } 747 | 748 | .cc.POT-alt::before { 749 | content: "\E0B6"; 750 | } 751 | 752 | .cc.POT::before { 753 | content: "\E0B7"; 754 | } 755 | 756 | .cc.PPC-alt::before { 757 | content: "\E0B8"; 758 | } 759 | 760 | .cc.PPC::before { 761 | content: "\E0B9"; 762 | } 763 | 764 | .cc.QRK-alt::before { 765 | content: "\E0BA"; 766 | } 767 | 768 | .cc.QRK::before { 769 | content: "\E0BB"; 770 | } 771 | 772 | .cc.QTUM-alt::before { 773 | content: "\E0BC"; 774 | } 775 | 776 | .cc.QTUM::before { 777 | content: "\E0BD"; 778 | } 779 | 780 | .cc.RADS-alt::before { 781 | content: "\E0BE"; 782 | } 783 | 784 | .cc.RADS::before { 785 | content: "\E0BF"; 786 | } 787 | 788 | .cc.RBIES-alt::before { 789 | content: "\E0C0"; 790 | } 791 | 792 | .cc.RBIES::before { 793 | content: "\E0C1"; 794 | } 795 | 796 | .cc.RBT-alt::before { 797 | content: "\E0C2"; 798 | } 799 | 800 | .cc.RBT::before { 801 | content: "\E0C3"; 802 | } 803 | 804 | .cc.RBY-alt::before { 805 | content: "\E0C4"; 806 | } 807 | 808 | .cc.RBY::before { 809 | content: "\E0C5"; 810 | } 811 | 812 | .cc.RDD-alt::before { 813 | content: "\E0C6"; 814 | } 815 | 816 | .cc.RDD::before { 817 | content: "\E0C7"; 818 | } 819 | 820 | .cc.REP-alt::before { 821 | content: "\E0C8"; 822 | } 823 | 824 | .cc.REP::before { 825 | content: "\E0C9"; 826 | } 827 | 828 | .cc.RISE-alt::before { 829 | content: "\E0CA"; 830 | } 831 | 832 | .cc.RISE::before { 833 | content: "\E0CB"; 834 | } 835 | 836 | .cc.SALT-alt::before { 837 | content: "\E0CC"; 838 | } 839 | 840 | .cc.SALT::before { 841 | content: "\E0CD"; 842 | } 843 | 844 | .cc.SAR-alt::before { 845 | content: "\E0CE"; 846 | } 847 | 848 | .cc.SAR::before { 849 | content: "\E0CF"; 850 | } 851 | 852 | .cc.SCOT-alt::before { 853 | content: "\E0D0"; 854 | } 855 | 856 | .cc.SCOT::before { 857 | content: "\E0D1"; 858 | } 859 | 860 | .cc.SDC-alt::before { 861 | content: "\E0D2"; 862 | } 863 | 864 | .cc.SDC::before { 865 | content: "\E0D3"; 866 | } 867 | 868 | .cc.SIA-alt::before { 869 | content: "\E0D4"; 870 | } 871 | 872 | .cc.SIA::before { 873 | content: "\E0D5"; 874 | } 875 | 876 | .cc.SJCX-alt::before { 877 | content: "\E0D6"; 878 | } 879 | 880 | .cc.SJCX::before { 881 | content: "\E0D7"; 882 | } 883 | 884 | .cc.SLG-alt::before { 885 | content: "\E0D8"; 886 | } 887 | 888 | .cc.SLG::before { 889 | content: "\E0D9"; 890 | } 891 | 892 | .cc.SLS-alt::before { 893 | content: "\E0DA"; 894 | } 895 | 896 | .cc.SLS::before { 897 | content: "\E0DB"; 898 | } 899 | 900 | .cc.SNRG-alt::before { 901 | content: "\E0DC"; 902 | } 903 | 904 | .cc.SNRG::before { 905 | content: "\E0DD"; 906 | } 907 | 908 | .cc.START-alt::before { 909 | content: "\E0DE"; 910 | } 911 | 912 | .cc.START::before { 913 | content: "\E0DF"; 914 | } 915 | 916 | .cc.STEEM-alt::before { 917 | content: "\E0E0"; 918 | } 919 | 920 | .cc.STEEM::before { 921 | content: "\E0E1"; 922 | } 923 | 924 | .cc.STR-alt::before { 925 | content: "\E0E2"; 926 | } 927 | 928 | .cc.STR::before { 929 | content: "\E0E3"; 930 | } 931 | 932 | .cc.STRAT-alt::before { 933 | content: "\E0E4"; 934 | } 935 | 936 | .cc.STRAT::before { 937 | content: "\E0E5"; 938 | } 939 | 940 | .cc.SWIFT-alt::before { 941 | content: "\E0E6"; 942 | } 943 | 944 | .cc.SWIFT::before { 945 | content: "\E0E7"; 946 | } 947 | 948 | .cc.SYNC-alt::before { 949 | content: "\E0E8"; 950 | } 951 | 952 | .cc.SYNC::before { 953 | content: "\E0E9"; 954 | } 955 | 956 | .cc.SYS-alt::before { 957 | content: "\E0EA"; 958 | } 959 | 960 | .cc.SYS::before { 961 | content: "\E0EB"; 962 | } 963 | 964 | .cc.TRIG-alt::before { 965 | content: "\E0EC"; 966 | } 967 | 968 | .cc.TRIG::before { 969 | content: "\E0ED"; 970 | } 971 | 972 | .cc.TX-alt::before { 973 | content: "\E0EE"; 974 | } 975 | 976 | .cc.TX::before { 977 | content: "\E0EF"; 978 | } 979 | 980 | .cc.UBQ-alt::before { 981 | content: "\E0F0"; 982 | } 983 | 984 | .cc.UBQ::before { 985 | content: "\E0F1"; 986 | } 987 | 988 | .cc.UNITY-alt::before { 989 | content: "\E0F2"; 990 | } 991 | 992 | .cc.UNITY::before { 993 | content: "\E0F3"; 994 | } 995 | 996 | .cc.USDT-alt::before { 997 | content: "\E0F4"; 998 | } 999 | 1000 | .cc.USDT::before { 1001 | content: "\E0F5"; 1002 | } 1003 | 1004 | .cc.VIOR-alt::before { 1005 | content: "\E0F6"; 1006 | } 1007 | 1008 | .cc.VIOR::before { 1009 | content: "\E0F7"; 1010 | } 1011 | 1012 | .cc.VNL-alt::before { 1013 | content: "\E0F8"; 1014 | } 1015 | 1016 | .cc.VNL::before { 1017 | content: "\E0F9"; 1018 | } 1019 | 1020 | .cc.VPN-alt::before { 1021 | content: "\E0FA"; 1022 | } 1023 | 1024 | .cc.VPN::before { 1025 | content: "\E0FB"; 1026 | } 1027 | 1028 | .cc.VRC-alt::before { 1029 | content: "\E0FC"; 1030 | } 1031 | 1032 | .cc.VRC::before { 1033 | content: "\E0FD"; 1034 | } 1035 | 1036 | .cc.VTC-alt::before { 1037 | content: "\E0FE"; 1038 | } 1039 | 1040 | .cc.VTC::before { 1041 | content: "\E0FF"; 1042 | } 1043 | 1044 | .cc.WAVES-alt::before { 1045 | content: "\E100"; 1046 | } 1047 | 1048 | .cc.WAVES::before { 1049 | content: "\E101"; 1050 | } 1051 | 1052 | .cc.XAI-alt::before { 1053 | content: "\E102"; 1054 | } 1055 | 1056 | .cc.XAI::before { 1057 | content: "\E103"; 1058 | } 1059 | 1060 | .cc.XBS-alt::before { 1061 | content: "\E104"; 1062 | } 1063 | 1064 | .cc.XBS::before { 1065 | content: "\E105"; 1066 | } 1067 | 1068 | .cc.XCP-alt::before { 1069 | content: "\E106"; 1070 | } 1071 | 1072 | .cc.XCP::before { 1073 | content: "\E107"; 1074 | } 1075 | 1076 | .cc.XEM-alt::before { 1077 | content: "\E108"; 1078 | } 1079 | 1080 | .cc.XEM::before { 1081 | content: "\E109"; 1082 | } 1083 | 1084 | .cc.XMR::before { 1085 | content: "\E10A"; 1086 | } 1087 | 1088 | .cc.XPM-alt::before { 1089 | content: "\E10B"; 1090 | } 1091 | 1092 | .cc.XPM::before { 1093 | content: "\E10C"; 1094 | } 1095 | 1096 | .cc.XRP-alt::before { 1097 | content: "\E10D"; 1098 | } 1099 | 1100 | .cc.XRP::before { 1101 | content: "\E10E"; 1102 | } 1103 | 1104 | .cc.XTZ-alt::before { 1105 | content: "\E10F"; 1106 | } 1107 | 1108 | .cc.XTZ::before { 1109 | content: "\E110"; 1110 | } 1111 | 1112 | .cc.XVG-alt::before { 1113 | content: "\E111"; 1114 | } 1115 | 1116 | .cc.XVG::before { 1117 | content: "\E112"; 1118 | } 1119 | 1120 | .cc.XZC-alt::before { 1121 | content: "\E113"; 1122 | } 1123 | 1124 | .cc.XZC::before { 1125 | content: "\E114"; 1126 | } 1127 | 1128 | .cc.YBC-alt::before { 1129 | content: "\E115"; 1130 | } 1131 | 1132 | .cc.YBC::before { 1133 | content: "\E116"; 1134 | } 1135 | 1136 | .cc.ZEC-alt::before { 1137 | content: "\E117"; 1138 | } 1139 | 1140 | .cc.ZEC::before { 1141 | content: "\E118"; 1142 | } 1143 | 1144 | .cc.ZEIT-alt::before { 1145 | content: "\E119"; 1146 | } 1147 | 1148 | .cc.ZEIT::before { 1149 | content: "\E11A"; 1150 | } -------------------------------------------------------------------------------- /static/custom.min.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | 4 | 5 | jQuery(document) 6 | .on("click", ".mega-menu", function(k) { 7 | k.stopPropagation(); 8 | }); 9 | 10 | ////////////////////////////// 11 | // Header Fixed 12 | ////////////////////////////// 13 | 14 | $(".header-fix .header") 15 | .stick_in_parent({}), 16 | $(".toggle-nav") 17 | .click(function() { 18 | $("body") 19 | .toggleClass("sidebar-show"), $(".toggle-nav i") 20 | .toggleClass("mdi mdi-menu"), 21 | $(".toggle-nav i") 22 | .addClass("mdi mdi-close"); 23 | }); 24 | 25 | 26 | 27 | 28 | ////////////////////////////// 29 | // Active Nav 30 | ////////////////////////////// 31 | 32 | 33 | $(function() { 34 | for (var k = window.location.href.split('?')[0].split('#')[0], o = $("ul#sidebar-menu a") 35 | .filter(function() { 36 | return this.href == k; 37 | }) 38 | .addClass("active") 39 | .parent() 40 | .addClass("active");;) { 41 | if (!o.is("li")) break; 42 | o = o.parent() 43 | .addClass("in") 44 | .parent() 45 | .addClass("active"); 46 | } 47 | }); 48 | 49 | 50 | ////////////////////////////// 51 | // Search Box 52 | ////////////////////////////// 53 | 54 | $(".search-box a, .search-box .app-search .srh-btn") 55 | .on("click", function() { 56 | $(".app-search") 57 | .slideToggle(200); 58 | }); 59 | 60 | 61 | ////////////////////////////// 62 | // Mini Sidebar 63 | ////////////////////////////// 64 | 65 | var k = function() { 66 | (window.innerWidth > 0 ? window.innerWidth : this.screen.width) < 1170 ? ($("body") 67 | .addClass("sidebar-mini"), 68 | $(".navbar-brand span") 69 | .hide(), $(".scroll-sidebar, .slimScroll") 70 | .css("overflow-x", "visible") 71 | .parent() 72 | .css("overflow", "visible"), 73 | $(".sidebartoggle i") 74 | .addClass("ti-menu")) : ($("body") 75 | .removeClass("sidebar-mini"), 76 | $(".navbar-brand span") 77 | .show()); 78 | var k = (window.innerHeight > 0 ? window.innerHeight : this.screen.height) - 1; 79 | (k -= 70) < 1 && (k = 1), k > 70 && $(".page-wrapper") 80 | .css("min-height", k + "px"); 81 | }; 82 | 83 | 84 | $(window) 85 | .ready(k), $(window) 86 | .on("resize", k), $(".sidebartoggle") 87 | .on("click", function() { 88 | $("body") 89 | .hasClass("sidebar-mini") ? ($("body") 90 | .trigger("resize"), $(".scroll-sidebar, .slimScroll") 91 | .css("overflow", "hidden") 92 | .parent() 93 | .css("overflow", "visible"), 94 | $("body") 95 | .removeClass("sidebar-mini"), $(".navbar-brand span") 96 | .show()) : ($("body") 97 | .trigger("resize"), 98 | $(".scroll-sidebar, .slimScroll") 99 | .css("overflow-x", "visible") 100 | .parent() 101 | .css("overflow", "visible"), 102 | $("body") 103 | .addClass("sidebar-mini"), $(".navbar-brand span") 104 | .hide()); 105 | }); 106 | 107 | 108 | 109 | 110 | ////////////////////////////// 111 | // Sidebar Menu 112 | ////////////////////////////// 113 | 114 | $(function() { 115 | $("#sidebar-menu") 116 | .metisMenu(); 117 | }); 118 | 119 | 120 | ////////////////////////////// 121 | // Slim Scroll 122 | ////////////////////////////// 123 | 124 | $(".scroll-sidebar") 125 | .slimScroll({ 126 | position: "left", 127 | size: "3px", 128 | height: "100%", 129 | color: "#F2F4F8" 130 | }); 131 | 132 | $(".header-notify") 133 | .slimScroll({ 134 | position: "right", 135 | size: "3px", 136 | color: "#F2F4F8" 137 | }); 138 | 139 | 140 | $(".trade-history-table") 141 | .slimScroll({ 142 | position: "right", 143 | size: "3px", 144 | color: "#999", 145 | height: "360", 146 | }); 147 | 148 | 149 | if ($('#webticker-dark-icons') 150 | .length) { 151 | $("#webticker-dark-icons") 152 | .webTicker({ 153 | height: 'auto', 154 | duplicate: true, 155 | startEmpty: false, 156 | rssfrequency: 5 157 | }); 158 | } 159 | }); -------------------------------------------------------------------------------- /static/dashboard1-init.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | 3 | 4 | //--Nested Pie echarts init--> 5 | 6 | var dom = document.getElementById("np-Pie"); 7 | var npChart = echarts.init(dom); 8 | 9 | var app = {}; 10 | option = null; 11 | option = { 12 | color: ['#62549a','#4aa9e9', '#ff6c60','#eac459', '#25c3b2', '#6BB18C', '#EBCB94', '#EF9688', '#043D5D', '#B8959B' ], 13 | tooltip : { 14 | trigger: 'item', 15 | formatter: '{a}
{b} : {c} ({d}%)' 16 | }, 17 | legend: { 18 | orient : 'vertical', 19 | x : 'left', 20 | data:['Direct','AD','Search','Mail','Affiliate','Video','Baidu','Google','Bing','Other'] 21 | }, 22 | calculable : false, 23 | series : [ 24 | { 25 | name:'Source', 26 | type:'pie', 27 | selectedMode: 'single', 28 | radius : [0, 50], 29 | 30 | // for funnel 31 | x: '20%', 32 | width: '40%', 33 | funnelAlign: 'right', 34 | max: 1548, 35 | 36 | itemStyle : { 37 | normal : { 38 | label : { 39 | position : 'inner' 40 | }, 41 | labelLine : { 42 | show : false 43 | } 44 | } 45 | }, 46 | data:[ 47 | {value:335, name:'Direct'}, 48 | {value:679, name:'AD'}, 49 | {value:1548, name:'Search', selected:true} 50 | ] 51 | }, 52 | { 53 | name:'Source', 54 | type:'pie', 55 | radius : [80, 100], 56 | 57 | // for funnel 58 | x: '60%', 59 | width: '35%', 60 | funnelAlign: 'left', 61 | max: 1048, 62 | 63 | data:[ 64 | {value:335, name:'Direct'}, 65 | {value:310, name:'Mail'}, 66 | {value:234, name:'Affiliate'}, 67 | {value:135, name:'Video'}, 68 | {value:1048, name:'Baidu'}, 69 | {value:251, name:'Google'}, 70 | {value:147, name:'Bing'}, 71 | {value:102, name:'Other'} 72 | ] 73 | } 74 | ] 75 | }; 76 | 77 | if (option && typeof option === "object") { 78 | npChart.setOption(option, false); 79 | } 80 | 81 | //--Rainfall and Evaporation echarts init--> 82 | 83 | var dom = document.getElementById("rainfall"); 84 | var rainChart = echarts.init(dom); 85 | 86 | var app = {}; 87 | option = null; 88 | option = { 89 | color: ['#4aa9e9','#67f3e4'], 90 | tooltip : { 91 | trigger: 'axis' 92 | }, 93 | legend: { 94 | data:['Sale','Market'] 95 | }, 96 | calculable : true, 97 | xAxis : [ 98 | { 99 | type : 'category', 100 | data : ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] 101 | } 102 | ], 103 | yAxis : [ 104 | { 105 | type : 'value' 106 | } 107 | ], 108 | series : [ 109 | { 110 | name:'Sale', 111 | type:'bar', 112 | data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3], 113 | markPoint : { 114 | data : [ 115 | {type : 'max', name: 'Max'}, 116 | {type : 'min', name: 'Min'} 117 | ] 118 | }, 119 | markLine : { 120 | data : [ 121 | {type : 'average', name: 'Average'} 122 | ] 123 | } 124 | }, 125 | { 126 | name:'Market', 127 | type:'bar', 128 | data:[2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3], 129 | markPoint : { 130 | data : [ 131 | {name : 'Max', value : 182.2, xAxis: 7, yAxis: 183, symbolSize:18}, 132 | {name : 'Min', value : 2.3, xAxis: 11, yAxis: 3} 133 | ] 134 | }, 135 | markLine : { 136 | data : [ 137 | {type : 'average', name : 'Average'} 138 | ] 139 | } 140 | } 141 | ] 142 | }; 143 | 144 | if (option && typeof option === "object") { 145 | rainChart.setOption(option, false); 146 | } 147 | 148 | /** 149 | * Resize chart on window resize 150 | * @return {void} 151 | */ 152 | window.onresize = function() { 153 | rainChart.resize(); 154 | npChart.resize(); 155 | }; 156 | 157 | 158 | }); 159 | -------------------------------------------------------------------------------- /static/datamap-init.js: -------------------------------------------------------------------------------- 1 | ( function ( $ ) { 2 | "use strict"; 3 | 4 | var map = new Datamap( { 5 | scope: 'world', 6 | element: document.getElementById( 'world-datamap' ), 7 | responsive: true, 8 | geographyConfig: { 9 | popupOnHover: false, 10 | highlightOnHover: false, 11 | borderColor: 'rgba(0,123,255,0.5)', 12 | borderWidth: 1, 13 | highlightBorderWidth: 3, 14 | highlightFillColor: 'rgba(0,123,255,0.5)', 15 | highlightBorderColor: 'rgba(255,255,255,0.1)', 16 | borderWidth: 1, 17 | }, 18 | bubblesConfig: { 19 | popupTemplate: function ( geography, data ) { 20 | return '
' + data.country + '' + data.sold + '
' 21 | }, 22 | borderWidth: 1, 23 | highlightBorderWidth: 3, 24 | highlightFillColor: 'rgba(0,123,255,0.5)', 25 | highlightBorderColor: 'rgba(255,255,255,0.1)', 26 | fillOpacity: 0.75 27 | }, 28 | fills: { 29 | 'Visited': '#f5f5f5', 30 | 'neato': 'rgba(0,123,255,1)', 31 | 'white': 'rgba(0,123,255,1)', 32 | defaultFill: 'transparent', 33 | } 34 | } ); 35 | 36 | 37 | map.bubbles( [ 38 | { 39 | centered: 'USA', 40 | fillKey: 'white', 41 | radius: 5, 42 | sold: '$500', 43 | country: 'United States' 44 | }, 45 | { 46 | centered: 'SAU', 47 | fillKey: 'white', 48 | radius: 5, 49 | sold: '$900', 50 | country: 'Saudia Arabia' 51 | }, 52 | { 53 | centered: 'RUS', 54 | fillKey: 'white', 55 | radius: 5, 56 | sold: '$250', 57 | country: 'Russia' 58 | }, 59 | { 60 | centered: 'CAN', 61 | fillKey: 'white', 62 | radius: 5, 63 | sold: '$1000', 64 | country: 'Canada' 65 | }, 66 | { 67 | centered: 'IND', 68 | fillKey: 'white', 69 | radius: 5, 70 | sold: '$50', 71 | country: 'India' 72 | }, 73 | { 74 | centered: 'AUS', 75 | fillKey: 'white', 76 | radius: 5, 77 | sold: '$700', 78 | country: 'Australia' 79 | }, 80 | { 81 | centered: 'BGD', 82 | fillKey: 'white', 83 | radius: 5, 84 | sold: '$1500', 85 | country: 'Bangladesh' 86 | } 87 | ] ) 88 | 89 | 90 | window.addEventListener( 'resize', function ( event ) { 91 | map.resize(); 92 | } ); 93 | 94 | } )( jQuery ); 95 | -------------------------------------------------------------------------------- /static/et-line-font.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'et-line'; 3 | src:url('fonts/et-line.eot'); 4 | src:url('fonts/et-line.eot?#iefix') format('embedded-opentype'), 5 | url('fonts/et-line.woff') format('woff'), 6 | url('fonts/et-line.ttf') format('truetype'), 7 | url('fonts/et-line.svg#et-line') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | /* Use the following CSS code if you want to use data attributes for inserting your icons */ 13 | [data-icon]:before { 14 | font-family: 'et-line'; 15 | content: attr(data-icon); 16 | speak: none; 17 | font-weight: normal; 18 | font-variant: normal; 19 | text-transform: none; 20 | line-height: 1; 21 | -webkit-font-smoothing: antialiased; 22 | -moz-osx-font-smoothing: grayscale; 23 | display:inline-block; 24 | } 25 | 26 | /* Use the following CSS code if you want to have a class per icon */ 27 | /* 28 | Instead of a list of all class selectors, 29 | you can use the generic selector below, but it's slower: 30 | [class*="icon-"] { 31 | */ 32 | .icon-mobile, .icon-laptop, .icon-desktop, .icon-tablet, .icon-phone, .icon-document, .icon-documents, .icon-search, .icon-clipboard, .icon-newspaper, .icon-notebook, .icon-book-open, .icon-browser, .icon-calendar, .icon-presentation, .icon-picture, .icon-pictures, .icon-video, .icon-camera, .icon-printer, .icon-toolbox, .icon-briefcase, .icon-wallet, .icon-gift, .icon-bargraph, .icon-grid, .icon-expand, .icon-focus, .icon-edit, .icon-adjustments, .icon-ribbon, .icon-hourglass, .icon-lock, .icon-megaphone, .icon-shield, .icon-trophy, .icon-flag, .icon-map, .icon-puzzle, .icon-basket, .icon-envelope, .icon-streetsign, .icon-telescope, .icon-gears, .icon-key, .icon-paperclip, .icon-attachment, .icon-pricetags, .icon-lightbulb, .icon-layers, .icon-pencil, .icon-tools, .icon-tools-2, .icon-scissors, .icon-paintbrush, .icon-magnifying-glass, .icon-circle-compass, .icon-linegraph, .icon-mic, .icon-strategy, .icon-beaker, .icon-caution, .icon-recycle, .icon-anchor, .icon-profile-male, .icon-profile-female, .icon-bike, .icon-wine, .icon-hotairballoon, .icon-globe, .icon-genius, .icon-map-pin, .icon-dial, .icon-chat, .icon-heart, .icon-cloud, .icon-upload, .icon-download, .icon-target, .icon-hazardous, .icon-piechart, .icon-speedometer, .icon-global, .icon-compass, .icon-lifesaver, .icon-clock, .icon-aperture, .icon-quote, .icon-scope, .icon-alarmclock, .icon-refresh, .icon-happy, .icon-sad, .icon-facebook, .icon-twitter, .icon-googleplus, .icon-rss, .icon-tumblr, .icon-linkedin, .icon-dribbble { 33 | font-family: 'et-line'; 34 | speak: none; 35 | font-style: normal; 36 | font-weight: normal; 37 | font-variant: normal; 38 | text-transform: none; 39 | line-height: 1; 40 | -webkit-font-smoothing: antialiased; 41 | -moz-osx-font-smoothing: grayscale; 42 | display:inline-block; 43 | } 44 | .icon-mobile:before { 45 | content: "\e000"; 46 | } 47 | .icon-laptop:before { 48 | content: "\e001"; 49 | } 50 | .icon-desktop:before { 51 | content: "\e002"; 52 | } 53 | .icon-tablet:before { 54 | content: "\e003"; 55 | } 56 | .icon-phone:before { 57 | content: "\e004"; 58 | } 59 | .icon-document:before { 60 | content: "\e005"; 61 | } 62 | .icon-documents:before { 63 | content: "\e006"; 64 | } 65 | .icon-search:before { 66 | content: "\e007"; 67 | } 68 | .icon-clipboard:before { 69 | content: "\e008"; 70 | } 71 | .icon-newspaper:before { 72 | content: "\e009"; 73 | } 74 | .icon-notebook:before { 75 | content: "\e00a"; 76 | } 77 | .icon-book-open:before { 78 | content: "\e00b"; 79 | } 80 | .icon-browser:before { 81 | content: "\e00c"; 82 | } 83 | .icon-calendar:before { 84 | content: "\e00d"; 85 | } 86 | .icon-presentation:before { 87 | content: "\e00e"; 88 | } 89 | .icon-picture:before { 90 | content: "\e00f"; 91 | } 92 | .icon-pictures:before { 93 | content: "\e010"; 94 | } 95 | .icon-video:before { 96 | content: "\e011"; 97 | } 98 | .icon-camera:before { 99 | content: "\e012"; 100 | } 101 | .icon-printer:before { 102 | content: "\e013"; 103 | } 104 | .icon-toolbox:before { 105 | content: "\e014"; 106 | } 107 | .icon-briefcase:before { 108 | content: "\e015"; 109 | } 110 | .icon-wallet:before { 111 | content: "\e016"; 112 | } 113 | .icon-gift:before { 114 | content: "\e017"; 115 | } 116 | .icon-bargraph:before { 117 | content: "\e018"; 118 | } 119 | .icon-grid:before { 120 | content: "\e019"; 121 | } 122 | .icon-expand:before { 123 | content: "\e01a"; 124 | } 125 | .icon-focus:before { 126 | content: "\e01b"; 127 | } 128 | .icon-edit:before { 129 | content: "\e01c"; 130 | } 131 | .icon-adjustments:before { 132 | content: "\e01d"; 133 | } 134 | .icon-ribbon:before { 135 | content: "\e01e"; 136 | } 137 | .icon-hourglass:before { 138 | content: "\e01f"; 139 | } 140 | .icon-lock:before { 141 | content: "\e020"; 142 | } 143 | .icon-megaphone:before { 144 | content: "\e021"; 145 | } 146 | .icon-shield:before { 147 | content: "\e022"; 148 | } 149 | .icon-trophy:before { 150 | content: "\e023"; 151 | } 152 | .icon-flag:before { 153 | content: "\e024"; 154 | } 155 | .icon-map:before { 156 | content: "\e025"; 157 | } 158 | .icon-puzzle:before { 159 | content: "\e026"; 160 | } 161 | .icon-basket:before { 162 | content: "\e027"; 163 | } 164 | .icon-envelope:before { 165 | content: "\e028"; 166 | } 167 | .icon-streetsign:before { 168 | content: "\e029"; 169 | } 170 | .icon-telescope:before { 171 | content: "\e02a"; 172 | } 173 | .icon-gears:before { 174 | content: "\e02b"; 175 | } 176 | .icon-key:before { 177 | content: "\e02c"; 178 | } 179 | .icon-paperclip:before { 180 | content: "\e02d"; 181 | } 182 | .icon-attachment:before { 183 | content: "\e02e"; 184 | } 185 | .icon-pricetags:before { 186 | content: "\e02f"; 187 | } 188 | .icon-lightbulb:before { 189 | content: "\e030"; 190 | } 191 | .icon-layers:before { 192 | content: "\e031"; 193 | } 194 | .icon-pencil:before { 195 | content: "\e032"; 196 | } 197 | .icon-tools:before { 198 | content: "\e033"; 199 | } 200 | .icon-tools-2:before { 201 | content: "\e034"; 202 | } 203 | .icon-scissors:before { 204 | content: "\e035"; 205 | } 206 | .icon-paintbrush:before { 207 | content: "\e036"; 208 | } 209 | .icon-magnifying-glass:before { 210 | content: "\e037"; 211 | } 212 | .icon-circle-compass:before { 213 | content: "\e038"; 214 | } 215 | .icon-linegraph:before { 216 | content: "\e039"; 217 | } 218 | .icon-mic:before { 219 | content: "\e03a"; 220 | } 221 | .icon-strategy:before { 222 | content: "\e03b"; 223 | } 224 | .icon-beaker:before { 225 | content: "\e03c"; 226 | } 227 | .icon-caution:before { 228 | content: "\e03d"; 229 | } 230 | .icon-recycle:before { 231 | content: "\e03e"; 232 | } 233 | .icon-anchor:before { 234 | content: "\e03f"; 235 | } 236 | .icon-profile-male:before { 237 | content: "\e040"; 238 | } 239 | .icon-profile-female:before { 240 | content: "\e041"; 241 | } 242 | .icon-bike:before { 243 | content: "\e042"; 244 | } 245 | .icon-wine:before { 246 | content: "\e043"; 247 | } 248 | .icon-hotairballoon:before { 249 | content: "\e044"; 250 | } 251 | .icon-globe:before { 252 | content: "\e045"; 253 | } 254 | .icon-genius:before { 255 | content: "\e046"; 256 | } 257 | .icon-map-pin:before { 258 | content: "\e047"; 259 | } 260 | .icon-dial:before { 261 | content: "\e048"; 262 | } 263 | .icon-chat:before { 264 | content: "\e049"; 265 | } 266 | .icon-heart:before { 267 | content: "\e04a"; 268 | } 269 | .icon-cloud:before { 270 | content: "\e04b"; 271 | } 272 | .icon-upload:before { 273 | content: "\e04c"; 274 | } 275 | .icon-download:before { 276 | content: "\e04d"; 277 | } 278 | .icon-target:before { 279 | content: "\e04e"; 280 | } 281 | .icon-hazardous:before { 282 | content: "\e04f"; 283 | } 284 | .icon-piechart:before { 285 | content: "\e050"; 286 | } 287 | .icon-speedometer:before { 288 | content: "\e051"; 289 | } 290 | .icon-global:before { 291 | content: "\e052"; 292 | } 293 | .icon-compass:before { 294 | content: "\e053"; 295 | } 296 | .icon-lifesaver:before { 297 | content: "\e054"; 298 | } 299 | .icon-clock:before { 300 | content: "\e055"; 301 | } 302 | .icon-aperture:before { 303 | content: "\e056"; 304 | } 305 | .icon-quote:before { 306 | content: "\e057"; 307 | } 308 | .icon-scope:before { 309 | content: "\e058"; 310 | } 311 | .icon-alarmclock:before { 312 | content: "\e059"; 313 | } 314 | .icon-refresh:before { 315 | content: "\e05a"; 316 | } 317 | .icon-happy:before { 318 | content: "\e05b"; 319 | } 320 | .icon-sad:before { 321 | content: "\e05c"; 322 | } 323 | .icon-facebook:before { 324 | content: "\e05d"; 325 | } 326 | .icon-twitter:before { 327 | content: "\e05e"; 328 | } 329 | .icon-googleplus:before { 330 | content: "\e05f"; 331 | } 332 | .icon-rss:before { 333 | content: "\e060"; 334 | } 335 | .icon-tumblr:before { 336 | content: "\e061"; 337 | } 338 | .icon-linkedin:before { 339 | content: "\e062"; 340 | } 341 | .icon-dribbble:before { 342 | content: "\e063"; 343 | } 344 | -------------------------------------------------------------------------------- /static/flag-icon.min.css: -------------------------------------------------------------------------------- 1 | .flag-icon-background{background-repeat:no-repeat;background-position:50%;-webkit-background-size:contain;background-size:contain}.flag-icon{position:relative;display:inline-block;width:1.33333333em;line-height:1em;background-repeat:no-repeat;background-position:50%;-webkit-background-size:contain;background-size:contain}.flag-icon:before{content:"\00a0"}.dropdown-menu .flag-icon{margin-right:5px}.flag-icon-ad{background-image:url(flags/ad.svg)}.flag-icon-ae{background-image:url(flags/ae.svg)}.flag-icon-af{background-image:url(flags/af.svg)}.flag-icon-ag{background-image:url(flags/ag.svg)}.flag-icon-ai{background-image:url(flags/ai.svg)}.flag-icon-al{background-image:url(flags/al.svg)}.flag-icon-am{background-image:url(flags/am.svg)}.flag-icon-ao{background-image:url(flags/ao.svg)}.flag-icon-aq{background-image:url(flags/aq.svg)}.flag-icon-ar{background-image:url(flags/ar.svg)}.flag-icon-as{background-image:url(flags/as.svg)}.flag-icon-at{background-image:url(flags/at.svg)}.flag-icon-au{background-image:url(flags/au.svg)}.flag-icon-aw{background-image:url(flags/aw.svg)}.flag-icon-ax{background-image:url(flags/ax.svg)}.flag-icon-az{background-image:url(flags/az.svg)}.flag-icon-ba{background-image:url(flags/ba.svg)}.flag-icon-bb{background-image:url(flags/bb.svg)}.flag-icon-bd{background-image:url(flags/bd.svg)}.flag-icon-be{background-image:url(flags/be.svg)}.flag-icon-bf{background-image:url(flags/bf.svg)}.flag-icon-bg{background-image:url(flags/bg.svg)}.flag-icon-bh{background-image:url(flags/bh.svg)}.flag-icon-bi{background-image:url(flags/bi.svg)}.flag-icon-bj{background-image:url(flags/bj.svg)}.flag-icon-bl{background-image:url(flags/bl.svg)}.flag-icon-bm{background-image:url(flags/bm.svg)}.flag-icon-bn{background-image:url(flags/bn.svg)}.flag-icon-bo{background-image:url(flags/bo.svg)}.flag-icon-bq{background-image:url(flags/bq.svg)}.flag-icon-br{background-image:url(flags/br.svg)}.flag-icon-bs{background-image:url(flags/bs.svg)}.flag-icon-bt{background-image:url(flags/bt.svg)}.flag-icon-bv{background-image:url(flags/bv.svg)}.flag-icon-bw{background-image:url(flags/bw.svg)}.flag-icon-by{background-image:url(flags/by.svg)}.flag-icon-bz{background-image:url(flags/bz.svg)}.flag-icon-ca{background-image:url(flags/ca.svg)}.flag-icon-cc{background-image:url(flags/cc.svg)}.flag-icon-cd{background-image:url(flags/cd.svg)}.flag-icon-cf{background-image:url(flags/cf.svg)}.flag-icon-cg{background-image:url(flags/cg.svg)}.flag-icon-ch{background-image:url(flags/ch.svg)}.flag-icon-ci{background-image:url(flags/ci.svg)}.flag-icon-ck{background-image:url(flags/ck.svg)}.flag-icon-cl{background-image:url(flags/cl.svg)}.flag-icon-cm{background-image:url(flags/cm.svg)}.flag-icon-cn{background-image:url(flags/cn.svg)}.flag-icon-co{background-image:url(flags/co.svg)}.flag-icon-cr{background-image:url(flags/cr.svg)}.flag-icon-cu{background-image:url(flags/cu.svg)}.flag-icon-cv{background-image:url(flags/cv.svg)}.flag-icon-cw{background-image:url(flags/cw.svg)}.flag-icon-cx{background-image:url(flags/cx.svg)}.flag-icon-cy{background-image:url(flags/cy.svg)}.flag-icon-cz{background-image:url(flags/cz.svg)}.flag-icon-de{background-image:url(flags/de.svg)}.flag-icon-dj{background-image:url(flags/dj.svg)}.flag-icon-dk{background-image:url(flags/dk.svg)}.flag-icon-dm{background-image:url(flags/dm.svg)}.flag-icon-do{background-image:url(flags/do.svg)}.flag-icon-dz{background-image:url(flags/dz.svg)}.flag-icon-ec{background-image:url(flags/ec.svg)}.flag-icon-ee{background-image:url(flags/ee.svg)}.flag-icon-eg{background-image:url(flags/eg.svg)}.flag-icon-eh{background-image:url(flags/eh.svg)}.flag-icon-er{background-image:url(flags/er.svg)}.flag-icon-es{background-image:url(flags/es.svg)}.flag-icon-et{background-image:url(flags/et.svg)}.flag-icon-fi{background-image:url(flags/fi.svg)}.flag-icon-fj{background-image:url(flags/fj.svg)}.flag-icon-fk{background-image:url(flags/fk.svg)}.flag-icon-fm{background-image:url(flags/fm.svg)}.flag-icon-fo{background-image:url(flags/fo.svg)}.flag-icon-fr{background-image:url(flags/fr.svg)}.flag-icon-ga{background-image:url(flags/ga.svg)}.flag-icon-gb{background-image:url(flags/gb.svg)}.flag-icon-gd{background-image:url(flags/gd.svg)}.flag-icon-ge{background-image:url(flags/ge.svg)}.flag-icon-gf{background-image:url(flags/gf.svg)}.flag-icon-gg{background-image:url(flags/gg.svg)}.flag-icon-gh{background-image:url(flags/gh.svg)}.flag-icon-gi{background-image:url(flags/gi.svg)}.flag-icon-gl{background-image:url(flags/gl.svg)}.flag-icon-gm{background-image:url(flags/gm.svg)}.flag-icon-gn{background-image:url(flags/gn.svg)}.flag-icon-gp{background-image:url(flags/gp.svg)}.flag-icon-gq{background-image:url(flags/gq.svg)}.flag-icon-gr{background-image:url(flags/gr.svg)}.flag-icon-gs{background-image:url(flags/gs.svg)}.flag-icon-gt{background-image:url(flags/gt.svg)}.flag-icon-gu{background-image:url(flags/gu.svg)}.flag-icon-gw{background-image:url(flags/gw.svg)}.flag-icon-gy{background-image:url(flags/gy.svg)}.flag-icon-hk{background-image:url(flags/hk.svg)}.flag-icon-hm{background-image:url(flags/hm.svg)}.flag-icon-hn{background-image:url(flags/hn.svg)}.flag-icon-hr{background-image:url(flags/hr.svg)}.flag-icon-ht{background-image:url(flags/ht.svg)}.flag-icon-hu{background-image:url(flags/hu.svg)}.flag-icon-id{background-image:url(flags/id.svg)}.flag-icon-ie{background-image:url(flags/ie.svg)}.flag-icon-il{background-image:url(flags/il.svg)}.flag-icon-im{background-image:url(flags/im.svg)}.flag-icon-in{background-image:url(flags/in.svg)}.flag-icon-io{background-image:url(flags/io.svg)}.flag-icon-iq{background-image:url(flags/iq.svg)}.flag-icon-ir{background-image:url(flags/ir.svg)}.flag-icon-is{background-image:url(flags/is.svg)}.flag-icon-it{background-image:url(flags/it.svg)}.flag-icon-je{background-image:url(flags/je.svg)}.flag-icon-jm{background-image:url(flags/jm.svg)}.flag-icon-jo{background-image:url(flags/jo.svg)}.flag-icon-jp{background-image:url(flags/jp.svg)}.flag-icon-ke{background-image:url(flags/ke.svg)}.flag-icon-kg{background-image:url(flags/kg.svg)}.flag-icon-kh{background-image:url(flags/kh.svg)}.flag-icon-ki{background-image:url(flags/ki.svg)}.flag-icon-km{background-image:url(flags/km.svg)}.flag-icon-kn{background-image:url(flags/kn.svg)}.flag-icon-kp{background-image:url(flags/kp.svg)}.flag-icon-kr{background-image:url(flags/kr.svg)}.flag-icon-kw{background-image:url(flags/kw.svg)}.flag-icon-ky{background-image:url(flags/ky.svg)}.flag-icon-kz{background-image:url(flags/kz.svg)}.flag-icon-la{background-image:url(flags/la.svg)}.flag-icon-lb{background-image:url(flags/lb.svg)}.flag-icon-lc{background-image:url(flags/lc.svg)}.flag-icon-li{background-image:url(flags/li.svg)}.flag-icon-lk{background-image:url(flags/lk.svg)}.flag-icon-lr{background-image:url(flags/lr.svg)}.flag-icon-ls{background-image:url(flags/ls.svg)}.flag-icon-lt{background-image:url(flags/lt.svg)}.flag-icon-lu{background-image:url(flags/lu.svg)}.flag-icon-lv{background-image:url(flags/lv.svg)}.flag-icon-ly{background-image:url(flags/ly.svg)}.flag-icon-ma{background-image:url(flags/ma.svg)}.flag-icon-mc{background-image:url(flags/mc.svg)}.flag-icon-md{background-image:url(flags/md.svg)}.flag-icon-me{background-image:url(flags/me.svg)}.flag-icon-mf{background-image:url(flags/mf.svg)}.flag-icon-mg{background-image:url(flags/mg.svg)}.flag-icon-mh{background-image:url(flags/mh.svg)}.flag-icon-mk{background-image:url(flags/mk.svg)}.flag-icon-ml{background-image:url(flags/ml.svg)}.flag-icon-mm{background-image:url(flags/mm.svg)}.flag-icon-mn{background-image:url(flags/mn.svg)}.flag-icon-mo{background-image:url(flags/mo.svg)}.flag-icon-mp{background-image:url(flags/mp.svg)}.flag-icon-mq{background-image:url(flags/mq.svg)}.flag-icon-mr{background-image:url(flags/mr.svg)}.flag-icon-ms{background-image:url(flags/ms.svg)}.flag-icon-mt{background-image:url(flags/mt.svg)}.flag-icon-mu{background-image:url(flags/mu.svg)}.flag-icon-mv{background-image:url(flags/mv.svg)}.flag-icon-mw{background-image:url(flags/mw.svg)}.flag-icon-mx{background-image:url(flags/mx.svg)}.flag-icon-my{background-image:url(flags/my.svg)}.flag-icon-mz{background-image:url(flags/mz.svg)}.flag-icon-na{background-image:url(flags/na.svg)}.flag-icon-nc{background-image:url(flags/nc.svg)}.flag-icon-ne{background-image:url(flags/ne.svg)}.flag-icon-nf{background-image:url(flags/nf.svg)}.flag-icon-ng{background-image:url(flags/ng.svg)}.flag-icon-ni{background-image:url(flags/ni.svg)}.flag-icon-nl{background-image:url(flags/nl.svg)}.flag-icon-no{background-image:url(flags/no.svg)}.flag-icon-np{background-image:url(flags/np.svg)}.flag-icon-nr{background-image:url(flags/nr.svg)}.flag-icon-nu{background-image:url(flags/nu.svg)}.flag-icon-nz{background-image:url(flags/nz.svg)}.flag-icon-om{background-image:url(flags/om.svg)}.flag-icon-pa{background-image:url(flags/pa.svg)}.flag-icon-pe{background-image:url(flags/pe.svg)}.flag-icon-pf{background-image:url(flags/pf.svg)}.flag-icon-pg{background-image:url(flags/pg.svg)}.flag-icon-ph{background-image:url(flags/ph.svg)}.flag-icon-pk{background-image:url(flags/pk.svg)}.flag-icon-pl{background-image:url(flags/pl.svg)}.flag-icon-pm{background-image:url(flags/pm.svg)}.flag-icon-pn{background-image:url(flags/pn.svg)}.flag-icon-pr{background-image:url(flags/pr.svg)}.flag-icon-ps{background-image:url(flags/ps.svg)}.flag-icon-pt{background-image:url(flags/pt.svg)}.flag-icon-pw{background-image:url(flags/pw.svg)}.flag-icon-py{background-image:url(flags/py.svg)}.flag-icon-qa{background-image:url(flags/qa.svg)}.flag-icon-re{background-image:url(flags/re.svg)}.flag-icon-ro{background-image:url(flags/ro.svg)}.flag-icon-rs{background-image:url(flags/rs.svg)}.flag-icon-ru{background-image:url(flags/ru.svg)}.flag-icon-rw{background-image:url(flags/rw.svg)}.flag-icon-sa{background-image:url(flags/sa.svg)}.flag-icon-sb{background-image:url(flags/sb.svg)}.flag-icon-sc{background-image:url(flags/sc.svg)}.flag-icon-sd{background-image:url(flags/sd.svg)}.flag-icon-se{background-image:url(flags/se.svg)}.flag-icon-sg{background-image:url(flags/sg.svg)}.flag-icon-sh{background-image:url(flags/sh.svg)}.flag-icon-si{background-image:url(flags/si.svg)}.flag-icon-sj{background-image:url(flags/sj.svg)}.flag-icon-sk{background-image:url(flags/sk.svg)}.flag-icon-sl{background-image:url(flags/sl.svg)}.flag-icon-sm{background-image:url(flags/sm.svg)}.flag-icon-sn{background-image:url(flags/sn.svg)}.flag-icon-so{background-image:url(flags/so.svg)}.flag-icon-sr{background-image:url(flags/sr.svg)}.flag-icon-ss{background-image:url(flags/ss.svg)}.flag-icon-st{background-image:url(flags/st.svg)}.flag-icon-sv{background-image:url(flags/sv.svg)}.flag-icon-sx{background-image:url(flags/sx.svg)}.flag-icon-sy{background-image:url(flags/sy.svg)}.flag-icon-sz{background-image:url(flags/sz.svg)}.flag-icon-tc{background-image:url(flags/tc.svg)}.flag-icon-td{background-image:url(flags/td.svg)}.flag-icon-tf{background-image:url(flags/tf.svg)}.flag-icon-tg{background-image:url(flags/tg.svg)}.flag-icon-th{background-image:url(flags/th.svg)}.flag-icon-tj{background-image:url(flags/tj.svg)}.flag-icon-tk{background-image:url(flags/tk.svg)}.flag-icon-tl{background-image:url(flags/tl.svg)}.flag-icon-tm{background-image:url(flags/tm.svg)}.flag-icon-tn{background-image:url(flags/tn.svg)}.flag-icon-to{background-image:url(flags/to.svg)}.flag-icon-tr{background-image:url(flags/tr.svg)}.flag-icon-tt{background-image:url(flags/tt.svg)}.flag-icon-tv{background-image:url(flags/tv.svg)}.flag-icon-tw{background-image:url(flags/tw.svg)}.flag-icon-tz{background-image:url(flags/tz.svg)}.flag-icon-ua{background-image:url(flags/ua.svg)}.flag-icon-ug{background-image:url(flags/ug.svg)}.flag-icon-um{background-image:url(flags/um.svg)}.flag-icon-us{background-image:url(flags/us.svg)}.flag-icon-uy{background-image:url(flags/uy.svg)}.flag-icon-uz{background-image:url(flags/uz.svg)}.flag-icon-va{background-image:url(flags/va.svg)}.flag-icon-vc{background-image:url(flags/vc.svg)}.flag-icon-ve{background-image:url(flags/ve.svg)}.flag-icon-vg{background-image:url(flags/vg.svg)}.flag-icon-vi{background-image:url(flags/vi.svg)}.flag-icon-vn{background-image:url(flags/vn.svg)}.flag-icon-vu{background-image:url(flags/vu.svg)}.flag-icon-wf{background-image:url(flags/wf.svg)}.flag-icon-ws{background-image:url(flags/ws.svg)}.flag-icon-ye{background-image:url(flags/ye.svg)}.flag-icon-yt{background-image:url(flags/yt.svg)}.flag-icon-za{background-image:url(flags/za.svg)}.flag-icon-zm{background-image:url(flags/zm.svg)}.flag-icon-zw{background-image:url(flags/zw.svg)} -------------------------------------------------------------------------------- /static/fore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/fore.png -------------------------------------------------------------------------------- /static/inner-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/inner-bg.jpg -------------------------------------------------------------------------------- /static/jquery.simpleWeather.min.js: -------------------------------------------------------------------------------- 1 | /*! simpleWeather v3.1.0 - http://simpleweatherjs.com */ 2 | !function(t){"use strict";function e(t,e){return"f"===t?Math.round(5/9*(e-32)):Math.round(1.8*e+32)}t.extend({simpleWeather:function(i){i=t.extend({location:"",woeid:"",unit:"f",success:function(t){},error:function(t){}},i);var o=new Date,n="https://query.yahooapis.com/v1/public/yql?format=json&rnd="+o.getFullYear()+o.getMonth()+o.getDay()+o.getHours()+"&diagnostics=true&callback=?&q=";if(""!==i.location){var r="";r=/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/.test(i.location)?"("+i.location+")":i.location,n+='select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="'+r+'") and u="'+i.unit+'"'}else{if(""===i.woeid)return i.error("Could not retrieve weather due to an invalid location."),!1;n+="select * from weather.forecast where woeid="+i.woeid+' and u="'+i.unit+'"'}return t.getJSON(encodeURI(n),function(t){if(null!==t&&null!==t.query&&null!==t.query.results&&"Yahoo! Weather Error"!==t.query.results.channel.description){var o,n=t.query.results.channel,r={},s=["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW","N"],a="https://s.yimg.com/os/mit/media/m/weather/images/icons/l/44d-100567.png";r.title=n.item.title,r.temp=n.item.condition.temp,r.code=n.item.condition.code,r.todayCode=n.item.forecast[0].code,r.currently=n.item.condition.text,r.high=n.item.forecast[0].high,r.low=n.item.forecast[0].low,r.text=n.item.forecast[0].text,r.humidity=n.atmosphere.humidity,r.pressure=n.atmosphere.pressure,r.rising=n.atmosphere.rising,r.visibility=n.atmosphere.visibility,r.sunrise=n.astronomy.sunrise,r.sunset=n.astronomy.sunset,r.description=n.item.description,r.city=n.location.city,r.country=n.location.country,r.region=n.location.region,r.updated=n.item.pubDate,r.link=n.item.link,r.units={temp:n.units.temperature,distance:n.units.distance,pressure:n.units.pressure,speed:n.units.speed},r.wind={chill:n.wind.chill,direction:s[Math.round(n.wind.direction/22.5)],speed:n.wind.speed},n.item.condition.temp<80&&n.atmosphere.humidity<40?r.heatindex=-42.379+2.04901523*n.item.condition.temp+10.14333127*n.atmosphere.humidity-.22475541*n.item.condition.temp*n.atmosphere.humidity-6.83783*Math.pow(10,-3)*Math.pow(n.item.condition.temp,2)-5.481717*Math.pow(10,-2)*Math.pow(n.atmosphere.humidity,2)+1.22874*Math.pow(10,-3)*Math.pow(n.item.condition.temp,2)*n.atmosphere.humidity+8.5282*Math.pow(10,-4)*n.item.condition.temp*Math.pow(n.atmosphere.humidity,2)-1.99*Math.pow(10,-6)*Math.pow(n.item.condition.temp,2)*Math.pow(n.atmosphere.humidity,2):r.heatindex=n.item.condition.temp,"3200"==n.item.condition.code?(r.thumbnail=a,r.image=a):(r.thumbnail="https://s.yimg.com/zz/combo?a/i/us/nws/weather/gr/"+n.item.condition.code+"ds.png",r.image="https://s.yimg.com/zz/combo?a/i/us/nws/weather/gr/"+n.item.condition.code+"d.png"),r.alt={temp:e(i.unit,n.item.condition.temp),high:e(i.unit,n.item.forecast[0].high),low:e(i.unit,n.item.forecast[0].low)},"f"===i.unit?r.alt.unit="c":r.alt.unit="f",r.forecast=[];for(var m=0;m0?Math.ceil(o):Math.floor(o),R.css({top:o+"px"})),v=parseInt(R.css("top"))/(x.outerHeight()-R.outerHeight()),o=v*(x[0].scrollHeight-x.outerHeight()),i){o=e;var a=o/x[0].scrollHeight*x.outerHeight();a=Math.min(Math.max(a,0),r),R.css({top:a+"px"})}x.scrollTop(o),x.trigger("slimscrolling",~~o),n(),c()}function a(e){window.addEventListener?(e.addEventListener("DOMMouseScroll",o,!1),e.addEventListener("mousewheel",o,!1)):document.attachEvent("onmousewheel",o)}function l(){f=Math.max(x.outerHeight()/x[0].scrollHeight*x.outerHeight(),m),R.css({height:f+"px"});var e=f==x.outerHeight()?"none":"block";R.css({display:e})}function n(){if(l(),clearTimeout(p),v==~~v){if(y=s.allowPageScroll,b!=v){var e=0==~~v?"top":"bottom";x.trigger("slimscroll",e)}}else y=!1;return b=v,f>=x.outerHeight()?void(y=!0):(R.stop(!0,!0).fadeIn("fast"),void(s.railVisible&&E.stop(!0,!0).fadeIn("fast")))}function c(){s.alwaysVisible||(p=setTimeout(function(){s.disableFadeOut&&h||u||d||(R.fadeOut("slow"),E.fadeOut("slow"))},1e3))}var h,u,d,p,g,f,v,b,w="
",m=30,y=!1,x=e(this);if(x.parent().hasClass(s.wrapperClass)){var C=x.scrollTop();if(R=x.closest("."+s.barClass),E=x.closest("."+s.railClass),l(),e.isPlainObject(i)){if("height"in i&&"auto"==i.height){x.parent().css("height","auto"),x.css("height","auto");var H=x.parent().parent().height();x.parent().css("height",H),x.css("height",H)}if("scrollTo"in i)C=parseInt(s.scrollTo);else if("scrollBy"in i)C+=parseInt(s.scrollBy);else if("destroy"in i)return R.remove(),E.remove(),void x.unwrap();r(C,!1,!0)}}else if(!(e.isPlainObject(i)&&"destroy"in i)){s.height="auto"==s.height?x.parent().height():s.height;var S=e(w).addClass(s.wrapperClass).css({position:"relative",overflow:"hidden",width:s.width,height:s.height});x.css({overflow:"hidden",width:s.width,height:s.height});var E=e(w).addClass(s.railClass).css({width:s.size,height:"100%",position:"absolute",top:0,display:s.alwaysVisible&&s.railVisible?"block":"none","border-radius":s.railBorderRadius,background:s.railColor,opacity:s.railOpacity,zIndex:90}),R=e(w).addClass(s.barClass).css({background:s.color,width:s.size,position:"absolute",top:0,opacity:s.opacity,display:s.alwaysVisible?"block":"none","border-radius":s.borderRadius,BorderRadius:s.borderRadius,MozBorderRadius:s.borderRadius,WebkitBorderRadius:s.borderRadius,zIndex:99}),D="right"==s.position?{right:s.distance}:{left:s.distance};E.css(D),R.css(D),x.wrap(S),x.parent().append(R),x.parent().append(E),s.railDraggable&&R.bind("mousedown",function(i){var o=e(document);return d=!0,t=parseFloat(R.css("top")),pageY=i.pageY,o.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,R.css("top",currTop),r(0,R.position().top,!1)}),o.bind("mouseup.slimscroll",function(e){d=!1,c(),o.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(e){return e.stopPropagation(),e.preventDefault(),!1}),E.hover(function(){n()},function(){c()}),R.hover(function(){u=!0},function(){u=!1}),x.hover(function(){h=!0,n(),c()},function(){h=!1,c()}),x.bind("touchstart",function(e,t){e.originalEvent.touches.length&&(g=e.originalEvent.touches[0].pageY)}),x.bind("touchmove",function(e){if(y||e.originalEvent.preventDefault(),e.originalEvent.touches.length){var t=(g-e.originalEvent.touches[0].pageY)/s.touchScrollStep;r(t,!0),g=e.originalEvent.touches[0].pageY}}),l(),"bottom"===s.start?(R.css({top:x.outerHeight()-R.outerHeight()}),r(0,!0)):"top"!==s.start&&(r(e(s.start).position().top,null,!0),s.alwaysVisible||R.hide()),a(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery); 2 | 3 | -------------------------------------------------------------------------------- /static/logo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/logo-2.png -------------------------------------------------------------------------------- /static/logo-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/logo-3.png -------------------------------------------------------------------------------- /static/logo-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/logo-4.png -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/logo.png -------------------------------------------------------------------------------- /static/logotile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/logotile.png -------------------------------------------------------------------------------- /static/main.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Theme Name: GoldCoin - bitcoin cryptocurrency HTML Template 4 | * File name: main.js 5 | * Theme URL: http://www.kamric.com/Goldcoin 6 | * Description: GoldCoin - bitcoin cryptocurrency HTML Template 7 | * Version: 1.0 8 | */ 9 | 10 | 11 | 12 | /*------------------------------------------*/ 13 | /* 14 | /*Nav Scroll Fix 15 | /* 16 | /*------------------------------------------*/ 17 | $(window).on('scroll', function() { 18 | if ($(window).scrollTop() > 40) { 19 | $("nav.transparrent-bg").css({ 20 | 'background-color': '#fff', 'border-bottom': '1px solid #eee' 21 | } 22 | ); 23 | $("nav.transparrent-bg .menuzord-menu > li > a").css({ 24 | 'padding-top': '40px', 'color': '#333' 25 | } 26 | ); 27 | $("nav.transparrent-bg .menuzord-brand").css({ 28 | 'margin-top': '6px', 29 | } 30 | ); 31 | $("nav.transparrent-bg .right_mp_menu > ul > li > a").css({ 32 | 'padding-top': '40px', 'color': '#333' 33 | } 34 | ); 35 | $("nav.navbar-fixed-top").addClass("nav_border"); 36 | $(".changeable").attr("src", "img/logo.png"); 37 | } 38 | else { 39 | $("nav.transparrent-bg").css({ 40 | 'background-color': 'transparent', 'border': '1px solid transparent' 41 | } 42 | ); 43 | $("nav.transparrent-bg .menuzord-menu > li > a").css({ 44 | 'padding-top': '40px', 'color': '#fff' 45 | } 46 | ); 47 | $("nav.transparrent-bg .menuzord-brand").css({ 48 | 'margin-top': '6px', 49 | } 50 | ); 51 | $("nav.transparrent-bg .right_mp_menu > ul > li > a").css({ 52 | 'padding-top': '40px', 'color': '#fff' 53 | } 54 | ); 55 | $("nav.navbar-fixed-top").removeClass("nav_border"); 56 | $(".changeable").attr("src", "img/logo-2.png"); 57 | } 58 | } 59 | ); 60 | /*------------------------------------------*/ 61 | /* 62 | /*Menu 63 | /* 64 | /*------------------------------------------*/ 65 | $("#menuzord").menuzord({ 66 | align: "right", scrollable: true 67 | } 68 | ); 69 | /*------------------------------------------*/ 70 | /* 71 | /*. loader 72 | /* 73 | /*------------------------------------------*/ 74 | $("#loader").fadeOut("slow", function() { 75 | $("#preloader").delay(300).fadeOut("slow") 76 | } 77 | ) 78 | 79 | /*------------------------------------------*/ 80 | /* 81 | /*. Team 82 | /* 83 | /*------------------------------------------*/ 84 | $('.team-carousel').owlCarousel({ 85 | navigation: true, navigationText: [ '', '' ], items: 3, itemsDesktop: [1024, 3], itemsDesktopSmall: [991, 3], itemsTablet: [768, 2], itemsMobile: [480, 1], pagination: false, autoPlay: true 86 | } 87 | ); 88 | /*------------------------------------------*/ 89 | /* 90 | /*. clients 91 | /* 92 | /*------------------------------------------*/ 93 | $("#clients").owlCarousel({ 94 | autoPlay: 3000, items: 5, itemsDesktop: [1200, 4], itemsDesktopSmall: [991, 3], itemsTablet: [768, 2], itemsMobile: [480, 1], slideSpeed: 900, navigation: false, pagination: false, 95 | } 96 | ); 97 | /*------------------------------------------*/ 98 | /* 99 | /*. full-heigh banner 100 | /* 101 | /*------------------------------------------*/ 102 | $(".full-height").height($(window).height()), $(window).on("resize", function() { 103 | $(".full-height").height($(window).height()) 104 | } 105 | ) 106 | /*------------------------------------------*/ 107 | /* 108 | /*. CounterUp 109 | /* 110 | /*------------------------------------------*/ 111 | if ($("span.count").length > 0) { 112 | $('span.count').counterUp({ 113 | delay: 10, // the delay time in ms time: 1000 // the speed time in ms 114 | } 115 | ); 116 | } 117 | /*------------------------------------------*/ 118 | /* 119 | /*. Go to top 120 | /* 121 | /*------------------------------------------*/ 122 | if ($('#back-to-top').length) { 123 | var scrollTrigger = 100, backToTop = function() { 124 | var scrollTop = $(window).scrollTop(); 125 | if (scrollTop > scrollTrigger) { 126 | $('#back-to-top').addClass('show'); 127 | } 128 | else { 129 | $('#back-to-top').removeClass('show'); 130 | } 131 | } 132 | ; 133 | backToTop(); 134 | $(window).on('scroll', function() { 135 | backToTop(); 136 | } 137 | ); 138 | $('#back-to-top').on('click', function(e) { 139 | e.preventDefault(); 140 | $('html,body').animate({ 141 | scrollTop: 0 142 | } 143 | , 900); 144 | } 145 | ); 146 | } 147 | 148 | /*------------------------------------------*/ 149 | /* 150 | /*. prettyphoto Lightbox 151 | /* 152 | /*------------------------------------------*/ 153 | $("a[class^='work']").prettyPhoto(); 154 | // JavaScript Document // JavaScript Document// JavaScript Document -------------------------------------------------------------------------------- /static/menuzord.css: -------------------------------------------------------------------------------- 1 | /* 2 | Item name: Menuzord - Responsive Megamenu 3 | Author: marcoarib - marco.arib@gmail.com 4 | License: http://codecanyon.net/licenses 5 | */ 6 | 7 | /* 8 | CONTENTS: 9 | 10 | 1 - MENU CONTAINER 11 | - Scrollable menu 12 | 2 - BRAND 13 | 3 - MENU 14 | - Right alignment 15 | - Menu items 16 | - Active/hover state 17 | 4 - DROPDOWN 18 | - Dropdown items 19 | - Hover state 20 | - Dropdown left alignment 21 | 5 - DROPDOWN/MEGAMENU INDICATORS 22 | 6 - MEGAMENU 23 | 7 - MEGAMENU WIDTHS 24 | - Half width 25 | - Quarter width 26 | 8 - GRID SYSTEM 27 | 9 - SHOW/HIDE BUTTON (MOBILE MODE) 28 | - Icon 29 | 10 - ICONS (parent menu items) 30 | 11 - SEARCH FIELD 31 | - Form 32 | - Input 33 | 12 - VERTICAL TABS 34 | 13 - COLOR SCHEMES 35 | 14 - MOBILE MODE (RESPONSIVE MODE) 36 | - Menu container 37 | - Brand 38 | - Show/hide button 39 | - Menu 40 | - Dropdown 41 | - Dropdown items 42 | - Dropdown/megamenu indicators 43 | - Megamenu 44 | - Search field 45 | */ 46 | 47 | /* FONT 48 | ======================================*/ 49 | @import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700); 50 | 51 | 52 | /* 1 - MENU CONTAINER 53 | ======================================*/ 54 | .menuzord, 55 | .menuzord *{ 56 | font-family: 'Open Sans', sans-serif; 57 | box-sizing:border-box; 58 | -moz-box-sizing:border-box; 59 | -webkit-box-sizing:border-box; 60 | } 61 | .menuzord{ 62 | width: 100%; 63 | padding: 0 30px; 64 | float: left; 65 | position: relative; 66 | background: #fff; 67 | } 68 | .menuzord a{ 69 | -o-transition: color .3s linear, background .3s linear; 70 | -moz-transition: color .3s linear, background .3s linear; 71 | -webkit-transition: color .3s linear, background .3s linear; 72 | transition: color .3s linear, background .3s linear; 73 | } 74 | /* scrollable menu */ 75 | .menuzord-menu.scrollable > .scrollable-fix{ 76 | display: none; 77 | } 78 | 79 | /* 2 - BRAND 80 | ======================================*/ 81 | .menuzord-brand{ 82 | margin: 18px 30px 0 0; 83 | float: left; 84 | color: #666; 85 | text-decoration: none; 86 | font-size: 24px; 87 | font-weight: 600; 88 | line-height: 1.3; 89 | cursor: pointer; 90 | } 91 | 92 | /* 3 - MENU 93 | ======================================*/ 94 | .menuzord-menu{ 95 | margin: 0; 96 | padding: 0; 97 | float: left; 98 | list-style: none; 99 | } 100 | /* Right alignment */ 101 | .menuzord-menu.menuzord-right{ 102 | float: right; 103 | } 104 | /* Menu items */ 105 | .menuzord-menu > li{ 106 | display: inline-block; 107 | float: left; 108 | } 109 | .menuzord-menu > li > a{ 110 | padding: 26px 16px; 111 | display: inline-block; 112 | text-decoration: none; 113 | font-size: 14px; 114 | font-weight: 600; 115 | color: #888; 116 | outline: 0; 117 | line-height: 1.42857143; 118 | -webkit-tap-highlight-color: rgba(0,0,0,0); 119 | -webkit-tap-highlight-color: transparent; 120 | } 121 | /* Active/hover state (Menu items) */ 122 | .menuzord-menu > li.active > a, 123 | .menuzord-menu > li:hover > a{ 124 | color: #333; 125 | } 126 | 127 | /* 4 - DROPDOWN 128 | ======================================*/ 129 | .menuzord-menu ul.dropdown, 130 | .menuzord-menu ul.dropdown li ul.dropdown{ 131 | list-style: none; 132 | margin: 0; 133 | padding: 0; 134 | display: none; 135 | position: absolute; 136 | z-index: 99; 137 | min-width: 180px; 138 | white-space: nowrap; 139 | background: #fff; 140 | } 141 | .menuzord-menu ul.dropdown li ul.dropdown{ 142 | left: 100%; 143 | } 144 | /* Dropdown items */ 145 | .menuzord-menu ul.dropdown li{ 146 | clear: both; 147 | width: 100%; 148 | border: 0 none; 149 | font-size: 12px; 150 | position: relative; 151 | } 152 | .menuzord-menu ul.dropdown li a{ 153 | width: 100%; 154 | background: none; 155 | padding: 10px 25px 10px 22px; 156 | color: #888; 157 | text-decoration: none; 158 | display: inline-block; 159 | float: left; 160 | clear: both; 161 | position: relative; 162 | outline: 0; 163 | -o-transition: padding .2s linear; 164 | -moz-transition: padding .2s linear; 165 | -webkit-transition: padding .2s linear; 166 | transition: padding .2s linear; 167 | } 168 | /* Hover state (dropdown items) */ 169 | .menuzord-menu ul.dropdown li:hover > a{ 170 | 171 | 172 | } 173 | 174 | /* Dropdown left alignment */ 175 | .menuzord-menu ul.dropdown.dropdown-left{ 176 | left: none; 177 | } 178 | .menuzord-menu ul.dropdown li ul.dropdown.dropdown-left{ 179 | left: -100%; 180 | } 181 | 182 | /* 5 - DROPDOWN/MEGAMENU INDICATORS 183 | ======================================*/ 184 | .menuzord-menu li .indicator{ 185 | margin-left: 3px; 186 | } 187 | .menuzord-menu li ul.dropdown li .indicator{ 188 | position: absolute; 189 | top: 8px; 190 | right: 10px; 191 | font-size: 15px; 192 | } 193 | 194 | /* 6 - MEGAMENU 195 | ======================================*/ 196 | .menuzord-menu > li > .megamenu{ 197 | width: 100%; 198 | padding: 20px 30px; 199 | left: 0; 200 | position: absolute; 201 | display: none; 202 | z-index: 99; 203 | border-top: solid 1px #f0f0f0; 204 | background: #fff; 205 | } 206 | 207 | /* 7 - MEGAMENU WIDTHS 208 | ======================================*/ 209 | /* Half width */ 210 | .menuzord-menu > li > .megamenu.megamenu-half-width{ 211 | width: 50%; 212 | left: auto; 213 | } 214 | /* Quarter width */ 215 | .menuzord-menu > li > .megamenu.megamenu-quarter-width{ 216 | width: 25%; 217 | left: auto; 218 | } 219 | 220 | /* 8 - GRID SYSTEM 221 | ======================================*/ 222 | .menuzord-menu > li > .megamenu .megamenu-row{ 223 | width: 100%; 224 | margin-top: 15px; 225 | } 226 | .menuzord-menu > li > .megamenu .megamenu-row:first-child { 227 | margin-top: 0; 228 | } 229 | .menuzord-menu > li > .megamenu .megamenu-row:before, 230 | .menuzord-menu > li > .megamenu .megamenu-row:after { 231 | display: table; 232 | content: ""; 233 | line-height: 0; 234 | } 235 | .menuzord-menu > li > .megamenu .megamenu-row:after { 236 | clear: both; 237 | } 238 | .menuzord-menu > li > .megamenu .megamenu-row .col1, 239 | .menuzord-menu > li > .megamenu .megamenu-row .col2, 240 | .menuzord-menu > li > .megamenu .megamenu-row .col3, 241 | .menuzord-menu > li > .megamenu .megamenu-row .col4, 242 | .menuzord-menu > li > .megamenu .megamenu-row .col5, 243 | .menuzord-menu > li > .megamenu .megamenu-row .col6, 244 | .menuzord-menu > li > .megamenu .megamenu-row .col7, 245 | .menuzord-menu > li > .megamenu .megamenu-row .col8, 246 | .menuzord-menu > li > .megamenu .megamenu-row .col9, 247 | .menuzord-menu > li > .megamenu .megamenu-row .col10, 248 | .menuzord-menu > li > .megamenu .megamenu-row .col11, 249 | .menuzord-menu > li > .megamenu .megamenu-row .col12{ 250 | display: block; 251 | min-height: 20px; 252 | float: left; 253 | margin-left: 3%; 254 | } 255 | .menuzord-menu > li > .megamenu .megamenu-row [class*="col"]:first-child { 256 | margin-left: 0; 257 | } 258 | .menuzord-menu > li > .megamenu .megamenu-row .col1{ 259 | width: 5.583333333333%; 260 | } 261 | .menuzord-menu > li > .megamenu .megamenu-row .col2{ 262 | width: 14.166666666666%; 263 | } 264 | .menuzord-menu > li > .megamenu .megamenu-row .col3{ 265 | width: 22.75%; 266 | } 267 | .menuzord-menu > li > .megamenu .megamenu-row .col4{ 268 | width: 31.333333333333%; 269 | } 270 | .menuzord-menu > li > .megamenu .megamenu-row .col5{ 271 | width: 39.916666666667%; 272 | } 273 | .menuzord-menu > li > .megamenu .megamenu-row .col6{ 274 | width: 48.5%; 275 | } 276 | .menuzord-menu > li > .megamenu .megamenu-row .col7{ 277 | width: 57.083333333333%; 278 | } 279 | .menuzord-menu > li > .megamenu .megamenu-row .col8{ 280 | width: 65.666666666667%; 281 | } 282 | .menuzord-menu > li > .megamenu .megamenu-row .col9{ 283 | width: 74.25%; 284 | } 285 | .menuzord-menu > li > .megamenu .megamenu-row .col10{ 286 | width: 82.833333333334%; 287 | } 288 | .menuzord-menu > li > .megamenu .megamenu-row .col11{ 289 | width: 91.416666666667%; 290 | } 291 | .menuzord-menu > li > .megamenu .megamenu-row .col12{ 292 | width: 100%; 293 | } 294 | 295 | /* 9 - SHOW/HIDE BUTTON (MOBILE MODE) 296 | ======================================*/ 297 | .menuzord .showhide{ 298 | width: 60px; 299 | height: 46px; 300 | padding: 13px 0 0; 301 | display: none; 302 | float: right; 303 | text-decoration: none; 304 | outline: none; 305 | -webkit-tap-highlight-color: rgba(0,0,0,0); 306 | -webkit-tap-highlight-color: transparent; 307 | } 308 | /* Show/hide button icon */ 309 | .menuzord .showhide em{ 310 | width: 25px; 311 | height: 4px; 312 | margin: 5.5px 20px 0; 313 | float: right; 314 | background: #AFAFAF; 315 | } 316 | 317 | /* 10 - ICONS (parent menu items) 318 | ======================================*/ 319 | .menuzord-menu > li > a > i{ 320 | margin: 0 5px 0 0; 321 | font-size: 18px; 322 | float: left; 323 | line-height: 20px; 324 | font-family: 'FontAwesome'; 325 | } 326 | 327 | /* 11 - SEARCH FIELD 328 | ======================================*/ 329 | /* Form */ 330 | .menuzord-menu > li.search form{ 331 | float: left; 332 | padding: 22px 16px 17px; 333 | } 334 | /* Input */ 335 | .menuzord-menu > li.search form input[type="text"]{ 336 | width: 160px; 337 | padding: 5px 10px; 338 | font-family: 'Open Sans', sans-serif; 339 | border: none; 340 | background: #f0f0f0; 341 | border-radius: 2px; 342 | outline: 0; 343 | -o-transition: width 1s ease-out; 344 | -moz-transition: width 1s ease-out; 345 | -webkit-transition: width 1s ease-out; 346 | transition: width 1s ease-out; 347 | } 348 | .menuzord-menu > li.search form:hover input[type="text"]{ 349 | width: 160px; 350 | } 351 | 352 | /* 12 - VERTICAL TABS 353 | ======================================*/ 354 | .menuzord-tabs{ 355 | width: 100%; 356 | float: left; 357 | } 358 | .menuzord-tabs-nav{ 359 | width: 20%; 360 | margin: 0; 361 | padding: 0; 362 | float: left; 363 | list-style: none; 364 | } 365 | .menuzord-tabs-nav > li > a{ 366 | width: 100%; 367 | padding: 7px 16px; 368 | float: left; 369 | font-size: 13px; 370 | text-decoration: none; 371 | color: #666; 372 | border: solid 1px #f0f0f0; 373 | outline: 0; 374 | } 375 | .menuzord-tabs-nav li.active a, 376 | .menuzord-tabs-nav li:hover a{ 377 | background: #f0f0f0; 378 | } 379 | .menuzord-tabs-content{ 380 | width: 80%; 381 | min-height: 30px; 382 | padding: 20px; 383 | float: right; 384 | display: none; 385 | font-size: 13px; 386 | border: solid 1px #f0f0f0; 387 | } 388 | .menuzord-tabs-content.active{ 389 | display: block; 390 | } 391 | 392 | /* 13 - COLOR SCHEMES 393 | ======================================*/ 394 | /* blue */ 395 | .menuzord.blue .menuzord-menu > li.active > a, 396 | .menuzord.blue .menuzord-menu > li:hover > a, 397 | .menuzord.blue .menuzord-menu ul.dropdown li:hover > a{ 398 | color: #4A89DC; 399 | } 400 | /* green */ 401 | .menuzord.green .menuzord-menu > li.active > a, 402 | .menuzord.green .menuzord-menu > li:hover > a, 403 | .menuzord.green .menuzord-menu ul.dropdown li:hover > a{ 404 | color: #37BC9B; 405 | } 406 | /* red */ 407 | .menuzord.red .menuzord-menu > li.active > a, 408 | .menuzord.red .menuzord-menu > li:hover > a, 409 | .menuzord.red .menuzord-menu ul.dropdown li:hover > a{ 410 | color: #E9573F; 411 | } 412 | /* orange */ 413 | .menuzord.orange .menuzord-menu > li.active > a, 414 | .menuzord.orange .menuzord-menu > li:hover > a, 415 | .menuzord.orange .menuzord-menu ul.dropdown li:hover > a{ 416 | color: #ff670f; 417 | } 418 | /* yellow */ 419 | .menuzord.yellow .menuzord-menu > li.active > a, 420 | .menuzord.yellow .menuzord-menu > li:hover > a, 421 | .menuzord.yellow .menuzord-menu ul.dropdown li:hover > a{ 422 | color: #F6BB42; 423 | } 424 | /* purple */ 425 | .menuzord.purple .menuzord-menu > li.active > a, 426 | .menuzord.purple .menuzord-menu > li:hover > a, 427 | .menuzord.purple .menuzord-menu ul.dropdown li:hover > a{ 428 | color: #967ADC; 429 | } 430 | /* pink */ 431 | .menuzord.pink .menuzord-menu > li.active > a, 432 | .menuzord.pink .menuzord-menu > li:hover > a, 433 | .menuzord.pink .menuzord-menu ul.dropdown li:hover > a{ 434 | color: #D770AD; 435 | } 436 | 437 | /* 14 - MOBILE MODE (RESPONSIVE MODE) 438 | ======================================*/ 439 | @media (max-width: 768px){ 440 | /* Responsive menu container */ 441 | .menuzord-responsive.menuzord{ 442 | padding: 0; 443 | } 444 | 445 | /* Brand */ 446 | .menuzord-responsive .menuzord-brand{ 447 | margin: 8px 30px 10px 20px; 448 | font-size: 20px; 449 | line-height: 1.55; 450 | } 451 | 452 | /* Show/hide button */ 453 | .menuzord-responsive .showhide{ 454 | margin: 0; 455 | } 456 | 457 | /* Menu */ 458 | .menuzord-responsive .menuzord-menu{ 459 | width: 100%; 460 | float: left !important; 461 | } 462 | /* scrollable menu*/ 463 | .menuzord-responsive .menuzord-menu.scrollable{ 464 | overflow-y: auto; 465 | -webkit-overflow-scrolling: touch; 466 | } 467 | .menuzord-responsive .menuzord-menu.scrollable > .scrollable-fix{ 468 | display: block; 469 | } 470 | 471 | /* Menu items */ 472 | .menuzord-responsive .menuzord-menu > li{ 473 | width: 100%; 474 | display: block; 475 | position: relative; 476 | } 477 | .menuzord-responsive .menuzord-menu > li > a{ 478 | width: 100%; 479 | padding: 12px 20px!important; 480 | display: block; 481 | border-bottom: solid 1px #f0f0f0; 482 | background:#fff; 483 | color:#000!important; 484 | } 485 | .menuzord-responsive .menuzord-menu > li:first-child > a{ 486 | border-top: solid 1px #f0f0f0; 487 | } 488 | 489 | /* Dropdown */ 490 | .menuzord-responsive .menuzord-menu ul.dropdown, 491 | .menuzord-responsive .menuzord-menu ul.dropdown li ul.dropdown{ 492 | width: 100%; 493 | left: 0; 494 | position: static; 495 | border: none; 496 | background: #fff; 497 | float: left; 498 | } 499 | 500 | /* Dropdown items */ 501 | .menuzord-responsive .menuzord-menu ul.dropdown li{ 502 | position: relative; 503 | } 504 | .menuzord-responsive .menuzord-menu ul.dropdown li a{ 505 | border-bottom: solid 1px #f0f0f0; 506 | } 507 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > a{ padding-left: 40px !important; } 508 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > ul.dropdown > li > a{ padding-left: 60px !important; } 509 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > ul.dropdown > li > ul.dropdown > li > a{ padding-left: 80px !important; } 510 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li:hover > a{ padding-left: 50px !important; } 511 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > ul.dropdown > li:hover > a{ padding-left: 70px !important; } 512 | .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > ul.dropdown > li > ul.dropdown > li:hover > a{ padding-left: 90px !important; } 513 | 514 | /* Dropdown/megamenu indicators */ 515 | .menuzord-responsive .menuzord-menu li .indicator{ 516 | width: 60px; 517 | height: 45px; 518 | position: absolute; 519 | right: 0; 520 | top: 0; 521 | font-size: 22px; 522 | text-align: center; 523 | line-height: 43px; 524 | border-left: solid 1px #f5f5f5; 525 | } 526 | .menuzord-responsive .menuzord-menu li ul.dropdown li .indicator{ 527 | height: 38px; 528 | right: 0; 529 | top: 0; 530 | font-size: 18px; 531 | line-height: 36px; 532 | } 533 | 534 | /* Megamenu */ 535 | .menuzord-responsive .menuzord-menu > li > .megamenu{ 536 | width: 100% !important; 537 | left: 0 !important; 538 | position: static; 539 | border-top: none; 540 | border-bottom: solid 1px #f0f0f0; 541 | } 542 | .menuzord-responsive .menuzord-menu > li > .megamenu .megamenu-row [class*="col"]{ 543 | float: none; 544 | display: block; 545 | width: 100% !important; 546 | margin-left: 0; 547 | margin-top: 15px; 548 | } 549 | .menuzord-responsive .menuzord-menu > li > .megamenu .megamenu-row:first-child [class*="col"]:first-child { 550 | margin-top: 0; 551 | background:#fff; 552 | } 553 | .menuzord-responsive .menuzord-menu > li > .megamenu .megamenu-row{ 554 | margin-top: 0; 555 | background:#fff; 556 | } 557 | 558 | /* Search field */ 559 | .menuzord-responsive .menuzord-menu > li.search form{ 560 | width: 100%; 561 | margin: 4px 0; 562 | padding: 10px 16px !important; 563 | } 564 | .menuzord-responsive .menuzord-menu > li.search form input[type="text"]{ 565 | width: 100%; 566 | } 567 | 568 | /* Tabs */ 569 | .menuzord-responsive .menuzord-tabs-nav{ 570 | width: 100%; 571 | } 572 | .menuzord-responsive .menuzord-tabs-content{ 573 | width: 100%; 574 | } 575 | } 576 | 577 | -------------------------------------------------------------------------------- /static/menuzord.js: -------------------------------------------------------------------------------- 1 | /* 2 | Item name: Menuzord - Responsive Megamenu 3 | Item Url: http://codecanyon.net/item/menuzord-responsive-megamenu/8536398 4 | Author: marcoarib - marco.arib@gmail.com 5 | License: http://codecanyon.net/licenses 6 | */ 7 | 8 | (function($){ 9 | 10 | jQuery.fn.menuzord = function(options){ 11 | var settings; 12 | $.extend( settings = { 13 | showSpeed: 300, 14 | hideSpeed: 300, 15 | trigger: "hover", 16 | showDelay: 0, 17 | hideDelay: 0, 18 | effect: "fade", 19 | align: "left", 20 | responsive: true, 21 | animation: "none", 22 | indentChildren: true, 23 | indicatorFirstLevel: '', 24 | indicatorSecondLevel: '', 25 | scrollable: true, 26 | scrollableMaxHeight: 400 27 | }, options); 28 | 29 | // variables 30 | var menu_container = $(this); 31 | var menu = $(menu_container).children(".menuzord-menu"); 32 | var menu_li = $(menu).find("li"); 33 | var showHideButton; 34 | var mobileWidthBase = 768; 35 | var bigScreenFlag = 2000; // a number greater than "mobileWidthBase" 36 | var smallScreenFlag = 200; // a number less than "mobileWidthBase" 37 | 38 | // dropdown/megamenu indicators 39 | $(menu).children("li").children("a").each(function(){ 40 | if($(this).siblings(".dropdown, .megamenu").length > 0){ 41 | $(this).append("" + settings.indicatorFirstLevel + ""); 42 | } 43 | }); 44 | $(menu).find(".dropdown").children("li").children("a").each(function(){ 45 | if($(this).siblings(".dropdown").length > 0){ 46 | $(this).append("" + settings.indicatorSecondLevel + ""); 47 | } 48 | }); 49 | 50 | // navigation alignment 51 | if(settings.align == "right"){ 52 | $(menu).addClass("menuzord-right"); 53 | } 54 | 55 | // dropdown indentation (mobile mode) 56 | if(settings.indentChildren){ 57 | $(menu).addClass("menuzord-indented"); 58 | } 59 | 60 | // responsive behavior 61 | if(settings.responsive){ 62 | $(menu_container).addClass("menuzord-responsive").prepend(""); 63 | showHideButton = $(menu_container).children(".showhide"); 64 | } 65 | 66 | // scrollable menu 67 | if(settings.scrollable){ 68 | if(settings.responsive){ 69 | $(menu).css("max-height", settings.scrollableMaxHeight).addClass("scrollable").append("
  • "); 70 | } 71 | } 72 | 73 | // shows a dropdown 74 | function showDropdown(item){ 75 | if(settings.effect == "fade") 76 | $(item).children(".dropdown, .megamenu").stop(true, true).delay(settings.showDelay).fadeIn(settings.showSpeed).addClass(settings.animation); 77 | else 78 | $(item).children(".dropdown, .megamenu").stop(true, true).delay(settings.showDelay).slideDown(settings.showSpeed).addClass(settings.animation); 79 | } 80 | 81 | // hides a dropdown 82 | function hideDropdown(item){ 83 | if(settings.effect == "fade") 84 | $(item).children(".dropdown, .megamenu").stop(true, true).delay(settings.hideDelay).fadeOut(settings.hideSpeed).removeClass(settings.animation); 85 | else 86 | $(item).children(".dropdown, .megamenu").stop(true, true).delay(settings.hideDelay).slideUp(settings.hideSpeed).removeClass(settings.animation); 87 | $(item).children(".dropdown, .megamenu").find(".dropdown, .megamenu").stop(true, true).delay(settings.hideDelay).fadeOut(settings.hideSpeed); 88 | } 89 | 90 | // landscape mode 91 | function landscapeMode(){ 92 | $(menu).find(".dropdown, .megamenu").hide(0); 93 | if(navigator.userAgent.match(/Mobi/i) || window.navigator.msMaxTouchPoints > 0 || settings.trigger == "click"){ 94 | $(".menuzord-menu > li > a, .menuzord-menu ul.dropdown li a").bind("click touchstart", function(e){ 95 | e.stopPropagation(); 96 | e.preventDefault(); 97 | $(this).parent("li").siblings("li").find(".dropdown, .megamenu").stop(true, true).fadeOut(300); 98 | if($(this).siblings(".dropdown, .megamenu").css("display") == "none"){ 99 | showDropdown($(this).parent("li")); 100 | return false; 101 | } 102 | else{ 103 | hideDropdown($(this).parent("li")); 104 | } 105 | window.location.href = $(this).attr("href"); 106 | }); 107 | $(document).bind("click.menu touchstart.menu", function(ev){ 108 | if($(ev.target).closest(".menuzord").length == 0){ 109 | $(".menuzord-menu").find(".dropdown, .megamenu").fadeOut(300); 110 | } 111 | }); 112 | } 113 | else{ 114 | $(menu_li).bind("mouseenter", function(){ 115 | showDropdown(this); 116 | }).bind("mouseleave", function(){ 117 | hideDropdown(this); 118 | }); 119 | } 120 | } 121 | 122 | // portrait mode 123 | function portraitMode(){ 124 | $(menu).find(".dropdown, .megamenu").hide(0); 125 | $(menu).find(".indicator").each(function(){ 126 | if($(this).parent("a").siblings(".dropdown, .megamenu").length > 0){ 127 | $(this).bind("click", function(e){ 128 | $(menu).scrollTo({top: 45, left: 0}, 600); 129 | if($(this).parent().prop("tagName") == "A"){ 130 | e.preventDefault(); 131 | } 132 | if($(this).parent("a").siblings(".dropdown, .megamenu").css("display") == "none"){ 133 | $(this).parent("a").siblings(".dropdown, .megamenu").delay(settings.showDelay).slideDown(settings.showSpeed); 134 | $(this).parent("a").parent("li").siblings("li").find(".dropdown, .megamenu").slideUp(settings.hideSpeed); 135 | } 136 | else{ 137 | $(this).parent("a").siblings(".dropdown, .megamenu").slideUp(settings.hideSpeed); 138 | } 139 | }); 140 | } 141 | }); 142 | } 143 | 144 | // Fix the submenu on the right side 145 | function fixSubmenuRight(){ 146 | var submenus = $(menu).children("li").children(".dropdown, .megamenu"); 147 | if($(window).innerWidth() > mobileWidthBase){ 148 | var menu_width = $(menu_container).outerWidth(true); 149 | for(var i = 0; i < submenus.length; i++){ 150 | if($(submenus[i]).parent("li").position().left + $(submenus[i]).outerWidth() > menu_width){ 151 | $(submenus[i]).css("right", 0); 152 | } 153 | else{ 154 | if(menu_width == $(submenus[i]).outerWidth() || (menu_width - $(submenus[i]).outerWidth()) < 20){ 155 | $(submenus[i]).css("left", 0); 156 | } 157 | if($(submenus[i]).parent("li").position().left + $(submenus[i]).outerWidth() < menu_width){ 158 | $(submenus[i]).css("right", "auto"); 159 | } 160 | } 161 | } 162 | } 163 | } 164 | 165 | // show the bar to show/hide menu items on mobile 166 | function showMobileBar(){ 167 | $(menu).hide(0); 168 | $(showHideButton).show(0).click(function(){ 169 | if($(menu).css("display") == "none") 170 | $(menu).slideDown(settings.showSpeed); 171 | else 172 | $(menu).slideUp(settings.hideSpeed).find(".dropdown, .megamenu").hide(settings.hideSpeed); 173 | }); 174 | } 175 | 176 | // hide the bar to show/hide menu items on mobile 177 | function hideMobileBar(){ 178 | $(menu).show(0); 179 | $(showHideButton).hide(0); 180 | } 181 | 182 | // unbind events 183 | function unbindEvents(){ 184 | $(menu_container).find("li, a").unbind(); 185 | $(document).unbind("click.menu touchstart.menu"); 186 | } 187 | 188 | // Menuzord tabs 189 | function menuTabs(){ 190 | function startTab(tab){ 191 | var TabNavs = $(tab).find(".menuzord-tabs-nav > li"); 192 | var TabContents = $(tab).find(".menuzord-tabs-content"); 193 | $(TabNavs).bind("click touchstart", function(e){ 194 | e.stopPropagation(); 195 | e.preventDefault(); 196 | $(TabNavs).removeClass("active"); 197 | $(this).addClass("active"); 198 | $(TabContents).hide(0); 199 | $(TabContents[$(this).index()]).show(0); 200 | }); 201 | } 202 | if($(menu).find(".menuzord-tabs").length > 0){ 203 | var menuTabs = $(menu).find(".menuzord-tabs"); 204 | for(var i = 0; i < menuTabs.length; i++){ 205 | startTab(menuTabs[i]); 206 | } 207 | } 208 | } 209 | 210 | // return window's width 211 | function windowWidth(){ 212 | return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; 213 | } 214 | 215 | // navigation start function 216 | function startMenu(){ 217 | fixSubmenuRight(); 218 | if(windowWidth() <= mobileWidthBase && bigScreenFlag > mobileWidthBase){ 219 | unbindEvents(); 220 | if(settings.responsive){ 221 | showMobileBar(); 222 | portraitMode(); 223 | } 224 | else{ 225 | landscapeMode(); 226 | } 227 | } 228 | if(windowWidth() > mobileWidthBase && smallScreenFlag <= mobileWidthBase){ 229 | unbindEvents(); 230 | hideMobileBar(); 231 | landscapeMode(); 232 | } 233 | bigScreenFlag = windowWidth(); 234 | smallScreenFlag = windowWidth(); 235 | menuTabs(); 236 | /* IE8 fix */ 237 | if(/MSIE (\d+\.\d+);/.test(navigator.userAgent) && windowWidth() < mobileWidthBase){ 238 | var ieversion = new Number(RegExp.$1); 239 | if(ieversion == 8){ 240 | $(showHideButton).hide(0); 241 | $(menu).show(0); 242 | unbindEvents(); 243 | landscapeMode(); 244 | } 245 | } 246 | } 247 | 248 | startMenu(); 249 | $(window).resize(function(){ 250 | startMenu(); 251 | fixSubmenuRight(); 252 | }); 253 | 254 | } 255 | }(jQuery)); 256 | 257 | /** 258 | * jquery.scrollTo 259 | * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com 260 | * Licensed under MIT 261 | * @author Ariel Flesler 262 | * @version 1.4.13 263 | */ 264 | 265 | (function(k){'use strict';k(['jquery'],function($){var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(h.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key]}});animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})}}).end()};j.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||typeof a=='object'?a:{top:a,left:a}}return j})}(typeof define==='function'&&define.amd?define:function(a,b){if(typeof module!=='undefined'&&module.exports){module.exports=b(require('jquery'))}else{b(jQuery)}})); -------------------------------------------------------------------------------- /static/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/no.png -------------------------------------------------------------------------------- /static/owl.carousel-init.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | "use strict"; 3 | 4 | $('.testimonial-widget-one .owl-carousel').owlCarousel({ 5 | singleItem: true, 6 | loop: true, 7 | autoplay: true, 8 | // rtl: true, 9 | autoplayTimeout: 2500, 10 | autoplayHoverPause: true, 11 | margin: 10, 12 | nav: false, 13 | dots: false, 14 | responsive: { 15 | 0: { 16 | items: 1 17 | }, 18 | 600: { 19 | items: 1 20 | }, 21 | 1000: { 22 | items: 1 23 | } 24 | } 25 | }) 26 | 27 | 28 | $('.statistic-slider .owl-carousel').owlCarousel({ 29 | autoplay: false, 30 | autoplayTimeout: 5000, 31 | autoplayHoverPause: false, 32 | loop: true, 33 | margin: 15, 34 | nav: false, 35 | dots: false, 36 | responsive: { 37 | 0: { 38 | items: 1 39 | }, 40 | 600: { 41 | items: 3 42 | }, 43 | 1000: { 44 | items: 4 45 | } 46 | } 47 | }) 48 | 49 | 50 | 51 | 52 | })(jQuery); -------------------------------------------------------------------------------- /static/owl.carousel.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Core Owl Carousel CSS File 3 | * v1.3.2 4 | */ 5 | 6 | /* clearfix */ 7 | .owl-carousel .owl-wrapper:after { 8 | content: "."; 9 | display: block; 10 | clear: both; 11 | visibility: hidden; 12 | line-height: 0; 13 | height: 0; 14 | } 15 | /* display none until init */ 16 | .owl-carousel{ 17 | display: none; 18 | position: relative; 19 | width: 100%; 20 | -ms-touch-action: pan-y; 21 | margin:55px 0 55px 0; 22 | } 23 | .owl-carousel .owl-wrapper{ 24 | display: none; 25 | position: relative; 26 | -webkit-transform: translate3d(0px, 0px, 0px); 27 | } 28 | .owl-carousel .owl-wrapper-outer{ 29 | overflow: hidden; 30 | position: relative; 31 | width: 100%; 32 | } 33 | .owl-carousel .owl-wrapper-outer.autoHeight{ 34 | -webkit-transition: height 500ms ease-in-out; 35 | -moz-transition: height 500ms ease-in-out; 36 | -ms-transition: height 500ms ease-in-out; 37 | -o-transition: height 500ms ease-in-out; 38 | transition: height 500ms ease-in-out; 39 | } 40 | 41 | .owl-carousel .owl-item{ 42 | float: left; 43 | } 44 | .owl-controls .owl-page, 45 | .owl-controls .owl-buttons div{ 46 | cursor: pointer; 47 | } 48 | .owl-controls { 49 | -webkit-user-select: none; 50 | -khtml-user-select: none; 51 | -moz-user-select: none; 52 | -ms-user-select: none; 53 | user-select: none; 54 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 55 | } 56 | 57 | /* mouse grab icon */ 58 | .grabbing { 59 | cursor:url(grabbing.png) 8 8, move; 60 | } 61 | 62 | /* fix */ 63 | .owl-carousel .owl-wrapper, 64 | .owl-carousel .owl-item{ 65 | -webkit-backface-visibility: hidden; 66 | -moz-backface-visibility: hidden; 67 | -ms-backface-visibility: hidden; 68 | -webkit-transform: translate3d(0,0,0); 69 | -moz-transform: translate3d(0,0,0); 70 | -ms-transform: translate3d(0,0,0); 71 | } 72 | 73 | -------------------------------------------------------------------------------- /static/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.0 3 | * Copyright 2013-2016 David Deutsch 4 | * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE) 5 | */ 6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:-webkit-transform .1s ease;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transform:scale(1.3,1.3);-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} -------------------------------------------------------------------------------- /static/owl.theme.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.0 3 | * Copyright 2013-2016 David Deutsch 4 | * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE) 5 | */ 6 | .owl-theme .owl-dots, .owl-theme .owl-nav { 7 | text-align:center; 8 | -webkit-tap-highlight-color:transparent 9 | } 10 | .owl-theme .owl-nav { 11 | margin-top:10px 12 | } 13 | 14 | 15 | .owl-theme .owl-nav .disabled { 16 | opacity:.5; 17 | cursor: e-resize; 18 | } 19 | .owl-theme .owl-nav.disabled+.owl-dots { 20 | margin-top:50px 21 | } 22 | .owl-theme .owl-dots .owl-dot { 23 | display:inline-block; 24 | zoom:1 25 | } 26 | .owl-theme .owl-dots .owl-dot span { 27 | width:5px; 28 | height:25px; 29 | margin:5px 7px; 30 | background:#999; 31 | display:block; 32 | -webkit-backface-visibility:visible; 33 | transition:opacity .2s ease; 34 | border-radius:30px 35 | } 36 | .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { 37 | background:#f99800 38 | } 39 | -------------------------------------------------------------------------------- /static/owl.theme.default.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.0 3 | * Copyright 2013-2016 David Deutsch 4 | * Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE) 5 | */ 6 | .owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791} -------------------------------------------------------------------------------- /static/popper.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) Federico Zivolo 2017 3 | Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). 4 | */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=window.getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e||-1!==['HTML','BODY','#document'].indexOf(e.nodeName))return window.document.body;var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll)/.test(r+s+p)?e:n(o(e))}function r(e){var o=e&&e.offsetParent,i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===t(o,'position')?r(o):o:window.document.documentElement}function p(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||r(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return window.document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(n,0);var f=a.commonAncestorContainer;if(e!==f&&t!==f||i.contains(n))return p(f)?f:r(f);var l=s(e);return l.host?d(l.host,t):d(e,s(t).host)}function a(e){var t=1=o.clientWidth&&i>=o.clientHeight}),f=0i[e]&&!t.escapeWithReference&&(n=z(p[o],i[e]-('right'===e?p.width:p.height))),pe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';p=se({},p,s[t](e))}),e.offsets.popper=p,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=V,p=-1!==['top','bottom'].indexOf(n),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(i[s])&&(e.offsets.popper[d]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var o=t.element;if('string'==typeof o){if(o=e.instance.popper.querySelector(o),!o)return e;}else if(!e.instance.popper.contains(o))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,r=n.popper,p=n.reference,s=-1!==['left','right'].indexOf(i),d=s?'height':'width',a=s?'top':'left',f=s?'left':'top',l=s?'bottom':'right',m=O(o)[d];p[l]-mr[l]&&(e.offsets.popper[a]+=p[a]+m-r[l]);var h=p[a]+p[d]/2-m/2,g=h-c(e.offsets.popper)[a];return g=_(z(r[d]-m,g),0),e.arrowElement=o,e.offsets.arrow={},e.offsets.arrow[a]=Math.round(g),e.offsets.arrow[f]='',e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split('-')[0],n=L(i),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case fe.FLIP:p=[i,n];break;case fe.CLOCKWISE:p=K(i);break;case fe.COUNTERCLOCKWISE:p=K(i,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(i!==s||p.length===d+1)return e;i=e.placement.split('-')[0],n=L(i);var a=e.offsets.popper,f=e.offsets.reference,l=V,m='left'===i&&l(a.right)>l(f.left)||'right'===i&&l(a.left)l(f.top)||'bottom'===i&&l(a.top)l(o.right),g=l(a.top)l(o.bottom),b='left'===i&&h||'right'===i&&c||'top'===i&&g||'bottom'===i&&u,y=-1!==['top','bottom'].indexOf(i),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(i=p[d+1]),w&&(r=j(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=se({},e.offsets.popper,S(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[p?'left':'top']=r[t]-(s?n[p?'width':'height']:0),e.placement=L(t),e.offsets.popper=c(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=T(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.right li > a{ font-size:13px;} 45 | .header-text h1{ font-size:50px;} 46 | .content-v h1{ margin-top:-100px;} 47 | .header-text p{ font-size:10px;} 48 | 49 | } 50 | 51 | /*------------------------------------------*/ 52 | /* Max Width "900px" 53 | /*------------------------------------------*/ 54 | 55 | @media (max-width:800px) { 56 | 57 | .navbar-header{ text-align:center; float:none} 58 | .navbar-brand{ display:inline-block; float:none; text-align:center;} 59 | .navbar-right{ float:none; width:100%; text-align:center; } 60 | .navbar-nav{ float:none;} 61 | .navbar-nav > li{ display:inline-block; float:none; text-align:center;} 62 | .navbar-nav > li > a{ padding:13px 7px;} 63 | .feature-box{ width:98%; margin-bottom: -15px;} 64 | .feature-content img{ margin-top:0px; background-image:none; display:none; margin:0px; padding:0px;} 65 | .feature-icon-left-more .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 66 | .feature-icon-left-more .feature-icon i.fa { float: left; } 67 | .feature-icon-left-more-app .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 68 | .feature-icon-left-more-app .feature-icon i.fa { float:left; font-size:28px; color:#000; margin:50px 0 0 0; height:55px; width:55px; padding:14px 0 0 0; border-radius:10%; border:1px solid #000; } 69 | .navbar-nav > li > a{ font-size:9px;} 70 | .intro-heading{ font-size:25px;} 71 | .data table td, .data table th{ padding:7px;} 72 | .btn-t{ padding:2px; font-size:12px; display:block;} 73 | .data table th{ font-size:12px;} 74 | #owl-slider .item .slider-info{ width:49%;} 75 | .header-text p{ font-size:8px;} 76 | #owl-slider .item .slider-info h5{ font-size:10px;} 77 | #owl-slider .item .slider-info p{ font-size:9px;} 78 | #owl-slider .item .slider-info h1{ font-size:35px;} 79 | .content-v h1{ font-size:30px;} 80 | .content-v h1{ margin-top:-90px;} 81 | .top-heading{ font-size:20px;} 82 | .hero .hero-content .hero-subtitle{ letter-spacing:2px;} 83 | 84 | 85 | } 86 | /*------------------------------------------*/ 87 | /* Max Width "768px" 88 | /*------------------------------------------*/ 89 | @media (max-width: 768px) { 90 | .navbar-nav > li > a{ font-size:12px; } 91 | .section-title h2, .section-title.center h2{ font-size:35px; line-height: normal;} 92 | .main-para{ font-size:25px;} 93 | .feature-content img{ margin-top:0px; background-image:none; display:none; margin:0px; padding:0px;} 94 | .feature-box{ width:98%; margin-bottom:15px; margin-top:-16px} 95 | .top-btn-c{ font-size:20px; margin-bottom:25px;} 96 | .join-us .carousel h1, .offer p{ font-size:30px;} 97 | .nav-tabs > li > a{ font-size:15px; padding:20px; width:100%;} 98 | .accordion-inner h4 { margin-top: 10px;} 99 | .tab-wrap .media .pull-left{ clear: both; width: 100%; } 100 | .tab-wrap .media .media-body{ clear: both; } 101 | .nav-tabs > li.active > a:after{ display: none; } 102 | .parrent pull-left{ width:100%;} 103 | .header .intro-text .intro-heading{ font-size:25px;} 104 | .feature-icon-left-more-app .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 105 | .feature-icon-left-more-app .feature-icon i.fa { float:left; font-size:28px; color:#000; margin:50px 0 0 0; height:55px; width:55px; padding:14px 0 0 0; border-radius:10%; border:1px solid #000; } 106 | .intro-text .intro-heading{ font-size:30px;} 107 | .o-demos{ font-size:30px;} 108 | .intro-heading-s{ font-size:18px;} 109 | .intro-text .intro-lead-in{ font-size:13px;} 110 | #intro-bg{ padding:120px 0 150px 0;} 111 | #more-demos{ padding:60px 0 60px 0;} 112 | header .intro-text .intro-heading {font-size:35px;} 113 | .feature-icon-left-more .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 114 | .feature-icon-left-more .feature-icon i.fa { float: left; } 115 | .list-demos{ font-size:13px;} 116 | .skill{ width:100%;} 117 | p.para{ font-size:16px;} 118 | .about-heading{ margin-top:1px;} 119 | .feature-box h4{ font-size:18px;} 120 | #awesome-features{ padding:70px 0 70px 0;} 121 | #Portfolio{ padding:70px 0 70px 0;} 122 | #services-icon{padding:70px 0 70px 0;} 123 | #Pricing{padding:70px 0 70px 0;} 124 | #testimonials{padding:70px 0 70px 0;} 125 | #blog{padding:70px 0 70px 0;} 126 | #services{padding:70px 0 70px 0;} 127 | #awesome-features-y{padding:70px 0 70px 0;} 128 | .para-tex{ font-size:16px;} 129 | #awesome-features-freelancer{padding:70px 0 70px 0;} 130 | #contact{padding:70px 0 70px 0;} 131 | #services-box{padding:70px 0 70px 0;} 132 | #tab{ padding:70px 0 70px 0; } 133 | .about-text{padding:2px;} 134 | .services-icon-wrap{ padding:10px;} 135 | .services-icon-wrap h3{ font-size:16px;} 136 | .navbar-nav > li > a{ font-size:13px;} 137 | footer h5{ padding:5px; margin:20px 0 0 0;} 138 | footer .subscribe_now form{ margin-left:20px;} 139 | .newsletter-content .button{ font-size:12px;} 140 | .hero .hero-content h1, .video-banner h1{ font-size:50px;} 141 | .join-us-app h1{ font-size:31px;} 142 | .newsletter > h3{ font-size:28px;} 143 | .data table th{ font-size:12px;} 144 | .header-text{ width:99%;} 145 | #owl-slider .item .slider-info{ width:80%; font-size:40px; padding:70px 0 30px 0;} 146 | .content-v h1{ font-size:28px;} 147 | .top-heading{ font-size:65px;} 148 | .content-v h1{ margin-top:-90px;} 149 | .hero .hero-content-i h1, .video-banner h1{ font-size:45px;} 150 | #owl-slider .item .slider-info h1{ font-size:55px;} 151 | .top-heading{ font-size:13px;} 152 | .benefit-text{ text-align:center;} 153 | .project-text { 154 | font-size: 18px; 155 | padding: 10px 0 0 20px; 156 | color: #333; 157 | letter-spacing: 2px; 158 | text-transform: uppercase; 159 | letter-spacing: 1px;} 160 | 161 | .benefit-heading h3 { 162 | font-size: 30px; 163 | margin-top: 10px; 164 | color: #333; 165 | padding: 20px 0 0 0px; 166 | font-family: "Bungee Inline", cursive; 167 | } 168 | .section-title h2, .section-title.center h2{ font-size:35px;} 169 | .video-text p{ font-size:14px;} 170 | #carousel-example-generic{ display:none} 171 | 172 | 173 | 174 | } 175 | 176 | /*------------------------------------------*/ 177 | /* Max Width "767px" 178 | /*------------------------------------------*/ 179 | 180 | @media (max-width: 767px) { 181 | 182 | .navbar-brand{ display:block; margin-left:25px; } 183 | .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse{ margin-left:0px; margin-right:0px;} 184 | .navbar-collapse{ margin-right:0px; margin-left:0px; background:#000;} 185 | .navbar-nav > li{ display:block;} 186 | .navbar-nav > li > a{ font-size:9px;} 187 | .roll-t-1 h1{ font-size:25px} 188 | .roll-t-2 h1{ font-size:25px} 189 | .roll-t-3 h1{ font-size:25px} 190 | .roll-t-4 h1{ font-size:25px} 191 | .top-heading{ letter-spacing:5px; font-size:35px;}{} 192 | .hero .hero-content-ii h1, .video-banner h1{ margin-top:95px; padding:25px; font-size:20px;} 193 | .hero .hero-content-i h1, .video-banner h1{ font-size:35px;} 194 | .content-v{ top:60%;} 195 | .content-v h1{ letter-spacing:5px; font-size:25px;} 196 | #owl-slider .item .slider-info{ width:80%; font-size:30px; padding:30px 0 30px 0;} 197 | #owl-slider .item .slider-info h1{ font-size:45px;} 198 | .header-text{ padding:25px; margin-top:55px;} 199 | .hero .hero-content-i.light-txt .hero-subtitle{ font-size:12px;} 200 | .hero-text { 201 | font-size: 25px; 202 | text-transform: uppercase; 203 | color: #fff; 204 | line-height: 60px; 205 | font-family: 'Abril Fatface', cursive; 206 | margin-top: 5px; 207 | letter-spacing: 2px; 208 | } 209 | .white-back{ padding:15px;} 210 | .lead{ margin-bottom:5px;} 211 | .lead-text { 212 | color: #fff; 213 | line-height: 30px; 214 | font-size: 14px; 215 | } 216 | .top-heading-banner{ font-size:30px;} 217 | .join-us{ padding:60px 0 0 0} 218 | 219 | 220 | .btn-style-pinks-nav{ display:none;} 221 | .section-title h2, .section-title.center h2{ font-size:25px;} 222 | 223 | 224 | } 225 | 226 | /*------------------------------------------*/ 227 | /* Max Width "480px" 228 | /*------------------------------------------*/ 229 | 230 | @media (max-width: 480px) { 231 | 232 | #rotate-services{ padding:30px 0 30px 0;} 233 | .top-btn-text{ font-size:15px;} 234 | .btn-download-w{ padding:12px 15px; font-size:15px; } 235 | .about-ag-a{ height:300px;} 236 | .navbar-custom{ padding:1px 3px;} 237 | .btn-download{ max-width:200px; font-size:14px;} 238 | .btn-get{ font-size:14px ;max-width:200px;} 239 | .btn-download-black{ font-size:12px ;max-width:200px;} 240 | .btn-download-wt{ font-size:14px ;max-width:200px;} 241 | #main-centent { padding:45px 0 45px 0;} 242 | .main-para{ font-size:20px;} 243 | .list-demos{ font-size:14px; line-height:25px;} 244 | .join-us .carousel h1, .offer p{ font-size:35px;} 245 | .para-tex{ font-size:14px;} 246 | .feature-icon-left-more .feature-icon i.fa { float: left; } 247 | .main-area h1{ font-size:16px; line-height:25px;} 248 | .feature-content{ background-image:none;} 249 | .feature-icon-left-more .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 250 | .btn-download-black{ width:170px;} 251 | .section-title.freelancer h2{ font-size:30px; width:270px;} 252 | .feature-icon-left-more-app .feature-content { padding-left:90px; padding-bottom:20px; padding-top:35px; text-align:left; padding-right:0px; } 253 | .feature-icon-left-more-app .feature-icon i.fa { float:left; font-size:28px; color:#000; margin:50px 0 0 0; height:55px; width:55px; padding:14px 0 0 0; border-radius:10%; border:1px solid #000; } 254 | #services h2{ font-size:30px;} 255 | .intro-text .intro-heading{ font-size:30px;} 256 | .o-demos{ font-size:30px;} 257 | .intro-heading-s{ font-size:18px;} 258 | .intro-text .intro-lead-in{ font-size:13px;} 259 | #intro-bg{ padding:120px 0 150px 0;} 260 | header .intro-text .intro-heading {font-size:30px;} 261 | .join-us .carousel h1, .offer p{font-size:30px;} 262 | .feature-icon-left-more-y .feature-icon-y i.fa{ margin:70px 20px 0 10px;} 263 | .hero .hero-content h1, .video-banner h1{ font-size:15px;} 264 | #owl-slider .item .slider-info{ width:80%; font-size:30px; padding:30px 0 30px 0;} 265 | #owl-slider .item .slider-info h1{ font-size:33px;} 266 | .header-text{ padding:25px; margin-top:45px;} 267 | .hero .hero-content .hero-subtitle{ font-size:11px;} 268 | .btn-download-wt{ width:170px; font-size:12px;} 269 | .btn-download-wt i{ font-size:16px;} 270 | .btn-get{ width:170px; font-size:12px; margin:0px;} 271 | .btn-get i{ font-size:16px;} 272 | .hero .hero-content-i h1, .video-banner h1{ font-size:18px;} 273 | .hero .hero-content-ii h1, .video-banner h1{ font-size:20px; padding:25px; letter-spacing:5px;} 274 | .header-text h1{ font-size:25px;} 275 | .content-v h1{ font-size:25px; letter-spacing:2px; margin-top:-60px;} 276 | .top-heading{ letter-spacing:5px; font-size:14px;} 277 | .hero .hero-content-ii.light-txt h1, .hero .hero-content.light-txt h2{ margin-top:115px;} 278 | .content-v h1{ font-size:25px; letter-spacing:8px; margin-top:-80px;} 279 | .content-v{top:65%;} 280 | .hero .hero-content-i.light-txt .hero-subtitle{ font-size:10px;} 281 | .header-text{ padding:20px; margin-top:65px;} 282 | .roll-t-1 h5{ font-size:9px ; letter-spacing:5px;} 283 | .roll-t-2 h5{ font-size:9px ; letter-spacing:5px;} 284 | .roll-t-3 h5{ font-size:9px ; letter-spacing:5px;} 285 | .roll-t-4 h5{ font-size:9px ; letter-spacing:5px;} 286 | .roll-t-1 p{ font-size:11px; letter-spacing:2px;} 287 | .roll-t-2 p{ font-size:11px; letter-spacing:2px;} 288 | .roll-t-3 p{ font-size:11px; letter-spacing:2px;} 289 | .roll-t-4 p{ font-size:11px; letter-spacing:2px;} 290 | #price-t{ display:none;} 291 | } 292 | 293 | /*------------------------------------------*/ 294 | /* Max Width "360px" 295 | /*------------------------------------------*/ 296 | 297 | @media (max-width: 360px) { 298 | .navbar-collapse.in{ overflow: auto;} 299 | .btn-get{ font-size:11px ;max-width:200px; margin-left:0px; margin-top:0px;} 300 | #owl-slider .item .slider-info{ width:99%;} 301 | .content-v h1{ font-size:25px; letter-spacing:2px; margin-top:-140px;} 302 | .content-v{ top:60%;} 303 | } 304 | 305 | 306 | /*------------------------------------------*/ 307 | /* Min Width "768px" 308 | /*------------------------------------------*/ 309 | 310 | @media(min-width:768px) { 311 | 312 | .navbar-custom-i {padding:14px 30px;border-bottom: 0;border-top:3px solid #0bbae0;background:#333;} 313 | .navbar-custom {padding:25px 30px;border-bottom: 0;background:none;-webkit-transition: background .5s ease-in-out, padding .5s ease-in-out; 314 | -moz-transition: background .5s ease-in-out, padding .5s ease-in-out;transition: background .5s ease-in-out, padding .5s ease-in-out;} 315 | .navbar-custom.top-nav-collapse {background: #fff;box-shadow:0 0 5px #b3b3b3;padding:11px 30px;} 316 | .navbar-custom .navbar-brand {margin-top:5px;background: url(../img/logo.png) no-repeat;width:180px;height:50px;} 317 | .navbar-custom.top-nav-collapse .navbar-brand { 318 | margin-top:10px;background: url(../img/logo.png) no-repeat;width:180px;height:50px;} 319 | .navbar-custom .navbar-brand .navbar-toggle li a:active {outline: 0;color:#0592f4;border-bottom:5px solid #ffffff;} 320 | .navbar-custom.top-nav-collapse .navbar-brand .navbar-toggle li a:active {outline: 0;color:#0592f4;border-bottom:5px solid #ffffff;} 321 | .navbar-custom.top-nav-collapse a {color:#000} 322 | .top-nav-collapse.btn-donate a { color:#fff !important;} 323 | .navbar-toggle {background: #f71a49 none repeat scroll 0 0;border: 1px solid transparent;border-radius:0px; 324 | float: right;font-size: 20px;margin-bottom: 8px;margin-right: 15px;margin-top: 8px;padding: 8px 12px;position: relative;} 325 | .navbar-nav > li.active > a {color:#f71a49;} 326 | .navbar-nav.top-nav-collapse > li.active > a {color:#0bbae0;} 327 | .video-iframe {top: 25px;left: 76px;width: 279px;height: 175px;} 328 | .modal-dialog{ 329 | width:100%; 330 | max-width:960px; 331 | margin:50px auto; 332 | } 333 | 334 | 335 | 336 | } 337 | 338 | 339 | -------------------------------------------------------------------------------- /static/sidebarmenu.js: -------------------------------------------------------------------------------- 1 | 2 | (function (global, factory) { 3 | if (typeof define === "function" && define.amd) { 4 | define(['jquery'], factory); 5 | } else if (typeof exports !== "undefined") { 6 | factory(require('jquery')); 7 | } else { 8 | var mod = { 9 | exports: {} 10 | }; 11 | factory(global.jquery); 12 | global.metisMenu = mod.exports; 13 | } 14 | })(this, function (_jquery) { 15 | 'use strict'; 16 | 17 | var _jquery2 = _interopRequireDefault(_jquery); 18 | 19 | function _interopRequireDefault(obj) { 20 | return obj && obj.__esModule ? obj : { 21 | default: obj 22 | }; 23 | } 24 | 25 | var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { 26 | return typeof obj; 27 | } : function (obj) { 28 | return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 29 | }; 30 | 31 | function _classCallCheck(instance, Constructor) { 32 | if (!(instance instanceof Constructor)) { 33 | throw new TypeError("Cannot call a class as a function"); 34 | } 35 | } 36 | 37 | var Util = function ($) { 38 | var transition = false; 39 | 40 | var TransitionEndEvent = { 41 | WebkitTransition: 'webkitTransitionEnd', 42 | MozTransition: 'transitionend', 43 | OTransition: 'oTransitionEnd otransitionend', 44 | transition: 'transitionend' 45 | }; 46 | 47 | function getSpecialTransitionEndEvent() { 48 | return { 49 | bindType: transition.end, 50 | delegateType: transition.end, 51 | handle: function handle(event) { 52 | if ($(event.target).is(this)) { 53 | return event.handleObj.handler.apply(this, arguments); 54 | } 55 | return undefined; 56 | } 57 | }; 58 | } 59 | 60 | function transitionEndTest() { 61 | if (window.QUnit) { 62 | return false; 63 | } 64 | 65 | var el = document.createElement('mm'); 66 | 67 | for (var name in TransitionEndEvent) { 68 | if (el.style[name] !== undefined) { 69 | return { 70 | end: TransitionEndEvent[name] 71 | }; 72 | } 73 | } 74 | 75 | return false; 76 | } 77 | 78 | function transitionEndEmulator(duration) { 79 | var _this2 = this; 80 | 81 | var called = false; 82 | 83 | $(this).one(Util.TRANSITION_END, function () { 84 | called = true; 85 | }); 86 | 87 | setTimeout(function () { 88 | if (!called) { 89 | Util.triggerTransitionEnd(_this2); 90 | } 91 | }, duration); 92 | 93 | return this; 94 | } 95 | 96 | function setTransitionEndSupport() { 97 | transition = transitionEndTest(); 98 | $.fn.emulateTransitionEnd = transitionEndEmulator; 99 | 100 | if (Util.supportsTransitionEnd()) { 101 | $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); 102 | } 103 | } 104 | 105 | var Util = { 106 | TRANSITION_END: 'mmTransitionEnd', 107 | 108 | triggerTransitionEnd: function triggerTransitionEnd(element) { 109 | $(element).trigger(transition.end); 110 | }, 111 | supportsTransitionEnd: function supportsTransitionEnd() { 112 | return Boolean(transition); 113 | } 114 | }; 115 | 116 | setTransitionEndSupport(); 117 | 118 | return Util; 119 | }(jQuery); 120 | 121 | var MetisMenu = function ($) { 122 | 123 | var NAME = 'metisMenu'; 124 | var DATA_KEY = 'metisMenu'; 125 | var EVENT_KEY = '.' + DATA_KEY; 126 | var DATA_API_KEY = '.data-api'; 127 | var JQUERY_NO_CONFLICT = $.fn[NAME]; 128 | var TRANSITION_DURATION = 350; 129 | 130 | var Default = { 131 | toggle: true, 132 | preventDefault: true, 133 | activeClass: 'active', 134 | collapseClass: 'collapse', 135 | collapseInClass: 'in', 136 | collapsingClass: 'collapsing', 137 | triggerElement: 'a', 138 | parentTrigger: 'li', 139 | subMenu: 'ul' 140 | }; 141 | 142 | var Event = { 143 | SHOW: 'show' + EVENT_KEY, 144 | SHOWN: 'shown' + EVENT_KEY, 145 | HIDE: 'hide' + EVENT_KEY, 146 | HIDDEN: 'hidden' + EVENT_KEY, 147 | CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 148 | }; 149 | 150 | var MetisMenu = function () { 151 | function MetisMenu(element, config) { 152 | _classCallCheck(this, MetisMenu); 153 | 154 | this._element = element; 155 | this._config = this._getConfig(config); 156 | this._transitioning = null; 157 | 158 | this.init(); 159 | } 160 | 161 | MetisMenu.prototype.init = function init() { 162 | var self = this; 163 | $(this._element).find(this._config.parentTrigger + '.' + this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr('aria-expanded', true).addClass(this._config.collapseClass + ' ' + this._config.collapseInClass); 164 | 165 | $(this._element).find(this._config.parentTrigger).not('.' + this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr('aria-expanded', false).addClass(this._config.collapseClass); 166 | 167 | $(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).on(Event.CLICK_DATA_API, function (e) { 168 | var _this = $(this); 169 | var _parent = _this.parent(self._config.parentTrigger); 170 | var _siblings = _parent.siblings(self._config.parentTrigger).children(self._config.triggerElement); 171 | var _list = _parent.children(self._config.subMenu); 172 | if (self._config.preventDefault) { 173 | e.preventDefault(); 174 | } 175 | if (_this.attr('aria-disabled') === 'true') { 176 | return; 177 | } 178 | if (_parent.hasClass(self._config.activeClass)) { 179 | _this.attr('aria-expanded', false); 180 | self._hide(_list); 181 | } else { 182 | self._show(_list); 183 | _this.attr('aria-expanded', true); 184 | if (self._config.toggle) { 185 | _siblings.attr('aria-expanded', false); 186 | } 187 | } 188 | 189 | if (self._config.onTransitionStart) { 190 | self._config.onTransitionStart(e); 191 | } 192 | }); 193 | }; 194 | 195 | MetisMenu.prototype._show = function _show(element) { 196 | if (this._transitioning || $(element).hasClass(this._config.collapsingClass)) { 197 | return; 198 | } 199 | var _this = this; 200 | var _el = $(element); 201 | 202 | var startEvent = $.Event(Event.SHOW); 203 | _el.trigger(startEvent); 204 | 205 | if (startEvent.isDefaultPrevented()) { 206 | return; 207 | } 208 | 209 | _el.parent(this._config.parentTrigger).addClass(this._config.activeClass); 210 | 211 | if (this._config.toggle) { 212 | this._hide(_el.parent(this._config.parentTrigger).siblings().children(this._config.subMenu + '.' + this._config.collapseInClass).attr('aria-expanded', false)); 213 | } 214 | 215 | _el.removeClass(this._config.collapseClass).addClass(this._config.collapsingClass).height(0); 216 | 217 | this.setTransitioning(true); 218 | 219 | var complete = function complete() { 220 | 221 | _el.removeClass(_this._config.collapsingClass).addClass(_this._config.collapseClass + ' ' + _this._config.collapseInClass).height('').attr('aria-expanded', true); 222 | 223 | _this.setTransitioning(false); 224 | 225 | _el.trigger(Event.SHOWN); 226 | }; 227 | 228 | if (!Util.supportsTransitionEnd()) { 229 | complete(); 230 | return; 231 | } 232 | 233 | _el.height(_el[0].scrollHeight).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 234 | }; 235 | 236 | MetisMenu.prototype._hide = function _hide(element) { 237 | 238 | if (this._transitioning || !$(element).hasClass(this._config.collapseInClass)) { 239 | return; 240 | } 241 | var _this = this; 242 | var _el = $(element); 243 | 244 | var startEvent = $.Event(Event.HIDE); 245 | _el.trigger(startEvent); 246 | 247 | if (startEvent.isDefaultPrevented()) { 248 | return; 249 | } 250 | 251 | _el.parent(this._config.parentTrigger).removeClass(this._config.activeClass); 252 | _el.height(_el.height())[0].offsetHeight; 253 | 254 | _el.addClass(this._config.collapsingClass).removeClass(this._config.collapseClass).removeClass(this._config.collapseInClass); 255 | 256 | this.setTransitioning(true); 257 | 258 | var complete = function complete() { 259 | if (_this._transitioning && _this._config.onTransitionEnd) { 260 | _this._config.onTransitionEnd(); 261 | } 262 | 263 | _this.setTransitioning(false); 264 | _el.trigger(Event.HIDDEN); 265 | 266 | _el.removeClass(_this._config.collapsingClass).addClass(_this._config.collapseClass).attr('aria-expanded', false); 267 | }; 268 | 269 | if (!Util.supportsTransitionEnd()) { 270 | complete(); 271 | return; 272 | } 273 | 274 | _el.height() == 0 || _el.css('display') == 'none' ? complete() : _el.height(0).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 275 | }; 276 | 277 | MetisMenu.prototype.setTransitioning = function setTransitioning(isTransitioning) { 278 | this._transitioning = isTransitioning; 279 | }; 280 | 281 | MetisMenu.prototype.dispose = function dispose() { 282 | $.removeData(this._element, DATA_KEY); 283 | 284 | $(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).off('click'); 285 | 286 | this._transitioning = null; 287 | this._config = null; 288 | this._element = null; 289 | }; 290 | 291 | MetisMenu.prototype._getConfig = function _getConfig(config) { 292 | config = $.extend({}, Default, config); 293 | return config; 294 | }; 295 | 296 | MetisMenu._jQueryInterface = function _jQueryInterface(config) { 297 | return this.each(function () { 298 | var $this = $(this); 299 | var data = $this.data(DATA_KEY); 300 | var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config); 301 | 302 | if (!data && /dispose/.test(config)) { 303 | this.dispose(); 304 | } 305 | 306 | if (!data) { 307 | data = new MetisMenu(this, _config); 308 | $this.data(DATA_KEY, data); 309 | } 310 | 311 | if (typeof config === 'string') { 312 | if (data[config] === undefined) { 313 | throw new Error('No method named "' + config + '"'); 314 | } 315 | data[config](); 316 | } 317 | }); 318 | }; 319 | 320 | return MetisMenu; 321 | }(); 322 | 323 | /** 324 | * ------------------------------------------------------------------------ 325 | * jQuery 326 | * ------------------------------------------------------------------------ 327 | */ 328 | 329 | $.fn[NAME] = MetisMenu._jQueryInterface; 330 | $.fn[NAME].Constructor = MetisMenu; 331 | $.fn[NAME].noConflict = function () { 332 | $.fn[NAME] = JQUERY_NO_CONFLICT; 333 | return MetisMenu._jQueryInterface; 334 | }; 335 | return MetisMenu; 336 | }(jQuery); 337 | }); -------------------------------------------------------------------------------- /static/simple-line-icons.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Simple-Line-Icons'; 3 | src:url('fonts/Simple-Line-Icons.eot'); 4 | src:url('fonts/Simple-Line-Icons.eot?#iefix') format('embedded-opentype'), 5 | url('fonts/Simple-Line-Icons.woff') format('woff'), 6 | url('fonts/Simple-Line-Icons.ttf') format('truetype'), 7 | url('fonts/Simple-Line-Icons.svg#Simple-Line-Icons') format('svg'); 8 | font-weight: normal; 9 | font-style: normal; 10 | } 11 | 12 | /* Use the following CSS code if you want to use data attributes for inserting your icons */ 13 | [data-icon]:before { 14 | font-family: 'Simple-Line-Icons'; 15 | content: attr(data-icon); 16 | speak: none; 17 | font-weight: normal; 18 | font-variant: normal; 19 | text-transform: none; 20 | line-height: 1; 21 | -webkit-font-smoothing: antialiased; 22 | -moz-osx-font-smoothing: grayscale; 23 | } 24 | 25 | /* Use the following CSS code if you want to have a class per icon */ 26 | /* 27 | Instead of a list of all class selectors, 28 | you can use the generic selector below, but it's slower: 29 | [class*="icon-"] { 30 | */ 31 | .icon-user-female, .icon-user-follow, .icon-user-following, .icon-user-unfollow, .icon-trophy, .icon-screen-smartphone, .icon-screen-desktop, .icon-plane, .icon-notebook, .icon-moustache, .icon-mouse, .icon-magnet, .icon-energy, .icon-emoticon-smile, .icon-disc, .icon-cursor-move, .icon-crop, .icon-credit-card, .icon-chemistry, .icon-user, .icon-speedometer, .icon-social-youtube, .icon-social-twitter, .icon-social-tumblr, .icon-social-facebook, .icon-social-dropbox, .icon-social-dribbble, .icon-shield, .icon-screen-tablet, .icon-magic-wand, .icon-hourglass, .icon-graduation, .icon-ghost, .icon-game-controller, .icon-fire, .icon-eyeglasses, .icon-envelope-open, .icon-envelope-letter, .icon-bell, .icon-badge, .icon-anchor, .icon-wallet, .icon-vector, .icon-speech, .icon-puzzle, .icon-printer, .icon-present, .icon-playlist, .icon-pin, .icon-picture, .icon-map, .icon-layers, .icon-handbag, .icon-globe-alt, .icon-globe, .icon-frame, .icon-folder-alt, .icon-film, .icon-feed, .icon-earphones-alt, .icon-earphones, .icon-drop, .icon-drawer, .icon-docs, .icon-directions, .icon-direction, .icon-diamond, .icon-cup, .icon-compass, .icon-call-out, .icon-call-in, .icon-call-end, .icon-calculator, .icon-bubbles, .icon-briefcase, .icon-book-open, .icon-basket-loaded, .icon-basket, .icon-bag, .icon-action-undo, .icon-action-redo, .icon-wrench, .icon-umbrella, .icon-trash, .icon-tag, .icon-support, .icon-size-fullscreen, .icon-size-actual, .icon-shuffle, .icon-share-alt, .icon-share, .icon-rocket, .icon-question, .icon-pie-chart, .icon-pencil, .icon-note, .icon-music-tone-alt, .icon-music-tone, .icon-microphone, .icon-loop, .icon-logout, .icon-login, .icon-list, .icon-like, .icon-home, .icon-grid, .icon-graph, .icon-equalizer, .icon-dislike, .icon-cursor, .icon-control-start, .icon-control-rewind, .icon-control-play, .icon-control-pause, .icon-control-forward, .icon-control-end, .icon-calendar, .icon-bulb, .icon-bar-chart, .icon-arrow-up, .icon-arrow-right, .icon-arrow-left, .icon-arrow-down, .icon-ban, .icon-bubble, .icon-camcorder, .icon-camera, .icon-check, .icon-clock, .icon-close, .icon-cloud-download, .icon-cloud-upload, .icon-doc, .icon-envelope, .icon-eye, .icon-flag, .icon-folder, .icon-heart, .icon-info, .icon-key, .icon-link, .icon-lock, .icon-lock-open, .icon-magnifier, .icon-magnifier-add, .icon-magnifier-remove, .icon-paper-clip, .icon-paper-plane, .icon-plus, .icon-pointer, .icon-power, .icon-refresh, .icon-reload, .icon-settings, .icon-star, .icon-symbol-female, .icon-symbol-male, .icon-target, .icon-volume-1, .icon-volume-2, .icon-volume-off, .icon-users { 32 | font-family: 'Simple-Line-Icons'; 33 | speak: none; 34 | font-style: normal; 35 | font-weight: normal; 36 | font-variant: normal; 37 | text-transform: none; 38 | line-height: 1; 39 | -webkit-font-smoothing: antialiased; 40 | } 41 | .icon-user-female:before { 42 | content: "\e000"; 43 | } 44 | .icon-user-follow:before { 45 | content: "\e002"; 46 | } 47 | .icon-user-following:before { 48 | content: "\e003"; 49 | } 50 | .icon-user-unfollow:before { 51 | content: "\e004"; 52 | } 53 | .icon-trophy:before { 54 | content: "\e006"; 55 | } 56 | .icon-screen-smartphone:before { 57 | content: "\e010"; 58 | } 59 | .icon-screen-desktop:before { 60 | content: "\e011"; 61 | } 62 | .icon-plane:before { 63 | content: "\e012"; 64 | } 65 | .icon-notebook:before { 66 | content: "\e013"; 67 | } 68 | .icon-moustache:before { 69 | content: "\e014"; 70 | } 71 | .icon-mouse:before { 72 | content: "\e015"; 73 | } 74 | .icon-magnet:before { 75 | content: "\e016"; 76 | } 77 | .icon-energy:before { 78 | content: "\e020"; 79 | } 80 | .icon-emoticon-smile:before { 81 | content: "\e021"; 82 | } 83 | .icon-disc:before { 84 | content: "\e022"; 85 | } 86 | .icon-cursor-move:before { 87 | content: "\e023"; 88 | } 89 | .icon-crop:before { 90 | content: "\e024"; 91 | } 92 | .icon-credit-card:before { 93 | content: "\e025"; 94 | } 95 | .icon-chemistry:before { 96 | content: "\e026"; 97 | } 98 | .icon-user:before { 99 | content: "\e005"; 100 | } 101 | .icon-speedometer:before { 102 | content: "\e007"; 103 | } 104 | .icon-social-youtube:before { 105 | content: "\e008"; 106 | } 107 | .icon-social-twitter:before { 108 | content: "\e009"; 109 | } 110 | .icon-social-tumblr:before { 111 | content: "\e00a"; 112 | } 113 | .icon-social-facebook:before { 114 | content: "\e00b"; 115 | } 116 | .icon-social-dropbox:before { 117 | content: "\e00c"; 118 | } 119 | .icon-social-dribbble:before { 120 | content: "\e00d"; 121 | } 122 | .icon-shield:before { 123 | content: "\e00e"; 124 | } 125 | .icon-screen-tablet:before { 126 | content: "\e00f"; 127 | } 128 | .icon-magic-wand:before { 129 | content: "\e017"; 130 | } 131 | .icon-hourglass:before { 132 | content: "\e018"; 133 | } 134 | .icon-graduation:before { 135 | content: "\e019"; 136 | } 137 | .icon-ghost:before { 138 | content: "\e01a"; 139 | } 140 | .icon-game-controller:before { 141 | content: "\e01b"; 142 | } 143 | .icon-fire:before { 144 | content: "\e01c"; 145 | } 146 | .icon-eyeglasses:before { 147 | content: "\e01d"; 148 | } 149 | .icon-envelope-open:before { 150 | content: "\e01e"; 151 | } 152 | .icon-envelope-letter:before { 153 | content: "\e01f"; 154 | } 155 | .icon-bell:before { 156 | content: "\e027"; 157 | } 158 | .icon-badge:before { 159 | content: "\e028"; 160 | } 161 | .icon-anchor:before { 162 | content: "\e029"; 163 | } 164 | .icon-wallet:before { 165 | content: "\e02a"; 166 | } 167 | .icon-vector:before { 168 | content: "\e02b"; 169 | } 170 | .icon-speech:before { 171 | content: "\e02c"; 172 | } 173 | .icon-puzzle:before { 174 | content: "\e02d"; 175 | } 176 | .icon-printer:before { 177 | content: "\e02e"; 178 | } 179 | .icon-present:before { 180 | content: "\e02f"; 181 | } 182 | .icon-playlist:before { 183 | content: "\e030"; 184 | } 185 | .icon-pin:before { 186 | content: "\e031"; 187 | } 188 | .icon-picture:before { 189 | content: "\e032"; 190 | } 191 | .icon-map:before { 192 | content: "\e033"; 193 | } 194 | .icon-layers:before { 195 | content: "\e034"; 196 | } 197 | .icon-handbag:before { 198 | content: "\e035"; 199 | } 200 | .icon-globe-alt:before { 201 | content: "\e036"; 202 | } 203 | .icon-globe:before { 204 | content: "\e037"; 205 | } 206 | .icon-frame:before { 207 | content: "\e038"; 208 | } 209 | .icon-folder-alt:before { 210 | content: "\e039"; 211 | } 212 | .icon-film:before { 213 | content: "\e03a"; 214 | } 215 | .icon-feed:before { 216 | content: "\e03b"; 217 | } 218 | .icon-earphones-alt:before { 219 | content: "\e03c"; 220 | } 221 | .icon-earphones:before { 222 | content: "\e03d"; 223 | } 224 | .icon-drop:before { 225 | content: "\e03e"; 226 | } 227 | .icon-drawer:before { 228 | content: "\e03f"; 229 | } 230 | .icon-docs:before { 231 | content: "\e040"; 232 | } 233 | .icon-directions:before { 234 | content: "\e041"; 235 | } 236 | .icon-direction:before { 237 | content: "\e042"; 238 | } 239 | .icon-diamond:before { 240 | content: "\e043"; 241 | } 242 | .icon-cup:before { 243 | content: "\e044"; 244 | } 245 | .icon-compass:before { 246 | content: "\e045"; 247 | } 248 | .icon-call-out:before { 249 | content: "\e046"; 250 | } 251 | .icon-call-in:before { 252 | content: "\e047"; 253 | } 254 | .icon-call-end:before { 255 | content: "\e048"; 256 | } 257 | .icon-calculator:before { 258 | content: "\e049"; 259 | } 260 | .icon-bubbles:before { 261 | content: "\e04a"; 262 | } 263 | .icon-briefcase:before { 264 | content: "\e04b"; 265 | } 266 | .icon-book-open:before { 267 | content: "\e04c"; 268 | } 269 | .icon-basket-loaded:before { 270 | content: "\e04d"; 271 | } 272 | .icon-basket:before { 273 | content: "\e04e"; 274 | } 275 | .icon-bag:before { 276 | content: "\e04f"; 277 | } 278 | .icon-action-undo:before { 279 | content: "\e050"; 280 | } 281 | .icon-action-redo:before { 282 | content: "\e051"; 283 | } 284 | .icon-wrench:before { 285 | content: "\e052"; 286 | } 287 | .icon-umbrella:before { 288 | content: "\e053"; 289 | } 290 | .icon-trash:before { 291 | content: "\e054"; 292 | } 293 | .icon-tag:before { 294 | content: "\e055"; 295 | } 296 | .icon-support:before { 297 | content: "\e056"; 298 | } 299 | .icon-size-fullscreen:before { 300 | content: "\e057"; 301 | } 302 | .icon-size-actual:before { 303 | content: "\e058"; 304 | } 305 | .icon-shuffle:before { 306 | content: "\e059"; 307 | } 308 | .icon-share-alt:before { 309 | content: "\e05a"; 310 | } 311 | .icon-share:before { 312 | content: "\e05b"; 313 | } 314 | .icon-rocket:before { 315 | content: "\e05c"; 316 | } 317 | .icon-question:before { 318 | content: "\e05d"; 319 | } 320 | .icon-pie-chart:before { 321 | content: "\e05e"; 322 | } 323 | .icon-pencil:before { 324 | content: "\e05f"; 325 | } 326 | .icon-note:before { 327 | content: "\e060"; 328 | } 329 | .icon-music-tone-alt:before { 330 | content: "\e061"; 331 | } 332 | .icon-music-tone:before { 333 | content: "\e062"; 334 | } 335 | .icon-microphone:before { 336 | content: "\e063"; 337 | } 338 | .icon-loop:before { 339 | content: "\e064"; 340 | } 341 | .icon-logout:before { 342 | content: "\e065"; 343 | } 344 | .icon-login:before { 345 | content: "\e066"; 346 | } 347 | .icon-list:before { 348 | content: "\e067"; 349 | } 350 | .icon-like:before { 351 | content: "\e068"; 352 | } 353 | .icon-home:before { 354 | content: "\e069"; 355 | } 356 | .icon-grid:before { 357 | content: "\e06a"; 358 | } 359 | .icon-graph:before { 360 | content: "\e06b"; 361 | } 362 | .icon-equalizer:before { 363 | content: "\e06c"; 364 | } 365 | .icon-dislike:before { 366 | content: "\e06d"; 367 | } 368 | .icon-cursor:before { 369 | content: "\e06e"; 370 | } 371 | .icon-control-start:before { 372 | content: "\e06f"; 373 | } 374 | .icon-control-rewind:before { 375 | content: "\e070"; 376 | } 377 | .icon-control-play:before { 378 | content: "\e071"; 379 | } 380 | .icon-control-pause:before { 381 | content: "\e072"; 382 | } 383 | .icon-control-forward:before { 384 | content: "\e073"; 385 | } 386 | .icon-control-end:before { 387 | content: "\e074"; 388 | } 389 | .icon-calendar:before { 390 | content: "\e075"; 391 | } 392 | .icon-bulb:before { 393 | content: "\e076"; 394 | } 395 | .icon-bar-chart:before { 396 | content: "\e077"; 397 | } 398 | .icon-arrow-up:before { 399 | content: "\e078"; 400 | } 401 | .icon-arrow-right:before { 402 | content: "\e079"; 403 | } 404 | .icon-arrow-left:before { 405 | content: "\e07a"; 406 | } 407 | .icon-arrow-down:before { 408 | content: "\e07b"; 409 | } 410 | .icon-ban:before { 411 | content: "\e07c"; 412 | } 413 | .icon-bubble:before { 414 | content: "\e07d"; 415 | } 416 | .icon-camcorder:before { 417 | content: "\e07e"; 418 | } 419 | .icon-camera:before { 420 | content: "\e07f"; 421 | } 422 | .icon-check:before { 423 | content: "\e080"; 424 | } 425 | .icon-clock:before { 426 | content: "\e081"; 427 | } 428 | .icon-close:before { 429 | content: "\e082"; 430 | } 431 | .icon-cloud-download:before { 432 | content: "\e083"; 433 | } 434 | .icon-cloud-upload:before { 435 | content: "\e084"; 436 | } 437 | .icon-doc:before { 438 | content: "\e085"; 439 | } 440 | .icon-envelope:before { 441 | content: "\e086"; 442 | } 443 | .icon-eye:before { 444 | content: "\e087"; 445 | } 446 | .icon-flag:before { 447 | content: "\e088"; 448 | } 449 | .icon-folder:before { 450 | content: "\e089"; 451 | } 452 | .icon-heart:before { 453 | content: "\e08a"; 454 | } 455 | .icon-info:before { 456 | content: "\e08b"; 457 | } 458 | .icon-key:before { 459 | content: "\e08c"; 460 | } 461 | .icon-link:before { 462 | content: "\e08d"; 463 | } 464 | .icon-lock:before { 465 | content: "\e08e"; 466 | } 467 | .icon-lock-open:before { 468 | content: "\e08f"; 469 | } 470 | .icon-magnifier:before { 471 | content: "\e090"; 472 | } 473 | .icon-magnifier-add:before { 474 | content: "\e091"; 475 | } 476 | .icon-magnifier-remove:before { 477 | content: "\e092"; 478 | } 479 | .icon-paper-clip:before { 480 | content: "\e093"; 481 | } 482 | .icon-paper-plane:before { 483 | content: "\e094"; 484 | } 485 | .icon-plus:before { 486 | content: "\e095"; 487 | } 488 | .icon-pointer:before { 489 | content: "\e096"; 490 | } 491 | .icon-power:before { 492 | content: "\e097"; 493 | } 494 | .icon-refresh:before { 495 | content: "\e098"; 496 | } 497 | .icon-reload:before { 498 | content: "\e099"; 499 | } 500 | .icon-settings:before { 501 | content: "\e09a"; 502 | } 503 | .icon-star:before { 504 | content: "\e09b"; 505 | } 506 | .icon-symbol-female:before { 507 | content: "\e09c"; 508 | } 509 | .icon-symbol-male:before { 510 | content: "\e09d"; 511 | } 512 | .icon-target:before { 513 | content: "\e09e"; 514 | } 515 | .icon-volume-1:before { 516 | content: "\e09f"; 517 | } 518 | .icon-volume-2:before { 519 | content: "\e0a0"; 520 | } 521 | .icon-volume-off:before { 522 | content: "\e0a1"; 523 | } 524 | .icon-users:before { 525 | content: "\e001"; 526 | } -------------------------------------------------------------------------------- /static/spinner1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/spinner1.gif -------------------------------------------------------------------------------- /static/spinners.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | .preloader{ 4 | position: relative; 5 | margin: 0 auto; 6 | width: 100px; 7 | } 8 | .preloader:before{ 9 | content: ''; 10 | display: block; 11 | padding-top: 100%; 12 | } 13 | .circular { 14 | animation: rotate 2s linear infinite; 15 | height: 50px; 16 | transform-origin: center center; 17 | width: 50px; 18 | position: absolute; 19 | top: 0; 20 | bottom: 0; 21 | left: 0; 22 | right: 0; 23 | margin: auto; 24 | } 25 | .path { 26 | stroke-dasharray: 1, 200; 27 | stroke-dashoffset: 0; 28 | animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite; 29 | stroke-linecap: round; 30 | } 31 | @keyframes rotate { 32 | 100% { 33 | transform: rotate(360deg); 34 | } 35 | } 36 | 37 | @keyframes dash { 38 | 0% { 39 | stroke-dasharray: 1, 200; 40 | stroke-dashoffset: 0; 41 | } 42 | 50% { 43 | stroke-dasharray: 89, 200; 44 | stroke-dashoffset: -35px; 45 | } 46 | 100% { 47 | stroke-dasharray: 89, 200; 48 | stroke-dashoffset: -124px; 49 | } 50 | } 51 | 52 | @keyframes color { 53 | 100%, 54 | 0% { 55 | stroke: #d62d20; 56 | } 57 | 40% { 58 | stroke: #0057e7; 59 | } 60 | 66% { 61 | stroke: #008744; 62 | } 63 | 80%, 64 | 90% { 65 | stroke: #ffa700; 66 | } 67 | } 68 | .bd-booticon{display:block;width:9rem;height:9rem;font-size:6.5rem;line-height:9rem;color:#fff;text-align:center;cursor:default;background-color:#563d7c;border-radius:15%}.bd-booticon.inverse{color:#563d7c;background-color:#fff}.bd-booticon.outline{background-color:transparent;border:1px solid #cdbfe3}.bd-navbar .navbar-nav .nav-link{color:#8e869d}.bd-navbar .navbar-nav .nav-link.active,.bd-navbar .navbar-nav .nav-link:focus,.bd-navbar .navbar-nav .nav-link:hover{color:#292b2c;background-color:transparent}.bd-navbar .navbar-nav .nav-link.active{font-weight:500;color:#040404}.bd-navbar .dropdown-menu{font-size:inherit}.bd-masthead{position:relative;padding:3rem 15px 2rem;color:#cdbfe3;text-align:center;background-image:-webkit-linear-gradient(315deg,#271b38,#563d7c,#7952b3);background-image:-o-linear-gradient(315deg,#271b38,#563d7c,#7952b3);background-image:linear-gradient(135deg,#271b38,#563d7c,#7952b3)}.bd-masthead .bd-booticon{margin:0 auto 2rem;color:#cdbfe3;border-color:#cdbfe3}.bd-masthead h1{font-weight:300;line-height:1}.bd-masthead .lead{margin-right:auto;margin-bottom:2rem;margin-left:auto;font-size:1.25rem;color:#fff}.bd-masthead .version{margin-top:-1rem;margin-bottom:2rem}.bd-masthead .btn{width:100%;padding:1rem 2rem;font-size:1.25rem;font-weight:500;color:#ffe484;border-color:#ffe484}.bd-masthead .btn:hover{color:#2a2730;background-color:#ffe484;border-color:#ffe484}.bd-masthead .carbonad{margin-bottom:-2rem!important}@media (min-width:576px){.bd-masthead{padding-top:8rem;padding-bottom:2rem}.bd-masthead .btn{width:auto}.bd-masthead .carbonad{margin-bottom:0!important}}@media (min-width:768px){.bd-masthead{padding-bottom:4rem}.bd-masthead .bd-header{margin-bottom:4rem}.bd-masthead h1{font-size:4rem}.bd-masthead .lead{font-size:1.5rem}.bd-masthead .carbonad{margin-top:3rem!important}}@media (min-width:992px){.bd-masthead .lead{width:85%;font-size:2rem}}.bd-featurette{padding-top:3rem;padding-bottom:3rem;font-size:1rem;line-height:1.5;color:#555;text-align:center;background-color:#fff;border-top:1px solid #eee}.bd-featurette .highlight{text-align:left}.bd-featurette .lead{margin-right:auto;margin-bottom:2rem;margin-left:auto;font-size:1rem;text-align:center}@media (min-width:576px){.bd-featurette{text-align:left}}@media (min-width:768px){.bd-featurette .col-sm-6:first-child{padding-right:45px}.bd-featurette .col-sm-6:last-child{padding-left:45px}}.bd-featurette-title{margin-bottom:.5rem;font-size:2rem;font-weight:400;color:#333;text-align:center}.half-rule{width:6rem;margin:2.5rem auto}@media (min-width:576px){.half-rule{margin-right:0;margin-left:0}}.bd-featurette h4{margin-top:1rem;margin-bottom:.5rem;font-weight:400;color:#333}.bd-featurette-img{display:block;margin-bottom:1.25rem;color:#333}.bd-featurette-img:hover{color:#0275d8;text-decoration:none}.bd-featurette-img img{display:block;margin-bottom:1rem}@media (min-width:480px){.bd-featurette .img-fluid{margin-top:2rem}}@media (min-width:768px){.bd-featurette{padding-top:6rem;padding-bottom:6rem}.bd-featurette-title{font-size:2.5rem}.bd-featurette-title+.lead{font-size:1.5rem}.bd-featurette .lead{max-width:80%}.bd-featurette .img-fluid{margin-top:0}}.bd-featured-sites{margin-right:-1px;margin-left:-1px}.bd-featured-sites .col-6{padding:1px}.bd-featured-sites .img-fluid{margin-top:0}@media (min-width:768px){.bd-featured-sites .col-sm-3:first-child img{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.bd-featured-sites .col-sm-3:last-child img{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}}#carbonads{display:block;padding:15px 15px 15px 160px;margin:50px -15px 0;overflow:hidden;font-size:13px;line-height:1.5;text-align:left;border:solid #866ab3;border-width:1px 0 0}#carbonads a{color:#fff;text-decoration:none}@media (min-width:576px){#carbonads{max-width:330px;margin:50px auto 0;border-width:1px;border-radius:4px}}@media (min-width:992px){#carbonads{position:absolute;top:0;right:15px;margin-top:0}.bd-masthead #carbonads{position:static}}.carbon-img{float:left;margin-left:-145px}.carbon-poweredby{display:block;color:#cdbfe3!important}.bd-content>table{display:block;width:100%;max-width:100%;margin-bottom:1rem;overflow-y:auto}.bd-content>table>tbody>tr>td,.bd-content>table>tbody>tr>th,.bd-content>table>tfoot>tr>td,.bd-content>table>tfoot>tr>th,.bd-content>table>thead>tr>td,.bd-content>table>thead>tr>th{padding:.75rem;vertical-align:top;border:1px solid #eceeef}.bd-content>table>tbody>tr>td>p:last-child,.bd-content>table>tbody>tr>th>p:last-child,.bd-content>table>tfoot>tr>td>p:last-child,.bd-content>table>tfoot>tr>th>p:last-child,.bd-content>table>thead>tr>td>p:last-child,.bd-content>table>thead>tr>th>p:last-child{margin-bottom:0}.bd-content>table td:first-child>code{white-space:nowrap}.bd-content>h2:not(:first-child){margin-top:3rem}.bd-content>h3{margin-top:1.5rem}.bd-content>ol li,.bd-content>ul li{margin-bottom:.25rem}@media (min-width:576px){.bd-title{font-size:3rem}.bd-title+p{font-size:1.25rem;font-weight:300}}#markdown-toc>li:first-child{display:none}#markdown-toc ul{padding-left:2rem;margin-top:.25rem;margin-bottom:.25rem}.bd-pageheader{padding:2rem 15px;margin-bottom:1.5rem;color:#cdbfe3;text-align:center;background-color:#563d7c}.bd-pageheader .container{position:relative}.bd-pageheader h1{font-size:3rem;font-weight:400;color:#fff}.bd-pageheader p{margin-bottom:0;font-size:1.25rem;font-weight:300}@media (min-width:576px){.bd-pageheader{padding-top:4rem;padding-bottom:4rem;margin-bottom:3rem;text-align:left}.bd-pageheader .carbonad{margin:2rem 0 0!important}}@media (min-width:768px){.bd-pageheader h1{font-size:4rem}.bd-pageheader p{font-size:1.5rem}}@media (min-width:992px){.bd-pageheader h1,.bd-pageheader p{margin-right:380px}.bd-pageheader .carbonad{position:absolute;top:0;right:.75rem;margin:0!important}}#skippy{display:block;padding:1em;color:#fff;background-color:#563d7c;outline:0}#skippy .skiplink-text{padding:.5em;outline:1px dotted}@media (min-width:768px){.bd-sidebar{padding-left:1rem}}.bd-search{position:relative;margin-bottom:1.5rem}.bd-search .form-control{height:2.45rem;padding-top:.4rem;padding-bottom:.4rem;background-color:#fafafa}.bd-search .form-control:focus{background-color:#fff}.bd-search-results{right:0;display:block;padding:0;overflow:hidden;font-size:.9rem}.bd-search-results:empty{display:none}.bd-search-results .dropdown-item{padding-right:.75rem;padding-left:.75rem}.bd-search-results .dropdown-item:first-child{margin-top:.25rem}.bd-search-results .dropdown-item:last-child{margin-bottom:.25rem}.bd-search-results .no-results{padding:.75rem 1rem;color:#7a7a7a;text-align:center;white-space:normal}.bd-sidenav{display:none}.bd-toc-link{display:block;padding:.25rem .75rem;color:#464a4c}.bd-toc-link:focus,.bd-toc-link:hover{color:#0275d8;text-decoration:none}.active>.bd-toc-link{font-weight:500;color:#292b2c}.active>.bd-sidenav{display:block}.bd-toc-item.active{margin-top:1rem;margin-bottom:1rem}.bd-toc-item:first-child{margin-top:0}.bd-toc-item:last-child{margin-bottom:2rem}.bd-sidebar .nav>li>a{display:block;padding:.25rem .75rem;font-size:90%;color:#99979c}.bd-sidebar .nav>li>a:focus,.bd-sidebar .nav>li>a:hover{color:#0275d8;text-decoration:none;background-color:transparent}.bd-sidebar .nav>.active:focus>a,.bd-sidebar .nav>.active:hover>a,.bd-sidebar .nav>.active>a{font-weight:500;color:#292b2c;background-color:transparent}.bd-footer{padding:4rem 0;margin-top:4rem;font-size:85%;text-align:center;background-color:#f7f7f7}.bd-footer a{font-weight:500;color:#464a4c}.bd-footer a:hover{color:#0275d8}.bd-footer p{margin-bottom:0}@media (min-width:576px){.bd-footer{text-align:left}}.bd-footer-links{padding-left:0;margin-bottom:1rem}.bd-footer-links li{display:inline-block}.bd-footer-links li+li{margin-left:1rem}.bd-example-row .row+.row{margin-top:1rem}.bd-example-row .row>.col,.bd-example-row .row>[class^=col-]{padding-top:.75rem;padding-bottom:.75rem;background-color:rgba(86,61,124,.15);border:1px solid rgba(86,61,124,.2)}.bd-example-row .flex-items-bottom,.bd-example-row .flex-items-middle,.bd-example-row .flex-items-top{min-height:6rem;background-color:rgba(255,0,0,.1)}.bd-example-row-flex-cols .row{min-height:10rem;background-color:rgba(255,0,0,.1)}.bd-highlight{background-color:rgba(86,61,124,.15);border:1px solid rgba(86,61,124,.15)}.bd-example-container{min-width:16rem;max-width:25rem;margin-right:auto;margin-left:auto}.bd-example-container-header{height:3rem;margin-bottom:.5rem;background-color:#daeeff;border-radius:.25rem}.bd-example-container-sidebar{float:right;width:4rem;height:8rem;background-color:#fae3c4;border-radius:.25rem}.bd-example-container-body{height:8rem;margin-right:4.5rem;background-color:#957bbe;border-radius:.25rem}.bd-example-container-fluid{max-width:none}.bd-example{position:relative;padding:1rem;margin:1rem -1rem;border:solid #f7f7f9;border-width:.2rem 0 0}.bd-example::after{display:block;content:"";clear:both}@media (min-width:576px){.bd-example{padding:1.5rem;margin-right:0;margin-bottom:0;margin-left:0;border-width:.2rem}}.bd-example+.clipboard+.highlight,.bd-example+.highlight{margin-top:0}.bd-example+p{margin-top:2rem}.bd-example .pos-f-t{position:relative;margin:-1rem}@media (min-width:576px){.bd-example .pos-f-t{margin:-1.5rem}}.bd-example>.form-control+.form-control{margin-top:.5rem}.bd-example>.alert+.alert,.bd-example>.nav+.nav,.bd-example>.navbar+.navbar,.bd-example>.progress+.btn,.bd-example>.progress+.progress{margin-top:1rem}.bd-example>.dropdown-menu:first-child{position:static;display:block}.bd-example>.form-group:last-child{margin-bottom:0}.bd-example>.close{float:none}.bd-example-type .table .type-info{color:#999;vertical-align:middle}.bd-example-type .table td{padding:1rem 0;border-color:#eee}.bd-example-type .table tr:first-child td{border-top:0}.bd-example-type h1,.bd-example-type h2,.bd-example-type h3,.bd-example-type h4,.bd-example-type h5,.bd-example-type h6{margin:0}.bd-example-bg-classes p{padding:1rem}.bd-example>img+img{margin-left:.5rem}.bd-example>.btn-group{margin-top:.25rem;margin-bottom:.25rem}.bd-example>.btn-toolbar+.btn-toolbar{margin-top:.5rem}.bd-example-control-sizing input[type=text]+input[type=text],.bd-example-control-sizing select{margin-top:.5rem}.bd-example-form .input-group{margin-bottom:.5rem}.bd-example>textarea.form-control{resize:vertical}.bd-example>.list-group{max-width:400px}.bd-example .fixed-top,.bd-example .sticky-top{position:static;margin:-1rem -1rem 1rem}.bd-example .fixed-bottom{position:static;margin:1rem -1rem -1rem}@media (min-width:576px){.bd-example .fixed-top,.bd-example .sticky-top{margin:-1.5rem -1.5rem 1rem}.bd-example .fixed-bottom{margin:1rem -1.5rem -1.5rem}}.bd-example .pagination{margin-top:.5rem;margin-bottom:.5rem}.bd-example-modal{background-color:#fafafa}.bd-example-modal .modal{position:relative;top:auto;right:auto;bottom:auto;left:auto;z-index:1;display:block}.bd-example-modal .modal-dialog{left:auto;margin-right:auto;margin-left:auto}.bd-example-tabs .nav-tabs{margin-bottom:1rem}.bd-example-tooltips{text-align:center}.bd-example-tooltips>.btn{margin-top:.25rem;margin-bottom:.25rem}.bd-example-popover-static{padding-bottom:1.5rem;background-color:#f9f9f9}.bd-example-popover-static .popover{position:relative;display:block;float:left;width:260px;margin:1.25rem}.tooltip-demo a{white-space:nowrap}.bd-example-tooltip-static .tooltip{position:relative;display:inline-block;margin:10px 20px;opacity:1}.scrollspy-example{position:relative;height:200px;margin-top:.5rem;overflow:auto}.bd-example>.bg-danger:not(.navbar),.bd-example>.bg-faded:not(.navbar),.bd-example>.bg-info:not(.navbar),.bd-example>.bg-inverse:not(.navbar),.bd-example>.bg-primary:not(.navbar),.bd-example>.bg-success:not(.navbar),.bd-example>.bg-warning:not(.navbar){padding:.5rem;margin-top:.5rem;margin-bottom:.5rem}.bd-example-border-utils [class^=border-]{display:inline-block;width:6rem;height:6rem;margin:.25rem;background-color:#f5f5f5;border:1px solid}.highlight{padding:1rem;margin:1rem -15px;background-color:#f7f7f9;-ms-overflow-style:-ms-autohiding-scrollbar}@media (min-width:576px){.highlight{padding:1.5rem;margin-right:0;margin-left:0}}.highlight pre{padding:0;margin-top:0;margin-bottom:0;background-color:transparent;border:0}.highlight pre code{font-size:inherit;color:#292b2c}.table-responsive .highlight pre{white-space:normal}.bd-table th small,.responsive-utilities th small{display:block;font-weight:400;color:#999}.responsive-utilities tbody th{font-weight:400}.responsive-utilities td{text-align:center}.responsive-utilities .is-visible{color:#468847;background-color:#dff0d8!important}.responsive-utilities .is-hidden{color:#ccc;background-color:#f9f9f9!important}.responsive-utilities-test{margin-top:.25rem}.responsive-utilities-test .col-6{margin-top:.5rem;margin-bottom:.5rem}.responsive-utilities-test span{display:block;padding:1rem .5rem;font-size:1rem;font-weight:700;line-height:1.1;text-align:center;border-radius:.25rem}.hidden-on .col-6>.not-visible,.visible-on .col-6>.not-visible{color:#999;border:1px solid #ddd}.hidden-on .col-6 .visible,.visible-on .col-6 .visible{color:#468847;background-color:#dff0d8;border:1px solid #d6e9c6}@media (max-width:575px){.hidden-xs-only{display:none!important}}@media (min-width:576px) and (max-width:767px){.hidden-sm-only{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-md-only{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-lg-only{display:none!important}}@media (min-width:1200px){.hidden-xl-only{display:none!important}}.btn-bs{font-weight:500;color:#7952b3;border-color:#7952b3}.btn-bs:active,.btn-bs:focus,.btn-bs:hover{color:#fff;background-color:#7952b3;border-color:#7952b3}.bd-callout{padding:1.25rem;margin-top:1.25rem;margin-bottom:1.25rem;border:1px solid #eee;border-left-width:.25rem;border-radius:.25rem}.bd-callout h4{margin-top:0;margin-bottom:.25rem}.bd-callout p:last-child{margin-bottom:0}.bd-callout code{border-radius:.25rem}.bd-callout+.bd-callout{margin-top:-.25rem}.bd-callout-info{border-left-color:#5bc0de}.bd-callout-info h4{color:#5bc0de}.bd-callout-warning{border-left-color:#f0ad4e}.bd-callout-warning h4{color:#f0ad4e}.bd-callout-danger{border-left-color:#d9534f}.bd-callout-danger h4{color:#d9534f}.bd-examples .img-thumbnail{margin-bottom:.75rem}.bd-examples h4{margin-bottom:.25rem}.bd-examples p{margin-bottom:1.25rem}@media (max-width:480px){.bd-examples{margin-right:-.75rem;margin-left:-.75rem}.bd-examples>[class^=col-]{padding-right:.75rem;padding-left:.75rem}}.bd-team{margin-bottom:1.5rem}.bd-team .team-member{line-height:2rem;color:#555}.bd-team .team-member:hover{color:#333;text-decoration:none}.bd-team .github-btn{float:right;width:180px;height:1.25rem;margin-top:.25rem;border:0}.bd-team img{float:left;width:2rem;margin-right:.5rem;border-radius:.25rem}.bd-browser-bugs td p{margin-bottom:0}.bd-browser-bugs th:first-child{width:18%}.bd-brand-logos{display:table;width:100%;margin-bottom:1rem;overflow:hidden;color:#563d7c;background-color:#f9f9f9;border-radius:.25rem}.bd-brand-item{padding:4rem 0;text-align:center}.bd-brand-item+.bd-brand-item{border-top:1px solid #fff}.bd-brand-logos .inverse{color:#fff;background-color:#563d7c}.bd-brand-item h1,.bd-brand-item h3{margin-top:0;margin-bottom:0}.bd-brand-item .bd-booticon{margin-right:auto;margin-left:auto}@media (min-width:768px){.bd-brand-item{display:table-cell;width:1%}.bd-brand-item+.bd-brand-item{border-top:0;border-left:1px solid #fff}.bd-brand-item h1{font-size:4rem}}.color-swatches{margin:0 -5px;overflow:hidden}.color-swatch{float:left;width:4rem;height:4rem;margin-right:.25rem;margin-left:.25rem;border-radius:.25rem}@media (min-width:768px){.color-swatch{width:6rem;height:6rem}}.color-swatches .bd-purple{background-color:#563d7c}.color-swatches .bd-purple-light{background-color:#cdbfe3}.color-swatches .bd-purple-lighter{background-color:#e5e1ea}.color-swatches .bd-gray{background-color:#f9f9f9}.bd-clipboard{position:relative;display:none;float:right}.bd-clipboard+.highlight{margin-top:0}.btn-clipboard{position:absolute;top:.5rem;right:.5rem;z-index:10;display:block;padding:.25rem .5rem;font-size:75%;color:#818a91;cursor:pointer;background-color:transparent;border-radius:.25rem}.btn-clipboard:hover{color:#fff;background-color:#027de7}@media (min-width:768px){.bd-clipboard{display:block}}.hll{background-color:#ffc}.c{color:#999}.k{color:#069}.o{color:#555}.cm{color:#999}.cp{color:#099}.c1{color:#999}.cs{color:#999}.gd{background-color:#fcc;border:1px solid #c00}.ge{font-style:italic}.gr{color:red}.gh{color:#030}.gi{background-color:#cfc;border:1px solid #0c0}.go{color:#aaa}.gp{color:#009}.gu{color:#030}.gt{color:#9c6}.kc{color:#069}.kd{color:#069}.kn{color:#069}.kp{color:#069}.kr{color:#069}.kt{color:#078}.m{color:#f60}.s{color:#d44950}.na{color:#4f9fcf}.nb{color:#366}.nc{color:#0a8}.no{color:#360}.nd{color:#99f}.ni{color:#999}.ne{color:#c00}.nf{color:#c0f}.nl{color:#99f}.nn{color:#0cf}.nt{color:#2f6f9f}.nv{color:#033}.ow{color:#000}.w{color:#bbb}.mf{color:#f60}.mh{color:#f60}.mi{color:#f60}.mo{color:#f60}.sb{color:#c30}.sc{color:#c30}.sd{font-style:italic;color:#c30}.s2{color:#c30}.se{color:#c30}.sh{color:#c30}.si{color:#a00}.sx{color:#c30}.sr{color:#3aa}.s1{color:#c30}.ss{color:#fc3}.bp{color:#366}.vc{color:#033}.vg{color:#033}.vi{color:#033}.il{color:#f60}.css .nt+.nt,.css .o,.css .o+.nt{color:#999}.language-bash::before{color:#009;content:"$ ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.language-powershell::before{color:#009;content:"PM> ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.anchorjs-link{color:inherit}@media (max-width:480px){.anchorjs-link{display:none}}:hover>.anchorjs-link{opacity:.75;-webkit-transition:color .16s linear;-o-transition:color .16s linear;transition:color .16s linear}.anchorjs-link:focus,:hover>.anchorjs-link:hover{text-decoration:none;opacity:1} -------------------------------------------------------------------------------- /static/sticky-kit.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | Sticky-kit v1.1.3 | MIT | Leaf Corcoran 2015 | http://leafo.net 3 | */ 4 | (function(){var c,f;c=window.jQuery;f=c(window);c.fn.stick_in_parent=function(b){var A,w,J,n,B,K,p,q,L,k,E,t;null==b&&(b={});t=b.sticky_class;B=b.inner_scrolling;E=b.recalc_every;k=b.parent;q=b.offset_top;p=b.spacer;w=b.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=c(document);null==w&&(w=!0);L=function(a){var b;return window.getComputedStyle?(a=window.getComputedStyle(a[0]),b=parseFloat(a.getPropertyValue("width"))+parseFloat(a.getPropertyValue("margin-left"))+ 5 | parseFloat(a.getPropertyValue("margin-right")),"border-box"!==a.getPropertyValue("box-sizing")&&(b+=parseFloat(a.getPropertyValue("border-left-width"))+parseFloat(a.getPropertyValue("border-right-width"))+parseFloat(a.getPropertyValue("padding-left"))+parseFloat(a.getPropertyValue("padding-right"))),b):a.outerWidth(!0)};J=function(a,b,n,C,F,u,r,G){var v,H,m,D,I,d,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent"; 6 | v=m=!1;(h=null!=p?p&&a.closest(p):c("
    "))&&h.css("position",a.css("position"));x=function(){var d,f,e;if(!G&&(I=A.height(),d=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),b=parseInt(g.css("padding-bottom"),10),n=g.offset().top+d+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:L(a), 7 | height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,d=q,z=E,l=function(){var c,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+d>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:d}).trigger("sticky_kit:unbottom"))),ec&&!v&&(d-=l,d=Math.max(c-u,d),d=Math.min(q,d),m&&a.css({top:d+"px"})))):e>F&&(m=!0,c={position:"fixed",top:d},c.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(c).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+d>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:b,top:"auto"}).trigger("sticky_kit:bottom")}, 9 | y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);c(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),c(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l, 10 | 0)}};n=0;for(K=this.length;n 1) { 105 | var geomsByArc = [], 106 | geom; 107 | 108 | function arc(i) { 109 | if (i < 0) i = ~i; 110 | (geomsByArc[i] || (geomsByArc[i] = [])).push(geom); 111 | } 112 | 113 | function line(arcs) { 114 | arcs.forEach(arc); 115 | } 116 | 117 | function polygon(arcs) { 118 | arcs.forEach(line); 119 | } 120 | 121 | function geometry(o) { 122 | if (o.type === "GeometryCollection") o.geometries.forEach(geometry); 123 | else if (o.type in geometryType) { 124 | geom = o; 125 | geometryType[o.type](o.arcs); 126 | } 127 | } 128 | 129 | var geometryType = { 130 | LineString: line, 131 | MultiLineString: polygon, 132 | Polygon: polygon, 133 | MultiPolygon: function(arcs) { arcs.forEach(polygon); } 134 | }; 135 | 136 | geometry(o); 137 | 138 | geomsByArc.forEach(arguments.length < 3 139 | ? function(geoms, i) { arcs.push(i); } 140 | : function(geoms, i) { if (filter(geoms[0], geoms[geoms.length - 1])) arcs.push(i); }); 141 | } else { 142 | for (var i = 0, n = topology.arcs.length; i < n; ++i) arcs.push(i); 143 | } 144 | 145 | return object(topology, {type: "MultiLineString", arcs: merge(topology, arcs)}); 146 | } 147 | 148 | function featureOrCollection(topology, o) { 149 | return o.type === "GeometryCollection" ? { 150 | type: "FeatureCollection", 151 | features: o.geometries.map(function(o) { return feature(topology, o); }) 152 | } : feature(topology, o); 153 | } 154 | 155 | function feature(topology, o) { 156 | var f = { 157 | type: "Feature", 158 | id: o.id, 159 | properties: o.properties || {}, 160 | geometry: object(topology, o) 161 | }; 162 | if (o.id == null) delete f.id; 163 | return f; 164 | } 165 | 166 | function object(topology, o) { 167 | var tf = topology.transform, 168 | kx = tf.scale[0], 169 | ky = tf.scale[1], 170 | dx = tf.translate[0], 171 | dy = tf.translate[1], 172 | arcs = topology.arcs; 173 | 174 | function arc(i, points) { 175 | if (points.length) points.pop(); 176 | for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length, x = 0, y = 0, p; k < n; ++k) points.push([ 177 | (x += (p = a[k])[0]) * kx + dx, 178 | (y += p[1]) * ky + dy 179 | ]); 180 | if (i < 0) reverse(points, n); 181 | } 182 | 183 | function point(coordinates) { 184 | return [coordinates[0] * kx + dx, coordinates[1] * ky + dy]; 185 | } 186 | 187 | function line(arcs) { 188 | var points = []; 189 | for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points); 190 | if (points.length < 2) points.push(points[0]); 191 | return points; 192 | } 193 | 194 | function ring(arcs) { 195 | var points = line(arcs); 196 | while (points.length < 4) points.push(points[0]); 197 | return points; 198 | } 199 | 200 | function polygon(arcs) { 201 | return arcs.map(ring); 202 | } 203 | 204 | function geometry(o) { 205 | var t = o.type; 206 | return t === "GeometryCollection" ? {type: t, geometries: o.geometries.map(geometry)} 207 | : t in geometryType ? {type: t, coordinates: geometryType[t](o)} 208 | : null; 209 | } 210 | 211 | var geometryType = { 212 | Point: function(o) { return point(o.coordinates); }, 213 | MultiPoint: function(o) { return o.coordinates.map(point); }, 214 | LineString: function(o) { return line(o.arcs); }, 215 | MultiLineString: function(o) { return o.arcs.map(line); }, 216 | Polygon: function(o) { return polygon(o.arcs); }, 217 | MultiPolygon: function(o) { return o.arcs.map(polygon); } 218 | }; 219 | 220 | return geometry(o); 221 | } 222 | 223 | function reverse(array, n) { 224 | var t, j = array.length, i = j - n; while (i < --j) t = array[i], array[i++] = array[j], array[j] = t; 225 | } 226 | 227 | function bisect(a, x) { 228 | var lo = 0, hi = a.length; 229 | while (lo < hi) { 230 | var mid = lo + hi >>> 1; 231 | if (a[mid] < x) lo = mid + 1; 232 | else hi = mid; 233 | } 234 | return lo; 235 | } 236 | 237 | function neighbors(objects) { 238 | var objectsByArc = [], 239 | neighbors = objects.map(function() { return []; }); 240 | 241 | function line(arcs, i) { 242 | arcs.forEach(function(a) { 243 | if (a < 0) a = ~a; 244 | var o = objectsByArc[a] || (objectsByArc[a] = []); 245 | if (!o[i]) o.forEach(function(j) { 246 | var n, k; 247 | k = bisect(n = neighbors[i], j); if (n[k] !== j) n.splice(k, 0, j); 248 | k = bisect(n = neighbors[j], i); if (n[k] !== i) n.splice(k, 0, i); 249 | }), o[i] = i; 250 | }); 251 | } 252 | 253 | function polygon(arcs, i) { 254 | arcs.forEach(function(arc) { line(arc, i); }); 255 | } 256 | 257 | function geometry(o, i) { 258 | if (o.type === "GeometryCollection") o.geometries.forEach(function(o) { geometry(o, i); }); 259 | else if (o.type in geometryType) geometryType[o.type](o.arcs, i); 260 | } 261 | 262 | var geometryType = { 263 | LineString: line, 264 | MultiLineString: polygon, 265 | Polygon: polygon, 266 | MultiPolygon: function(arcs, i) { arcs.forEach(function(arc) { polygon(arc, i); }); } 267 | }; 268 | 269 | objects.forEach(geometry); 270 | return neighbors; 271 | } 272 | 273 | return { 274 | version: "1.1.3", 275 | mesh: mesh, 276 | feature: featureOrCollection, 277 | neighbors: neighbors 278 | }; 279 | })(); 280 | -------------------------------------------------------------------------------- /static/twitter-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/twitter-logo.png -------------------------------------------------------------------------------- /static/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/craigpmc/Stock-Market-Prediction-Web-App-using-Machine-Learning-And-Sentiment-Analysis/080e0060ac7726bbd726f8defb396a7f13cf0b92/static/wall.png -------------------------------------------------------------------------------- /static/weather-init.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | // "use strict"; 3 | 4 | function loadWeather(location, woeid) { 5 | $.simpleWeather({ 6 | location: location, 7 | woeid: woeid, 8 | unit: 'f', 9 | success: function (weather) { 10 | 11 | html = '

    ' + weather.temp + '°' + weather.units.temp + '

    '; 12 | html += '
    ' + weather.city + ', ' + weather.region + '
    '; 13 | html += '
    ' + weather.currently + '
    '; 14 | html += '
    ' + weather.alt.temp + '°C
    '; 15 | 16 | $("#weather-one").html(html); 17 | }, 18 | error: function (error) { 19 | $("#weather-one").html('

    ' + error + '

    '); 20 | } 21 | }); 22 | } 23 | 24 | 25 | // init 26 | loadWeather('Dhaka', ''); 27 | 28 | })(jQuery); 29 | -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JKS 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
    71 | 72 | 73 | 74 | 75 |
    76 |
    77 |
    78 |
    79 |
    80 |

    PREDICT THE FUTURE

    81 |
    82 |

    83 | 84 |
    85 |
    86 |
    87 |
    88 |
    89 |
    90 | 91 | 92 | 93 |