Krystal Theme 2.4 Customise

Re: Krystal Theme 2.4 Customise

by Claire Browne -
Number of replies: 20

Thanks Gareth, after looking at the code I think it is a browser issue. IE 9 and Fire Fox both display without bold but Google Chrome 26.0.1410.43 displays the dock text bold.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Dear Claire,

They look almost the same to me, and 'yes' I have been to 'SpecSavers' ;).

On a browser you can choose the font type and style to use for displaying text.  So perhaps it is that which is different locally.

Cheers,

Gareth

In reply to Gareth J Barnard

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Gareth, 

sorry I uploaded the same picture twice see below.

 

Google

 

Internet Explorer 9

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Dear Claire,

Oh God! 'IE' one of Satan's children.

I think it just might be the difference between the font that is set in the browser (see attached screen shots) - 'advanced mode' for Chrome to get the settings....

Cheers,

Gareth

Attachment ie_setting.png
In reply to Gareth J Barnard

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Gareth,

Thanks for those but unfortunately no still fuzzy text. I have taken bold off and even changed the font.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Claire,

I'm not sure about this as on mine (firefox and chrome) I'm not seeing either bold or underlined (apart from my Home link, which doesn't appear to be bold on yours!) - but I'm on Linux at the moment so I can't check on IE. Both browsers look identical to me

Could you try using firebug or chrome developer tools to point out where the css is coming from and then we can try to help get rid of it (or standardise it across the browsers for you)

Edit: In fact I have just checked on mine and there is a rule coming from canvas as a parent theme which specifically says a { text-decoration: none; } so there should be no underlining going on mixed so perhaps you can check with firebug to see where it is coming from or if that rule has been changed on your version?

Richard

Attachment nav1.png
In reply to Richard Oelmann

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Richard and Gareth,

This is the only style information I get when I inspect using firebug in google chrome.

If you would prefer, if you could send me your email addresses, I could send my whole theme folder to you.

a:link, a:active {
  color:#000000;
}
styles_d...ype=theme (line 254)
a:link, a:visited {
  color:#FF9933;
}
styles_d...ype=theme (line 22)

Inherited fromp#expandable_branch_108.tree_item

.jsenabled .block_navigation .block_tree .tree_item.branch {
  cursor:pointer;
}
styles_d...avigation (line 31)
.dock .block_navigation .tree_item {
  white-space:nowrap;
}
styles_d...avigation (line 29)
h1, h2, h3, h4, h5, h6, p {
  text-shadow:#FFFFFF 0 1px 0;
}
styles_d...ype=theme (line 13)
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
.block_navigation .block_tree .type_activity > p.tree_item.branch.hasicon.active_tree_node, .block_navigation .block_tree .tree_item {
  text-align:left;
}
styles_d...avigation (line 16)

Inherited fromli#yui_3_7_3_3_1365432495333_3758.collapsed

.block_navigation .block_tree li {
  list-style:none;
}
styles_d...avigation (line 4)

Inherited fromul#yui_3_7_3_3_1365432495333_2771

.block_navigation .block_tree .depth_1.current_branch ul {
  font-weight:normal;
}
styles_d...avigation (line 27)
ul {
  list-style:disc outside;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
ol, ul {
  list-style:none;
}
yui_comb.../base.css (line 74)

Inherited fromli#yui_3_7_3_3_1365432495333_3730.contains_branch

.block_navigation .block_tree li {
  list-style:none;
}
styles_d...avigation (line 4)

Inherited fromul#yui_3_7_3_3_1365432495333_1018

.block_navigation .block_tree .depth_1.current_branch ul {
  font-weight:normal;
}
styles_d...avigation (line 27)
ul {
  list-style:disc outside;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
ol, ul {
  list-style:none;
}
yui_comb.../base.css (line 74)

Inherited fromli#yui_3_7_3_3_1365432495333_3727.contains_branch

.block_navigation .block_tree li {
  list-style:none;
}
styles_d...avigation (line 4)

Inherited fromul#yui_3_7_3_3_1365432495333_3320

.block_navigation .block_tree .depth_1.current_branch ul {
  font-weight:normal;
}
styles_d...avigation (line 27)
ul {
  list-style:disc outside;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
ol, ul {
  list-style:none;
}
yui_comb.../base.css (line 74)

Inherited fromli#yui_3_7_3_3_1365432495333_329.type_system

.block_navigation .block_tree li {
  list-style:none;
}
styles_d...avigation (line 4)

Inherited fromul#yui_3_7_3_3_1365432495333_323

.block_navigation .block_tree .depth_1.current_branch ul {
  font-weight:normal;
}
styles_d...avigation (line 27)
ul {
  list-style:disc outside;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
ol, ul {
  list-style:none;
}
yui_comb.../base.css (line 74)

Inherited fromli#yui_3_7_3_3_1365432495333_324.type_unknown

.block_navigation .block_tree li {
  list-style:none;
}
styles_d...avigation (line 4)

Inherited fromul#yui_3_7_3_3_1365432495333_322.block_tree

ul {
  list-style:disc outside;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
ol, ul {
  list-style:none;
}
yui_comb.../base.css (line 74)

Inherited frombody#page-site-index.course

body {
  font-family:arial, helvetica, clean, sans-serif;
  font-size:13px;
  font-style:normal;
  font-variant:normal;
  font-weight:normal;
  line-height:1.231;
}
yui_comb.../base.css
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, input, textarea {
  font-family:'Arial, Helvetica, sans-serif';
}
styles_d...ype=theme (line 7)
.dir-ltr, .mdl-left, .dir-rtl .mdl-right {
  text-align:left;
}
styles_d...heet=core

Inherited fromhtml.yui3-js-enabled

html {
  color:#000000;
}
In reply to Richard Oelmann

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Richard,

If I am in Firefox and I disable all css styles, I am still left with Moodle displaying links with text decoration underlined.

I have gone through all of my themes and taken out anything which is underlined to none, but still get the underlined links.

I have removed cached from the three browers, plus restarted IIS.

 

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Done a "Purge All Caches"? -> http://docs.moodle.org/24/en/Developer_tools

In reply to Gareth J Barnard

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Yes, I always do that. Plus I have in the theme settings do not cache unticked as well.

In reply to Gareth J Barnard

Re: Krystal Theme 2.4 Customise

by Claire Browne -

This is IE showing correctly but Google Chrome playing up after I changed the font preferences and then put them back to what they were.

Attachment fuzzy text.png
In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Claire Browne -

OK Guys, Good News restarted the IIS and the fuzzy text went, so I can close this as a cache issue on the server.

Also, used my head and typed the krystal custom code box, the same code in krystal.css for links with a text decoration of none and it has removed all the underlined links.

Thanks for all your help.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

hmm - but I'm still wondering where it was picking the underline up from in the first place? I've just done a fresh install of krsytle on my localhost in work and its definitely not happening in there, Claire. That is strange thoughtful but I'm glad you have it sorted now smile

In reply to Richard Oelmann

Re: Krystal Theme 2.4 Customise

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

The text-decoration: underline will, most likely, be coming from YUI.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Paul Nicholls -

My guess on the fuzzy text would be that there's a (white) text-shadow being applied to those captions - Chrome supports text-shadow and therefore displays it, but IE doesn't, so you get normal-looking text.  I'm not sure why restarting IIS would fix it, though, unless the text-shadow was also removed (or changed to a different colour).

In reply to Paul Nicholls

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Paul,

I also removed all text-shadow as well.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Claire,

Forgive me if I sound a little sceptical, but I have a feeling that you are using this forum as a means to fix a theme which is a concoction created by yourself, rather than the Krystle theme Richard, and the rest of use, think you are using.

A customised theme, can be more prone to be full of little problems, and so is harder to fix from a distance.

So to save a lot of toing and froing, can you parcel up the theme as it is now and email it to me?

I've sent you my email address in a message.

Many thanks,

Mary

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Mary,

Thanks for your email I will send the theme to your email address.

The krystal theme in another forum where I was having problems was a concoction of Krystal and Ardvark Make Over with my Live Moodle 2.3.

THIS customisation with Richard and other participants at the beginning of this forum  was a fresh install on my development server Moodle 2.4 from this moodle.org plugins database  https://moodle.org/plugins/view.php?plugin=theme_krystle.

In reply to Claire Browne

Re: Krystal Theme 2.4 Customise

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

So your current Moodle site that I saw last night is using the old krystle_makeover theme? Which makes sense. If so is there anyway I could get to see your develpment site?

Cheers

Mary

In reply to Mary Evans

Re: Krystal Theme 2.4 Customise

by Claire Browne -

Hi Mary,

If you went to this site moodle.cvqo.org last night this is Krystal_Makeover Moodle site version 2.3 - Which doesnt need these customisations in this forum.

My development site which is not accessible to the public and only on my network is Moodle version 2.4 with the Krystal theme 2.4 version which I downloaded from the moodle.org plugins site, that I linked in my previous message, that does need these changes.

I hope this clears the confusion up and sorry if I have confused you even more.smile

In reply to Paul Nicholls

Re: Krystal Theme 2.4 Customise

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Paul, you are right - there is a text shadow in there, which doesn't show up on the original krystle because its a white shadow and the dock headings are on a white background (its being inherited from elsewhere) But its showing on Claire's because of the recolouring of the heading background.

Mary, I think you are probably right about it coming from yui - the interesting bit is why it doesn't show in the original krystle but does in Claire's adapted version.

I think Claire has found the main part of her problem though, which seemed to be that IIS was caching something beyond the ususal moodle or browser caches!

Richard

Average of ratings: Useful (1)