Implement Sass (#568)
* Move all images to assets/img * Move all scripts to assets/js * Move all webfonts to assets/webfonts * Move all files to assets/files * Move css to assets/css and add imports * Adjust all references to assets folder * Fix tor icon path * Rewrite custom css to sass and add variables * Change ?v on style.css to 5. * Enable Sass minification * Remove CryptoPaper-full.7z
This commit is contained in:

committed by
Samuel Shifterovich

parent
81a659dd09
commit
520e28626a
26
_sass/_vars.scss
Normal file
26
_sass/_vars.scss
Normal file
@ -0,0 +1,26 @@
|
||||
/* Variables */
|
||||
|
||||
/* Cards */
|
||||
$card-shadow: 0 3px 10px 0 rgba(150, 150, 150, .2);
|
||||
$card-succes-border: rgba(40, 167, 69, .5);
|
||||
$card-primary-border: rgba(0, 123, 255, .5);
|
||||
$card-warning-border: rgba(255, 193, 7, .5);
|
||||
|
||||
/* Blockquote */
|
||||
$blockquote-border: #eee;
|
||||
|
||||
/* Share button */
|
||||
$share-btn: #fff;
|
||||
$share-btn-shadow: 0 2px 0 0 rgba(0, 0, 0, .2);
|
||||
$share-btn-hover: #eee;
|
||||
$share-btn-active: #e2e2e2;
|
||||
|
||||
/* Social */
|
||||
$twitter: #55acee;
|
||||
$google: #dd4b39;
|
||||
$facebook: #3b5998;
|
||||
$stumbleupon: #eb4823;
|
||||
$reddit: #ff5700;
|
||||
$linkedin: #4875b4;
|
||||
$email: #444;
|
||||
$diaspora: #2f3537;
|
6
_sass/bootstrap.scss
vendored
Normal file
6
_sass/bootstrap.scss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
_sass/flag-icon.scss
Normal file
1
_sass/flag-icon.scss
Normal file
File diff suppressed because one or more lines are too long
5
_sass/fontawesome.scss
vendored
Normal file
5
_sass/fontawesome.scss
vendored
Normal file
File diff suppressed because one or more lines are too long
90
_sass/sortable-theme-bootstrap.scss
Normal file
90
_sass/sortable-theme-bootstrap.scss
Normal file
@ -0,0 +1,90 @@
|
||||
/* line 2, ../sass/_sortable.sass */
|
||||
table[data-sortable] {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
/* line 6, ../sass/_sortable.sass */
|
||||
table[data-sortable] th {
|
||||
vertical-align: bottom;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* line 10, ../sass/_sortable.sass */
|
||||
table[data-sortable] th, table[data-sortable] td {
|
||||
text-align: left;
|
||||
padding: 10px;
|
||||
}
|
||||
/* line 14, ../sass/_sortable.sass */
|
||||
table[data-sortable] th:not([data-sortable="false"]) {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-touch-callout: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* line 26, ../sass/_sortable.sass */
|
||||
table[data-sortable] th:after {
|
||||
content: "";
|
||||
visibility: hidden;
|
||||
display: inline-block;
|
||||
vertical-align: inherit;
|
||||
height: 0;
|
||||
width: 0;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
margin-right: 1px;
|
||||
margin-left: 10px;
|
||||
float: right;
|
||||
}
|
||||
/* line 40, ../sass/_sortable.sass */
|
||||
table[data-sortable] th[data-sorted="true"]:after {
|
||||
visibility: visible;
|
||||
}
|
||||
/* line 43, ../sass/_sortable.sass */
|
||||
table[data-sortable] th[data-sorted-direction="descending"]:after {
|
||||
border-top-color: inherit;
|
||||
margin-top: 8px;
|
||||
}
|
||||
/* line 47, ../sass/_sortable.sass */
|
||||
table[data-sortable] th[data-sorted-direction="ascending"]:after {
|
||||
border-bottom-color: inherit;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
/* line 5, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #333333;
|
||||
background: white;
|
||||
}
|
||||
/* line 12, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap thead th {
|
||||
border-bottom: 2px solid #e0e0e0;
|
||||
}
|
||||
/* line 15, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap tbody td {
|
||||
border-top: 1px solid #e0e0e0;
|
||||
}
|
||||
/* line 18, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap th[data-sorted="true"] {
|
||||
color: #3a87ad;
|
||||
background: #d9edf7;
|
||||
border-bottom-color: #bce8f1;
|
||||
}
|
||||
/* line 23, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap th[data-sorted="true"][data-sorted-direction="descending"]:after {
|
||||
border-top-color: #3a87ad;
|
||||
}
|
||||
/* line 26, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap th[data-sorted="true"][data-sorted-direction="ascending"]:after {
|
||||
border-bottom-color: #3a87ad;
|
||||
}
|
||||
/* line 31, ../sass/sortable-theme-bootstrap.sass */
|
||||
table[data-sortable].sortable-theme-bootstrap.sortable-theme-bootstrap-striped tbody > tr:nth-child(odd) > td {
|
||||
background-color: #f9f9f9;
|
||||
}
|
Reference in New Issue
Block a user