Commit d1a73b63 authored by Manvel Saroyan's avatar Manvel Saroyan

Issue 6209 - Introduced font ranges for cyrillic, greek, vietnamese and...

Issue 6209 - Introduced font ranges for cyrillic, greek, vietnamese and extensions, also a stopgap solution for filter list table column being small
parent b75df790
......@@ -21,6 +21,7 @@
<meta charset="utf-8">
<title class="i18n_options_page_document_title"></title>
<link rel="stylesheet" href="skin/common.css">
<link rel="stylesheet" href="skin/fonts.css">
<link rel="stylesheet" href="skin/desktop-options.css">
<script src="polyfill.js"></script>
<script src="ext/common.js"></script>
......
......@@ -22,6 +22,7 @@
<script src="polyfill.js"></script>
<script src="issue-reporter.js"></script>
<script src="i18n.js"></script>
<link rel="stylesheet" type="text/css" href="skin/fonts.css">
<link rel="stylesheet" type="text/css" href="skin/issue-reporter.css">
<title class="i18n_issueReporter_page_title"></title>
</head>
......
......@@ -20,6 +20,7 @@
<title class="i18n_mops_title"></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" type="text/css" href="skin/fonts.css">
<link rel="stylesheet" type="text/css" href="skin/mobile-options.css">
<script src="polyfill.js"></script>
<script src="ext/common.js"></script>
......
......@@ -15,35 +15,6 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-Light.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-Light.woff) format("woff");
font-weight: 300;
font-style: normal;
}
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-Regular.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff");
font-style: normal;
}
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-bold.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff");
font-weight: 700;
font-style: normal;
}
html
{
font-size: 16px;
......@@ -990,15 +961,17 @@ ul.list
vertical-align: middle;
}
.cols .col5
.cols .col5,
.th .col5
{
margin: 0rem 1rem;
align-self: center;
}
.th .col5:nth-of-type(1),
.table .col5:nth-of-type(1)
{
flex: 4;
flex: 5;
}
.th .col5:nth-of-type(2),
......@@ -1049,14 +1022,10 @@ html[dir="rtl"] .table .col5:nth-of-type(5)
padding: 0.5rem 0rem;
}
html:not([dir="rtl"]) .table.cols .state
{
margin-left: 1rem;
}
html[dir="rtl"] .table.cols .state
.table.cols .toggle
{
margin-right: 1rem;
-moz-margin-end: 0.5rem;
-webkit-margin-end: 0.5rem;
}
.table.cols .gear
......
/*
* This file is part of Adblock Plus <https://adblockplus.org/>,
* Copyright (C) 2006-present eyeo GmbH
*
* Adblock Plus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* Adblock Plus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
/* cyrillic-ext */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/300/cyrillic-ext.woff2")
format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
U+FE2E-FE2F;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/400/cyrillic-ext.woff2")
format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
U+FE2E-FE2F;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/700/cyrillic-ext.woff2")
format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
U+FE2E-FE2F;
}
/* cyrillic */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/300/cyrillic.woff2")
format("woff2");
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/400/cyrillic.woff2")
format("woff2");
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/700/cyrillic.woff2")
format("woff2");
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/300/greek-ext.woff2")
format("woff2");
unicode-range: U+1F00-1FFF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/400/greek-ext.woff2")
format("woff2");
unicode-range: U+1F00-1FFF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/700/greek-ext.woff2")
format("woff2");
unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/300/greek.woff2")
format("woff2");
unicode-range: U+0370-03FF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/400/greek.woff2")
format("woff2");
unicode-range: U+0370-03FF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/700/greek.woff2")
format("woff2");
unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/300/vietnamese.woff2")
format("woff2");
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/400/vietnamese.woff2")
format("woff2");
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url("fonts/Source-Sans-Pro/700/vietnamese.woff2")
format("woff2");
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/300/latin-ext.woff2)
format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF,
U+2C60-2C7F, U+A720-A7FF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/400/latin-ext.woff2)
format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF,
U+2C60-2C7F, U+A720-A7FF;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/700/latin-ext.woff2)
format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF,
U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 300;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/300/latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/400/latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 700;
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/Source-Sans-Pro/700/latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}
Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
......@@ -15,35 +15,6 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-Light.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-Light.woff) format("woff");
font-weight: 300;
font-style: normal;
}
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-Regular.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff");
font-style: normal;
}
@font-face
{
font-family: "Source Sans Pro";
src: url(fonts/SourceSansPro-bold.woff);
/* local("Ø") forces using no local font called Source Sans Pro */
src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff");
font-weight: 700;
font-style: normal;
}
html
{
font-size: 16px;
......@@ -97,7 +68,7 @@ header > .title
{
margin: 0rem;
font-size: 1.5rem;
font-weight: 100;
font-weight: 300;
}
.title > h1 > strong
......
......@@ -15,31 +15,6 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
@font-face
{
font-family: "Source Sans Pro";
font-weight: 300;
font-style: normal;
src: url("fonts/Source-Sans-Pro/300.woff2") format("woff2");
}
@font-face
{
font-family: "Source Sans Pro";
font-weight: 400;
font-style: normal;
src: url("fonts/Source-Sans-Pro/400.woff2") format("woff2");
}
@font-face
{
font-family: "Source Sans Pro";
font-weight: 700;
font-style: normal;
src: url("fonts/Source-Sans-Pro/700.woff2") format("woff2");
;
}
body,
input
{
......@@ -198,7 +173,7 @@ button
{
width: 100%;
border: none;
font-weight: 600;
font-weight: 700;
text-transform: uppercase;
color: #099DD1;
background: none;
......
@font-face
{
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400;
font-stretch: normal;
src: local ("Ø"),
url(fonts/SourceSansPro-Regular.woff) format("woff");
}
@font-face
{
font-family: "Source Sans Pro";
font-style: bold;
font-weight: 600;
font-stretch: normal;
src: local ("Ø"),
url(fonts/SourceSansPro-bold.woff) format("woff");
}
/*
* This file is part of Adblock Plus <https://adblockplus.org/>,
* Copyright (C) 2006-present eyeo GmbH
*
* Adblock Plus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* Adblock Plus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
html
{
......@@ -175,7 +172,7 @@ html[dir="rtl"] .feature-entry img
#block-ads-text > strong
{
text-decoration: line-through;
font-weight: normal;
font-weight: 400;
}
.store-buttons
......
......@@ -21,6 +21,7 @@
<title class="i18n_updates_status"></title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="skin/fonts.css" rel="stylesheet">
<link href="skin/updates.css" rel="stylesheet"/>
<script src="polyfill.js"></script>
<script src="ext/common.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment