custom.css doesn't load

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

custom.css doesn't load

Post by EdwinK »

I needed to reinstall dashticz (and unfrtunately didn't make a backup, I know... stupid). So far the index is looking okay-ish, so I wanted to work on the css file to make it look better, but.. alas. It didnt work. None of the things I added seem to show.

Not sure if it could be the case, but I recently was forced to switch from a MacBook to a Windows laptop. I used notepad++ to edit the custom.css file. Also tried with working directly with nano but still no luck.

This is my present css.file. Anything wrong there?

Code: Select all


/* selected btton gets a different colour */
.btn-default.active {
    color: #fff!important;
    background-color: #f54141!important;
    border-color: #500101!important;
}

// smaller blovk titles
.blocktitle {
    height: 60px !important;                /* default height=75px */
    padding-top: 3px !important;                    /* center text for new height */
}


// smaller space around blocks
.transbg[class*="col-xs"] {
  border: 3px solid rgba(255,255,255,0);            /* border: 7px -> 3px - Smaller space between blocks */
}

// larger bulb
.far.fa-lightbulb:before{
    font-size: 24px;
}

.fas.fa-lightbulb:before{
    font-size: 24px;
}

// trash
.trash .state div.trashrow {
    font-size: 12px;
}

.trash .state div.trashtoday {
    font-size: 16px;
}

.trash .state div.trashtomorrow {
    font-size: 14px;
}


// colored bulbs
.fas.fa-lightbulb {
   color:#F1C300;
}
.far.fa-lightbulb {
   color:#fff;
}

// no bullets
.swiper-pagination-bullet {
    display: none !important
}


[/quote]
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: custom.css doesn't load

Post by HansieNL »

// is not allowed a css comment.
Use /* ... */ instead.
Blah blah blah
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: custom.css doesn't load

Post by EdwinK »

Hmm..
that easy. And i had the examples in front of me. Never to old to learn (it again), I guess
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest