candl 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +5 -0
- data/app/assets/javascripts/{calendar.coffee → candl.coffee} +54 -54
- data/app/assets/stylesheets/candl.scss +291 -20
- data/lib/candl/version.rb +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +4 -3
- data/spec/dummy/app/assets/stylesheets/{application.css → application.scss} +3 -1
- data/spec/dummy/log/development.log +140 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0A/0AfiGDq_Uo1ENK30KPg9ii-svoRTXiMI4RnLqejNlvA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0O/0OUs9LoL62MvgXbN8-OXHp4zQIUlSyj3DDMN2PBED6I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4F/4FCN3VwdmT_AzTcx2IwAIqmOC61AB_AUR21X9VgPGyE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4Z/4Z15MnIzWCG2HsUWcP4l9UG7ZTwc5IH7QaBXqh0qIeU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7E/7Eoz9ZZjAz7NcGGTqANs_37zkEs_871wbQtD7seaLeQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7l/7LDYsOTX7FpuSfGohoyCekUed1LR2rk1f7O4lhc6qys.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8I/8i_xNy1ofNQCKETz-aCQYD9DDXeldiUw_4kylLsXEr4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8o/8obX51s_gPI1dZG43Cw1y655D5r95RHu42C7ASRpFK0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/A7/A7KHiLnLdU4YtLKYYGC2q500B5s3jaZ36_ge-Z-E-e4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CX/CXrt6_YM5xzj5VNEdP_wj7Xkh7H3uceqZGhUVuJlcVA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/E7/E74LpWfBsYWfaDhd6RzQB1UG6RxJN46WjHrx2OyCIMs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ED/EDdal2U7nKHv58FTDd7J91XqybIgy3_4iAOAvH4s80c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ek/Eksq_iZ3qLVHxfz9qFlfTQVCXYilErIhdH0InrVNyB8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fk/fkB0Bkh03oRlMZFKeQvxAuHpsJO3TafmwlGR_VvgH-w.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H3/h3Y73zXd85ZSrFBVQoyJSVC5u_f6gKur_-RHSlnDrt0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JJ/JJz-96FYfo0Tunsb9XbI4zWqhm_VyQweh4wTZ9MRZWQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LA/LAvwJJC1boQs64PEWI7u9qWK_8MN3FrkbYOGx4BDCwk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LK/LkPZiWy9O1dynTrfqo-Dp3W2iU70spt-UMatqV7GrNM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N7/n72FdV0b46fa0W_8kLl_TetTDH10F0emFm7-y-joDX8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nk/NkJhyzJKSkdNWu7gnvM7T6xCEOYg_JTEkIxD3DVplXs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QB/qBUvdxqw9eKSW6vOMV1-cHtdS8b9IOeENmw38-L24Xg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QZ/QzX4laaJ60MSCoHGwMXa2ZLzA9AJVda4Svk2rbanGX8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SC/ScwkWGGCvGgkUZySwGu7ucWY7No6TrVjYdgUxG3rTQY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/T2/T24UZMwYSlh5RSEnu5ZvBC-pD55NIwToSBgGu5IZJho.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tz/tzvtyA07--ZhXv6xtsKcUkawsepDupbmLh2pdjNoLiQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W-/W-33Xy0NUbjgUcyan9av6S-nocggfPQh-7zkCYqPdfI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wb/WBT-jCie35S7UBEqA7ypC4UAP84t4mQhYntZjLv8oUQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wp/wP_VsZ5kWgERX1C2iu8nlvfqRQ0QErqvk4HAx1hnilw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XQ/xQ_6bkECFFIWK1qYsYFCZxxvDSG6K_DymMtmNJvklzw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yc/yCiHcizDPDnVUwCP6oUIO0mo85sI9kzT-7UFOPkEmjc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZW/zWru0SRkfiF0U72SKx0ua4-Zo-qB9gYWxGGZpQblyPU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bo/bo1Oy7bxloGC-SSfFN-X-Bhl0mCZH4JkIewn3stNb6c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cC/CCKCyAVvAelpASUXSkioQZv5syFldwa35LWCBW5PCOc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d5/d5D1pL2cSTuGFSTyP7LWP5B9q6tj05Ml_YWORt9Vj_w.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fy/fyTz2U7N_RYgWA3q2-u3Ig3BUD7svdoH-gb-yMRJ2G0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i4/i4QEWoOXZ3UyEDjqhBIkO_4PkChrmKARMXlk9b8-Rkc.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jA/JaaUVa-D0SrL6mDGV019DQ5G9KGuzeLPDEq6evVmK9o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lv/Lv6ctIWpLZJzy896bmUXGajGuy27W_3zXujJitVoXw0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lv/lVij7XLF0cY0QTXt2PODjd4pVWoCIZpI12qhZqKrgnE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nZ/NzgqL7ouSA1GJgSUha71CrHzKTWDBonsgcRUBa-fzgM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oO/oop6WA7PIWYRgo_bmIemOoEY85dnweHj212pSokqtBc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oR/oR6ohUzrSNkRlcC2bXU0TolVr9la0gh98aOSndNPjRQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qS/qsn0KlO5dpe60TnVmdQHbEunp3LJ2X76RV2rRTpLAP0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qU/QuQ7D90T2spMDOA_EAv0H1O8zuotVPb0bbASF_wZNSQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/r-/R-z71UJAPkqaanK-5psqrdyFCe2lQtTotyqFN-qF9k0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/s6/S6UjOvgLGiaGhcd0A8WhbIgeMoyioVvQUqvFPIbs8YA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vm/Vm41k3Z9UcmS-cmCyBAKx7ef_Obv4y7_krNA7RcVdrc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x-/x-VMWC1dplSE4hKjIn4yxROMSJaWinGy13t6ATu3qpI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xr/xrN3_fFRXAeNNTVjlgk2Gol-07ZsGNB8dhSsgyZlEFs.cache +3 -0
- data/spec/dummy/tmp/pids/server.pid +1 -1
- metadata +103 -45
- data/app/assets/javascripts/candl.js +0 -19
- data/app/assets/stylesheets/calendar.scss +0 -291
- data/app/controllers/candl/application_controller.rb +0 -5
- data/app/controllers/candl/calendar_controller.rb +0 -8
- data/app/helpers/candl/application_helper.rb +0 -4
- data/app/helpers/candl/calendar_helper.rb +0 -4
- data/app/jobs/candl/application_job.rb +0 -4
- data/app/mailers/candl/application_mailer.rb +0 -6
- data/app/models/candl/application_record.rb +0 -5
- data/app/views/layouts/candl/application.html.erb +0 -16
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/assets/javascripts/sample.js +0 -2
- data/spec/dummy/app/assets/stylesheets/sample.css +0 -4
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/helpers/sample_helper.rb +0 -2
- data/spec/dummy/app/jobs/application_job.rb +0 -2
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/app/views/sample/index-old.html.erb +0 -3
- data/spec/dummy/spec/controllers/sample_controller_spec.rb +0 -5
- data/spec/dummy/spec/helpers/sample_helper_spec.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2323193198806bbd786290d4f4d4d831be7fc01a64aa26ad74b4970b5aa1b1
|
4
|
+
data.tar.gz: b456d4fe068e4218efc1501da88e27dcef68be54408fb42e634bd7e713627994
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bceaffae4404dbe2d18973ad4a7f1413d90aea51ba1715687b465184bbb731d2c5fcb00fd4b5033b3af73799d83d78693ce432d654117eac32713bd85a3015b
|
7
|
+
data.tar.gz: '0085e421daa19585a773e67219bd59a0f88db4de0022997fddbda18a24583b7cb95035b529b6385be3294d0824d9b53ba1871fbac8a6ecd12436acc14bddddf0'
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Candl
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/hicknhack-software/candl.svg?branch=master)](https://travis-ci.org/hicknhack-software/candl)
|
4
|
-
[![Maintainability](https://api.codeclimate.com/v1/badges/
|
4
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/b20964b8dd8704d83446/maintainability)](https://codeclimate.com/github/hicknhack-software/candl/maintainability)
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/candl.svg)](https://badge.fury.io/rb/candl)
|
6
6
|
|
7
7
|
This gem helps load and display a calendar from google calendar in an agenda or month style view.
|
data/Rakefile
CHANGED
@@ -30,3 +30,8 @@ Rake::TestTask.new(:test) do |t|
|
|
30
30
|
end
|
31
31
|
|
32
32
|
task default: :test
|
33
|
+
|
34
|
+
desc "This task enhances the build task in a way that helps keeping the lockfile correct for travis ci if a new release is created."
|
35
|
+
Rake::Task["build"].enhance do
|
36
|
+
sh("bundle update")
|
37
|
+
end
|
@@ -1,54 +1,54 @@
|
|
1
|
-
$(document).on "turbolinks:load", ->
|
2
|
-
|
3
|
-
$(".open_more").click (e) ->
|
4
|
-
e.preventDefault()
|
5
|
-
$(this).next('.details').toggle()
|
6
|
-
return
|
7
|
-
|
8
|
-
$(".onclick_open_backdrop").click (e) ->
|
9
|
-
e.preventDefault()
|
10
|
-
$(this).children('.snowflake_popover').popover('show')
|
11
|
-
$('.popover_backdrop').show()
|
12
|
-
return
|
13
|
-
|
14
|
-
$(document).on "click", ".close, .popover_backdrop", (e) ->
|
15
|
-
e.preventDefault()
|
16
|
-
$('.snowflake_popover').popover('hide')
|
17
|
-
$('.popover_backdrop').hide()
|
18
|
-
return
|
19
|
-
|
20
|
-
$('[data-toggle="popover"]').popover
|
21
|
-
html: true
|
22
|
-
trigger: 'manual'
|
23
|
-
content: ->
|
24
|
-
$(this).children('.popover_content').html()
|
25
|
-
|
26
|
-
debounceIntervalMs = ->
|
27
|
-
return 240
|
28
|
-
|
29
|
-
shiftUrl = (url, regex, shifts) ->
|
30
|
-
change = (str, p1, p2, offset, text) ->
|
31
|
-
return p1 + (parseInt(p2) + parseInt(shifts))
|
32
|
-
|
33
|
-
text = String(url)
|
34
|
-
return text.replace regex, change
|
35
|
-
|
36
|
-
$("a.debounce_this").click (e) ->
|
37
|
-
e.preventDefault()
|
38
|
-
|
39
|
-
if !window.forwardShiftAmount?
|
40
|
-
window.forwardShiftAmount = 0
|
41
|
-
if window.debounceTimeout?
|
42
|
-
clearTimeout(window.debounceTimeout)
|
43
|
-
window.forwardShiftAmount = window.forwardShiftAmount + if (e.currentTarget.dataset.directionForward == 'true') then 1 else -1
|
44
|
-
console.log(window.forwardShiftAmount)
|
45
|
-
|
46
|
-
regex = new RegExp("(" + e.currentTarget.dataset.debounceParam + "=)(-?\\d+)", "g")
|
47
|
-
delayedPageChange = ->
|
48
|
-
location.href = newHref
|
49
|
-
|
50
|
-
newHref = shiftUrl(e.currentTarget.href, regex, window.forwardShiftAmount)
|
51
|
-
window.debounceTimeout = setTimeout(delayedPageChange, debounceIntervalMs())
|
52
|
-
return
|
53
|
-
|
54
|
-
return
|
1
|
+
$(document).on "turbolinks:load", ->
|
2
|
+
|
3
|
+
$(".open_more").click (e) ->
|
4
|
+
e.preventDefault()
|
5
|
+
$(this).next('.details').toggle()
|
6
|
+
return
|
7
|
+
|
8
|
+
$(".onclick_open_backdrop").click (e) ->
|
9
|
+
e.preventDefault()
|
10
|
+
$(this).children('.snowflake_popover').popover('show')
|
11
|
+
$('.popover_backdrop').show()
|
12
|
+
return
|
13
|
+
|
14
|
+
$(document).on "click", ".close, .popover_backdrop", (e) ->
|
15
|
+
e.preventDefault()
|
16
|
+
$('.snowflake_popover').popover('hide')
|
17
|
+
$('.popover_backdrop').hide()
|
18
|
+
return
|
19
|
+
|
20
|
+
$('[data-toggle="popover"]').popover
|
21
|
+
html: true
|
22
|
+
trigger: 'manual'
|
23
|
+
content: ->
|
24
|
+
$(this).children('.popover_content').html()
|
25
|
+
|
26
|
+
debounceIntervalMs = ->
|
27
|
+
return 240
|
28
|
+
|
29
|
+
shiftUrl = (url, regex, shifts) ->
|
30
|
+
change = (str, p1, p2, offset, text) ->
|
31
|
+
return p1 + (parseInt(p2) + parseInt(shifts))
|
32
|
+
|
33
|
+
text = String(url)
|
34
|
+
return text.replace regex, change
|
35
|
+
|
36
|
+
$("a.debounce_this").click (e) ->
|
37
|
+
e.preventDefault()
|
38
|
+
|
39
|
+
if !window.forwardShiftAmount?
|
40
|
+
window.forwardShiftAmount = 0
|
41
|
+
if window.debounceTimeout?
|
42
|
+
clearTimeout(window.debounceTimeout)
|
43
|
+
window.forwardShiftAmount = window.forwardShiftAmount + if (e.currentTarget.dataset.directionForward == 'true') then 1 else -1
|
44
|
+
console.log(window.forwardShiftAmount)
|
45
|
+
|
46
|
+
regex = new RegExp("(" + e.currentTarget.dataset.debounceParam + "=)(-?\\d+)", "g")
|
47
|
+
delayedPageChange = ->
|
48
|
+
location.href = newHref
|
49
|
+
|
50
|
+
newHref = shiftUrl(e.currentTarget.href, regex, window.forwardShiftAmount)
|
51
|
+
window.debounceTimeout = setTimeout(delayedPageChange, debounceIntervalMs())
|
52
|
+
return
|
53
|
+
|
54
|
+
return
|
@@ -1,20 +1,291 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
1
|
+
$hnh-color-black: #333333;
|
2
|
+
$hnh-color-light-gray: #eeeeee;
|
3
|
+
$hnh-color-orange: #df631d;
|
4
|
+
$hnh-color-green: #8fa841;
|
5
|
+
$hnh-color-blue: #4781ba;
|
6
|
+
$hnh-color-yellow: #f7cb51;
|
7
|
+
|
8
|
+
$hnh-size-micro: 0.125rem;
|
9
|
+
$hnh-size-tiny: 0.25rem;
|
10
|
+
$hnh-size-small: 0.5rem;
|
11
|
+
$hnh-size-medium: 1rem;
|
12
|
+
$hnh-size-big: 2rem;
|
13
|
+
$hnh-size-huge: 4rem;
|
14
|
+
$hnh-size-humongus: 8rem;
|
15
|
+
|
16
|
+
.button_holder {
|
17
|
+
width: 100%;
|
18
|
+
height: 100%;
|
19
|
+
display: flex;
|
20
|
+
flex-flow: row wrap;
|
21
|
+
justify-content: space-between;
|
22
|
+
margin-bottom: $hnh-size-medium;
|
23
|
+
|
24
|
+
.btn-group {
|
25
|
+
display: flex;
|
26
|
+
flex-flow: row wrap;
|
27
|
+
justify-content: space-between;
|
28
|
+
|
29
|
+
.button_item {
|
30
|
+
display: flex;
|
31
|
+
flex-flow: column nowrap;
|
32
|
+
justify-content: center;
|
33
|
+
align-content: center;
|
34
|
+
|
35
|
+
.button_icon {
|
36
|
+
display: flex;
|
37
|
+
flex-flow: row nowrap;
|
38
|
+
justify-content: center;
|
39
|
+
align-content: center;
|
40
|
+
width: 100%;
|
41
|
+
height: 100%;
|
42
|
+
|
43
|
+
i {
|
44
|
+
margin: auto;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
a.btn {
|
51
|
+
min-width: $hnh-size-humongus + $hnh-size-big;
|
52
|
+
min-height: $hnh-size-huge;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.error_message {
|
57
|
+
font-weight: bold;
|
58
|
+
}
|
59
|
+
|
60
|
+
.agenda {
|
61
|
+
width: 100%;
|
62
|
+
border: 1px solid lighten($hnh-color-black, 67%);
|
63
|
+
|
64
|
+
.today {
|
65
|
+
background-color: lighten($hnh-color-blue, 36%);
|
66
|
+
}
|
67
|
+
.not_today {
|
68
|
+
background-color: lighten($hnh-color-black, 72%);
|
69
|
+
}
|
70
|
+
|
71
|
+
.row_head {
|
72
|
+
color: $hnh-color-black;
|
73
|
+
|
74
|
+
padding: $hnh-size-small;
|
75
|
+
}
|
76
|
+
|
77
|
+
.event_shell {
|
78
|
+
background-color: lighten($hnh-color-light-gray, 4%);
|
79
|
+
color: darken($hnh-color-blue, 7%);
|
80
|
+
transition: background-color 0.33s;
|
81
|
+
cursor: pointer;
|
82
|
+
|
83
|
+
.event {
|
84
|
+
display: flex;
|
85
|
+
align-items: center;
|
86
|
+
padding: $hnh-size-small;
|
87
|
+
|
88
|
+
.time {
|
89
|
+
font-weight: bold;
|
90
|
+
min-width: 6rem;
|
91
|
+
text-align: center;
|
92
|
+
}
|
93
|
+
.summary {
|
94
|
+
color: inherit;
|
95
|
+
}
|
96
|
+
.auto_margin_left {
|
97
|
+
margin-left: auto;
|
98
|
+
margin-right: 1px;
|
99
|
+
}
|
100
|
+
&:hover {
|
101
|
+
background-color: darken($hnh-color-light-gray, 3%);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.details {
|
106
|
+
padding: $hnh-size-tiny;
|
107
|
+
color: $hnh-color-black;
|
108
|
+
|
109
|
+
.text {
|
110
|
+
display: inline-flex;
|
111
|
+
align-items: center;
|
112
|
+
|
113
|
+
.icon {
|
114
|
+
min-width: 6rem;
|
115
|
+
padding-left: $hnh-size-medium;
|
116
|
+
padding-right: $hnh-size-medium;
|
117
|
+
text-align: center;
|
118
|
+
}
|
119
|
+
.content {
|
120
|
+
padding-left: $hnh-size-medium;
|
121
|
+
padding-right: $hnh-size-medium;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
&:nth-child(odd) {
|
126
|
+
color: darken($hnh-color-green, 7%);
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
.month_view {
|
132
|
+
table-layout: fixed;
|
133
|
+
|
134
|
+
.weekday_name_header {
|
135
|
+
overflow: hidden;
|
136
|
+
}
|
137
|
+
|
138
|
+
.day_row {
|
139
|
+
background-color: lighten($hnh-color-light-gray, 4%);
|
140
|
+
|
141
|
+
.day_head {
|
142
|
+
width: 100%;
|
143
|
+
text-align: center;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
.small_padding {
|
148
|
+
padding: $hnh-size-tiny + $hnh-size-micro;
|
149
|
+
}
|
150
|
+
|
151
|
+
.multiday_event {
|
152
|
+
padding: $hnh-size-micro;
|
153
|
+
overflow: hidden;
|
154
|
+
cursor: pointer;
|
155
|
+
|
156
|
+
border-radius: $hnh-size-small;
|
157
|
+
border: $hnh-size-micro solid $hnh-color-light-gray;
|
158
|
+
background-color: lighten($hnh-color-blue, 42%);
|
159
|
+
border: 1px solid lighten($hnh-color-blue, 29%);
|
160
|
+
|
161
|
+
transition: background-color 0.33s;
|
162
|
+
|
163
|
+
.summary {
|
164
|
+
margin-left: $hnh-size-small;
|
165
|
+
color: $hnh-color-black;
|
166
|
+
}
|
167
|
+
&:nth-child(odd) {
|
168
|
+
background-color: lighten($hnh-color-green, 42%);
|
169
|
+
border: 1px solid lighten($hnh-color-green, 29%);
|
170
|
+
}
|
171
|
+
&:hover {
|
172
|
+
background-color: lighten($hnh-color-blue, 33%);
|
173
|
+
border: 1px solid lighten($hnh-color-blue, 15%);
|
174
|
+
|
175
|
+
&:nth-child(odd) {
|
176
|
+
background-color: lighten($hnh-color-green, 33%);
|
177
|
+
border: 1px solid lighten($hnh-color-green, 15%);
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
.multiday_event_leftcut {
|
182
|
+
border-top-left-radius: 0;
|
183
|
+
border-bottom-left-radius: 0;
|
184
|
+
}
|
185
|
+
.multiday_event_bothcut {
|
186
|
+
border-top-left-radius: 0;
|
187
|
+
border-bottom-left-radius: 0;
|
188
|
+
border-top-right-radius: 0;
|
189
|
+
border-bottom-right-radius: 0;
|
190
|
+
}
|
191
|
+
.multiday_event_rightcut {
|
192
|
+
border-top-right-radius: 0;
|
193
|
+
border-bottom-right-radius: 0;
|
194
|
+
}
|
195
|
+
|
196
|
+
.events_row {
|
197
|
+
height: $hnh-size-huge;
|
198
|
+
|
199
|
+
.event {
|
200
|
+
padding: $hnh-size-tiny;
|
201
|
+
overflow: hidden;
|
202
|
+
margin-bottom: $hnh-size-small;
|
203
|
+
cursor: pointer;
|
204
|
+
|
205
|
+
border-radius: $hnh-size-small;
|
206
|
+
border: $hnh-size-micro solid $hnh-color-light-gray;
|
207
|
+
background-color: lighten($hnh-color-blue, 42%);
|
208
|
+
border: 1px solid lighten($hnh-color-blue, 29%);
|
209
|
+
|
210
|
+
transition: background-color 0.33s;
|
211
|
+
|
212
|
+
.time {
|
213
|
+
font-weight: bold;
|
214
|
+
}
|
215
|
+
|
216
|
+
.summary {
|
217
|
+
margin-left: $hnh-size-small;
|
218
|
+
color: $hnh-color-black;
|
219
|
+
}
|
220
|
+
&:nth-child(odd) {
|
221
|
+
background-color: lighten($hnh-color-green, 42%);
|
222
|
+
border: 1px solid lighten($hnh-color-green, 29%);
|
223
|
+
}
|
224
|
+
&:hover {
|
225
|
+
background-color: lighten($hnh-color-blue, 33%);
|
226
|
+
border: 1px solid lighten($hnh-color-blue, 15%);
|
227
|
+
|
228
|
+
&:nth-child(odd) {
|
229
|
+
background-color: lighten($hnh-color-green, 33%);
|
230
|
+
border: 1px solid lighten($hnh-color-green, 15%);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
.popover_backdrop {
|
238
|
+
z-index: 101;
|
239
|
+
position: fixed;
|
240
|
+
top: 0;
|
241
|
+
left: 0;
|
242
|
+
right: 0;
|
243
|
+
bottom: 0;
|
244
|
+
background: rgba($hnh-color-light-gray,0.4);
|
245
|
+
}
|
246
|
+
|
247
|
+
.init_display_none {
|
248
|
+
display: none;
|
249
|
+
}
|
250
|
+
|
251
|
+
.popover-content {
|
252
|
+
overflow: hidden;
|
253
|
+
display: inline-flex;
|
254
|
+
flex-direction: column;
|
255
|
+
|
256
|
+
.icon_spacing {
|
257
|
+
margin-right: $hnh-size-medium;
|
258
|
+
}
|
259
|
+
|
260
|
+
.close_span {
|
261
|
+
width: 100%;
|
262
|
+
|
263
|
+
.close {
|
264
|
+
text-align: right;
|
265
|
+
cursor: pointer;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
hr {
|
269
|
+
width: 100%;
|
270
|
+
}
|
271
|
+
.text {
|
272
|
+
.medium_margin_right {
|
273
|
+
margin-right: $hnh-size-humongus;
|
274
|
+
}
|
275
|
+
|
276
|
+
display: flex;
|
277
|
+
flex-direction: row;
|
278
|
+
|
279
|
+
display: flex;
|
280
|
+
align-items: center;
|
281
|
+
|
282
|
+
.flex_wrap_it {
|
283
|
+
flex-wrap: wrap;
|
284
|
+
}
|
285
|
+
.breakable {
|
286
|
+
word-break: break-word;
|
287
|
+
hyphens: auto;
|
288
|
+
overflow-wrap: break-word;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|