From: Johannes R. <joh...@un...> - 2014-08-29 08:36:14
|
Hi Luke, On 28.08.2014 22:45, Osullivan L. wrote: > Hi Johannes, > > Have you enabled less in the theme config file? No, I hadn't. I guess you meant in .../themes/bootstrap3/theme.config.php? I now have 'less' => array( - 'active' => false, + 'active' => true, 'compiled.less' Is that correct? It doesn't seem to be sufficient though as my links still haven't changed their colour. In any case, thank you! -- Johannes > > Luke > > > Sent from my HTC > > ----- Reply message ----- > From: "Demian Katz" <dem...@vi...> > To: "Johannes Ruscheinski" <joh...@un...>, > "vuf...@li..." <vuf...@li...> > Subject: [VuFind-Tech] Bootstrap3 Question > Date: Thu, Aug 28, 2014 21:36 > > I guess the first places to start sanity-checking are: > > 1.) Make sure that your compiled.css really updated after the > cssBuilder ran (i.e. check file modification times, etc.) > 2.) View your page source to make sure that compiled.css is loading as > expected in the browser > 3.) Do a hard refresh or clear your cache to be sure you're getting > the expected version > > It might also be worthwhile to consider creating a custom sub-theme > that overrides the variables rather than modifying bootstrap3 > in-place, since this may make future upgrades slightly less of a > hassle. There are some notes on this here: > > https://vufind.org/wiki/using_less > > Actually, reviewing this page may suggest a solution to your problem: > it appears (if the notes on the wiki are up to date) that > variables.less is only used in bootprint3, not bootstrap3... so if > you're truly using the base bootstrap3 theme, it's possible that > variables.less is simply being ignored. > > - Demian > ________________________________________ > From: Johannes Ruscheinski [joh...@un...] > Sent: Thursday, August 28, 2014 10:43 AM > To: Demian Katz; vuf...@li... > Subject: Re: [VuFind-Tech] Bootstrap3 Question > > On 28.08.2014 16:27, Demian Katz wrote: > > Actually, it's even easier than all that -- just go to your > VUFIND_HOME and run: > > > > php util/cssBuilder.php > > Thanks, that did compile things but after restarting VuFind, I can't see > any changes. My > .../local/config/vufind/config.ini contains "theme = > bootstrap3" and the changes I made in > .../themes/bootstrap3/less/bootstrap/variables.less are > > //** Global textual link color. > -@link-color: @brand-primary; > -//** Link hover color set via `darken()` function. > -@link-hover-color: darken(@link-color, 15%); > +@link-color: #b4a069; > +//** Link hover color. > +@link-hover-color: #a51e37; > > Nonetheless my links have not changed their colour. > -- > Johannes > > > > > - Demian > > ________________________________________ > > From: Johannes Ruscheinski [joh...@un...] > > Sent: Thursday, August 28, 2014 10:23 AM > > To: vuf...@li... > > Subject: Re: [VuFind-Tech] Bootstrap3 Question > > > > On 28.08.2014 16:17, Johannes Ruscheinski wrote: > >> Hi, > >> > >> I am using VuFind 2.3 and made my first change in > >> .../themes/bootstrap3/less/bootstrap/variables.less. How do I get > >> VuFind to display my changed theme? Do I need to install Grunt? > >> > >> Thanks! > >> > >> Johannes > >> > > I should add that I managed to install "lessc". I guess all I need to > > know now is how to invoke that to create the appropriate output. > > > > Wildly guessing the input should be bootstrap3.less and the output > > css/compiled.css?? > > > > Johannes > > > > -- > > Dr. Johannes Ruscheinski > > Universitätsbibliothek Tübingen - IT-Abteilung - > > Wilhelmstr. 32, 72074 Tübingen > > > > Tel: +49 7071 29-72820 > > FAX: +49 7071 29-5069 > > Email: joh...@un... > > > > > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > Vufind-tech mailing list > > Vuf...@li... > > https://lists.sourceforge.net/lists/listinfo/vufind-tech > > -- > Dr. Johannes Ruscheinski > Universitätsbibliothek Tübingen - IT-Abteilung - > Wilhelmstr. 32, 72074 Tübingen > > Tel: +49 7071 29-72820 > FAX: +49 7071 29-5069 > Email: joh...@un... > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Vufind-tech mailing list > Vuf...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-tech -- Dr. Johannes Ruscheinski Universitätsbibliothek Tübingen - IT-Abteilung - Wilhelmstr. 32, 72074 Tübingen Tel: +49 7071 29-72820 FAX: +49 7071 29-5069 Email: joh...@un... |