forked from tapquo/Lungo.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Javi Jimenez Villar
committed
Mar 25, 2013
1 parent
7e043f7
commit 8113204
Showing
3 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### | ||
Lungo - HTML5 Cross-Device Framework | ||
http://lungo.tapquo.com | ||
Copyright (c) 2011-2013 Tapquo S.L. - Licensed GPLv3, Commercial | ||
@namespace Lungo.Sugar | ||
@class Calendar | ||
@author Javier Jimenez Villar <[email protected]> || @soyjavi | ||
### | ||
|
||
Lungo.Sugar.Calendar = do () -> | ||
|
||
init = -> @ | ||
|
||
init: init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[data-control=calendar] | ||
position: absolute | ||
top: 128px | ||
left: 20px | ||
z-index: 5 !important | ||
width: 280px | ||
display: block | ||
font-size: 17px | ||
margin: 0 auto | ||
|
||
& table | ||
background: #fff | ||
|
||
& thead, tbody, tr | ||
display: block | ||
width: inherit | ||
|
||
& thead td | ||
font-weight: 700 | ||
font-size: 11px | ||
line-height: 24px | ||
border: 0px | ||
|
||
& td | ||
width: 40px | ||
line-height: 40px | ||
text-align: center | ||
font-weight: 600 | ||
position: relative | ||
border: solid 1px #eee | ||
&:hover | ||
background: green | ||
border: 0px | ||
&.today | ||
background: blue | ||
color: #fff !important | ||
border: 0px | ||
&.weekend | ||
color: red | ||
&.event:after | ||
position: absolute | ||
content: "·" | ||
position: red | ||
top: 12px | ||
left: 15px | ||
font-size: 28px | ||
color: red | ||
&.disabled | ||
color: #ddd | ||
& .layout | ||
line-height: 40px | ||
background: #000 | ||
text-align: center | ||
font-size: 18px | ||
color: #fff | ||
|
||
& strong | ||
margin: 0 4px |