-
Notifications
You must be signed in to change notification settings - Fork 532
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
enhancement: extract styles to a vue-form-generator.css
file.
#27
enhancement: extract styles to a vue-form-generator.css
file.
#27
Conversation
Thanks! Please remove the |
I'm all for it, but as is, it will have repercussion on the style. Most css selector are |
…-generator into LB_extract_style
Yes. Need a .vue-form-generator class. 2016.08.08. 16:57 ezt írta ("lionel-bijaoui" [email protected]):
|
@icebob I will refactor the CSS in this branch, if it is OK for you. Approved ? |
Ok. 2016.08.08. 17:54 ezt írta ("lionel-bijaoui" [email protected]):
|
We add |
I'm also going to add |
@lionel-bijaoui please don't add For multiple-top-level elements: fix it later. Just collect the concerned fields and create an issue. |
@@ -54,6 +54,7 @@ | |||
"eslint-loader": "1.5.0", | |||
"eslint-plugin-html": "1.5.1", | |||
"eslint-plugin-vue": "0.1.1", | |||
"extract-text-webpack-plugin": "^1.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change to static version number "v1.0.1"
@lionel-bijaoui do you need my help for styles? |
@icebob it's ok for me, I have a few questions to be clear on what direction you want to go. |
@icebob What should be the rule regarding bootstrap specific class ( |
…t selector for a more encapsulated style.
…idth of the switch.
@lionel-bijaoui we add minimal classes from bootstrap (e.g. |
Are you still working on this PR? |
@@ -1,5 +1,5 @@ | |||
<template lang="jade"> | |||
fieldset(v-if="schema != null") | |||
fieldset.vue-form-generator(v-if="schema != null") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This selector need to add in styles too:
<style lang="sass">
$errorColor: lighten(#F00, 0%);
fieldset.vue-form-generator {
I'm almost ready. I will implement your comment and it should be good. |
Great! 👍 |
@icebob Ready to merge ? |
Firstly I create a branch based on this PR. Because I want to change styles on fieldSwitch too (remove white shadow because it is ugly on black background) |
Merged in #29 |
@lionel-bijaoui Thanks for your help :) 👍 |
Thank you, but I'm a bit lost, was I supposed to do something about my branch and your branch ? |
No, it's ready. But I can't commit to your branch/PR, so I open an own branch what is based on your branch and made other changes in the styles. But I don't know what is this multiple empty lines in the generated css: https://github.com/icebob/vue-form-generator/blob/master/dist/vue-form-generator.css#L193 |
Great ! I was a bit confused 😕 |
Yes you can. Now your commits are in the master. |
#20