Updated PrimeIcons
parent
e20a6964f3
commit
401bbb9465
|
@ -37,7 +37,7 @@
|
|||
"gulp-uglify": "^1.5.3",
|
||||
"gulp-uglifycss": "^1.0.6",
|
||||
"primeflex": "1.1.0",
|
||||
"primeicons": "4.0.0-rc.1",
|
||||
"primeicons": "4.0.0-rc.2",
|
||||
"prismjs": "^1.15.0",
|
||||
"quill": "1.3.3",
|
||||
"@fullcalendar/core": "4.0.2",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -33,6 +33,10 @@
|
|||
color: var(--primary-color);
|
||||
border-radius: 3px;
|
||||
padding: 2px 4px;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -7,6 +7,5 @@
|
|||
@import './config';
|
||||
@import './designer';
|
||||
@import './home';
|
||||
@import './icons';
|
||||
@import './responsive';
|
||||
@import './core';
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="icons-page">
|
||||
<div>
|
||||
<div class="content-section introduction">
|
||||
<div class="feature-intro">
|
||||
<h1>Icons</h1>
|
||||
|
@ -17,14 +17,14 @@ npm install primeicons --save
|
|||
|
||||
<h3>Getting Started</h3>
|
||||
<p>PrimeIcons use the <strong>pi pi-{icon}</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>
|
||||
<i class="pi pi-check"></i>
|
||||
<i class="pi pi-times"></i>
|
||||
</CodeHighlight>
|
||||
|
||||
<i class="pi pi-check"></i>
|
||||
<i class="pi pi-check" style="margin-right: .5rem"></i>
|
||||
<i class="pi pi-times"></i>
|
||||
|
||||
<h3>Size</h3>
|
||||
|
@ -37,21 +37,21 @@ npm install primeicons --save
|
|||
<i class="pi pi-check"></i>
|
||||
|
||||
<CodeHighlight>
|
||||
<i class="pi pi-check" style="fontSize: 3em"></i>
|
||||
<i class="pi pi-check" style="fontSize: 2rem"></i>
|
||||
</CodeHighlight>
|
||||
|
||||
<i class="pi pi-check" style="fontSize: 3em"></i>
|
||||
<i class="pi pi-check" style="fontSize: 2rem"></i>
|
||||
|
||||
<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>
|
||||
<i class="pi pi-spin pi-spinner" style="fontSizi class="pi pi-spin pi-spinner" style="fontSiz
|
||||
<i class="pi pi-spin pi-spinner" style="fontSize: 2rem"></i>
|
||||
</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>
|
||||
<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" />
|
||||
|
||||
|
@ -88,10 +88,24 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style lang="css" scoped>
|
||||
<style lang="scss" scoped>
|
||||
.icon-filter {
|
||||
width: 100%;
|
||||
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>
|
||||
|
|
Loading…
Reference in New Issue