diff options
Diffstat (limited to 'app/Resources/static/themes/material')
-rwxr-xr-x | app/Resources/static/themes/material/css/main.css | 72 | ||||
-rwxr-xr-x | app/Resources/static/themes/material/js/init.js | 4 |
2 files changed, 70 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..b66c88f9 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; |
@@ -393,6 +445,15 @@ main ul.row { | |||
393 | white-space: nowrap; | 445 | white-space: nowrap; |
394 | } | 446 | } |
395 | 447 | ||
448 | .card-entry-tags a, | ||
449 | .card-entry-labels a, | ||
450 | .card-entry-labels-hidden a, | ||
451 | #list .chip a { | ||
452 | text-decoration: none; | ||
453 | font-weight: normal; | ||
454 | color: #fff; | ||
455 | } | ||
456 | |||
396 | .card .card-content .estimatedTime { | 457 | .card .card-content .estimatedTime { |
397 | margin-bottom: 10px; | 458 | margin-bottom: 10px; |
398 | } | 459 | } |
@@ -416,8 +477,9 @@ main ul.row { | |||
416 | color: #fff; | 477 | color: #fff; |
417 | } | 478 | } |
418 | 479 | ||
419 | .quickstart .card .card-action a, .quickstart .card .card-action a:hover { | 480 | .quickstart .card .card-action a, |
420 | color: #fff !important; | 481 | .quickstart .card .card-action a:hover { |
482 | color: #fff !important; | ||
421 | } | 483 | } |
422 | 484 | ||
423 | .settings .div_tabs { | 485 | .settings .div_tabs { |
@@ -643,7 +705,7 @@ main ul.row { | |||
643 | } | 705 | } |
644 | 706 | ||
645 | .icon-twitter::before { | 707 | .icon-twitter::before { |
646 | content: "\ea91"; | 708 | content: "\ea96"; |
647 | } | 709 | } |
648 | 710 | ||
649 | .icon-apple::before { | 711 | .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 |