Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
************************************************/

// Dolibarr environment *************************
$res = 0;
$res = 0;
// Try main.inc.php into web root known defined into CONTEXT_DOCUMENT_ROOT (not always defined)
if (empty($res) && !empty($_SERVER['CONTEXT_DOCUMENT_ROOT'])) {
$res = @include $_SERVER['CONTEXT_DOCUMENT_ROOT'].'/main.inc.php';
Expand Down
32 changes: 16 additions & 16 deletions themeoblyon/dropdown.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
font-size: 14px;
text-align: left;
list-style: none;
background-color: <?php print (isset($bgcolor)) ? $bgcolor : '#fff' ?>;
background-color: var(--bgcolor);
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid var(--colorboxstatsborder);
Expand Down Expand Up @@ -126,9 +126,9 @@

.dropdown-menu > .user-header{
<?php if (getDolGlobalString('MAIN_MENU_INVERT')) { ?>
background-color: <?php print $bgnavtop_hover; ?>;
background-color: var(--bgnavtop_hover);
<?php } else { ?>
background-color: <?php print $bgnavleft_hover; ?>;
background-color: var(--bgnavleft_hover);
<?php } ?>
}

Expand All @@ -138,9 +138,9 @@

.dropdown-menu > .user-footer {
<?php if (getDolGlobalString('MAIN_MENU_INVERT')) { ?>
background-color: <?php print $bgnavtop_hover; ?>;
background-color: var(--bgnavtop_hover);
<?php } else { ?>
background-color: <?php print $bgnavleft_hover; ?>;
background-color: var(--bgnavleft_hover);
<?php } ?>
padding: 10px;
}
Expand Down Expand Up @@ -179,9 +179,9 @@
-webkit-border-radius: 0;
border-radius: 0;
<?php if (getDolGlobalString('MAIN_MENU_INVERT')) { ?>
background-color: <?php print $bgnavtop; ?>;
background-color: var(--bgnavtop);
<?php } else { ?>
background-color: <?php print $bgnavleft; ?>;
background-color: var(--bgnavleft);
<?php } ?>
}
.dropdown-body::-webkit-scrollbar-track {
Expand Down Expand Up @@ -260,7 +260,7 @@
}

.dropdown-menu a.top-menu-dropdown-link {
color: <?php echo (isset($colorfline)) ? $colorfline : '#212529' ?> !important;
color: var(--colorfline) !important;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
Expand All @@ -274,7 +274,7 @@
padding: .25rem 1.5rem .25rem 1rem;
clear: both;
font-weight: 400;
color: <?php echo (isset($colorfline)) ? $colorfline : '#212529' ?> !important;
color: var(--colorfline) !important;
text-align: inherit;
background-color: transparent;
border: 0;
Expand All @@ -300,11 +300,11 @@
.dropdown-item.active, .dropdown-item:hover, .dropdown-item:focus, .dropdown-menu a.top-menu-dropdown-link:hover {
text-decoration: none;
<?php if (getDolGlobalString('MAIN_MENU_INVERT')) { ?>
background-color: <?php print $bgnavtop; ?>;
color: <?php echo (isset($bgnavtop_txt)) ? $bgnavtop_txt : 'white' ?> !important;
background-color: var(--bgnavtop);
color: var(--bgnavtop_txt) !important;
<?php } else { ?>
background-color: <?php print $bgnavleft; ?>;
color: <?php echo (isset($bgnavleft_txt)) ? $bgnavleft_txt : 'white' ?> !important;
background-color: var(--bgnavleft);
color: var(--bgnavleft_txt) !important;
<?php } ?>
}
/*
Expand All @@ -317,7 +317,7 @@
font-size: 14px;
line-height: 16px;
box-sizing: border-box;
color: <?php echo (isset($colorfline)) ? $colorfline : '#575756' ?>;
color: var(--colorfline);
background-color: transparent;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
background-repeat: no-repeat;
Expand All @@ -330,7 +330,7 @@
transform-style: preserve-3d;
}
.dropdown-search-input::placeholder {
color: color(<?php echo (isset($colorfline)) ? $colorfline : '#575756' ?> a(0.8));
color: color(var(--colorfline) a(0.8));
letter-spacing: 1.5px;
}
.hidden-search-result{
Expand Down Expand Up @@ -377,7 +377,7 @@
}

div.quickadd a:hover, div.quickadd a:active {
color: <?php print $bgnavtop_txt; ?>;
color: var(--bgnavtop_txt);
}

div.quickaddblock {
Expand Down
Empty file added themeoblyon/font.css
Empty file.
Binary file added themeoblyon/fonts/oblyon-icons.eot
Binary file not shown.
67 changes: 67 additions & 0 deletions themeoblyon/fonts/oblyon-icons.svg
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 themeoblyon/fonts/oblyon-icons.ttf
Binary file not shown.
Binary file added themeoblyon/fonts/oblyon-icons.woff
Binary file not shown.
Binary file added themeoblyon/fonts/puentebolds.ttf
Binary file not shown.
1,585 changes: 1,585 additions & 0 deletions themeoblyon/fonts/selection.json

Large diffs are not rendered by default.

Loading