feha
Posts: 712
|
Posted: 12/10/2005, 11:14 AM |
|
I like the way style-builder works but ...
There should be option to add custom classes as for:
select, input, text area, radio, checkbox etc ...
I know they could be added as a style to each form filed but imagine adding them to complex forms ....
What i want is to be able add custom CSS elements in to project Styles (Components)
I don't want to use Themes&Styles in order to do this
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
peterr
Posts: 5971
|
Posted: 12/10/2005, 3:42 PM |
|
Quote feha:There should be option to add custom classes...
I don't agree that such option is needed. You can already define classes for input, text area, radio, checkbox etc. very easily without changing the Style Builder, or changing forms, or using Themes.
Eagerly awaiting your next question
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
feha
Posts: 712
|
Posted: 12/10/2005, 3:57 PM |
|
Quote :I don't agree that such option is needed. You can already define classes for input, text area, radio, checkbox etc. very easily without changing the Style Builder, or changing forms, or using Themes.
Sure, after I created my new style "went" to Styles and manually added:
input, select, textarea {
font-family: Verdana, Trebuchet, Geneva, Lucida, Arial, Helvetica, Serif, "Sans-Serif", monospace, Times;
font-size: 100%;
padding-left: 5px;
border-width: 1px;
border-collapse: collapse;
}
But would be nice to have ready added CSS classes even to input and buttons ...
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
peterr
Posts: 5971
|
Posted: 12/10/2005, 4:08 PM |
|
Wow, very nice!
I think that Style Builder wasn't supposed to be a full-featured style editor, so it may be a question of opinion which features it should include. There are a lot of css attributes that don't need to be typed into a wizard. If we add 3 more then you can ask for 2 others, then 2 more, etc. This way it wouldn't be Style Builder anymore...
The purpose of wizards and builders is to help with most common tasks, not to become a large and complex software application on its own.
BTW, you can also create a separate style file like Style2.css and include it in the HTML pages as an additional style with additional class definitions, or use it to override some classes created by the Style Builder.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
feha
Posts: 712
|
Posted: 12/10/2005, 4:32 PM |
|
Quote :BTW, you can also create a separate style file like Style2.css and include it in the HTML pages as an additional style with additional class definitions, or use it to override some classes created by the Style Builder.
Sure:[Dynamic]
<link href="../Styles/{CCS_Style}/Style.css" type="text/css" rel="stylesheet">
<link href="../Styles/{CCS_Style}/Style2.css" type="text/css" rel="stylesheet">
<link href="../Styles/{CCS_Style}/Style3.css" type="text/css" rel="stylesheet">
Thank you for great idea
Note:
If you add your custom code into :
C:\Program Files\CodeChargeStudio3\Components\Styles\VisionToCMS
they will not be overwritten ...
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
feha
Posts: 712
|
Posted: 12/10/2005, 4:38 PM |
|
No, the system overwrittes when you rebuild the style
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
peterr
Posts: 5971
|
Posted: 12/10/2005, 4:45 PM |
|
Make the file read-only.
Although at which point the system overwrites it? Because for example when I click "Rebuild" in Project Settings->Styles then CCS asks me if I want to overwrite those files. Only if I select "Yes" then they are overwritten.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
feha
Posts: 712
|
Posted: 12/10/2005, 4:51 PM |
|
Quote :Only if I select "Yes" then they are overwritten.
Yes, that was the case.
Thank you Peter, i will make some good styles ...
(will check that they validate right ... and will not answer to overwritte with "Yes" )
CU
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
Ken
Posts: 13
|
Posted: 12/12/2005, 8:11 AM |
|
Back to the original point of the initial post, I also don't understand why the form input controls don't have an associated style in the shipped style sheets. I'm fine that you don't want to add a capability to add custom style definitions, but not having a tag for the stock form elements seems obviously missing?
|
|
|
feha
Posts: 712
|
Posted: 12/12/2005, 10:01 PM |
|
Quote :but not having a tag for the stock form elements
I AGREE WITH YOU
_________________
Regards
feha
www.vision.to
feedpixel.com |
|
|
peterr
Posts: 5971
|
Posted: 12/16/2005, 3:33 AM |
|
Thank you for the suggestion.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|