Skip to content

Commit cdcefc4

Browse files
committed
Upload first version
0 parents  commit cdcefc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2924
-0
lines changed

.doc/dashboard.png

99.2 KB
Loading

.doc/details.png

114 KB
Loading

.doc/iTop.png

420 KB
Loading

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<p align="center">
2+
<img src=".doc/iTop.png"/>
3+
<h2 align="center">Rosé Pine Moon theme for iTop</h2>
4+
</p>
5+
6+
<p align="center">All natural pine, faux fur and a bit of soho vibes for the classy minimalist</p>
7+
8+
<p align="center">
9+
<a href="https://github.com/rose-pine/rose-pine-theme">
10+
<img src="https://img.shields.io/badge/community-rosé%20pine-26233a?labelColor=191724&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUwIiBoZWlnaHQ9IjIzNyIgdmlld0JveD0iMCAwIDI1MCAyMzciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNjEuMjI3IDE2MS4yNTFDMTMyLjE1NCAxNjkuMDQxIDExNC45MDEgMTk4LjkyNCAxMjIuNjkxIDIyNy45OTdDMTIzLjkyNSAyMzIuNjAzIDEyOC42NTkgMjM1LjMzNiAxMzMuMjY0IDIzNC4xMDJMMTg1LjkwNyAyMTkuOTk2QzIxOS41ODUgMjEwLjk3MiAyMzkuNTcgMTc2LjM1NCAyMzAuNTQ2IDE0Mi42NzdMMTYxLjIyNyAxNjEuMjUxWiIgZmlsbD0iIzI0NjI3QiIvPgo8cGF0aCBkPSJNODguMTgzNiAxNTkuOTg4QzExNy4yNTcgMTY3Ljc3OCAxMzQuNTEgMTk3LjY2MiAxMjYuNzIgMjI2LjczNUMxMjUuNDg2IDIzMS4zNCAxMjAuNzUyIDIzNC4wNzMgMTE2LjE0NyAyMzIuODM5TDYzLjUwNDEgMjE4Ljcz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iIGZpbGw9IiNFQkJDQkEiLz4KPHBhdGggZD0iTTEyNS4yOTkgNjAuOTc4OUMxMTYuMjc1IDI3LjMwMTIgODEuNjU3NSA3LjMxNTY3IDQ3Ljk3OTcgMTYuMzM5Nkw2NC4zMTk3IDc3LjMyMTFDNzMuMzQzNiAxMTAuOTk5IDEwNy45NjEgMTMwLjk4NCAxNDEuNjM5IDEyMS45NkwxMjUuMjk5IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+CjxwYXRoIGQ9Ik0xMjQuOTI2IDYwLjk3ODlDMTMzLjk1IDI3LjMwMTIgMTY4LjU2NyA3LjMxNTY3IDIwMi4yNDUgMTYuMzM5NkwxODUuOTA1IDc3LjMyMTFDMTc2Ljg4MSAxMTAuOTk5IDE0Mi4yNjMgMTMwLjk4NCAxMDguNTg2IDEyMS45NkwxMjQuOTI2IDYwLjk3ODlaIiBmaWxsPSIjRUJCQ0JBIi8+Cjwvc3ZnPgo=&style=for-the-badge" />
11+
</a>
12+
</p>
13+
14+
## Usage
15+
16+
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>
17+
2. Run a setup
18+
3. Select `Lunar Eclipse` in your preferences
19+
20+
## Gallery
21+
22+
![Rosé Pine Moon with iTop](.doc/dashboard.png)
23+
24+
![Rosé Pine Moon with App](.doc/details.png)
25+
26+
27+
## Contributing
28+
29+
Modify any scss file using iTop variables, then run a setup or a toolkit
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.1">
3+
<branding>
4+
<themes>
5+
<theme id="lunar-eclipse" _delta="define">
6+
<variables>
7+
</variables>
8+
<imports>
9+
<import id="rose-pine-scss-variables" xsi:type="variables">steffunky-backoffice-lunar-eclipse-theme/scss/rose-pine-variables.scss</import>
10+
<import id="lunar-eclipse-scss-variables" xsi:type="variables">steffunky-backoffice-lunar-eclipse-theme/scss/scss-variables.scss</import>
11+
</imports>
12+
<stylesheets>
13+
<stylesheet id="fullmoon">../css/backoffice/main.scss</stylesheet>
14+
<stylesheet id="style">steffunky-backoffice-lunar-eclipse-theme/scss/style.scss</stylesheet>
15+
<stylesheet id="ace_editor">steffunky-backoffice-lunar-eclipse-theme/scss/ace_editor.scss</stylesheet>
16+
<stylesheet id="ck_editor">steffunky-backoffice-lunar-eclipse-theme/scss/editor.scss</stylesheet>
17+
</stylesheets>
18+
<precompiled_stylesheet>steffunky-backoffice-lunar-eclipse-theme/precompiled-themes/main.css</precompiled_stylesheet>
19+
</theme>
20+
</themes>
21+
</branding>
22+
</itop_design>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
Dict::Add('EN US', 'English', 'English', array(
3+
'theme:lunar-eclipse' => 'Lunar Eclipse',
4+
));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
Dict::Add('FR FR', 'French', 'Français', array(
3+
'theme:lunar-eclipse' => 'Lunar Eclipse',
4+
));
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
//
3+
// iTop module definition file
4+
//
5+
6+
SetupWebPage::AddModule(
7+
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
8+
'steffunky-backoffice-lunar-eclipse-theme/0.1.0',
9+
array(
10+
// Identification
11+
//
12+
'label' => 'Backoffice: Lunar eclipse theme',
13+
'category' => 'business',
14+
15+
// Setup
16+
//
17+
'dependencies' => array(
18+
19+
),
20+
'mandatory' => true,
21+
'visible' => false,
22+
23+
// Components
24+
//
25+
'datamodel' => array(
26+
),
27+
'webservice' => array(
28+
29+
),
30+
'data.struct' => array(
31+
// add your 'structure' definition XML files here,
32+
),
33+
'data.sample' => array(
34+
// add your sample data XML files here,
35+
),
36+
37+
// Documentation
38+
//
39+
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
40+
'doc.more_information' => '', // hyperlink to more information, if any
41+
42+
// Default settings
43+
//
44+
'settings' => array(
45+
// Module specific settings go here, if any
46+
),
47+
)
48+
);
49+
50+
51+
?>

steffunky-backoffice-lunar-eclipse-theme/precompiled-themes/main.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
.ace-eclipse .ace_gutter {
2+
background: unset !important;
3+
border-right: unset !important;
4+
color: $ibo-color-grey-400 !important;
5+
}
6+
.ace-eclipse .ace_print-margin {
7+
width: 1px !important;
8+
background: $ibo-color-grey-500 !important;
9+
}
10+
.ace-eclipse {
11+
background-color: $ibo-color-grey-800 !important;
12+
color: $ibo-color-grey-200 !important;
13+
}
14+
.ace-eclipse .ace_entity.ace_other.ace_attribute-name,
15+
.ace-eclipse .ace_storage {
16+
color: $ibo-color-grey-200 !important;
17+
}
18+
.ace-eclipse .ace_cursor {
19+
color: $ibo-color-grey-200 !important;
20+
}
21+
.ace-eclipse .ace_string.ace_regexp {
22+
color: $ibo-color-red-600 !important;
23+
}
24+
.ace-eclipse .ace_marker-layer .ace_active-line {
25+
&:only-child {
26+
background: $ibo-color-grey-600 !important;
27+
}
28+
29+
&:not(:only-child) {
30+
background: $ibo-color-grey-700 !important;
31+
}
32+
}
33+
.ace-eclipse .ace_marker-layer .ace_selection {
34+
background: $ibo-color-grey-500 !important;
35+
}
36+
.ace-eclipse.ace_multiselect .ace_selection.ace_start {
37+
box-shadow: 0 0 3px 0px $ibo-color-grey-800 !important;
38+
}
39+
.ace-eclipse .ace_marker-layer .ace_step {
40+
//background: $nord13 !important;
41+
}
42+
.ace-eclipse .ace_marker-layer .ace_bracket {
43+
margin: -1px 0 0 -1px !important;
44+
border: 1px solid $ibo-color-primary-300 !important;
45+
}
46+
.ace-eclipse .ace_gutter-active-line {
47+
background-color: $ibo-color-grey-600 !important;
48+
}
49+
.ace-eclipse .ace_marker-layer .ace_selected-word {
50+
border: 1px solid $ibo-color-primary-300 !important;
51+
}
52+
.ace-eclipse .ace_invisible {
53+
color: $ibo-color-grey-500 !important;
54+
}
55+
.ace-eclipse .ace_keyword,
56+
.ace-eclipse .ace_meta,
57+
.ace-eclipse .ace_support.ace_class,
58+
.ace-eclipse .ace_support.ace_type {
59+
color: $ibo-color-gold-500 !important;
60+
}
61+
.ace-eclipse .ace_constant.ace_character,
62+
.ace-eclipse .ace_constant.ace_other {
63+
color: $ibo-color-grey-200 !important;
64+
}
65+
.ace-eclipse .ace_constant.ace_language {
66+
color: $ibo-color-blue-600 !important;
67+
}
68+
.ace-eclipse .ace_constant.ace_escape {
69+
color: $ibo-color-primary-300 !important;
70+
}
71+
.ace-eclipse .ace_constant.ace_numeric {
72+
color: $ibo-color-rose-500 !important;
73+
}
74+
.ace-eclipse .ace_fold {
75+
background-color: $ibo-color-grey-500 !important;
76+
border-color: $ibo-color-grey-200 !important;
77+
}
78+
.ace-eclipse .ace_entity.ace_name.ace_function,
79+
.ace-eclipse .ace_entity.ace_name.ace_tag,
80+
.ace-eclipse .ace_support.ace_function,
81+
.ace-eclipse .ace_variable,
82+
.ace-eclipse .ace_variable.ace_language {
83+
color: #8fbcbb !important;
84+
}
85+
.ace-eclipse .ace_string {
86+
color: $ibo-color-primary-200 !important;
87+
}
88+
.ace-eclipse .ace_comment {
89+
color: $ibo-color-green-600 !important;
90+
}
91+
.ace-eclipse .ace_indent-guide {
92+
box-shadow: inset -1px 0 0 0 $ibo-color-grey-600 !important;
93+
}
94+
.ace-eclipse .ace_indent-guide-active {
95+
box-shadow: inset -1px 0 0 0 $ibo-color-grey-400 !important;
96+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.cke_reset_all,
2+
.cke_reset_all *,
3+
.cke_reset_all a,
4+
.cke_reset_all textarea {
5+
color: $ibo-color-grey-950 !important;
6+
}
7+
.cke_chrome {
8+
border: 1px solid $ibo-color-grey-300 !important;
9+
}
10+
.cke_editable{
11+
background: $ibo-color-grey-100;
12+
}
13+
.cke_inner {
14+
background: $ibo-color-grey-300 !important;
15+
}
16+
.cke_top {
17+
border-bottom: 1px solid $ibo-color-grey-300 !important;
18+
background: $ibo-color-white-100 !important;
19+
white-space: normal !important;
20+
}
21+
.cke_float .cke_top {
22+
border: 1px solid $ibo-color-grey-500 !important;
23+
}
24+
.cke_bottom {
25+
26+
border-top: 1px solid $ibo-color-grey-500 !important;
27+
background: $ibo-color-white-200 !important;
28+
}
29+
.cke_browser_ios .cke_contents {
30+
overflow-y: auto;
31+
-webkit-overflow-scrolling: touch;
32+
}
33+
.cke_resizer {
34+
border-color: transparent #bcbcbc transparent transparent;
35+
}
36+
.cke_resizer_rtl {
37+
border-color: transparent transparent transparent #bcbcbc;
38+
}
39+
.cke_panel {
40+
background-color: $ibo-color-grey-200;
41+
border: 1px solid #d1d1d1;
42+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
$rp-base: hsl(249deg, 22%, 12%);
2+
$rp-surface: hsl(247deg, 23%, 15%);
3+
$rp-overlay: hsl(248deg, 25%, 18%);
4+
$rp-muted: hsl(249deg, 12%, 47%);
5+
$rp-subtle: hsl(248deg, 15%, 61%);
6+
$rp-text: hsl(245deg, 50%, 91%);
7+
$rp-love: hsl(343deg, 76%, 68%);
8+
$rp-gold: hsl(35deg, 88%, 72%);
9+
$rp-rose: hsl(2deg, 55%, 83%);
10+
$rp-pine: hsl(197deg, 49%, 38%);
11+
$rp-foam: hsl(189deg, 43%, 73%);
12+
$rp-iris: hsl(267deg, 57%, 78%);
13+
$rp-highlight-low: hsl(244deg, 18%, 15%);
14+
$rp-highlight-med: hsl(249deg, 15%, 28%);
15+
$rp-highlight-high: hsl(248deg, 13%, 36%);

0 commit comments

Comments
 (0)