Files
agenda/agenda.css
T

86 lines
7.7 KiB
CSS

:root { --terra: #8c3a1e; --orange: #d9720f; --vert: #4c7a2e; }
* { box-sizing: border-box; }
/* body { margin: 0; padding: 1.5rem 1rem 3rem; font-family: "Trebuchet MS", Helvetica, sans-serif; background: #f4f6f2; color: #222; font-size: 1.08rem; }*/
.wrap { display: inline-block; max-width: 100rem; margin: 0 auto; }
a.retour { color: var(--terra); text-decoration: none; font-size: .95rem; }
a.retour:hover { text-decoration: underline; }
h1 { margin: .4rem 0 1.2rem; font-size: 1.7rem; color: var(--terra); }
.card { background: #fff; border: 1px solid #e2ddd9; border-radius: .6rem; padding: 1rem 1.2rem 1.2rem; margin-bottom: 1.2rem; box-shadow: 0 1px 4px rgba(0,0,0,.10); }
.card.card-perm { border-left: .35rem solid var(--vert); }
.card.card-perm h2 { color: var(--vert); }
.card.card-horaires table { width: 100%; border-collapse: collapse; }
.card.card-horaires table th, .card.card-horaires table td { padding: .35rem .5rem; text-align: left; border-bottom: 1px solid #eceae8; }
.card.card-horaires .activite { display: block; font-weight: bold; color: var(--terra); }
.card h2 { margin: 0 0 .8rem; font-size: 1.05rem; color: var(--terra); text-transform: uppercase; letter-spacing: .04em; }
.nav-mois { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.nav-mois a { color: var(--terra); text-decoration: none; font-weight: bold; font-size: 1.3rem; padding: .1rem .6rem; }
.nav-mois a:hover { color: var(--orange); }
.nav-mois span { font-size: 1.15rem; font-weight: bold; text-transform: capitalize; color: var(--terra); }
.scroll-cal { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.calendrier { border-collapse: collapse; width: 100%; min-width: 46rem; table-layout: fixed; }
table.calendrier th { padding: .4rem; font-size: .9rem; color: #777; text-transform: uppercase; }
table.calendrier td { border: 1px solid #eceae8; vertical-align: top; height: 7.5rem; padding: .35rem; font-size: 1rem; }
table.calendrier td.vide { background: #fafafa; }
table.calendrier td .num { font-weight: bold; color: #555; font-size: 1.15rem; }
table.calendrier td.today { background: #fdf2e6; }
table.calendrier td.today .num { color: var(--orange); }
.evt-badge { color: #fff; border-radius: .3rem; padding: .15rem .4rem; margin-top: .25rem; font-size: .88rem; line-height: 1.3; display: flex; align-items: flex-start; justify-content: space-between; gap: .2rem; }
.evt-badge .badge-content { flex: 1; min-width: 0; cursor: pointer; white-space: normal; word-break: break-word; }
.evt-desc-apercu { margin-top: .15rem; font-size: .8rem; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.perm-badge { color: #fff; border-radius: .3rem; padding: .15rem .4rem; margin-top: .25rem; font-size: .88rem; line-height: 1.3; opacity: .95; display: flex; align-items: flex-start; justify-content: space-between; gap: .2rem; }
.perm-badge .badge-content { flex: 1; min-width: 0; cursor: pointer; white-space: normal; word-break: break-word; }
.perm-badge span { white-space: normal; word-break: break-word; }
.perm-badge form.mini-form { display: inline; flex-shrink: 0; }
button.mini-x { background: none; border: none; color: #fff; opacity: .7; padding: 0; font-size: .8rem; line-height: 1; cursor: pointer; }
button.mini-x:hover { opacity: 1; }
.badge-actions { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
a.badge-edit { color: #fff; opacity: .7; text-decoration: none; font-size: .85rem; line-height: 1.3; flex-shrink: 0; }
a.badge-edit:hover { opacity: 1; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: .6rem; padding: 1.2rem 1.4rem 1.4rem; max-width: 28rem; width: 100%; max-height: 82vh; overflow-y: auto; position: relative; box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.modal-box h3 { margin: 0 1.6rem .3rem 0; color: var(--terra); }
.modal-meta { color: #777; font-size: .9rem; margin: .15rem 0; }
.modal-meta a { color: var(--terra); text-decoration: none; }
.modal-meta a:hover { text-decoration: underline; }
.modal-description { margin-top: .7rem; white-space: pre-wrap; }
.modal-liens { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.modal-liens a { display: inline-block; background: var(--terra); color: #fff; text-decoration: none; padding: .45rem .9rem; border-radius: .4rem; font-size: .92rem; }
.modal-liens a:hover { background: var(--orange); }
.modal-close { position: absolute; top: .5rem; right: .6rem; background: none; border: none; font-size: 1.5rem; line-height: 1; color: #999; cursor: pointer; padding: .2rem .4rem; }
.modal-close:hover { color: var(--terra); }
ul.liste-evt { list-style: none; margin: 0; padding: 0; }
ul.liste-evt li { padding: .6rem 0; border-bottom: 1px solid #eceae8; display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
ul.liste-evt li:last-child { border-bottom: none; }
ul.liste-evt .date-evt { color: var(--terra); font-weight: bold; min-width: 9rem; }
ul.liste-evt .titre-evt { flex: 1; }
ul.liste-evt .lieu-evt { color: #777; font-size: .85rem; }
ul.liste-evt .lieu-evt a { color: inherit; text-decoration: none; }
ul.liste-evt .lieu-evt a:hover { text-decoration: underline; }
a.lieu-lien { color: inherit; text-decoration: none; }
a.lieu-lien:hover { text-decoration: underline; }
ul.liste-evt .lien-evt { color: var(--terra); font-size: .85rem; }
.tag-type { display: inline-block; color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; padding: .1rem .4rem; border-radius: .3rem; margin-right: .4rem; vertical-align: middle; }
p.vide { color: #777; }
table.permanences { border-collapse: collapse; width: 100%; }
.scroll-cal table.permanences { min-width: 42rem; }
table.permanences th, table.permanences td { padding: .5rem .4rem; text-align: left; border-bottom: 1px solid #eceae8; }
table.permanences th { color: #777; font-size: .8rem; text-transform: uppercase; }
input[type=text], input[type=date], input[type=time], input[type=url], textarea, select { font-family: inherit; font-size: 1rem; padding: .4rem .6rem; border: 1px solid #bbb; border-radius: .4rem; width: 100%; background: #fff; }
.ajout { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; }
.ajout label { font-size: .85rem; color: #666; display: block; margin-bottom: .2rem; }
.ajout .champ { min-width: 9rem; }
button { font-family: inherit; font-size: .95rem; padding: .45rem .9rem; border: none; border-radius: .4rem; background: var(--terra); color: #fff; cursor: pointer; }
button:hover { background: var(--orange); }
button.mini { background: none; color: #999; padding: .1rem .3rem; font-size: .85rem; text-decoration: none; }
button.mini:hover { color: var(--terra); }
a.mini { color: #999; text-decoration: none; font-size: .85rem; padding: .1rem .3rem; }
a.mini:hover { color: var(--terra); }
.badge-admin { display: inline-block; background: var(--vert); color: #fff; font-size: .75rem; padding: .15rem .5rem; border-radius: 1rem; margin-left: .5rem; vertical-align: middle; }
nav.vue-tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; }
nav.vue-tabs a { color: var(--terra); text-decoration: none; font-weight: bold; padding: .4rem .9rem; border-radius: .4rem; background: #fff; border: 1px solid #e2ddd9; }
nav.vue-tabs a:hover { background: #fdf2e6; }
nav.vue-tabs a.current { background: var(--terra); color: #fff; border-color: var(--terra); }
nav.cal-tabs { margin-top: -.6rem; }
nav.cal-tabs a { font-weight: normal; font-size: .88rem; padding: .3rem .7rem; }
nav.cal-tabs a.current { background: var(--vert); border-color: var(--vert); }