Updated PrimeIcons

pull/345/head
cagataycivici 2020-05-27 00:53:39 +03:00
parent e20a6964f3
commit 401bbb9465
6 changed files with 31 additions and 27 deletions

View File

@ -37,7 +37,7 @@
"gulp-uglify": "^1.5.3", "gulp-uglify": "^1.5.3",
"gulp-uglifycss": "^1.0.6", "gulp-uglifycss": "^1.0.6",
"primeflex": "1.1.0", "primeflex": "1.1.0",
"primeicons": "4.0.0-rc.1", "primeicons": "4.0.0-rc.2",
"prismjs": "^1.15.0", "prismjs": "^1.15.0",
"quill": "1.3.3", "quill": "1.3.3",
"@fullcalendar/core": "4.0.2", "@fullcalendar/core": "4.0.2",

File diff suppressed because one or more lines are too long

View File

@ -33,6 +33,10 @@
color: var(--primary-color); color: var(--primary-color);
border-radius: 3px; border-radius: 3px;
padding: 2px 4px; padding: 2px 4px;
&:hover {
text-decoration: underline;
}
} }
} }

View File

@ -1,13 +0,0 @@
.icons-page {
.icons-list {
text-align: center;
}
.icons-list i {
font-size: 2rem;
}
.icons-list .p-md-2 {
padding-bottom: 2rem;
}
}

View File

@ -7,6 +7,5 @@
@import './config'; @import './config';
@import './designer'; @import './designer';
@import './home'; @import './home';
@import './icons';
@import './responsive'; @import './responsive';
@import './core'; @import './core';

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="icons-page"> <div>
<div class="content-section introduction"> <div class="content-section introduction">
<div class="feature-intro"> <div class="feature-intro">
<h1>Icons</h1> <h1>Icons</h1>
@ -17,14 +17,14 @@ npm install primeicons --save
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>PrimeIcons use the <strong>pi pi-&#123;icon&#125;</strong> syntax such as <strong>pi pi-check</strong>. <p>PrimeIcons use the <strong>pi pi-&#123;icon&#125;</strong> syntax such as <strong>pi pi-check</strong>.
A standalone icon can be displayed using an element such as <i>i</i> or <i>span</i></p> A standalone icon can be displayed using an element like <i>i</i> or <i>span</i></p>
<CodeHighlight> <CodeHighlight>
&lt;i class="pi pi-check"&gt;&lt;/i&gt; &lt;i class="pi pi-check"&gt;&lt;/i&gt;
&lt;i class="pi pi-times"&gt;&lt;/i&gt; &lt;i class="pi pi-times"&gt;&lt;/i&gt;
</CodeHighlight> </CodeHighlight>
<i class="pi pi-check"></i> <i class="pi pi-check" style="margin-right: .5rem"></i>
<i class="pi pi-times"></i> <i class="pi pi-times"></i>
<h3>Size</h3> <h3>Size</h3>
@ -37,21 +37,21 @@ npm install primeicons --save
<i class="pi pi-check"></i> <i class="pi pi-check"></i>
<CodeHighlight> <CodeHighlight>
&lt;i class="pi pi-check" style="fontSize: 3em"&gt;&lt;/i&gt; &lt;i class="pi pi-check" style="fontSize: 2rem"&gt;&lt;/i&gt;
</CodeHighlight> </CodeHighlight>
<i class="pi pi-check" style="fontSize: 3em"></i> <i class="pi pi-check" style="fontSize: 2rem"></i>
<h3>Spinning Animation</h3> <h3>Spinning Animation</h3>
<p>Special pi-spin class applies infinite rotate to an icon.</p> <p>Special pi-spin class applies continuous rotation to an icon.</p>
<CodeHighlight> <CodeHighlight>
&lt;i class="pi pi-spin pi-spinner" style="fontSizi class="pi pi-spin pi-spinner" style="fontSiz &lt;i class="pi pi-spin pi-spinner" style="fontSize: 2rem"&gt;&lt;/i&gt;
</CodeHighlight> </CodeHighlight>
<i class="pi pi-spin pi-spinner" style="fontSize: 3em"></i> <i class="pi pi-spin pi-spinner" style="fontSize: 2rem"></i>
<h3>List of Icons</h3> <h3>List of Icons</h3>
<p>Here is the current list of PrimeIcons, more icons will be added periodically. You may also <a href="https://github.com/primefaces/primeicons/issues">request new icons</a> at the issue tracker.</p> <p>Here is the current list of PrimeIcons, more icons are added periodically. You may also <a href="https://github.com/primefaces/primeicons/issues">request new icons</a> at the issue tracker.</p>
<InputText v-model="filter" class="icon-filter" placeholder="Search an icon" /> <InputText v-model="filter" class="icon-filter" placeholder="Search an icon" />
@ -88,10 +88,24 @@ export default {
} }
</script> </script>
<style lang="css" scoped> <style lang="scss" scoped>
.icon-filter { .icon-filter {
width: 100%; width: 100%;
padding: 1rem; padding: 1rem;
margin: 16px 0 26px 0; margin: 1rem 0 1.5rem 0;
}
.icons-list {
text-align: center;
i {
font-size: 1.5rem;
color: var(--text-color-secondary);
margin-bottom: .5rem;
}
.p-md-2 {
padding-bottom: 2rem;
}
} }
</style> </style>