Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(fonticons): update details and demos related to font icons #462

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 76 additions & 64 deletions docs/styling/examples/icons/actions/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css"
/>

<head>
<meta charset="UTF-8">
Expand All @@ -9,79 +22,79 @@
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-font-icons/dist/index.css" />

<style>
.WebComponentsIcons {
list-style: none;
margin: 0;
padding: 0;
}
.WebComponentsIcons {
list-style: none;
margin: 0;
padding: 0;
}

.WebComponentsIcons::after {
content: "";
display: block;
clear: both;
height: 0;
line-height: 0;
}
.WebComponentsIcons::after {
content: "";
display: block;
clear: both;
height: 0;
line-height: 0;
}

.WebComponentsIcons li {
margin: 10px;
padding: 10px;
display: block;
float: left;
vertical-align: top;
text-align: center;
width: 160px;
height: 92px;
font-size: 12px;
line-height: 1em;
font-weight: 300;
color: #999;
}
.WebComponentsIcons li {
margin: 10px;
padding: 10px;
display: block;
float: left;
vertical-align: top;
text-align: center;
width: 160px;
height: 92px;
font-size: 12px;
line-height: 1em;
font-weight: 300;
color: #999;
}

.WebComponentsIcons li:before {
display: none;
}
.WebComponentsIcons li:before {
display: none;
}

.WebComponentsIcons .k-icon {
display: block;
clear: both;
margin: 0 auto 10px;
color: #656565;
font-size: 32px;
}
.WebComponentsIcons .k-icon.k-font-icon {
display: block;
clear: both;
margin: 0 auto 10px;
color: #656565;
font-size: 32px;
}

.obsolete-classes {
width: 100%;
max-width: 900px;
text-align: left;
border-collapse: collapse;
}
.obsolete-classes {
width: 100%;
max-width: 900px;
text-align: left;
border-collapse: collapse;
}

.obsolete-classes th,
.obsolete-classes td {
padding: 10px 0;
border-bottom: 1px solid #ececec;
}
.obsolete-classes th,
.obsolete-classes td {
padding: 10px 0;
border-bottom: 1px solid #ececec;
}

.obsolete-classes th {
padding: 0 0 5px;
}
.obsolete-classes th {
padding: 0 0 5px;
}

.old-class {
color: #f31700;
}
.old-class {
color: #f31700;
}

.new-class {
color: #5ec232;
}
.new-class {
color: #5ec232;
}

.ref-icon {
width: 60px;
}
.ref-icon {
width: 60px;
}
</style>
</head>
</head>

<body>
<body>
<ul class="WebComponentsIcons">
<li><span class="k-icon k-font-icon k-i-undo"></span> .k-i-undo</li>
<li><span class="k-icon k-font-icon k-i-redo"></span> .k-i-redo</li>
Expand Down Expand Up @@ -156,6 +169,5 @@
<li><span class="k-icon k-font-icon k-i-plus-sm"></span> .k-i-plus-sm</li>
<li><span class="k-icon k-font-icon k-i-minus-sm"></span> .k-i-minus-sm</li>
</ul>
</body>

</html>
</body>
</html>
137 changes: 75 additions & 62 deletions docs/styling/examples/icons/alerts-n-notifications/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css"
/>

<head>
<meta charset="UTF-8">
Expand All @@ -9,79 +22,79 @@
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-font-icons/dist/index.css" />

<style>
.WebComponentsIcons {
list-style: none;
margin: 0;
padding: 0;
}
.WebComponentsIcons {
list-style: none;
margin: 0;
padding: 0;
}

.WebComponentsIcons::after {
content: "";
display: block;
clear: both;
height: 0;
line-height: 0;
}
.WebComponentsIcons::after {
content: "";
display: block;
clear: both;
height: 0;
line-height: 0;
}

.WebComponentsIcons li {
margin: 10px;
padding: 10px;
display: block;
float: left;
vertical-align: top;
text-align: center;
width: 160px;
height: 92px;
font-size: 12px;
line-height: 1em;
font-weight: 300;
color: #999;
}
.WebComponentsIcons li {
margin: 10px;
padding: 10px;
display: block;
float: left;
vertical-align: top;
text-align: center;
width: 160px;
height: 92px;
font-size: 12px;
line-height: 1em;
font-weight: 300;
color: #999;
}

.WebComponentsIcons li:before {
display: none;
}
.WebComponentsIcons li:before {
display: none;
}

.WebComponentsIcons .k-icon {
display: block;
clear: both;
margin: 0 auto 10px;
color: #656565;
font-size: 32px;
}
.WebComponentsIcons .k-icon.k-font-icon {
display: block;
clear: both;
margin: 0 auto 10px;
color: #656565;
font-size: 32px;
}

.obsolete-classes {
width: 100%;
max-width: 900px;
text-align: left;
border-collapse: collapse;
}
.obsolete-classes {
width: 100%;
max-width: 900px;
text-align: left;
border-collapse: collapse;
}

.obsolete-classes th,
.obsolete-classes td {
padding: 10px 0;
border-bottom: 1px solid #ececec;
}
.obsolete-classes th,
.obsolete-classes td {
padding: 10px 0;
border-bottom: 1px solid #ececec;
}

.obsolete-classes th {
padding: 0 0 5px;
}
.obsolete-classes th {
padding: 0 0 5px;
}

.old-class {
color: #f31700;
}
.old-class {
color: #f31700;
}

.new-class {
color: #5ec232;
}
.new-class {
color: #5ec232;
}

.ref-icon {
width: 60px;
}
.ref-icon {
width: 60px;
}
</style>
</head>
</head>

<body>
<body>
<ul class="WebComponentsIcons">
<li><span class="k-icon k-font-icon k-i-notification"></span> .k-i-notification<br /> .k-i-bell</li>
<li><span class="k-icon k-font-icon k-i-information"></span> .k-i-information<br /> .k-i-info</li>
Expand All @@ -90,4 +103,4 @@
</ul>
</body>

</html>
</html>
Loading
Loading