diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-04 16:26:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 16:26:50 +0200 |
commit | 57386125abc5c50c1438cf7e78d01f06021adc0a (patch) | |
tree | d3f26102f9697247c93ac69db6000d15e96fbb23 /app/Resources/static/themes/material | |
parent | f2ab290f0fc8a2909bb490e0ed2d91a677a95cc4 (diff) | |
parent | c10adc1f762d004350a7921250c6821baa866e2d (diff) | |
download | wallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.tar.gz wallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.tar.zst wallabag-57386125abc5c50c1438cf7e78d01f06021adc0a.zip |
Merge pull request #2353 from wallabag/assets-fix
Basically, fix everything
Diffstat (limited to 'app/Resources/static/themes/material')
-rwxr-xr-x | app/Resources/static/themes/material/css/main.css | 63 | ||||
-rwxr-xr-x | app/Resources/static/themes/material/js/init.js | 4 |
2 files changed, 61 insertions, 6 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 397622bd..9c501de5 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css | |||
@@ -62,8 +62,8 @@ | |||
62 | font-feature-settings: 'liga'; | 62 | font-feature-settings: 'liga'; |
63 | } | 63 | } |
64 | 64 | ||
65 | [class^="icon-"], | 65 | [class^="icon-"]::before, |
66 | [class*=" icon-"] { | 66 | [class*=" icon-"]::before { |
67 | font-family: icomoon; | 67 | font-family: icomoon; |
68 | speak: none; | 68 | speak: none; |
69 | font-style: normal; | 69 | font-style: normal; |
@@ -71,12 +71,64 @@ | |||
71 | font-variant: normal; | 71 | font-variant: normal; |
72 | text-transform: none; | 72 | text-transform: none; |
73 | line-height: 1; | 73 | line-height: 1; |
74 | background-size: 24px; | ||
75 | |||
76 | /* Enable Ligatures ================ */ | ||
77 | letter-spacing: 0; | ||
78 | -webkit-font-feature-settings: "liga"; | ||
79 | -moz-font-feature-settings: "liga=1"; | ||
80 | -moz-font-feature-settings: "liga"; | ||
81 | -ms-font-feature-settings: "liga" 1; | ||
82 | -o-font-feature-settings: "liga"; | ||
83 | font-feature-settings: "liga"; | ||
74 | 84 | ||
75 | /* Better Font Rendering =========== */ | 85 | /* Better Font Rendering =========== */ |
76 | -webkit-font-smoothing: antialiased; | 86 | -webkit-font-smoothing: antialiased; |
77 | -moz-osx-font-smoothing: grayscale; | 87 | -moz-osx-font-smoothing: grayscale; |
78 | } | 88 | } |
79 | 89 | ||
90 | .icon-image { | ||
91 | background-size: 16px; | ||
92 | background-repeat: no-repeat; | ||
93 | padding-right: 1em !important; | ||
94 | padding-left: 1em !important; | ||
95 | } | ||
96 | |||
97 | .icon-eye::before { | ||
98 | content: "\e9ce"; | ||
99 | } | ||
100 | |||
101 | .icon-no-eye::before { | ||
102 | content: "\e9d1"; | ||
103 | } | ||
104 | |||
105 | .icon-calendar::before { | ||
106 | content: "\e953"; | ||
107 | } | ||
108 | |||
109 | .icon-mail::before { | ||
110 | content: "\ea86"; | ||
111 | } | ||
112 | |||
113 | .icon-time::before { | ||
114 | content: "\e952"; | ||
115 | } | ||
116 | |||
117 | /* Carrot (http://carrot.org) */ | ||
118 | .icon-image--carrot { | ||
119 | background-image: url("../../_global/img/icons/carrot-icon--black.png"); | ||
120 | } | ||
121 | |||
122 | /* Diaspora */ | ||
123 | .icon-image--diaspora { | ||
124 | background-image: url("../../_global/img/icons/diaspora-icon--black.png"); | ||
125 | } | ||
126 | |||
127 | /* Shaarli */ | ||
128 | .icon-image--shaarli { | ||
129 | background-image: url("../../_global/img/icons/shaarli.png"); | ||
130 | } | ||
131 | |||
80 | body { | 132 | body { |
81 | display: flex; | 133 | display: flex; |
82 | min-height: 100vh; | 134 | min-height: 100vh; |
@@ -416,8 +468,9 @@ main ul.row { | |||
416 | color: #fff; | 468 | color: #fff; |
417 | } | 469 | } |
418 | 470 | ||
419 | .quickstart .card .card-action a, .quickstart .card .card-action a:hover { | 471 | .quickstart .card .card-action a, |
420 | color: #fff !important; | 472 | .quickstart .card .card-action a:hover { |
473 | color: #fff !important; | ||
421 | } | 474 | } |
422 | 475 | ||
423 | .settings .div_tabs { | 476 | .settings .div_tabs { |
@@ -643,7 +696,7 @@ main ul.row { | |||
643 | } | 696 | } |
644 | 697 | ||
645 | .icon-twitter::before { | 698 | .icon-twitter::before { |
646 | content: "\ea91"; | 699 | content: "\ea96"; |
647 | } | 700 | } |
648 | 701 | ||
649 | .icon-apple::before { | 702 | .icon-apple::before { |
diff --git a/app/Resources/static/themes/material/js/init.js b/app/Resources/static/themes/material/js/init.js index 18f7b40a..a68269e0 100755 --- a/app/Resources/static/themes/material/js/init.js +++ b/app/Resources/static/themes/material/js/init.js | |||
@@ -1,8 +1,10 @@ | |||
1 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; | ||
2 | |||
1 | const $ = require('jquery'); | 3 | const $ = require('jquery'); |
4 | |||
2 | global.jQuery = $; | 5 | global.jQuery = $; |
3 | require('materialize'); // eslint-disable-line | 6 | require('materialize'); // eslint-disable-line |
4 | const annotator = require('annotator'); | 7 | const annotator = require('annotator'); |
5 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools.js'; | ||
6 | 8 | ||
7 | $(document).ready(() => { | 9 | $(document).ready(() => { |
8 | // sideNav | 10 | // sideNav |