changed naming scheme for the theme and fixed small issue with image view #8
51 changed files with 1647 additions and 2846 deletions
1087
beetroot_static/css/beetroot.css
Normal file
1087
beetroot_static/css/beetroot.css
Normal file
File diff suppressed because it is too large
Load diff
1
beetroot_static/css/beetroot.min.css
vendored
Normal file
1
beetroot_static/css/beetroot.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
beetroot_static/css/beetroot.min.css.map
Normal file
1
beetroot_static/css/beetroot.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
1
beetroot_static/css/darkbeet.min.css
vendored
Normal file
1
beetroot_static/css/darkbeet.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
beetroot_static/css/darkbeet.min.css.map
Normal file
1
beetroot_static/css/darkbeet.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
1
beetroot_static/css/logicodev-dark.css
Symbolic link
1
beetroot_static/css/logicodev-dark.css
Symbolic link
|
@ -0,0 +1 @@
|
|||
dakrbeet.css
|
1
beetroot_static/css/logicodev-dark.min.css
vendored
1
beetroot_static/css/logicodev-dark.min.css
vendored
File diff suppressed because one or more lines are too long
1
beetroot_static/css/logicodev-dark.min.css
vendored
Symbolic link
1
beetroot_static/css/logicodev-dark.min.css
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dakrbeet.min.css
|
File diff suppressed because one or more lines are too long
1
beetroot_static/css/logicodev-dark.min.css.map
Symbolic link
1
beetroot_static/css/logicodev-dark.min.css.map
Symbolic link
|
@ -0,0 +1 @@
|
|||
dakrbeet.min.css.map
|
File diff suppressed because it is too large
Load diff
1
beetroot_static/css/logicodev.css
Symbolic link
1
beetroot_static/css/logicodev.css
Symbolic link
|
@ -0,0 +1 @@
|
|||
beetroot.css
|
1
beetroot_static/css/logicodev.min.css
vendored
1
beetroot_static/css/logicodev.min.css
vendored
File diff suppressed because one or more lines are too long
1
beetroot_static/css/logicodev.min.css
vendored
Symbolic link
1
beetroot_static/css/logicodev.min.css
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
beetroot.min.css
|
File diff suppressed because one or more lines are too long
1
beetroot_static/css/logicodev.min.css.map
Symbolic link
1
beetroot_static/css/logicodev.min.css.map
Symbolic link
|
@ -0,0 +1 @@
|
|||
beetroot.min.css.map
|
1
beetroot_static/css/pointhi.min.css
vendored
1
beetroot_static/css/pointhi.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"version":3,"sources":["../src/less/pointhi/footer.less","../src/less/pointhi/checkbox.less","../src/less/pointhi/onoff.less","../src/less/pointhi/results.less","../src/less/pointhi/infobox.less","../src/less/pointhi/search.less","../src/less/pointhi/advanced.less","../src/less/pointhi/cursor.less","../src/less/pointhi/pygments.less","../src/less/pointhi/navbar.less","../src/less/pointhi/preferences.less"],"names":[],"mappings":"AAEA,KACE,SAAA,SACA,WAAA,KAGF,KAEE,cAAA,KAGF,QACE,SAAA,SACA,OAAA,EACA,MAAA,KAEA,OAAA,KChB2B,oDAAoF,+EAC/G,QAAA,KAI2H,qFAA1F,8DACjC,QAAA,KCPF,gBACI,MAAA,IAEJ,aACI,SAAA,SACA,MAAA,MACA,oBAAA,KACA,iBAAA,KACA,gBAAA,KAEJ,sBACI,QAAA,KAEJ,mBACI,QAAA,MACA,SAAA,OACA,OAAA,QACA,OAAA,IAAA,MAAA,eACA,cAAA,eAEJ,mBACI,QAAA,MACA,WAAA,OAAA,IAAA,QAAA,GAGyC,yBAA3B,0BACd,QAAA,MACA,MAAA,KACA,MAAA,IACA,OAAA,KACA,QAAA,EACA,YAAA,KACA,UAAA,KACA,WAAA,WACA,QAAA,GACA,iBAAA,KAGJ,oBACI,QAAA,MACA,MAAA,KACA,iBAAA,KACA,SAAA,SACA,IAAA,EACA,OAAA,EACA,MAAA,EACA,OAAA,IAAA,MAAA,eACA,cAAA,eACA,WAAA,IAAA,IAAA,QAAA,GAE+C,oEAC/C,aAAA,EAE+C,qEAC/C,MAAA,KACA,iBA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oBAAM,MAAA,QACN,oBAAM,MAAA,QACN,oBAAM,MAAA,MACN,oBAAM,MAAA,KACN,oBAAM,MAAA,QACN,oBAAM,MAAA,QACN,oBAAM,MAAA,QACN,oBAAM,MAAA,QACN,oBAAM,MAAA,KClGtB,cACI,WAAA,KACA,MAAA,KACA,OAAA,OACA,UAAA,OACA,YAAA,OACA,QAAA,MACA,YAAA,IACA,cAAA,OAEA,gBAAI,sBACA,aAAA,KACA,gBAAA,KAGM,0BACN,MAAA,KACA,YAAA,KCjBY,mBAA0B,mBAC1C,eAAA,iBAGJ,gBACI,QAAA,KACA,SAAA,SACA,QAAA,MAAA,KACA,OAAA,EAAA,EAAA,EAAA,KACA,OAAA,IAAA,MAAA,KACA,WAAA,KACA,UAAA,KACA,YAAA,IACA,QAAA,QAGqC,sBAAhC,yBACL,QAAA"}
|
|
@ -91,18 +91,17 @@ module.exports = function(grunt) {
|
|||
less: {
|
||||
development: {
|
||||
options: {
|
||||
paths: ["src/less/pointhi", "src/less/logicodev", "src/less/logicodev-dark", "src/less/bootstrap"]
|
||||
paths: ["src/less/beetroot", "src/less/darkbeet", "src/less/bootstrap"]
|
||||
},
|
||||
files: {
|
||||
"css/bootstrap.css": "src/less/bootstrap/bootstrap.less",
|
||||
"css/pointhi.css": "src/less/pointhi/oscar.less",
|
||||
"css/logicodev.css": "src/less/logicodev-dark/oscar.less",
|
||||
"css/logicodev-dark.css": "src/less/logicodev/oscar.less"
|
||||
"css/beetroot.css": "src/less/darkbeet/oscar.less",
|
||||
"css/darkbeet.css": "src/less/beetroot/oscar.less"
|
||||
}
|
||||
},
|
||||
production: {
|
||||
options: {
|
||||
paths: ["src/less/bootstrap", "src/less/logicodev"],
|
||||
paths: ["src/less/bootstrap", "src/less/beetroot"],
|
||||
plugins: [
|
||||
new (require('less-plugin-clean-css'))()
|
||||
],
|
||||
|
@ -114,9 +113,8 @@ module.exports = function(grunt) {
|
|||
files: {
|
||||
"css/bootstrap.min.css": "css/bootstrap.css",
|
||||
"css/leaflet.min.css": "css/leaflet.css",
|
||||
"css/pointhi.min.css": "src/less/pointhi/oscar.less",
|
||||
"css/logicodev.min.css": "src/less/logicodev/oscar.less",
|
||||
"css/logicodev-dark.min.css": "src/less/logicodev-dark/oscar.less"
|
||||
"css/beetroot.min.css": "src/less/beetroot/oscar.less",
|
||||
"css/darkbeet.min.css": "src/less/darkbeet/oscar.less"
|
||||
}
|
||||
},
|
||||
},
|
||||
|
@ -125,10 +123,6 @@ module.exports = function(grunt) {
|
|||
files: ['<%= jshint.files %>'],
|
||||
tasks: ['jshint', 'concat', 'uglify']
|
||||
},
|
||||
oscar_styles: {
|
||||
files: ['src/less/pointhi/**/*.less'],
|
||||
tasks: ['less:development', 'less:production']
|
||||
},
|
||||
bootstrap_styles: {
|
||||
files: ['less/bootstrap/**/*.less'],
|
||||
tasks: ['less:bootstrap']
|
||||
|
|
2
beetroot_static/js/searx.min.js
vendored
2
beetroot_static/js/searx.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -95,6 +95,7 @@
|
|||
margin: 5px;
|
||||
border: unset;
|
||||
border-radius: 2rem;
|
||||
padding: 0px;
|
||||
&:hover {
|
||||
filter: gray; /* IE6-9 */
|
||||
-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
|
||||
|
@ -213,7 +214,8 @@
|
|||
|
||||
.modal-wrapper {
|
||||
background-clip: padding-box;
|
||||
background-color: @alert;
|
||||
background-color: @postbg;
|
||||
color: @textcolor-dark;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
||||
|
@ -221,6 +223,12 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
background-color: @maincolor;
|
||||
color: @postbright;
|
||||
border-bottom: unset;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 75em) {
|
||||
.img-thumbnail {
|
||||
object-fit: cover;
|
17
beetroot_static/src/less/darkbeet/oscar.less
Normal file
17
beetroot_static/src/less/darkbeet/oscar.less
Normal file
|
@ -0,0 +1,17 @@
|
|||
@import "../beetroot/variables.less";
|
||||
@import "../beetroot/footer.less";
|
||||
@import "../beetroot/checkbox.less";
|
||||
@import "../beetroot/onoff.less";
|
||||
@import "../beetroot/results.less";
|
||||
@import "../beetroot/infobox.less";
|
||||
@import "../beetroot/search.less";
|
||||
@import "../beetroot/advanced.less";
|
||||
@import "../beetroot/cursor.less";
|
||||
@import "../beetroot/code.less";
|
||||
@import "../beetroot/preferences.less";
|
||||
@import "../beetroot/navbar.less";
|
||||
@import "../beetroot/dashboard.less";
|
||||
@import "../beetroot/bootstrap.less";
|
||||
@import "variables.less";
|
||||
@import "navbar.less";
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
@import "../logicodev/variables.less";
|
||||
@import "../logicodev/footer.less";
|
||||
@import "../logicodev/checkbox.less";
|
||||
@import "../logicodev/onoff.less";
|
||||
@import "../logicodev/results.less";
|
||||
@import "../logicodev/infobox.less";
|
||||
@import "../logicodev/search.less";
|
||||
@import "../logicodev/advanced.less";
|
||||
@import "../logicodev/cursor.less";
|
||||
@import "../logicodev/code.less";
|
||||
@import "../logicodev/preferences.less";
|
||||
@import "../logicodev/navbar.less";
|
||||
@import "../logicodev/dashboard.less";
|
||||
@import "../logicodev/bootstrap.less";
|
||||
@import "variables.less";
|
||||
@import "navbar.less";
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
#advanced-search-container {
|
||||
display: none;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
clear: both;
|
||||
|
||||
label, .input-group-addon {
|
||||
font-size: 1.3rem;
|
||||
font-weight:normal;
|
||||
background-color: white;
|
||||
border: #DDD 1px solid;
|
||||
border-right: none;
|
||||
color: #333;
|
||||
padding-bottom: 0.8rem;
|
||||
padding-left: 1.2rem;
|
||||
padding-right: 1.2rem;
|
||||
}
|
||||
|
||||
label:last-child, .input-group-addon:last-child {
|
||||
border-right: #DDD 1px solid;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="radio"]:checked + label {
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
background-color: #EEE;
|
||||
}
|
||||
}
|
||||
|
||||
#check-advanced {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#check-advanced:checked ~ #advanced-search-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.advanced {
|
||||
padding: 0;
|
||||
margin-top: 0.3rem;
|
||||
text-align: right;
|
||||
label, select {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
// Hide element if checkbox is checked
|
||||
input[type=checkbox]:checked + .label_hide_if_checked, input[type=checkbox]:checked + .label_hide_if_not_checked + .label_hide_if_checked {
|
||||
display:none;
|
||||
}
|
||||
|
||||
// Hide element if checkbox is not checked
|
||||
input[type=checkbox]:not(:checked) + .label_hide_if_not_checked, input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not_checked {
|
||||
display:none;
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
@import "pygments.less";
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
// display cursor
|
||||
.cursor-text {
|
||||
cursor: text !important;
|
||||
}
|
||||
|
||||
.cursor-pointer {
|
||||
cursor: pointer !important;
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
// Sticky footer styles
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 60px;
|
||||
}
|
|
@ -1,62 +0,0 @@
|
|||
.infobox {
|
||||
|
||||
img {
|
||||
max-height: 250px;
|
||||
}
|
||||
|
||||
.infobox_part {
|
||||
margin-bottom: 20px;
|
||||
word-wrap: break-word;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.infobox_part:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.infobox_toggle {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
// Shrink infobox size when toggle is off
|
||||
.infobox_checkbox ~ .infobox_body {
|
||||
max-height: 300px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.infobox_checkbox:checked ~ .infobox_body {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
// Show toggle button as down when infobox is shrunk
|
||||
.infobox_checkbox ~ .infobox_toggle .infobox_label_down {
|
||||
display: block;
|
||||
}
|
||||
.infobox_checkbox ~ .infobox_toggle .infobox_label_up {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Show toggle button as up when infobox is expanded
|
||||
.infobox_checkbox:checked ~ .infobox_toggle .infobox_label_up {
|
||||
display: block;
|
||||
}
|
||||
.infobox_checkbox:checked ~ .infobox_toggle .infobox_label_down {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Hide main image when toggle is off
|
||||
.infobox_checkbox ~ .infobox_body img.infobox_part {
|
||||
display: none;
|
||||
}
|
||||
.infobox_checkbox:checked ~ .infobox_body img.infobox_part {
|
||||
display: block;
|
||||
}
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
.searx-navbar {
|
||||
background: #eee;
|
||||
color: #aaa;
|
||||
height: 2.3rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.3rem;
|
||||
padding: 0.5rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 1.3rem;
|
||||
|
||||
a, a:hover {
|
||||
margin-right: 2.0rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.instance a {
|
||||
color: #444;
|
||||
margin-left: 2.0rem;
|
||||
}
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
.onoff-checkbox {
|
||||
width:15%;
|
||||
}
|
||||
.onoffswitch {
|
||||
position: relative;
|
||||
width: 110px;
|
||||
-webkit-user-select:none;
|
||||
-moz-user-select:none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
.onoffswitch-checkbox {
|
||||
display: none;
|
||||
}
|
||||
.onoffswitch-label {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
border: 2px solid #FFFFFF !important;
|
||||
border-radius: 50px !important;
|
||||
}
|
||||
.onoffswitch-inner {
|
||||
display: block;
|
||||
transition: margin 0.3s ease-in 0s;
|
||||
}
|
||||
|
||||
.onoffswitch-inner:before, .onoffswitch-inner:after {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 50%;
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
line-height: 40px;
|
||||
font-size: 20px;
|
||||
box-sizing: border-box;
|
||||
content: "";
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.onoffswitch-switch {
|
||||
display: block;
|
||||
width: 37px;
|
||||
background-color: #00CC00;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0px;
|
||||
border: 2px solid #FFFFFF !important;
|
||||
border-radius: 50px !important;
|
||||
transition: all 0.3s ease-in 0s;
|
||||
}
|
||||
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
|
||||
margin-right: 0;
|
||||
}
|
||||
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
|
||||
right: 71px;
|
||||
background-color: #A1A1A1;
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
@import "footer.less";
|
||||
|
||||
@import "checkbox.less";
|
||||
|
||||
@import "onoff.less";
|
||||
|
||||
@import "results.less";
|
||||
|
||||
@import "infobox.less";
|
||||
|
||||
@import "search.less";
|
||||
|
||||
@import "advanced.less";
|
||||
|
||||
@import "cursor.less";
|
||||
|
||||
@import "code.less";
|
||||
|
||||
@import "navbar.less";
|
||||
|
||||
@import "code.less";
|
||||
|
||||
@import "preferences.less";
|
|
@ -1,19 +0,0 @@
|
|||
.table > tbody > tr > td, .table > tbody > tr > th {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
.engine-tooltip {
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 0.5rem 1rem;
|
||||
margin: 0rem 0 0 2rem;
|
||||
border: 1px solid #ddd;
|
||||
background: white;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
z-index: 1000000;
|
||||
}
|
||||
|
||||
th:hover .engine-tooltip, .engine-tooltip:hover {
|
||||
display: inline-block;
|
||||
}
|
|
@ -1,99 +0,0 @@
|
|||
/*
|
||||
this file is generated automatically by searx_extra/update/update_pygments.py
|
||||
using pygments version 2.8.0
|
||||
*/
|
||||
|
||||
.code-highlight .linenos {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
|
||||
&::selection {
|
||||
background: transparent; /* WebKit/Blink Browsers */
|
||||
}
|
||||
&::-moz-selection {
|
||||
background: transparent; /* Gecko Browsers */
|
||||
}
|
||||
|
||||
margin-right: 8px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.code-highlight pre { line-height: 125%; }
|
||||
.code-highlight td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
||||
.code-highlight .hll { background-color: #ffffcc }
|
||||
.code-highlight { background: #f8f8f8; }
|
||||
.code-highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.code-highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.code-highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.code-highlight .o { color: #666666 } /* Operator */
|
||||
.code-highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
|
||||
.code-highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.code-highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.code-highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
|
||||
.code-highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.code-highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.code-highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.code-highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.code-highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.code-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.code-highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.code-highlight .go { color: #888888 } /* Generic.Output */
|
||||
.code-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.code-highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.code-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.code-highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.code-highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.code-highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.code-highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.code-highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.code-highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.code-highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.code-highlight .m { color: #666666 } /* Literal.Number */
|
||||
.code-highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.code-highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.code-highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.code-highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.code-highlight .no { color: #880000 } /* Name.Constant */
|
||||
.code-highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.code-highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.code-highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.code-highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.code-highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.code-highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.code-highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.code-highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.code-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.code-highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.code-highlight .mb { color: #666666 } /* Literal.Number.Bin */
|
||||
.code-highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.code-highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.code-highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.code-highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.code-highlight .sa { color: #BA2121 } /* Literal.String.Affix */
|
||||
.code-highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.code-highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.code-highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
||||
.code-highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.code-highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.code-highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.code-highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.code-highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.code-highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.code-highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.code-highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.code-highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.code-highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.code-highlight .fm { color: #0000FF } /* Name.Function.Magic */
|
||||
.code-highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.code-highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.code-highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.code-highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
||||
.code-highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
|
@ -1,113 +0,0 @@
|
|||
|
||||
.result_header {
|
||||
margin-bottom:5px;
|
||||
margin-top:20px;
|
||||
|
||||
.favicon {
|
||||
margin-bottom:-3px;
|
||||
}
|
||||
|
||||
a {
|
||||
vertical-align: bottom;
|
||||
|
||||
.highlight {
|
||||
font-weight:bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.result-content {
|
||||
margin-top: 5px;
|
||||
word-wrap: break-word;
|
||||
|
||||
.highlight {
|
||||
font-weight:bold;
|
||||
}
|
||||
}
|
||||
|
||||
// default formating of results
|
||||
.result-default {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// image formating of results
|
||||
.result-images {
|
||||
float: left !important;
|
||||
height: 138px;
|
||||
}
|
||||
|
||||
.img-thumbnail {
|
||||
margin: 5px;
|
||||
max-height: 128px;
|
||||
}
|
||||
|
||||
// video formating of results
|
||||
.result-videos {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// torrent formating of results
|
||||
.result-torrents {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// map formating of results
|
||||
.result-map {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// code formating of results
|
||||
.result-code {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// suggestion
|
||||
.suggestion_item {
|
||||
margin: 2px 5px;
|
||||
max-width: 100%;
|
||||
|
||||
.btn {
|
||||
max-width: 100%;
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
// download result
|
||||
.result_download {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
// page forward, backward
|
||||
#pagination {
|
||||
margin-top: 30px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
.label-default {
|
||||
color: #AAA;
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
.result .text-muted small {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.modal-wrapper {
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.modal-wrapper {
|
||||
background-clip: padding-box;
|
||||
background-color: #fff;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
||||
outline: 0 none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
font-weight: 700;
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
.search_categories, #categories {
|
||||
text-transform: capitalize;
|
||||
margin-bottom: 1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: stretch;
|
||||
|
||||
label, .input-group-addon {
|
||||
flex-grow: 1;
|
||||
flex-basis: auto;
|
||||
font-size: 1.3rem;
|
||||
font-weight: normal;
|
||||
background-color: white;
|
||||
border: #DDD 1px solid;
|
||||
border-right: none;
|
||||
color: #333;
|
||||
padding-bottom: 0.8rem;
|
||||
padding-top: 0.8rem;
|
||||
text-align: center;
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
label:last-child, .input-group-addon:last-child {
|
||||
border-right: #DDD 1px solid;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked + label{
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
background-color: #EEE;
|
||||
}
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
position: absolute !important;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
white-space: nowrap; /* added line */
|
||||
}
|
|
@ -14,7 +14,7 @@
|
|||
{% if preferences.get_value('beetroot-style') -%}
|
||||
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('beetroot-style')+'.min.css') }}" type="text/css" />
|
||||
{%- else -%}
|
||||
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/logicodev.min.css') }}" type="text/css" />
|
||||
{{' '}}<link rel="stylesheet" href="{{ url_for('static', filename='css/beetroot.min.css') }}" type="text/css" />
|
||||
{%- endif %}
|
||||
|
||||
{% set templates = results|map(attribute='template')|unique|list -%}
|
||||
|
|
|
@ -132,9 +132,8 @@
|
|||
{% if 'beetroot-style' not in locked_preferences %}
|
||||
{{ preferences_item_header(_('Choose style for this theme'), _('Style'), rtl, 'beetroot_style') }}
|
||||
<select class="form-control {{ custom_select_class(rtl) }}" name="beetroot-style" id="beetroot_style">
|
||||
<option value="logicodev" >Logicodev</option>
|
||||
<option value="pointhi" {% if preferences.get_value('beetroot-style') == 'pointhi' %}selected="selected"{% endif %}>Pointhi</option>
|
||||
<option value="logicodev-dark" {% if preferences.get_value('beetroot-style') == 'logicodev-dark' %}selected="selected"{% endif %}>Logicodev dark</option>
|
||||
<option value="beetroot" >Beetroot</option>
|
||||
<option value="darkbeet" {% if preferences.get_value('beetroot-style') == 'darkbeet' %}selected="selected"{% endif %}>Darkbeet</option>
|
||||
</select>
|
||||
{{ preferences_item_footer(_('Choose style for this theme'), _('Style'), rtl) }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue