x-tag / calendar

A component acting as a calendar widget that can be manipulated with minimal user-written code/layout.
13 stars 7 forks source link

CSS do not present #3

Open nsisodiya opened 10 years ago

nsisodiya commented 10 years ago

I am trying to use x-calendar, I found some css is missing in repo..

Example - Following CSS are not present inside - https://github.com/x-tag/calendar/blob/master/src/calendar.css I copied this css from brick.css which should not be, Brick should take css from this repo.

Correct me If I wrong..

x-calendar {
    border: 1px solid #cecece;
    border-radius: 3px;
    font-size: 1em;
    font-family: "Fira Sans", "Fira Sans", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    color: #444;
}
x-calendar .weekday-label {
    opacity: 0.8;
}
x-calendar .month-label {
    border-bottom: 1px solid #cecece;
}
x-calendar .day[active] {
    border-color: #ffa500;
}
x-calendar .day.chosen {
    background: #0095dd;
    color: #fff;
}
x-calendar .day.today {
    font-weight: bold;
}
x-calendar:not([active]) .prev:hover,
x-calendar:not([active]) .next:hover {
    background-color: #f9f9f9;
    opacity: 0.7;
}
x-calendar:not([active]) .day:not(.chosen):hover {
    background: #ccc;
}
potch commented 10 years ago

Brick has 'skins' over top of the individual components, which have no default skin appearance. This is presently intentional, but something we're looking to address.