-
AuthorPosts
-
cbc575 Friend
cbc575
- Join date:
- April 2015
- Posts:
- 208
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 53
- Thanked:
- 11 times in 1 posts
May 30, 2015 at 2:58 am #206752Hi guys,
I have been try to obtain a list of the contextual colors for fonts and buttons but I’m lost. I found in Bootstrap some information but I just got more confused, I noticed you use something like “text-success” to change the color, is there a full list with their equivalence in HEX or regular color name. Also, Is it possible to create more tags for additional colors or to change the ones we got with the template, if so, where and how can I do that…?
Thanks for your support.
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 3, 2015 at 4:54 pm #572777Hi
Bootstrap system provides a number of available classes with which you can add into the element you wish and it will have defined style.
Of course, you can customize or add your own class with your own style. You can more info in http://getbootstrap.com/
cbc575 Friendcbc575
- Join date:
- April 2015
- Posts:
- 208
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 53
- Thanked:
- 11 times in 1 posts
June 3, 2015 at 9:29 pm #572799<em>@Saguaros 476317 wrote:</em><blockquote>Hi
Bootstrap system provides a number of available classes with which you can add into the element you wish and it will have defined style.
Of course, you can customize or add your own class with your own style. You can more info in http://getbootstrap.com/</blockquote>
Hi there, I already went trough that information, but I still don’t understand how do it in the JA Cagox Template, I tried making these using the “ThemeMagic” but they don’t really work and also they return to the “annoying” default font “Play Fair” so I’m guessing it needs to be done on the actual files but I need to know which one.
Could you please be more specific as in which file I have to generate those additional style classes…!
Thank you…!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 4, 2015 at 11:58 am #572881It’s best if you change these contextual color via less.
Our T3 framework also override the bootstrap so all variables can be found within this file: root/templates/ja_cagox/less/variables.less
For example:
// Alerts
// -------------------------
@ alert-padding: 15px;
@ alert-border-radius: @border-radius-base;
@ alert-link-font-weight: bold;@ alert-success-bg: @state-success-bg;
@ alert-success-text: @state-success-text;
@ alert-success-border: @state-success-border;@ alert-info-bg: @state-info-bg;
@ alert-info-text: @state-info-text;
@ alert-info-border: @state-info-border;@ alert-warning-bg: @state-warning-bg;
@ alert-warning-text: @state-warning-text;
@ alert-warning-border: @state-warning-border;@ alert-danger-bg: @state-danger-bg;
@ alert-danger-text: @state-danger-text;
@ alert-danger-border: @state-danger-border;--------------------------------
Of course, you can define your own variable here.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 4, 2015 at 11:58 am #737915It’s best if you change these contextual color via less.
Our T3 framework also override the bootstrap so all variables can be found within this file: root/templates/ja_cagox/less/variables.less
For example:
// Alerts
// -------------------------
@ alert-padding: 15px;
@ alert-border-radius: @border-radius-base;
@ alert-link-font-weight: bold;@ alert-success-bg: @state-success-bg;
@ alert-success-text: @state-success-text;
@ alert-success-border: @state-success-border;@ alert-info-bg: @state-info-bg;
@ alert-info-text: @state-info-text;
@ alert-info-border: @state-info-border;@ alert-warning-bg: @state-warning-bg;
@ alert-warning-text: @state-warning-text;
@ alert-warning-border: @state-warning-border;@ alert-danger-bg: @state-danger-bg;
@ alert-danger-text: @state-danger-text;
@ alert-danger-border: @state-danger-border;--------------------------------
Of course, you can define your own variable here.
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by Saguaros 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum