forked from epicmaxco/vuestic-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/icons'
# Conflicts: # src/store/getters.js
- Loading branch information
Showing
20 changed files
with
145 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<template> | ||
<div class="sets-list row"> | ||
<widget headerText="Icons" class="col-12"> | ||
<div class="row"> | ||
<div class="small-set col-lg-6" v-for="set in sets"> | ||
<div class="set-content"> | ||
<div class="overlay"><router-link :to="{path: set.href}" append> | ||
<div class="btn btn-primary btn">{{set.name.toUpperCase()}}</div></router-link> | ||
</div> | ||
<div> | ||
<template v-for="filteredList in set.filteredLists"> | ||
<div class="row"> | ||
<div class="col-sm-2" v-for="icon in filteredList"> | ||
<div class="icon"> | ||
<i :class="iconClass(set, icon)" aria-hidden="true"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</widget> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Widget from 'components/common/widget/Widget' | ||
export default { | ||
name: 'iconsList', | ||
components: { | ||
Widget | ||
}, | ||
props: ['sets'], | ||
methods: { | ||
iconClass (set, icon) { | ||
return set.prefix + ' ' + set.prefix + '-' + icon | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
@import "../../../sass/_variables.scss"; | ||
.sets-list { | ||
.small-set { | ||
.btn { | ||
width: 13.75rem; | ||
padding-left: 0; | ||
padding-right: 0; | ||
text-align: center; | ||
} | ||
margin: 0 0 1.5rem; | ||
.set-content { | ||
background-color: $light-gray; | ||
> div { | ||
padding: 1rem; | ||
div[class^="col"] { | ||
padding: 0; | ||
margin: 1rem 0; | ||
.icon { | ||
font-size: .85rem; | ||
text-align: center; | ||
} | ||
} | ||
} | ||
.overlay { | ||
padding: 0; | ||
margin: 0; | ||
width: 90%; | ||
height: 90%; | ||
position: absolute; | ||
/*visibility: hidden;*/ | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
z-index: 2; | ||
} | ||
} | ||
} | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
"brandico", | ||
"entypo", | ||
"font-awesome", | ||
"fontelico", | ||
"glyphicons", | ||
"iconic-stroke", | ||
"ionicons", | ||
"maki", | ||
"openweb" | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.