Skip to content

Commit

Permalink
Upload first version
Browse files Browse the repository at this point in the history
  • Loading branch information
steffunky committed Apr 28, 2024
0 parents commit cdcefc4
Show file tree
Hide file tree
Showing 45 changed files with 2,924 additions and 0 deletions.
Binary file added .doc/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .doc/details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .doc/iTop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<p align="center">
<img src=".doc/iTop.png"/>
<h2 align="center">Rosé Pine Moon theme for iTop</h2>
</p>

<p align="center">All natural pine, faux fur and a bit of soho vibes for the classy minimalist</p>

<p align="center">
<a href="https://github.com/rose-pine/rose-pine-theme">
<img src="https://img.shields.io/badge/community-rosé%20pine-26233a?labelColor=191724&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjIzNyIgdmlld0JveD0iMCAwIDI1MCAyMzciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNjEuMjI3IDE2MS4yNTFDMTMyLjE1NCAxNjkuMDQxIDExNC45MDEgMTk4LjkyNCAxMjIuNjkxIDIyNy45OTdDMTIzLjkyNSAyMzIuNjAzIDEyOC42NTkgMjM1LjMzNiAxMzMuMjY0IDIzNC4xMDJMMTg1LjkwNyAyMTkuOTk2QzIxOS41ODUgMjEwLjk3MiAyMzkuNTcgMTc2LjM1NCAyMzAuNTQ2IDE0Mi42NzdMMTYxLjIyNyAxNjEuMjUxWiIgZmlsbD0iIzI0NjI3QiIvPgo8cGF0aCBkPSJNODguMTgzNiAxNTkuOTg4QzExNy4yN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1MS4zMDMgMTcuNDMyOSAxMjEuMTA4IDBMMTA2LjA2IDI2LjA2NDRDODguNjI3IDU2LjI1OSA5OC45NzM2IDk0Ljg2OTQgMTI5LjE2OCAxMTIuMzAyTDE0NC4yMTcgODYuMjM3OVoiIGZpbGw9IiNFQkJDQkEiLz4KPHBhdGggZD0iTTEyNS4yOTkgNjAuOTc4OUMxMTYuMjc1IDI3LjMwMTIgODEuNjU3NSA3LjMxNTY3IDQ3Ljk3OTcgMTYuMzM5Nkw2NC4zMTk3IDc3LjMyMTFDNzMuMzQzNiAxMTAuOTk5IDEwNy45NjEgMTMwLjk4NCAxNDEuNjM5IDEyMS45NkwxMjUuMjk5IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+CjxwYXRoIGQ9Ik0xMjQuOTI2IDYwLjk3ODlDMTMzLjk1IDI3LjMwMTIgMTY4LjU2NyA3LjMxNTY3IDIwMi4yNDUgMTYuMzM5NkwxODUuOTA1IDc3LjMyMTFDMTc2Ljg4MSAxMTAuOTk5IDE0Mi4yNjMgMTMwLjk4NCAxMDguNTg2IDEyMS45NkwxMjQuOTI2IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+Cjwvc3ZnPgo=&style=for-the-badge" />
</a>
</p>

## Usage

1. If using releases, extract `dist/*` into your extension folder, otherwise extract `steffunky-backoffice-lunar-eclipse-theme` and <a href="https://github.com/steffunky/itop-backoffice-dark-theme-base">itop-backoffice-dark-theme-base</a>
2. Run a setup
3. Select `Lunar Eclipse` in your preferences

## Gallery

![Rosé Pine Moon with iTop](.doc/dashboard.png)

![Rosé Pine Moon with App](.doc/details.png)


## Contributing

Modify any scss file using iTop variables, then run a setup or a toolkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.1">
<branding>
<themes>
<theme id="lunar-eclipse" _delta="define">
<variables>
</variables>
<imports>
<import id="rose-pine-scss-variables" xsi:type="variables">steffunky-backoffice-lunar-eclipse-theme/scss/rose-pine-variables.scss</import>
<import id="lunar-eclipse-scss-variables" xsi:type="variables">steffunky-backoffice-lunar-eclipse-theme/scss/scss-variables.scss</import>
</imports>
<stylesheets>
<stylesheet id="fullmoon">../css/backoffice/main.scss</stylesheet>
<stylesheet id="style">steffunky-backoffice-lunar-eclipse-theme/scss/style.scss</stylesheet>
<stylesheet id="ace_editor">steffunky-backoffice-lunar-eclipse-theme/scss/ace_editor.scss</stylesheet>
<stylesheet id="ck_editor">steffunky-backoffice-lunar-eclipse-theme/scss/editor.scss</stylesheet>
</stylesheets>
<precompiled_stylesheet>steffunky-backoffice-lunar-eclipse-theme/precompiled-themes/main.css</precompiled_stylesheet>
</theme>
</themes>
</branding>
</itop_design>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
Dict::Add('EN US', 'English', 'English', array(
'theme:lunar-eclipse' => 'Lunar Eclipse',
));
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
Dict::Add('FR FR', 'French', 'Français', array(
'theme:lunar-eclipse' => 'Lunar Eclipse',
));
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php
//
// iTop module definition file
//

SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'steffunky-backoffice-lunar-eclipse-theme/0.1.0',
array(
// Identification
//
'label' => 'Backoffice: Lunar eclipse theme',
'category' => 'business',

// Setup
//
'dependencies' => array(

),
'mandatory' => true,
'visible' => false,

// Components
//
'datamodel' => array(
),
'webservice' => array(

),
'data.struct' => array(
// add your 'structure' definition XML files here,
),
'data.sample' => array(
// add your sample data XML files here,
),

// Documentation
//
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
'doc.more_information' => '', // hyperlink to more information, if any

// Default settings
//
'settings' => array(
// Module specific settings go here, if any
),
)
);


?>

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions steffunky-backoffice-lunar-eclipse-theme/scss/ace_editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.ace-eclipse .ace_gutter {
background: unset !important;
border-right: unset !important;
color: $ibo-color-grey-400 !important;
}
.ace-eclipse .ace_print-margin {
width: 1px !important;
background: $ibo-color-grey-500 !important;
}
.ace-eclipse {
background-color: $ibo-color-grey-800 !important;
color: $ibo-color-grey-200 !important;
}
.ace-eclipse .ace_entity.ace_other.ace_attribute-name,
.ace-eclipse .ace_storage {
color: $ibo-color-grey-200 !important;
}
.ace-eclipse .ace_cursor {
color: $ibo-color-grey-200 !important;
}
.ace-eclipse .ace_string.ace_regexp {
color: $ibo-color-red-600 !important;
}
.ace-eclipse .ace_marker-layer .ace_active-line {
&:only-child {
background: $ibo-color-grey-600 !important;
}

&:not(:only-child) {
background: $ibo-color-grey-700 !important;
}
}
.ace-eclipse .ace_marker-layer .ace_selection {
background: $ibo-color-grey-500 !important;
}
.ace-eclipse.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px $ibo-color-grey-800 !important;
}
.ace-eclipse .ace_marker-layer .ace_step {
//background: $nord13 !important;
}
.ace-eclipse .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px !important;
border: 1px solid $ibo-color-primary-300 !important;
}
.ace-eclipse .ace_gutter-active-line {
background-color: $ibo-color-grey-600 !important;
}
.ace-eclipse .ace_marker-layer .ace_selected-word {
border: 1px solid $ibo-color-primary-300 !important;
}
.ace-eclipse .ace_invisible {
color: $ibo-color-grey-500 !important;
}
.ace-eclipse .ace_keyword,
.ace-eclipse .ace_meta,
.ace-eclipse .ace_support.ace_class,
.ace-eclipse .ace_support.ace_type {
color: $ibo-color-gold-500 !important;
}
.ace-eclipse .ace_constant.ace_character,
.ace-eclipse .ace_constant.ace_other {
color: $ibo-color-grey-200 !important;
}
.ace-eclipse .ace_constant.ace_language {
color: $ibo-color-blue-600 !important;
}
.ace-eclipse .ace_constant.ace_escape {
color: $ibo-color-primary-300 !important;
}
.ace-eclipse .ace_constant.ace_numeric {
color: $ibo-color-rose-500 !important;
}
.ace-eclipse .ace_fold {
background-color: $ibo-color-grey-500 !important;
border-color: $ibo-color-grey-200 !important;
}
.ace-eclipse .ace_entity.ace_name.ace_function,
.ace-eclipse .ace_entity.ace_name.ace_tag,
.ace-eclipse .ace_support.ace_function,
.ace-eclipse .ace_variable,
.ace-eclipse .ace_variable.ace_language {
color: #8fbcbb !important;
}
.ace-eclipse .ace_string {
color: $ibo-color-primary-200 !important;
}
.ace-eclipse .ace_comment {
color: $ibo-color-green-600 !important;
}
.ace-eclipse .ace_indent-guide {
box-shadow: inset -1px 0 0 0 $ibo-color-grey-600 !important;
}
.ace-eclipse .ace_indent-guide-active {
box-shadow: inset -1px 0 0 0 $ibo-color-grey-400 !important;
}
42 changes: 42 additions & 0 deletions steffunky-backoffice-lunar-eclipse-theme/scss/editor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.cke_reset_all,
.cke_reset_all *,
.cke_reset_all a,
.cke_reset_all textarea {
color: $ibo-color-grey-950 !important;
}
.cke_chrome {
border: 1px solid $ibo-color-grey-300 !important;
}
.cke_editable{
background: $ibo-color-grey-100;
}
.cke_inner {
background: $ibo-color-grey-300 !important;
}
.cke_top {
border-bottom: 1px solid $ibo-color-grey-300 !important;
background: $ibo-color-white-100 !important;
white-space: normal !important;
}
.cke_float .cke_top {
border: 1px solid $ibo-color-grey-500 !important;
}
.cke_bottom {

border-top: 1px solid $ibo-color-grey-500 !important;
background: $ibo-color-white-200 !important;
}
.cke_browser_ios .cke_contents {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.cke_resizer {
border-color: transparent #bcbcbc transparent transparent;
}
.cke_resizer_rtl {
border-color: transparent transparent transparent #bcbcbc;
}
.cke_panel {
background-color: $ibo-color-grey-200;
border: 1px solid #d1d1d1;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$rp-base: hsl(249deg, 22%, 12%);
$rp-surface: hsl(247deg, 23%, 15%);
$rp-overlay: hsl(248deg, 25%, 18%);
$rp-muted: hsl(249deg, 12%, 47%);
$rp-subtle: hsl(248deg, 15%, 61%);
$rp-text: hsl(245deg, 50%, 91%);
$rp-love: hsl(343deg, 76%, 68%);
$rp-gold: hsl(35deg, 88%, 72%);
$rp-rose: hsl(2deg, 55%, 83%);
$rp-pine: hsl(197deg, 49%, 38%);
$rp-foam: hsl(189deg, 43%, 73%);
$rp-iris: hsl(267deg, 57%, 78%);
$rp-highlight-low: hsl(244deg, 18%, 15%);
$rp-highlight-med: hsl(249deg, 15%, 28%);
$rp-highlight-high: hsl(248deg, 13%, 36%);
Loading

0 comments on commit cdcefc4

Please sign in to comment.