Commit bb4913de authored by Sacha's avatar Sacha Committed by SXibolet@2PITAU
Browse files

# of issues on login page

parent 86e16b90
This diff is collapsed.
......@@ -106,6 +106,7 @@ def login(username):
title='Login',
form=form,
css=digest('login.css'),
js=digest('login.js'),
username=username or '')
......
......@@ -11,15 +11,18 @@ img {
height: auto;
margin: auto; }
a {
border-bottom: 0px solid #ccc; // hack for Firefox flashing colors
color: #61748c;
font-weight: 700;
outline: 0;
@include transition(0.1s);
text-decoration: none; }
text-decoration: none;
@include transition(0.1s); }
a:hover, a:active {
text-decoration: none;
background-color: #eee;
color: #800; }
a:active { border-bottom: 1px solid #ccc; }
a:active {
border-bottom: 1px solid #ccc; }
input.field {
font-size: 16px;
padding: 6px 12px;
......
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{color:#61748c;font-weight:700;outline:0;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s;text-decoration:none}a:hover,a:active{background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{color:#61748c;font-weight:700;outline:0;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s;text-decoration:none}a:hover,a:active{background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}ul.articles,ul.tweets{margin:0 auto;width:400px}ul.articles li,ul.tweets li{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none}ul.articles{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}ul.articles li{width:400px;margin-bottom:2em}ul.tweets{margin-top:2em;width:310px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}ul.tweets li{width:150px;margin-bottom:5px}div.article,div.tweet{padding-bottom:10px;background-color:#fff;border:2px solid #efefef;position:relative;font-size:14px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}div.article p{padding:5px}div.article a.title{color:#000;padding:3px 5px 5px 5px;margin-top:5px;margin-bottom:2px;font-size:28px;display:block}div.article a.title:hover,div.article a.title:active{background-color:rgba(255,255,255,0);border-bottom:none}div.article p.url{padding:5px;border-top:1px solid #e5e5e5;background-image:url("img/url.png");background-repeat:no-repeat;padding:10px 0 0 30px;height:30px;display:block;margin-bottom:-10px}div.article p.url a{color:#04bff4;text-decoration:none;width:385px;display:block;position:relative}div.article p.url a:hover,div.article p.url a:active{background-color:transparent;border-bottom:none}div.article img{width:100%}div.tweet{-webkit-transition:all 0.4s ease-in-out 0s;-moz-transition:all 0.4s ease-in-out 0s;-ms-transition:all 0.4s ease-in-out 0s;transition:all 0.4s ease-in-out 0s;padding:2px;overflow:hidden}div.tweet a{color:inherit;text-decoration:none}div.mad{border:2px solid #f90101}div.happy{border:2px solid #00933b}div.hovering{color:#000}div.no-hover{color:#c3c3c3;border:2px solid #f9f9f9}div.most-controversial{border:3px solid #f90101}div.least-controversial{border:3px solid #00933b}@media (min-width: 920px){ul.tweets{width:850px;-webkit-column-count:4;-moz-column-count:4;column-count:4}ul.tweets li{width:180px}}@media (max-width: 550px){ul.articles{width:320px}ul.articles li{width:315px}}footer{display:none}header{z-index:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:default;width:100%;height:55px;line-height:55px;background:#fff;border-bottom:1px solid #efefef;position:fixed;font-size:14px}header>div{padding:0 15px 0 5px;display:inline}header>div>a.mini{display:none}header>div a:active,header>div a:hover{border-bottom:none}header>div h1{text-align:left;display:inline;font-size:25px;opacity:0.8;font-variant:small-caps}header>div span#subtitle{opacity:0.4;padding-left:5px}header>div span#right-header{float:right;padding-right:10px}header>div form{display:inline}header>div>form input{font-size:16px;padding:6px 12px;line-height:1.5;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border-bottom:1px solid #d9d9d9;margin:0 auto;height:15px;width:30%}header>div>form input:focus{background-color:#f1f8fb;color:#2b6dad}header input[type='text'].top_loading{background:url("img/loading.gif") no-repeat;background-position:98% 50%;background-size:20px 20px}main{padding:6em 1em}main input.loading{background:url("img/loading.gif") no-repeat;background-size:20px 20px;padding:10px 10px 10px 36px;background-position:10% 50%}main>form{margin-bottom:10px;text-align:center}main>form input[type="text"]{margin-bottom:10px;width:275px;border-bottom:1px solid #d9d9d9}main>form input[type="text"]:focus{color:#2b6dad;background-color:#f1f8fb}main div.featured_keywords{display:table;padding-bottom:1em;margin:0 auto}main div.featured_keywords dl.left{float:left;width:50%}main div.featured_keywords dl.right{float:right;width:50%}main div.featured_keywords dt{float:left;width:7.5em;padding:1ex .5em 0 .5em;text-align:right;font-weight:bold}main div.featured_keywords dd{margin:0 0 0 8.5em;padding:1ex 0.5em;text-align:left;border-left:1px solid #888}main div.featured_keywords dd span{white-space:nowrap}main ul.details{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none;margin:0 0 10px 0;padding:0}main ul.details li{display:inline}main ul.details li>span{line-height:30px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border:1px solid #d9d9d9;padding:2px}main article{text-align:justify}main article a,main article a:hover,main article a:active{border-bottom:none;color:#fff;background-color:#337ab7}main article a{font-weight:700}main article a:hover,main article a:active{background-color:#2e6da4}main article+p{-webkit-transition:all 0.3s ease-in-out 0s;-moz-transition:all 0.3s ease-in-out 0s;-ms-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;opacity:0.6}main article+p:hover{opacity:1.0}main mark{line-height:25px;color:#2b6dad;background-color:#f1f8fb;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;padding:2px}main .disabled{cursor:not-allowed;background-color:#f9f9f9}main .disabled:active{color:#fff;background-color:#edb43a}span.danger{color:#fff;background-color:#d43f3a;padding:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}figcaption{margin:10px 0 10px 0}@media (max-width: 700px){header>div h1{font-size:22px}header>div span#right-header,header>div>a{font-size:12px}.non-essentials{display:none}}@media (max-width: 520px){main div.featured_keywords dl.left,main div.featured_keywords dl.right{float:none}span.danger{display:block}input[type='text'].top_loading{height:40px}}@media (max-width: 415px){header>div>a.mini{display:inline}header>div>a.lg{display:none}}main{padding:4em 1em}ul{margin:10px 10px 4em 10px;list-style:square}ul li{margin-left:20px}ul p{float:right;text-align:right}h3{border-bottom:1px dashed #d9d9d9;padding:5px;font-variant:small-caps;font-weight:400}ul.issues_list{list-style:none}form{padding:5px;border:1px solid #e9e9e9;display:inline-block}form #bug b{color:#f90101}form input{color:#edb43a}@media (max-width: 650px){input{display:block}}
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{border-bottom:0px solid #ccc;color:#61748c;font-weight:700;outline:0;text-decoration:none;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s}a:hover,a:active{text-decoration:none;background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{border-bottom:0px solid #ccc;color:#61748c;font-weight:700;outline:0;text-decoration:none;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s}a:hover,a:active{text-decoration:none;background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}ul.articles,ul.tweets{margin:0 auto;width:400px}ul.articles li,ul.tweets li{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none}ul.articles{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}ul.articles li{width:400px;margin-bottom:2em}ul.tweets{margin-top:2em;width:310px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}ul.tweets li{width:150px;margin-bottom:5px}div.article,div.tweet{padding-bottom:10px;background-color:#fff;border:2px solid #efefef;position:relative;font-size:14px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}div.article p{padding:5px}div.article a.title{color:#000;padding:3px 5px 5px 5px;margin-top:5px;margin-bottom:2px;font-size:28px;display:block}div.article a.title:hover,div.article a.title:active{background-color:rgba(255,255,255,0);border-bottom:none}div.article p.url{padding:5px;border-top:1px solid #e5e5e5;background-image:url("img/url.png");background-repeat:no-repeat;padding:10px 0 0 30px;height:30px;display:block;margin-bottom:-10px}div.article p.url a{color:#04bff4;text-decoration:none;width:385px;display:block;position:relative}div.article p.url a:hover,div.article p.url a:active{background-color:transparent;border-bottom:none}div.article img{width:100%}div.tweet{-webkit-transition:all 0.4s ease-in-out 0s;-moz-transition:all 0.4s ease-in-out 0s;-ms-transition:all 0.4s ease-in-out 0s;transition:all 0.4s ease-in-out 0s;padding:2px;overflow:hidden}div.tweet a{color:inherit;text-decoration:none}div.mad{border:2px solid #f90101}div.happy{border:2px solid #00933b}div.hovering{color:#000}div.no-hover{color:#c3c3c3;border:2px solid #f9f9f9}div.most-controversial{border:3px solid #f90101}div.least-controversial{border:3px solid #00933b}@media (min-width: 920px){ul.tweets{width:850px;-webkit-column-count:4;-moz-column-count:4;column-count:4}ul.tweets li{width:180px}}@media (max-width: 550px){ul.articles{width:320px}ul.articles li{width:315px}}footer{display:none}header{z-index:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:default;width:100%;height:55px;line-height:55px;background:#fff;border-bottom:1px solid #efefef;position:fixed;font-size:14px}header>div{padding:0 15px 0 5px;display:inline}header>div>a.mini{display:none}header>div a:active,header>div a:hover{border-bottom:none}header>div h1{text-align:left;display:inline;font-size:25px;opacity:0.8;font-variant:small-caps}header>div span#subtitle{opacity:0.4;padding-left:5px}header>div span#right-header{float:right;padding-right:10px}header>div form{display:inline}header>div>form input{font-size:16px;padding:6px 12px;line-height:1.5;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border-bottom:1px solid #d9d9d9;margin:0 auto;height:15px;width:30%}header>div>form input:focus{background-color:#f1f8fb;color:#2b6dad}header input[type='text'].top_loading{background:url("img/loading.gif") no-repeat;background-position:98% 50%;background-size:20px 20px}main{padding:6em 1em}main input.loading{background:url("img/loading.gif") no-repeat;background-size:20px 20px;padding:10px 10px 10px 36px;background-position:10% 50%}main>form{margin-bottom:10px;text-align:center}main>form input[type="text"]{margin-bottom:10px;width:275px;border-bottom:1px solid #d9d9d9}main>form input[type="text"]:focus{color:#2b6dad;background-color:#f1f8fb}main div.featured_keywords{display:table;padding-bottom:1em;margin:0 auto}main div.featured_keywords dl.left{float:left;width:50%}main div.featured_keywords dl.right{float:right;width:50%}main div.featured_keywords dt{float:left;width:7.5em;padding:1ex .5em 0 .5em;text-align:right;font-weight:bold}main div.featured_keywords dd{margin:0 0 0 8.5em;padding:1ex 0.5em;text-align:left;border-left:1px solid #888}main div.featured_keywords dd span{white-space:nowrap}main ul.details{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none;margin:0 0 10px 0;padding:0}main ul.details li{display:inline}main ul.details li>span{line-height:30px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border:1px solid #d9d9d9;padding:2px}main article{text-align:justify}main article a,main article a:hover,main article a:active{border-bottom:none;color:#fff;background-color:#337ab7}main article a{font-weight:700}main article a:hover,main article a:active{background-color:#2e6da4}main article+p{-webkit-transition:all 0.3s ease-in-out 0s;-moz-transition:all 0.3s ease-in-out 0s;-ms-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;opacity:0.6}main article+p:hover{opacity:1.0}main mark{line-height:25px;color:#2b6dad;background-color:#f1f8fb;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;padding:2px}main .disabled{cursor:not-allowed;background-color:#f9f9f9}main .disabled:active{color:#fff;background-color:#edb43a}span.danger{color:#fff;background-color:#d43f3a;padding:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}figcaption{margin:10px 0 10px 0}@media (max-width: 700px){header>div h1{font-size:22px}header>div span#right-header,header>div>a{font-size:12px}.non-essentials{display:none}}@media (max-width: 520px){main div.featured_keywords dl.left,main div.featured_keywords dl.right{float:none}span.danger{display:block}input[type='text'].top_loading{height:40px}}@media (max-width: 415px){header>div>a.mini{display:inline}header>div>a.lg{display:none}}main{padding:4em 1em}ul{margin:10px 10px 4em 10px;list-style:square}ul li{margin-left:20px}ul p{float:right;text-align:right}h3{border-bottom:1px dashed #d9d9d9;padding:5px;font-variant:small-caps;font-weight:400}ul.issues_list{list-style:none}form{padding:5px;border:1px solid #e9e9e9;display:inline-block}form #bug b{color:#f90101}form input{color:#edb43a}@media (max-width: 650px){input{display:block}}
/*# sourceMappingURL=account.css.map */
This diff is collapsed.
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{color:#61748c;font-weight:700;outline:0;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s;text-decoration:none}a:hover,a:active{background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}ul.articles,ul.tweets{margin:0 auto;width:400px}ul.articles li,ul.tweets li{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none}ul.articles{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}ul.articles li{width:400px;margin-bottom:2em}ul.tweets{margin-top:2em;width:310px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}ul.tweets li{width:150px;margin-bottom:5px}div.article,div.tweet{padding-bottom:10px;background-color:#fff;border:2px solid #efefef;position:relative;font-size:14px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}div.article p{padding:5px}div.article a.title{color:#000;padding:3px 5px 5px 5px;margin-top:5px;margin-bottom:2px;font-size:28px;display:block}div.article a.title:hover,div.article a.title:active{background-color:rgba(255,255,255,0);border-bottom:none}div.article p.url{padding:5px;border-top:1px solid #e5e5e5;background-image:url("img/url.png");background-repeat:no-repeat;padding:10px 0 0 30px;height:30px;display:block;margin-bottom:-10px}div.article p.url a{color:#04bff4;text-decoration:none;width:385px;display:block;position:relative}div.article p.url a:hover,div.article p.url a:active{background-color:transparent;border-bottom:none}div.article img{width:100%}div.tweet{-webkit-transition:all 0.4s ease-in-out 0s;-moz-transition:all 0.4s ease-in-out 0s;-ms-transition:all 0.4s ease-in-out 0s;transition:all 0.4s ease-in-out 0s;padding:2px;overflow:hidden}div.tweet a{color:inherit;text-decoration:none}div.mad{border:2px solid #f90101}div.happy{border:2px solid #00933b}div.hovering{color:#000}div.no-hover{color:#c3c3c3;border:2px solid #f9f9f9}div.most-controversial{border:3px solid #f90101}div.least-controversial{border:3px solid #00933b}@media (min-width: 920px){ul.tweets{width:850px;-webkit-column-count:4;-moz-column-count:4;column-count:4}ul.tweets li{width:180px}}@media (max-width: 550px){ul.articles{width:320px}ul.articles li{width:315px}}footer{display:none}header{z-index:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:default;width:100%;height:55px;line-height:55px;background:#fff;border-bottom:1px solid #efefef;position:fixed;font-size:14px}header>div{padding:0 15px 0 5px;display:inline}header>div>a.mini{display:none}header>div a:active,header>div a:hover{border-bottom:none}header>div h1{text-align:left;display:inline;font-size:25px;opacity:0.8;font-variant:small-caps}header>div span#subtitle{opacity:0.4;padding-left:5px}header>div span#right-header{float:right;padding-right:10px}header>div form{display:inline}header>div>form input{font-size:16px;padding:6px 12px;line-height:1.5;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border-bottom:1px solid #d9d9d9;margin:0 auto;height:15px;width:30%}header>div>form input:focus{background-color:#f1f8fb;color:#2b6dad}header input[type='text'].top_loading{background:url("img/loading.gif") no-repeat;background-position:98% 50%;background-size:20px 20px}main{padding:6em 1em}main input.loading{background:url("img/loading.gif") no-repeat;background-size:20px 20px;padding:10px 10px 10px 36px;background-position:10% 50%}main>form{margin-bottom:10px;text-align:center}main>form input[type="text"]{margin-bottom:10px;width:275px;border-bottom:1px solid #d9d9d9}main>form input[type="text"]:focus{color:#2b6dad;background-color:#f1f8fb}main div.featured_keywords{display:table;padding-bottom:1em;margin:0 auto}main div.featured_keywords dl.left{float:left;width:50%}main div.featured_keywords dl.right{float:right;width:50%}main div.featured_keywords dt{float:left;width:7.5em;padding:1ex .5em 0 .5em;text-align:right;font-weight:bold}main div.featured_keywords dd{margin:0 0 0 8.5em;padding:1ex 0.5em;text-align:left;border-left:1px solid #888}main div.featured_keywords dd span{white-space:nowrap}main ul.details{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none;margin:0 0 10px 0;padding:0}main ul.details li{display:inline}main ul.details li>span{line-height:30px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border:1px solid #d9d9d9;padding:2px}main article{text-align:justify}main article a,main article a:hover,main article a:active{border-bottom:none;color:#fff;background-color:#337ab7}main article a{font-weight:700}main article a:hover,main article a:active{background-color:#2e6da4}main article+p{-webkit-transition:all 0.3s ease-in-out 0s;-moz-transition:all 0.3s ease-in-out 0s;-ms-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;opacity:0.6}main article+p:hover{opacity:1.0}main mark{line-height:25px;color:#2b6dad;background-color:#f1f8fb;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;padding:2px}main .disabled{cursor:not-allowed;background-color:#f9f9f9}main .disabled:active{color:#fff;background-color:#edb43a}span.danger{color:#fff;background-color:#d43f3a;padding:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}figcaption{margin:10px 0 10px 0}@media (max-width: 700px){header>div h1{font-size:22px}header>div span#right-header,header>div>a{font-size:12px}.non-essentials{display:none}}@media (max-width: 520px){main div.featured_keywords dl.left,main div.featured_keywords dl.right{float:none}span.danger{display:block}input[type='text'].top_loading{height:40px}}@media (max-width: 415px){header>div>a.mini{display:inline}header>div>a.lg{display:none}}
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{border-bottom:0px solid #ccc;color:#61748c;font-weight:700;outline:0;text-decoration:none;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s}a:hover,a:active{text-decoration:none;background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}ul.articles,ul.tweets{margin:0 auto;width:400px}ul.articles li,ul.tweets li{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none}ul.articles{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}ul.articles li{width:400px;margin-bottom:2em}ul.tweets{margin-top:2em;width:310px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}ul.tweets li{width:150px;margin-bottom:5px}div.article,div.tweet{padding-bottom:10px;background-color:#fff;border:2px solid #efefef;position:relative;font-size:14px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}div.article p{padding:5px}div.article a.title{color:#000;padding:3px 5px 5px 5px;margin-top:5px;margin-bottom:2px;font-size:28px;display:block}div.article a.title:hover,div.article a.title:active{background-color:rgba(255,255,255,0);border-bottom:none}div.article p.url{padding:5px;border-top:1px solid #e5e5e5;background-image:url("img/url.png");background-repeat:no-repeat;padding:10px 0 0 30px;height:30px;display:block;margin-bottom:-10px}div.article p.url a{color:#04bff4;text-decoration:none;width:385px;display:block;position:relative}div.article p.url a:hover,div.article p.url a:active{background-color:transparent;border-bottom:none}div.article img{width:100%}div.tweet{-webkit-transition:all 0.4s ease-in-out 0s;-moz-transition:all 0.4s ease-in-out 0s;-ms-transition:all 0.4s ease-in-out 0s;transition:all 0.4s ease-in-out 0s;padding:2px;overflow:hidden}div.tweet a{color:inherit;text-decoration:none}div.mad{border:2px solid #f90101}div.happy{border:2px solid #00933b}div.hovering{color:#000}div.no-hover{color:#c3c3c3;border:2px solid #f9f9f9}div.most-controversial{border:3px solid #f90101}div.least-controversial{border:3px solid #00933b}@media (min-width: 920px){ul.tweets{width:850px;-webkit-column-count:4;-moz-column-count:4;column-count:4}ul.tweets li{width:180px}}@media (max-width: 550px){ul.articles{width:320px}ul.articles li{width:315px}}footer{display:none}header{z-index:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:default;width:100%;height:55px;line-height:55px;background:#fff;border-bottom:1px solid #efefef;position:fixed;font-size:14px}header>div{padding:0 15px 0 5px;display:inline}header>div>a.mini{display:none}header>div a:active,header>div a:hover{border-bottom:none}header>div h1{text-align:left;display:inline;font-size:25px;opacity:0.8;font-variant:small-caps}header>div span#subtitle{opacity:0.4;padding-left:5px}header>div span#right-header{float:right;padding-right:10px}header>div form{display:inline}header>div>form input{font-size:16px;padding:6px 12px;line-height:1.5;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border-bottom:1px solid #d9d9d9;margin:0 auto;height:15px;width:30%}header>div>form input:focus{background-color:#f1f8fb;color:#2b6dad}header input[type='text'].top_loading{background:url("img/loading.gif") no-repeat;background-position:98% 50%;background-size:20px 20px}main{padding:6em 1em}main input.loading{background:url("img/loading.gif") no-repeat;background-size:20px 20px;padding:10px 10px 10px 36px;background-position:10% 50%}main>form{margin-bottom:10px;text-align:center}main>form input[type="text"]{margin-bottom:10px;width:275px;border-bottom:1px solid #d9d9d9}main>form input[type="text"]:focus{color:#2b6dad;background-color:#f1f8fb}main div.featured_keywords{display:table;padding-bottom:1em;margin:0 auto}main div.featured_keywords dl.left{float:left;width:50%}main div.featured_keywords dl.right{float:right;width:50%}main div.featured_keywords dt{float:left;width:7.5em;padding:1ex .5em 0 .5em;text-align:right;font-weight:bold}main div.featured_keywords dd{margin:0 0 0 8.5em;padding:1ex 0.5em;text-align:left;border-left:1px solid #888}main div.featured_keywords dd span{white-space:nowrap}main ul.details{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;-ms-column-break-inside:avoid;column-break-inside:avoid;list-style:none;margin:0 0 10px 0;padding:0}main ul.details li{display:inline}main ul.details li>span{line-height:30px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;border:1px solid #d9d9d9;padding:2px}main article{text-align:justify}main article a,main article a:hover,main article a:active{border-bottom:none;color:#fff;background-color:#337ab7}main article a{font-weight:700}main article a:hover,main article a:active{background-color:#2e6da4}main article+p{-webkit-transition:all 0.3s ease-in-out 0s;-moz-transition:all 0.3s ease-in-out 0s;-ms-transition:all 0.3s ease-in-out 0s;transition:all 0.3s ease-in-out 0s;opacity:0.6}main article+p:hover{opacity:1.0}main mark{line-height:25px;color:#2b6dad;background-color:#f1f8fb;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;padding:2px}main .disabled{cursor:not-allowed;background-color:#f9f9f9}main .disabled:active{color:#fff;background-color:#edb43a}span.danger{color:#fff;background-color:#d43f3a;padding:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px}figcaption{margin:10px 0 10px 0}@media (max-width: 700px){header>div h1{font-size:22px}header>div span#right-header,header>div>a{font-size:12px}.non-essentials{display:none}}@media (max-width: 520px){main div.featured_keywords dl.left,main div.featured_keywords dl.right{float:none}span.danger{display:block}input[type='text'].top_loading{height:40px}}@media (max-width: 415px){header>div>a.mini{display:inline}header>div>a.lg{display:none}}
/*# sourceMappingURL=home.css.map */
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{color:#61748c;font-weight:700;outline:0;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s;text-decoration:none}a:hover,a:active{background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}div#login{padding:1px 5px 20px 5px;text-align:center;-webkit-box-shadow:0 1px 2px 2px #eee;-moz-box-shadow:0 1px 2px 2px #eee;-ms-box-shadow:0 1px 2px 2px #eee;box-shadow:0 1px 2px 2px #eee;width:450px;margin:5em auto 0 auto}div#login form{margin-top:10px}div#login center{margin-top:1em}div#login div.g-recaptcha{display:table;margin:0 auto}div#login span#details{font-size:16px}div#login h1{font-size:26px;font-variant:small-caps;margin:20px 0 5px 0}@media (max-width: 520px){div#login{width:350px}div#login h1{font-size:22px}div#login span#details{font-size:14px}}@media (max-width: 390px){div#login{width:320px}}@media (max-width: 330px){div#login{width:250px}}
html,ul,body,header,input,span,form{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{font-family:Open Sans, Myriad Pro, Calibri, Droid Sans, Trebuchet MS, Sans-serif;height:100%}input{outline:0;box-shadow:none}img{max-width:100%;height:auto;margin:auto}a{border-bottom:0px solid #ccc;color:#61748c;font-weight:700;outline:0;text-decoration:none;-webkit-transition:all 0.1s ease-in-out 0s;-moz-transition:all 0.1s ease-in-out 0s;-ms-transition:all 0.1s ease-in-out 0s;transition:all 0.1s ease-in-out 0s}a:hover,a:active{text-decoration:none;background-color:#eee;color:#800}a:active{border-bottom:1px solid #ccc}input.field{font-size:16px;padding:6px 12px;color:#555;border-bottom:1px dashed #d9d9d9;-webkit-border-radius:1px;-moz-border-radius:1px;-ms-border-radius:1px;border-radius:1px;margin:0 auto;margin-bottom:5px;height:20px;width:70%;text-align:center}input[type="submit"]{font-size:90%;cursor:pointer;min-width:100px;height:40px;background-color:#e9e9e9;border:1px solid #c3c3c3;color:#333;padding:4px;outline:0;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;-webkit-transition:all 0.15s ease-in-out 0s;-moz-transition:all 0.15s ease-in-out 0s;-ms-transition:all 0.15s ease-in-out 0s;transition:all 0.15s ease-in-out 0s}input[type="submit"]:hover{border:1px solid #a3a3a3}input[type="submit"]:focus,input[type="submit"]:active{outline:0}input[type="submit"]:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}input::-moz-focus-inner{border:0}footer{margin:5em 0 0.5em 0;width:95%;color:#b0b0b0;font-size:12px;text-align:center}footer p{padding-top:10px}div#message,div#error{position:fixed;font-size:90%;overflow:hidden;padding:3px;top:0;background-color:#a3a3a3;color:#fff;text-align:center;width:100%}div#message a,div#error a{color:#fff}div#error{background-color:#edb43a}div#login{padding:1px 5px 20px 5px;text-align:center;-webkit-box-shadow:0 1px 2px 2px #eee;-moz-box-shadow:0 1px 2px 2px #eee;-ms-box-shadow:0 1px 2px 2px #eee;box-shadow:0 1px 2px 2px #eee;width:450px;margin:5em auto 0 auto}div#login form{margin-top:10px}div#login center{margin-top:1em}div#login div.g-recaptcha{display:table;margin:0 auto}div#login span#details{font-size:16px}div#login h1{font-size:26px;font-variant:small-caps;margin:20px 0 5px 0}@media (max-width: 520px){div#login{width:350px}div#login h1{font-size:22px}div#login span#details{font-size:14px}}@media (max-width: 390px){div#login{width:320px}}@media (max-width: 330px){div#login{width:290px}}
/*# sourceMappingURL=login.css.map */
if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > 0) {
window.location.replace('not-supported');
}
document.getElementsByTagName('form')[0].style.display = 'block';
if (!window.jQuery) {
document.getElementsByTagName('form')[0].style.display = 'none';
} else {
var isWebKit = 'WebkitAppearance' in document.documentElement.style;
var isSafari = (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1);
if (isWebKit) {
$.ajax({url: '/set/webkit'});
}
if (isSafari) {
$.ajax({url: '/set/safari'});
}
}
$(document).ready(function() {
getJSON(function(d) {
issues = d.length;
$("#loading_bugs").hide();
$("#n_bugs")
.show()
.text(issues);
$("#bugs_a").text('Report a bug')
}, function() {
issues = '?';
}, 'https://api.github.com/repos/gdyer/controversy/issues');
});
function getJSON(callback, failure_callback, url) {
$.getJSON(url, function(data) {
callback(data);
}).fail(function() {
failure_callback();
});
}
......@@ -27,7 +27,13 @@
<span id=details>
<a href="training">Annotate articles</a> to help us build a dataset for future study!
<center>
<a href="https://github.com/gdyer/controversy">&star; on GitHub</a> &middot; <a href="https://github.com/gdyer/controversy/issues">Known bugs</a>
<a href="https://github.com/gdyer/controversy">&star; on GitHub</a>
&middot;
<a href="https://github.com/gdyer/controversy/issues" id=bugs_a>Known bugs</a>
<small>
( <img id=loading_bugs src="{{ url_for('static', filename='img/small-loading.gif') }}" />
<span style="display:none" id=n_bugs></span> )
</small>
</center>
<hr>
Please login or <a href="register">create a free account</a> to use the demo.
......@@ -44,24 +50,6 @@
</form>
</div>
<script>
if (navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > 0) {
window.location.replace('not-supported');
}
document.getElementsByTagName('form')[0].style.display = 'block';
</script>
<script src="{{ url_for('static', filename='lib/jquery.min.js') }}"></script>
<script>
if (!window.jQuery) {
document.getElementsByTagName('form')[0].style.display = 'none';
} else {
var isWebKit = 'WebkitAppearance' in document.documentElement.style;
var isSafari = (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1);
if (isWebKit) {
$.ajax({url: '/set/webkit'});
}
if (isSafari) {
$.ajax({url: '/set/safari'});
}
}
</script>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment