Hallo zusammen
Bin neu hier - Suchfunktion bereits genutzt, aber nicht fündig geworden nach dem, was ich gesucht habe.
Ich habe eine Website mit Joomla kreiert (V 3.9.23) und nutze für das Formular "Formmaker" in der Pro-Version. Damit bin ich eigentlich auch sehr zufrieden. Allerdings sieht der Kalender einfach komisch aus, die Buttons sind viel zu klein und funktionieren zum Teil auch nicht richtig. Hab euch hier mal einen Screenshot angehängt. Soweit ich das sehe, hat der Kalender nichts mit dem Formmaker zu tun, sondern mit dem Template. Ich verwende ein offizielles von Joomspirit.
Unten seht ihr das CSS zum Kalender.
Was kann ich hier tun, damit der einigermassen gut aussieht und praktikabel ist?
Danke und LG
Silvanz
CSS
[tt][/tt]
[tt]/**
[/tt]
[tt]* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
[/tt]
[tt]* @license GNU General Public License version 2 or later; see LICENSE.txt
[/tt]
[tt]*/
[/tt]
[tt][/tt]
[tt]/* The main calendar widget. DIV containing a table. */
[/tt]
[tt]div.calendar {
[/tt]
[tt]position: relative;
[/tt]
[tt]z-index: 10000;
[/tt]
[tt]width: 226px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar, .calendar table {
[/tt]
[tt]border: 1px solid #cccccc;
[/tt]
[tt]font-size: 11px;
[/tt]
[tt]color: #000;
[/tt]
[tt]cursor: default;
[/tt]
[tt]background: #efefef;
[/tt]
[tt]font-family: arial,verdana,sans-serif;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt]/* Header part -- contains navigation buttons and day names. */
[/tt]
[tt][/tt]
[tt].calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
[/tt]
[tt]text-align: center; /* They are the navigation buttons */
[/tt]
[tt]padding: 2px; /* Make the buttons seem like they're pressing */
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .title { /* This holds the current "month, year" */
[/tt]
[tt]font-weight: bold; /* Pressing it will take you to the current date */
[/tt]
[tt]text-align: center;
[/tt]
[tt]background: #333333;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]padding: 2px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .headrow { /* Row <TR> containing navigation buttons */
[/tt]
[tt]background: #dedede;
[/tt]
[tt]color: #000;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .name { /* Cells <TD> containing the day names */
[/tt]
[tt]border-bottom: 1px solid #cccccc;
[/tt]
[tt]padding: 2px;
[/tt]
[tt]text-align: center;
[/tt]
[tt]color: #000;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .weekend { /* How a weekend day name shows in header */
[/tt]
[tt]color: #999;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .hilite { /* How do the buttons in header appear when hover */
[/tt]
[tt]background: #bbbbbb;
[/tt]
[tt]color: #000000;
[/tt]
[tt]border: 1px solid #cccccc;
[/tt]
[tt]padding: 1px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .active { /* Active (pressed) buttons in header */
[/tt]
[tt]background: #c77;
[/tt]
[tt]padding: 2px 0px 0px 2px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar thead .daynames { /* Row <TR> containing the day names */
[/tt]
[tt]background: #dddddd;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt]/* The body part -- contains all the days in month. */
[/tt]
[tt][/tt]
[tt].calendar tbody .day { /* Cells <TD> containing month days dates */
[/tt]
[tt]width: 2em;
[/tt]
[tt]text-align: right;
[/tt]
[tt]padding: 2px 4px 2px 2px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar table .wn {
[/tt]
[tt]padding: 2px 3px 2px 2px;
[/tt]
[tt]border-right: 1px solid #cccccc;
[/tt]
[tt]background: #dddddd;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody .rowhilite td {
[/tt]
[tt]background: #666666;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody .rowhilite td.wn {
[/tt]
[tt]background: #666666;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody td.active { /* Active (pressed) cells <TD> */
[/tt]
[tt]background: #000000;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody td.weekend { /* Cells showing weekend days */
[/tt]
[tt]color: #999;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody td.selected { /* Cell showing today date */
[/tt]
[tt]font-weight: bold;
[/tt]
[tt]background: #000000;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody td.hilite { /* Hovered cells <TD> */
[/tt]
[tt]background: #999999;
[/tt]
[tt]color: #ffffff;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody td.today {
[/tt]
[tt]font-weight: bold;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody .disabled {
[/tt]
[tt]color: #999;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
[/tt]
[tt]visibility: hidden;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
[/tt]
[tt]display: none;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt]/* The footer part -- status bar and "Close" button */
[/tt]
[tt][/tt]
[tt].calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
[/tt]
[tt]text-align: center;
[/tt]
[tt]background: #cccccc;
[/tt]
[tt]color: #000;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
[/tt]
[tt]border-top: 1px solid #cccccc;
[/tt]
[tt]background: #efefef;
[/tt]
[tt]color: #000000;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tfoot .hilite { /* Hover style for buttons in footer */
[/tt]
[tt]background: #666666;
[/tt]
[tt]border: 1px solid #f40;
[/tt]
[tt]padding: 1px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].calendar tfoot .active { /* Active (pressed) style for buttons in footer */
[/tt]
[tt]background: #999999;
[/tt]
[tt]padding: 2px 0px 0px 2px;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt]/* Combo boxes (menus that display months/years for direct selection) */
[/tt]
[tt][/tt]
[tt].combo {
[/tt]
[tt]position: absolute;
[/tt]
[tt]display: none;
[/tt]
[tt]top: 0px;
[/tt]
[tt]left: 0px;
[/tt]
[tt]width: 4em;
[/tt]
[tt]cursor: default;
[/tt]
[tt]border: 1px solid #655;
[/tt]
[tt]background: #ffffff;
[/tt]
[tt]color: #000;
[/tt]
[tt]font-size: smaller;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].combo .label {
[/tt]
[tt]width: 100%;
[/tt]
[tt]text-align: center;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].combo .hilite {
[/tt]
[tt]background: #fc8;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt].combo .active {
[/tt]
[tt]border-top: 1px solid #cccccc;
[/tt]
[tt]border-bottom: 1px solid #cccccc;
[/tt]
[tt]background: #efefef;
[/tt]
[tt]font-weight: bold;
[/tt]
[tt]}
[/tt]
[tt][/tt]
[tt][/tt]
Alles anzeigen