diff --git a/themes/chapril/chapril-banner-logo.png b/themes/chapril/chapril-banner-logo.png new file mode 100644 index 0000000..ac584de Binary files /dev/null and b/themes/chapril/chapril-banner-logo.png differ diff --git a/themes/chapril/chapril-banner.css b/themes/chapril/chapril-banner.css new file mode 100644 index 0000000..4164275 --- /dev/null +++ b/themes/chapril/chapril-banner.css @@ -0,0 +1,162 @@ +/* + ____ _ _ _ _ ____ ____ ____ + / ___| |__ __ _ _ __ _ __(_) | | |__ __ _ _ __ _ __ ___ _ __ / ___/ ___/ ___| +| | | '_ \ / _` | '_ \| '__| | | | '_ \ / _` | '_ \| '_ \ / _ \ '__| | | \___ \___ \ +| |___| | | | (_| | |_) | | | | | | |_) | (_| | | | | | | | __/ | | |___ ___) |__) | + \____|_| |_|\__,_| .__/|_| |_|_| |_.__/ \__,_|_| |_|_| |_|\___|_| \____|____/____/ + |_| +*/ + + +/******************************** + * Ajustement global + *******************************/ + +body { + margin-top: 0; + padding-top: 42px !important; +} + + +/******************************** + * Classes .chapril-banniere- + *******************************/ + +.chapril-banniere-Entree { + font-family: sans-serif; + text-transform: uppercase; + font-size: small; +} + +.chapril-banniere-Logo { + display: flex; +} + +.chapril-banniere-Logo a { + padding-bottom: 4px; +} + +.chapril-banniere-Logo img { + display: block; + width: auto; + height: 28px; +} + +.chapril-banniere-Menu { + display: none; +} + +.chapril-banniere-Nav { + position: fixed; + top: 0; + left: 0; + right: 0; + min-height: 42px; + background-color: #005184; + display: flex; + justify-content: space-around; + align-items: center; + z-index: 1001; +} + +.chapril-banniere-Nav a, .chapril-banniere-Nav a:visited { + color: #fff; + text-decoration: none; +} + +.chapril-banniere-Nav a:hover { + color: #ff9759; +} + + +@media screen and (max-width: 800px) { + + .chapril-banniere-Entree { + display: none; + } + + .chapril-banniere-Logo { + padding-left: 12px; + } + + .chapril-banniere-Logo a { + padding-top: 5px; + } + + .chapril-banniere-Menu { + display: block; + } + + .chapril-banniere-Menu summary { + height: 26px; + width: 30px; + display: block; + position: absolute; + top: 8px; + right: 12px; + border-radius: 2px; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + border-color: #fff; + padding-left: 4px; + padding-top: 1px; + } + + .chapril-banniere-Menu summary { + list-style: none; + } + + .chapril-banniere-Menu summary::-webkit-details-marker { + display: none; + } + + .chapril-banniere-Menu summary span { + display: block; + margin-top: 4px; + width: 20px; + height: 2px; + border-radius: 2px; + background-color: #fff; + } + + .chapril-banniere-Menu summary:hover { + border-color: #ff9759; + cursor:pointer; + } + + .chapril-banniere-Menu summary:hover span { + background-color: #ff9759; + } + + .chapril-banniere-Menu div { + padding-top: 8px; + padding-bottom: 8px; + text-align: center; + background-color: #153a6a; + border-top: 1px solid #005184; + font-family: sans-serif; + text-transform: uppercase; + font-size: small; + } + + .chapril-banniere-Nav { + display: block; + } + +} + + +/************************************ + * Adaptation pour certains services + ************************************ + +/* Dokuwiki. */ +#dokuwiki__usertools { + top: 43px !important; +} + +/* PAD. */ +#editorcontainerbox { + top: 43px !important; +} diff --git a/themes/chapril/icons/128.png b/themes/chapril/icons/128.png new file mode 100644 index 0000000..dd8c085 Binary files /dev/null and b/themes/chapril/icons/128.png differ diff --git a/themes/chapril/icons/16.png b/themes/chapril/icons/16.png new file mode 100644 index 0000000..1b1fb82 Binary files /dev/null and b/themes/chapril/icons/16.png differ diff --git a/themes/chapril/icons/192.png b/themes/chapril/icons/192.png new file mode 100644 index 0000000..ddfee88 Binary files /dev/null and b/themes/chapril/icons/192.png differ diff --git a/themes/chapril/icons/256.png b/themes/chapril/icons/256.png new file mode 100644 index 0000000..17e8fce Binary files /dev/null and b/themes/chapril/icons/256.png differ diff --git a/themes/chapril/icons/32.png b/themes/chapril/icons/32.png new file mode 100644 index 0000000..fc24b82 Binary files /dev/null and b/themes/chapril/icons/32.png differ diff --git a/themes/chapril/icons/384.png b/themes/chapril/icons/384.png new file mode 100644 index 0000000..b200c1a Binary files /dev/null and b/themes/chapril/icons/384.png differ diff --git a/themes/chapril/icons/48.png b/themes/chapril/icons/48.png new file mode 100644 index 0000000..a485e1c Binary files /dev/null and b/themes/chapril/icons/48.png differ diff --git a/themes/chapril/icons/512.png b/themes/chapril/icons/512.png new file mode 100644 index 0000000..d816ec9 Binary files /dev/null and b/themes/chapril/icons/512.png differ diff --git a/themes/chapril/icons/64.png b/themes/chapril/icons/64.png new file mode 100644 index 0000000..dd12463 Binary files /dev/null and b/themes/chapril/icons/64.png differ diff --git a/themes/chapril/icons/96.png b/themes/chapril/icons/96.png new file mode 100644 index 0000000..c963a24 Binary files /dev/null and b/themes/chapril/icons/96.png differ diff --git a/themes/chapril/icons/source.png b/themes/chapril/icons/source.png new file mode 100644 index 0000000..82c99e0 Binary files /dev/null and b/themes/chapril/icons/source.png differ diff --git a/themes/chapril/logo-dark.png b/themes/chapril/logo-dark.png new file mode 100644 index 0000000..00bf15a Binary files /dev/null and b/themes/chapril/logo-dark.png differ diff --git a/themes/chapril/logo-light.png b/themes/chapril/logo-light.png new file mode 120000 index 0000000..b28f7cd --- /dev/null +++ b/themes/chapril/logo-light.png @@ -0,0 +1 @@ +logo-dark.png \ No newline at end of file diff --git a/themes/chapril/logo.less b/themes/chapril/logo.less new file mode 100644 index 0000000..307470d --- /dev/null +++ b/themes/chapril/logo.less @@ -0,0 +1,6 @@ +:root{ + #logo{ + width: 64px; + height: 64px; + } +} diff --git a/themes/chapril/theme.php b/themes/chapril/theme.php new file mode 100755 index 0000000..8679162 --- /dev/null +++ b/themes/chapril/theme.php @@ -0,0 +1,36 @@ + "white", + "bg-light" => "#67a3f2", // Must be a long hexadecimal color + "bgField-light" => "#2e5281", + "bgHelp-light" => "#2e5281", + "bgTextarea-light" => "#FFFFFF", + "textareaText-light" => "black", + "textareaPlaceholder-light" => "grey", + "border-light" => "#67a3f2", + "borderHover-light" => "white", + "borderFocus-light" => "white", + "borderHelp-light" => "white", + "borderQr-light" => "white", + // Dark theme + "text-dark" => "white", + "bg-dark" => "#67a3f2", // Must be a long hexadecimal color + "bgField-dark" => "#2e5281", + "bgHelp-dark" => "#2e5281", + "bgTextarea-dark" => "#FFFFFF", + "textareaText-dark" => "black", + "textareaPlaceholder-dark" => "grey", + "border-dark" => "#67a3f2", + "borderWidth-dark" => "2px", + "borderHover-dark" => "white", + "borderHoverWidth-dark" => "3px", + "borderFocus-dark" => "white", + "borderFocusWidth-dark" => "4px", + "borderHelp-dark" => "white", + "borderQr-dark" => "white", +);