Skip to content

Commit 0302954

Browse files
author
Dmytro Lukianenko
committed
[UPD] Font to roboto
1 parent 77a0cc4 commit 0302954

24 files changed

Lines changed: 1343 additions & 8 deletions

manager/media/style/default/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ ul.sortableList li { position: relative; z-index: 1; float: left; clear: both; m
281281
border: 1px solid #ccc; line-height: 1.23076923; background-color: #fff; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); box-shadow: none; transition: color .3s, box-shadow .3s, transform .3s, z-index .3s step-end; }
282282
ul.sortableList li.ghost { z-index: 2; box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.15); transition: color .3s, box-shadow .3s, transform 0s, z-index 0s; }
283283
/* [ TOOLTIPS ] */
284-
.evo-tooltip, .custom-tip { position: fixed; z-index: 13000; width: 13rem; margin: 1rem; padding: 0.9rem 1rem; font-size: 0.75rem; line-height: 1.5; font-family: sans-serif; text-align: left; color: #333; background-color: #fff; visibility: hidden; transition-duration: .3s; transform: translate3d(1rem, 0, 0); -webkit-box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); }
284+
.evo-tooltip, .custom-tip { position: fixed; z-index: 13000; width: 13rem; margin: 1rem; padding: 0.9rem 1rem; font-size: 0.75rem; line-height: 1.5; font-family: 'Roboto', sans-serif; text-align: left; color: #333; background-color: #fff; visibility: hidden; transition-duration: .3s; transform: translate3d(1rem, 0, 0); -webkit-box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15); }
285285
.evo-tooltip { opacity: 0; content: attr(data-tooltip); }
286286
.evo-tooltip.show { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
287287
[data-tooltip] { cursor: help }

manager/media/style/default/css/fonts.css

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,57 @@
1-
html { font-size: 16px }
1+
/* Roboto Font */
2+
@font-face {
3+
font-family: 'Roboto';
4+
font-style: normal;
5+
font-weight: 300;
6+
src: url('../fonts/roboto/roboto-v19-latin-300.eot'); /* IE9 Compat Modes */
7+
src: local(''),
8+
url('../fonts/roboto/roboto-v19-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
9+
url('../fonts/roboto/roboto-v19-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
10+
url('../fonts/roboto/roboto-v19-latin-300.woff') format('woff'), /* Modern Browsers */
11+
url('../fonts/roboto/roboto-v19-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
12+
url('../fonts/roboto/roboto-v19-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
13+
}
14+
15+
@font-face {
16+
font-family: 'Roboto';
17+
font-style: normal;
18+
font-weight: 400;
19+
src: url('../fonts/roboto/roboto-v19-latin-regular.eot'); /* IE9 Compat Modes */
20+
src: local(''),
21+
url('../fonts/roboto/roboto-v19-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
22+
url('../fonts/roboto/roboto-v19-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
23+
url('../fonts/roboto/roboto-v19-latin-regular.woff') format('woff'), /* Modern Browsers */
24+
url('../fonts/roboto/roboto-v19-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
25+
url('../fonts/roboto/roboto-v19-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
26+
}
27+
28+
@font-face {
29+
font-family: 'Roboto';
30+
font-style: normal;
31+
font-weight: 500;
32+
src: url('../fonts/roboto/roboto-v19-latin-500.eot'); /* IE9 Compat Modes */
33+
src: local(''),
34+
url('../fonts/roboto/roboto-v19-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
35+
url('../fonts/roboto/roboto-v19-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
36+
url('../fonts/roboto/roboto-v19-latin-500.woff') format('woff'), /* Modern Browsers */
37+
url('../fonts/roboto/roboto-v19-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
38+
url('../fonts/roboto/roboto-v19-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
39+
}
40+
41+
@font-face {
42+
font-family: 'Roboto';
43+
font-style: normal;
44+
font-weight: 700;
45+
src: url('../fonts/roboto/roboto-v19-latin-700.eot'); /* IE9 Compat Modes */
46+
src: local(''),
47+
url('../fonts/roboto/roboto-v19-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
48+
url('../fonts/roboto/roboto-v19-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
49+
url('../fonts/roboto/roboto-v19-latin-700.woff') format('woff'), /* Modern Browsers */
50+
url('../fonts/roboto/roboto-v19-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
51+
url('../fonts/roboto/roboto-v19-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
52+
}
53+
54+
html { font-size: 16px }
255
@media (max-width: 900px) {
356
html { font-size: 16px; }
457
}
@@ -8,7 +61,7 @@ html { font-size: 16px; }
861
@supports (-webkit-overflow-scrolling: touch) {
962
html, body { -webkit-overflow-scrolling: touch; overflow: auto; height: 100%; /* ios iframe scroll jumping to top fix */ }
1063
}
11-
body { font-weight: normal; font-style: normal; font-size: 0.8125rem; line-height: 1.5; font-family: sans-serif; -webkit-font-smoothing: subpixel-antialiased }
64+
body { font-weight: normal; font-style: normal; font-size: 0.8125rem; line-height: 1.5; font-family: 'Roboto', sans-serif; -webkit-font-smoothing: subpixel-antialiased }
1265
/* For Arabic Font */
1366
html[lang="ar"] body, html[lang="ary"] body, html[lang="azb"] body, html[lang="fa-IR"] body, html[lang="haz"] body, html[lang="ps"] body, html[lang="ur"] body { font-family: Tahoma, Arial, sans-serif; }
1467
/* For Chinese Font */
@@ -36,8 +89,8 @@ body, ul, li { padding: 0; margin: 0; }
3689
ul { margin-left: 1rem; margin-right: 1rem; }
3790
li { list-style: none }
3891
img { max-width: 100%; height: auto }
39-
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
40-
margin-bottom: .5rem; font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit }
92+
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
93+
margin-bottom: .5rem; font-family: 'Roboto', sans-serif; font-weight: 500; line-height: 1.1; color: inherit }
4194
.h1, h1 { font-size: 1.75rem }
4295
.h2, h2 { font-size: 1.5rem }
4396
.h3, h3 { font-size: 1.25rem }

manager/media/style/default/css/forms.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)