Add day-based theme support to Server, starting with 24th January, Macintosh.

This commit is contained in:
2019-01-09 02:54:20 +00:00
parent 974d42cbfd
commit 99fa6e4ebb
27 changed files with 10980 additions and 49 deletions

View File

@@ -1933,8 +1933,12 @@
<e p="README.md" t="Include" /> <e p="README.md" t="Include" />
<e p="TODO.md" t="Include" /> <e p="TODO.md" t="Include" />
</e> </e>
<e p="int10h.org" t="Include"> <e p="fonts" t="Include">
<e p=".htaccess" t="Include" /> <e p=".htaccess" t="Include" />
<e p="ChicagoFLF.eot" t="Include" />
<e p="ChicagoFLF.ttf" t="Include" />
<e p="ChicagoFLF.woff" t="Include" />
<e p="ChicagoFLF.woff2" t="Include" />
<e p="vga_squarepx.eot" t="Include" /> <e p="vga_squarepx.eot" t="Include" />
<e p="vga_squarepx.ttf" t="Include" /> <e p="vga_squarepx.ttf" t="Include" />
<e p="vga_squarepx.woff" t="Include" /> <e p="vga_squarepx.woff" t="Include" />
@@ -1948,16 +1952,29 @@
<e p="package.json" t="Include" /> <e p="package.json" t="Include" />
<e p="packages.config" t="Include" /> <e p="packages.config" t="Include" />
<e p="styles" t="Include"> <e p="styles" t="Include">
<e p="_colors.scss" t="Include" />
<e p="_fontstyles.scss" t="Include" />
<e p="_highcharts.scss" t="Include" /> <e p="_highcharts.scss" t="Include" />
<e p="_vgafont.scss" t="Include" /> <e p="dos" t="Include">
<e p="dicserver.css" t="Include" /> <e p="_colors.scss" t="Include" />
<e p="dicserver.css.map" t="Include" /> <e p="_font.scss" t="Include" />
<e p="dicserver.scss" t="Include" /> <e p="_fontstyles.scss" t="Include" />
<e p="dicserver_highcharts.css" t="Include" /> <e p="dicserver.css" t="Include" />
<e p="dicserver_highcharts.css.map" t="Include" /> <e p="dicserver.css.map" t="Include" />
<e p="dicserver_highcharts.scss" t="Include" /> <e p="dicserver.scss" t="Include" />
<e p="dicserver_highcharts.css" t="Include" />
<e p="dicserver_highcharts.css.map" t="Include" />
<e p="dicserver_highcharts.scss" t="Include" />
</e>
<e p="mac" t="Include">
<e p="_colors.scss" t="Include" />
<e p="_font.scss" t="Include" />
<e p="_fontstyles.scss" t="Include" />
<e p="dicserver.css" t="Include" />
<e p="dicserver.css.map" t="Include" />
<e p="dicserver.scss" t="Include" />
<e p="dicserver_highcharts.css" t="Include" />
<e p="dicserver_highcharts.css.map" t="Include" />
<e p="dicserver_highcharts.scss" t="Include" />
</e>
</e> </e>
</e> </e>
<e p="DiscImageChef.Server.Task" t="IncludeRecursive"> <e p="DiscImageChef.Server.Task" t="IncludeRecursive">

View File

@@ -299,22 +299,43 @@
<Content Include="docs\PULL_REQUEST_TEMPLATE.md" /> <Content Include="docs\PULL_REQUEST_TEMPLATE.md" />
<Content Include="docs\README.md" /> <Content Include="docs\README.md" />
<Content Include="docs\TODO.md" /> <Content Include="docs\TODO.md" />
<Content Include="fonts\ChicagoFLF.eot" />
<Content Include="fonts\ChicagoFLF.ttf" />
<Content Include="fonts\ChicagoFLF.woff" />
<Content Include="fonts\ChicagoFLF.woff2" />
<Content Include="Global.asax" /> <Content Include="Global.asax" />
<Content Include="int10h.org\vga_squarepx.eot" /> <Content Include="fonts\vga_squarepx.eot" />
<Content Include="int10h.org\vga_squarepx.ttf" /> <Content Include="fonts\vga_squarepx.ttf" />
<Content Include="int10h.org\vga_squarepx.woff" /> <Content Include="fonts\vga_squarepx.woff" />
<Content Include="package-lock.json" /> <Content Include="package-lock.json" />
<Content Include="package.json" /> <Content Include="package.json" />
<Content Include="styles\dicserver.css" /> <Content Include="styles\dos\dicserver.css" />
<Content Include="styles\dicserver.css.map" /> <Content Include="styles\dos\dicserver.css.map" />
<Content Include="styles\dicserver.scss" /> <Content Include="styles\dos\dicserver.scss" />
<Content Include="styles\dicserver_highcharts.css" /> <Content Include="styles\dos\dicserver_highcharts.css" />
<Content Include="styles\dicserver_highcharts.css.map" /> <Content Include="styles\dos\dicserver_highcharts.css.map" />
<Content Include="styles\dicserver_highcharts.scss" /> <Content Include="styles\dos\dicserver_highcharts.scss" />
<Content Include="styles\_colors.scss" /> <Content Include="styles\dos\_colors.scss" />
<Content Include="styles\_fontstyles.scss" /> <Content Include="styles\dos\_fontstyles.scss" />
<Content Include="styles\dos\_font.scss" />
<Content Include="styles\mac\dicserver.css">
<DependentUpon>dicserver.scss</DependentUpon>
</Content>
<Content Include="styles\mac\dicserver.css.map">
<DependentUpon>dicserver.css</DependentUpon>
</Content>
<Content Include="styles\mac\dicserver.scss" />
<Content Include="styles\mac\dicserver_highcharts.css">
<DependentUpon>dicserver_highcharts.scss</DependentUpon>
</Content>
<Content Include="styles\mac\dicserver_highcharts.css.map">
<DependentUpon>dicserver_highcharts.css</DependentUpon>
</Content>
<Content Include="styles\mac\dicserver_highcharts.scss" />
<Content Include="styles\mac\_colors.scss" />
<Content Include="styles\mac\_fontstyles.scss" />
<Content Include="styles\mac\_font.scss" />
<Content Include="styles\_highcharts.scss" /> <Content Include="styles\_highcharts.scss" />
<Content Include="styles\_vgafont.scss" />
<Content Include="Views\Home\Changelog.cshtml" /> <Content Include="Views\Home\Changelog.cshtml" />
<Content Include="Views\Home\CODE_OF_CONDUCT.cshtml" /> <Content Include="Views\Home\CODE_OF_CONDUCT.cshtml" />
<Content Include="Views\Home\CONTRIBUTING.cshtml" /> <Content Include="Views\Home\CONTRIBUTING.cshtml" />
@@ -331,8 +352,8 @@
<Content Include="Web.Release.config"> <Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon> <DependentUpon>Web.config</DependentUpon>
</Content> </Content>
<None Include="int10h.org\.htaccess" /> <None Include="fonts\.htaccess" />
<None Include="int10h.org\vga_squarepx.woff2" /> <None Include="fonts\vga_squarepx.woff2" />
<None Include="Reports\.htaccess" /> <None Include="Reports\.htaccess" />
<Content Include="Views\Home\Index.cshtml" /> <Content Include="Views\Home\Index.cshtml" />
<Content Include="Views\Web.config" /> <Content Include="Views\Web.config" />

View File

@@ -35,10 +35,22 @@
<html> <html>
<meta charset="UTF-8"> <meta charset="UTF-8">
<head> <head>
<link href="../../styles/dicserver.css" @switch(DateTime.UtcNow.DayOfYear)
rel="stylesheet"type="text/css" /> {
<link href="../../styles/dicserver_highcharts.css" // 24th January, Macintosh launch
rel="stylesheet"type="text/css" /> case 24:
<link href="../../styles/mac/dicserver.css"
rel="stylesheet"type="text/css" />
<link href="../../styles/mac/dicserver_highcharts.css"
rel="stylesheet"type="text/css" />
break;
default:
<link href="../../styles/dos/dicserver.css"
rel="stylesheet"type="text/css" />
<link href="../../styles/dos/dicserver_highcharts.css"
rel="stylesheet"type="text/css" />
break;
}
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>@ViewBag.Title</title> <title>@ViewBag.Title</title>
<!-- Global site tag (gtag.js) - Google Analytics --> <!-- Global site tag (gtag.js) - Google Analytics -->
@@ -62,11 +74,19 @@
target="_blank"> target="_blank">
Claunia.com Claunia.com
</a><br /> </a><br />
Fonts are © 2015-2016 @switch(DateTime.UtcNow.DayOfYear)
<a href="http://int10h.org" {
target="_blank"> // 24th January, Macintosh launch
VileR case 24:
</a><br /> @Html.Raw("Fonts are © 2014 <a href=\"http://christtrekker.users.sourceforge.net/fnt/chicago.shtml\" target=\"_blank\">Robin Casady</a>")
;
break;
default:
@Html.Raw("Fonts are © 2015 - 2016 <a href=\"http://int10h.org\" target=\"_blank\">VileR</a>")
;
break;
}
<br />
CSS © 2018-2019 CSS © 2018-2019
<a href="https://getbootstrap.com/" <a href="https://getbootstrap.com/"
target="_blank"> target="_blank">

View File

@@ -657,8 +657,21 @@
<script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script>
@{ @{
string highChartsTitleColor = "#AAAAAA"; string highChartsTitleColor;
string highChartsDataLabelColor = "#FFFFFF"; string highChartsDataLabelColor;
switch(DateTime.UtcNow.DayOfYear)
{
// 24th January, Macintosh launch
case 24:
highChartsTitleColor = "#000000";
highChartsDataLabelColor = "#000000";
break;
default:
highChartsTitleColor = "#AAAAAA";
highChartsDataLabelColor = "#FFFFFF";
break;
}
Hashtable highChartsTitleStyle = new Hashtable {{"color", highChartsTitleColor}}; Hashtable highChartsTitleStyle = new Hashtable {{"color", highChartsTitleColor}};
PlotOptionsPieDataLabelsStyle highChartsDataLabelStyle = new PlotOptionsPieDataLabelsStyle {Color = highChartsDataLabelColor, TextOutline = "0px"}; PlotOptionsPieDataLabelsStyle highChartsDataLabelStyle = new PlotOptionsPieDataLabelsStyle {Color = highChartsDataLabelColor, TextOutline = "0px"};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -2,7 +2,7 @@
// The Disc Image Chef // The Disc Image Chef
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// //
// Filename : _vgafont.scss // Filename : _font.scss
// Author(s) : Natalia Portillo <claunia@claunia.com> // Author(s) : Natalia Portillo <claunia@claunia.com>
// //
// Component : DiscImageChef Server. // Component : DiscImageChef Server.
@@ -34,11 +34,11 @@
@font-face @font-face
{ {
font-family: 'VGAsquarePx'; font-family: 'VGAsquarePx';
src: url(../int10h.org/vga_squarepx.eot); src: url(../../fonts/vga_squarepx.eot);
src: url(../int10h.org/vga_squarepx.eot?#iefix) format('embedded-opentype'), src: url(../../fonts/vga_squarepx.eot?#iefix) format('embedded-opentype'),
url(../int10h.org/vga_squarepx.woff2) format('woff2'), url(../../fonts/vga_squarepx.woff2) format('woff2'),
url(../int10h.org/vga_squarepx.woff) format('woff'), url(../../fonts/vga_squarepx.woff) format('woff'),
url(../int10h.org/vga_squarepx.ttf) format('truetype'); url(../../fonts/vga_squarepx.ttf) format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@@ -9,8 +9,8 @@
/* Sets font to VGA square */ /* Sets font to VGA square */
@font-face { @font-face {
font-family: "VGAsquarePx"; font-family: "VGAsquarePx";
src: url(../int10h.org/vga_squarepx.eot); src: url(../../fonts/vga_squarepx.eot);
src: url(../int10h.org/vga_squarepx.eot?#iefix) format("embedded-opentype"), url(../int10h.org/vga_squarepx.woff2) format("woff2"), url(../int10h.org/vga_squarepx.woff) format("woff"), url(../int10h.org/vga_squarepx.ttf) format("truetype"); src: url(../../fonts/vga_squarepx.eot?#iefix) format("embedded-opentype"), url(../../fonts/vga_squarepx.woff2) format("woff2"), url(../../fonts/vga_squarepx.woff) format("woff"), url(../../fonts/vga_squarepx.ttf) format("truetype");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@@ -31,10 +31,10 @@
// ****************************************************************************/ // ****************************************************************************/
@import "_colors"; @import "_colors";
@import "_vgafont"; @import "_font";
@import "_fontstyles"; @import "_fontstyles";
@import "../node_modules/bootstrap/scss/bootstrap"; @import "../../node_modules/bootstrap/scss/bootstrap";
footer footer
{ {

View File

@@ -8,8 +8,8 @@
/* Sets font to VGA square */ /* Sets font to VGA square */
@font-face { @font-face {
font-family: "VGAsquarePx"; font-family: "VGAsquarePx";
src: url(../int10h.org/vga_squarepx.eot); src: url(../../fonts/vga_squarepx.eot);
src: url(../int10h.org/vga_squarepx.eot?#iefix) format("embedded-opentype"), url(../int10h.org/vga_squarepx.woff2) format("woff2"), url(../int10h.org/vga_squarepx.woff) format("woff"), url(../int10h.org/vga_squarepx.ttf) format("truetype"); src: url(../../fonts/vga_squarepx.eot?#iefix) format("embedded-opentype"), url(../../fonts/vga_squarepx.woff2) format("woff2"), url(../../fonts/vga_squarepx.woff) format("woff"), url(../../fonts/vga_squarepx.ttf) format("truetype");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

@@ -31,7 +31,7 @@
// ****************************************************************************/ // ****************************************************************************/
@import "_colors"; @import "_colors";
@import "_vgafont"; @import "_font";
@import "_fontstyles"; @import "_fontstyles";
$colors: $orange $green $brown $indigo $pink $teal $yellow $purple $cyan $white; $colors: $orange $green $brown $indigo $pink $teal $yellow $purple $cyan $white;
@@ -52,4 +52,4 @@ $tooltip-background: $brightwhite;
$data-label-color: $yellow; $data-label-color: $yellow;
@import "_highcharts"; @import "../_highcharts";

View File

@@ -0,0 +1,89 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : _colors.scss
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ Description ] ----------------------------------------------------------
//
// Sets colors for server styling.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
/* Sets the grayscale for Bootstrap */
$white: #FFFFFF;
$darkgray: #404040;
$gray-100: #C0C0C0;
$gray-200: #C0C0C0;
$gray-300: #C0C0C0;
$gray-400: #808080;
$gray-500: #808080;
$gray-600: #808080;
$gray-700: #404040;
$gray-800: #404040;
$gray-900: #404040;
$black: #000000;
/* Sets color palette, using Macintosh II colors */
$green: #1FB714;
$yellow: #FBF305;
$darkgreen: #006412;
$orange: #FF6403;
$brown: #562C05;
$red: #DD0907;
$tan:#90713A;
$magenta:#F20884;
$purple:#4700A5;
$blue:#0000D3;
$cyan:#02ABEA;
/* Bootstrap color aliases */
$primary: $blue;
$secondary: $gray-600;
$success: $green;
$info: $cyan;
$warning: $yellow;
$danger: $red;
$light: $gray-100;
$dark: $gray-800;
/* Colors for <body> */
$body-bg: $white;
$body-color: $black;
/* Colors for <a> */
$link-color: $cyan;
$link-hover-color: $magenta;
/* Colors for cards */
$card-border-color: rgba($gray-300, .125);
$card-cap-bg: rgba($gray-300, .03);
$card-cap-color: inherit;
$card-bg: $gray-300;
/* Colors for tables */
$table-dark-bg: $gray-300;
$table-dark-accent-bg: rgba($white, .05);
$table-dark-hover-bg: rgba($white, .075);
$table-dark-border-color: lighten($tan, 7.5%);
$table-dark-color: $darkgray;

View File

@@ -0,0 +1,51 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : _font.scss
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ Description ] ----------------------------------------------------------
//
// Sets font for server styling.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
/* Sets font to Macintosh Chicago clone font */
@font-face
{
font-family: 'ChicagoFLF';
src: url(../../fonts/ChicagoFLF.eot);
src: url(../../fonts/ChicagoFLF.eot?#iefix) format('embedded-opentype'),
url(../../fonts/ChicagoFLF.woff2) format('woff2'),
url(../../fonts/ChicagoFLF.woff) format('woff'),
url(../../fonts/ChicagoFLF.ttf) format('truetype');
font-weight: normal;
font-style: normal;
}
$font-family-sans-serif: 'ChicagoFLF';
$font-family-monospace: 'ChicagoFLF';
$font-family-base: 'ChicagoFLF';
$font-size-base: 1rem;
$line-height-base: 1;

View File

@@ -0,0 +1,49 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : _fontstyles.scss
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ Description ] ----------------------------------------------------------
//
// Sets font styles for server styling.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
@import "_colors";
/* Sets the style for emphasis/italics */
em, i
{
font-style: italic;
}
/* Headings and bold text are bright white */
h1, h2, h3, h4,
b, strong
{
font-size: 1em;
font-style: normal;
font-weight: bold;
margin: 0;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,88 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : dicserver.scss
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ Description ] ----------------------------------------------------------
//
// Sets server styling.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
@import "_colors";
@import "_font";
@import "_fontstyles";
@import "../../node_modules/bootstrap/scss/bootstrap";
footer
{
background-color: $gray-100;
color: $black;
}
header
{
background-color: $gray-100;
color: $black;
text-align: center;
}
header a
{
color: $purple;
}
header a:hover
{
color: $cyan;
text-decoration: none;
}
footer a:hover
{
text-decoration: none;
}
.table-centered
{
margin-left:auto;
margin-right:auto;
}
.card-button{color:$black}
.table-dark-em
{
color: $darkgray;
font-style: normal;
font-weight: bold;
}
.table-dark-header
{
color: $black;
font-style: normal;
text-align: center;
}

View File

@@ -0,0 +1,933 @@
/* Sets the grayscale for Bootstrap */
/* Sets color palette, using Macintosh II colors */
/* Bootstrap color aliases */
/* Colors for <body> */
/* Colors for <a> */
/* Colors for cards */
/* Colors for tables */
/* Sets font to Macintosh Chicago clone font */
@font-face {
font-family: "ChicagoFLF";
src: url(../../fonts/ChicagoFLF.eot);
src: url(../../fonts/ChicagoFLF.eot?#iefix) format("embedded-opentype"), url(../../fonts/ChicagoFLF.woff2) format("woff2"), url(../../fonts/ChicagoFLF.woff) format("woff"), url(../../fonts/ChicagoFLF.ttf) format("truetype");
font-weight: normal;
font-style: normal;
}
/* Sets the grayscale for Bootstrap */
/* Sets color palette, using Macintosh II colors */
/* Bootstrap color aliases */
/* Colors for <body> */
/* Colors for <a> */
/* Colors for cards */
/* Colors for tables */
/* Sets the style for emphasis/italics */
em, i {
font-style: italic;
}
/* Headings and bold text are bright white */
h1, h2, h3, h4,
b, strong {
font-size: 1em;
font-style: normal;
font-weight: bold;
margin: 0;
}
/**
* @license Highcharts
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
.highcharts-container {
position: relative;
overflow: hidden;
width: 100%;
height: 100%;
text-align: left;
line-height: normal;
z-index: 0;
/* #1072 */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-family: "ChicagoFLF";
font-size: 12px;
}
.highcharts-root {
display: block;
}
.highcharts-root text {
stroke-width: 0;
}
.highcharts-strong {
font-weight: bold;
}
.highcharts-emphasized {
font-style: italic;
}
.highcharts-anchor {
cursor: pointer;
}
.highcharts-background {
fill: #FFFFFF;
}
.highcharts-plot-border, .highcharts-plot-background {
fill: none;
}
.highcharts-label-box {
fill: none;
}
.highcharts-button-box {
fill: inherit;
}
.highcharts-tracker-line {
stroke-linejoin: round;
stroke: rgba(192, 192, 192, 0.0001);
stroke-width: 22;
fill: none;
}
.highcharts-tracker-area {
fill: rgba(192, 192, 192, 0.0001);
stroke-width: 0;
}
/* Titles */
.highcharts-title {
fill: #404040;
font-size: 1.5em;
}
.highcharts-subtitle {
fill: #808080;
}
/* Axes */
.highcharts-axis-line {
fill: none;
stroke: #ccd6eb;
}
.highcharts-yaxis .highcharts-axis-line {
stroke-width: 0;
}
.highcharts-axis-title {
fill: #808080;
}
.highcharts-axis-labels {
fill: #808080;
cursor: default;
font-size: 0.9em;
}
.highcharts-grid-line {
fill: none;
stroke: #C0C0C0;
}
.highcharts-xaxis-grid .highcharts-grid-line {
stroke-width: 0px;
}
.highcharts-tick {
stroke: #ccd6eb;
}
.highcharts-yaxis .highcharts-tick {
stroke-width: 0;
}
.highcharts-minor-grid-line {
stroke: #C0C0C0;
}
.highcharts-crosshair-thin {
stroke-width: 1px;
stroke: #C0C0C0;
}
.highcharts-crosshair-category {
stroke: #ccd6eb;
stroke-opacity: 0.25;
}
/* Credits */
.highcharts-credits {
cursor: pointer;
fill: #808080;
font-size: 0.7em;
transition: fill 250ms, font-size 250ms;
}
.highcharts-credits:hover {
fill: black;
font-size: 1em;
}
/* Tooltip */
.highcharts-tooltip {
cursor: default;
pointer-events: none;
white-space: nowrap;
transition: stroke 150ms;
}
.highcharts-tooltip text {
fill: #404040;
}
.highcharts-tooltip .highcharts-header {
font-size: 0.85em;
}
.highcharts-tooltip-box {
stroke-width: 1px;
fill: #FFFFFF;
fill-opacity: 0.85;
}
.highcharts-tooltip-box .highcharts-label-box {
fill: #FFFFFF;
fill-opacity: 0.85;
}
.highcharts-selection-marker {
fill: #335cad;
fill-opacity: 0.25;
}
.highcharts-graph {
fill: none;
stroke-width: 2px;
stroke-linecap: round;
stroke-linejoin: round;
}
.highcharts-state-hover .highcharts-graph {
stroke-width: 3;
}
.highcharts-state-hover path {
transition: stroke-width 50;
/* quick in */
}
.highcharts-state-normal path {
transition: stroke-width 250ms;
/* slow out */
}
/* Legend hover affects points and series */
g.highcharts-series,
.highcharts-point,
.highcharts-markers,
.highcharts-data-labels {
transition: opacity 250ms;
}
.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
opacity: 0.2;
}
/* Series options */
/* Default colors */
.highcharts-color-0 {
fill: #1FB714;
stroke: #1FB714;
}
.highcharts-color-1 {
fill: #FBF305;
stroke: #FBF305;
}
.highcharts-color-2 {
fill: #FF6403;
stroke: #FF6403;
}
.highcharts-color-3 {
fill: #562C05;
stroke: #562C05;
}
.highcharts-color-4 {
fill: #DD0907;
stroke: #DD0907;
}
.highcharts-color-5 {
fill: #F20884;
stroke: #F20884;
}
.highcharts-color-6 {
fill: #4700A5;
stroke: #4700A5;
}
.highcharts-color-7 {
fill: #0000D3;
stroke: #0000D3;
}
.highcharts-color-8 {
fill: #02ABEA;
stroke: #02ABEA;
}
.highcharts-color-9 {
fill: #90713A;
stroke: #90713A;
}
.highcharts-color-10 {
fill: #006412;
stroke: #006412;
}
.highcharts-area {
fill-opacity: 0.75;
stroke-width: 0;
}
.highcharts-markers {
stroke-width: 1px;
stroke: #FFFFFF;
}
.highcharts-point {
stroke-width: 1px;
}
.highcharts-dense-data .highcharts-point {
stroke-width: 0;
}
.highcharts-data-label {
font-size: 0.9em;
font-weight: bold;
}
.highcharts-data-label-box {
fill: none;
stroke-width: 0;
}
.highcharts-data-label text, text.highcharts-data-label {
fill: #FBF305;
}
.highcharts-data-label-connector {
fill: none;
}
.highcharts-halo {
fill-opacity: 0.25;
stroke-width: 0;
}
.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
.highcharts-markers .highcharts-point-select {
fill: #C0C0C0;
stroke: #000000;
}
.highcharts-column-series rect.highcharts-point {
stroke: #FFFFFF;
}
.highcharts-column-series .highcharts-point {
transition: fill-opacity 250ms;
}
.highcharts-column-series .highcharts-point-hover {
fill-opacity: 0.75;
transition: fill-opacity 50ms;
}
.highcharts-pie-series .highcharts-point {
stroke-linejoin: round;
stroke: #FFFFFF;
}
.highcharts-pie-series .highcharts-point-hover {
fill-opacity: 0.75;
transition: fill-opacity 50ms;
}
.highcharts-funnel-series .highcharts-point {
stroke-linejoin: round;
stroke: #FFFFFF;
}
.highcharts-funnel-series .highcharts-point-hover {
fill-opacity: 0.75;
transition: fill-opacity 50ms;
}
.highcharts-funnel-series .highcharts-point-select {
fill: inherit;
stroke: inherit;
}
.highcharts-pyramid-series .highcharts-point {
stroke-linejoin: round;
stroke: #FFFFFF;
}
.highcharts-pyramid-series .highcharts-point-hover {
fill-opacity: 0.75;
transition: fill-opacity 50ms;
}
.highcharts-pyramid-series .highcharts-point-select {
fill: inherit;
stroke: inherit;
}
.highcharts-solidgauge-series .highcharts-point {
stroke-width: 0;
}
.highcharts-treemap-series .highcharts-point {
stroke-width: 1px;
stroke: #C0C0C0;
transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
}
.highcharts-treemap-series .highcharts-point-hover {
stroke: #808080;
transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
}
.highcharts-treemap-series .highcharts-above-level {
display: none;
}
.highcharts-treemap-series .highcharts-internal-node {
fill: none;
}
.highcharts-treemap-series .highcharts-internal-node-interactive {
fill-opacity: 0.15;
cursor: pointer;
}
.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
fill-opacity: 0.75;
}
/* Legend */
.highcharts-legend-box {
fill: none;
stroke-width: 0;
}
.highcharts-legend-item > text {
fill: #404040;
font-weight: bold;
font-size: 1em;
cursor: pointer;
stroke-width: 0;
}
.highcharts-legend-item:hover text {
fill: #000000;
}
.highcharts-legend-item-hidden * {
fill: #C0C0C0 !important;
stroke: #C0C0C0 !important;
transition: fill 250ms;
}
.highcharts-legend-nav-active {
fill: #003399;
cursor: pointer;
}
.highcharts-legend-nav-inactive {
fill: #C0C0C0;
}
.highcharts-legend-title-box {
fill: none;
stroke-width: 0;
}
/* Bubble legend */
.highcharts-bubble-legend-symbol {
stroke-width: 2;
fill-opacity: 0.5;
}
.highcharts-bubble-legend-connectors {
stroke-width: 1;
}
.highcharts-bubble-legend-labels {
fill: #404040;
}
/* Loading */
.highcharts-loading {
position: absolute;
background-color: #FFFFFF;
opacity: 0.5;
text-align: center;
z-index: 10;
transition: opacity 250ms;
}
.highcharts-loading-hidden {
height: 0 !important;
opacity: 0;
overflow: hidden;
transition: opacity 250ms, height 250ms step-end;
}
.highcharts-loading-inner {
font-weight: bold;
position: relative;
top: 45%;
}
/* Plot bands and polar pane backgrounds */
.highcharts-plot-band, .highcharts-pane {
fill: #000000;
fill-opacity: 0.05;
}
.highcharts-plot-line {
fill: none;
stroke: #808080;
stroke-width: 1px;
}
/* Highcharts More and modules */
.highcharts-boxplot-box {
fill: #FFFFFF;
}
.highcharts-boxplot-median {
stroke-width: 2px;
}
.highcharts-bubble-series .highcharts-point {
fill-opacity: 0.5;
}
.highcharts-errorbar-series .highcharts-point {
stroke: #000000;
}
.highcharts-gauge-series .highcharts-data-label-box {
stroke: #C0C0C0;
stroke-width: 1px;
}
.highcharts-gauge-series .highcharts-dial {
fill: #000000;
stroke-width: 0;
}
.highcharts-polygon-series .highcharts-graph {
fill: inherit;
stroke-width: 0;
}
.highcharts-waterfall-series .highcharts-graph {
stroke: #404040;
stroke-dasharray: 1, 3;
}
.highcharts-sankey-series .highcharts-point {
stroke-width: 0;
}
.highcharts-sankey-series .highcharts-link {
transition: fill 250ms, fill-opacity 250ms;
fill-opacity: 0.5;
}
.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
transition: fill 50ms, fill-opacity 50ms;
fill-opacity: 1;
}
.highcharts-venn-series .highcharts-point {
fill-opacity: 0.75;
stroke: #C0C0C0;
transition: stroke 250ms, fill-opacity 250ms;
}
.highcharts-venn-series .highcharts-point-hover {
fill-opacity: 1;
stroke: #C0C0C0;
}
/* Highstock */
.highcharts-navigator-mask-outside {
fill-opacity: 0;
}
.highcharts-navigator-mask-inside {
fill: #6685c2;
/* navigator.maskFill option */
fill-opacity: 0.25;
cursor: ew-resize;
}
.highcharts-navigator-outline {
stroke: #C0C0C0;
fill: none;
}
.highcharts-navigator-handle {
stroke: #C0C0C0;
fill: #C0C0C0;
cursor: ew-resize;
}
.highcharts-navigator-series {
fill: #335cad;
stroke: #335cad;
}
.highcharts-navigator-series .highcharts-graph {
stroke-width: 1px;
}
.highcharts-navigator-series .highcharts-area {
fill-opacity: 0.05;
}
.highcharts-navigator-xaxis .highcharts-axis-line {
stroke-width: 0;
}
.highcharts-navigator-xaxis .highcharts-grid-line {
stroke-width: 1px;
stroke: #C0C0C0;
}
.highcharts-navigator-xaxis.highcharts-axis-labels {
fill: #808080;
}
.highcharts-navigator-yaxis .highcharts-grid-line {
stroke-width: 0;
}
.highcharts-scrollbar-thumb {
fill: #C0C0C0;
stroke: #C0C0C0;
stroke-width: 1px;
}
.highcharts-scrollbar-button {
fill: #C0C0C0;
stroke: #C0C0C0;
stroke-width: 1px;
}
.highcharts-scrollbar-arrow {
fill: #808080;
}
.highcharts-scrollbar-rifles {
stroke: #808080;
stroke-width: 1px;
}
.highcharts-scrollbar-track {
fill: #C0C0C0;
stroke: #C0C0C0;
stroke-width: 1px;
}
.highcharts-button {
fill: #C0C0C0;
stroke: #C0C0C0;
cursor: default;
stroke-width: 1px;
transition: fill 250ms;
}
.highcharts-button text {
fill: #404040;
}
.highcharts-button-hover {
transition: fill 0ms;
fill: #C0C0C0;
stroke: #C0C0C0;
}
.highcharts-button-hover text {
fill: #404040;
}
.highcharts-button-pressed {
font-weight: bold;
fill: #e6ebf5;
stroke: #C0C0C0;
}
.highcharts-button-pressed text {
fill: #404040;
font-weight: bold;
}
.highcharts-button-disabled text {
fill: #404040;
}
.highcharts-range-selector-buttons .highcharts-button {
stroke-width: 0px;
}
.highcharts-range-label rect {
fill: none;
}
.highcharts-range-label text {
fill: #808080;
}
.highcharts-range-input rect {
fill: none;
}
.highcharts-range-input text {
fill: #404040;
}
.highcharts-range-input {
stroke-width: 1px;
stroke: #C0C0C0;
}
input.highcharts-range-selector {
position: absolute;
border: 0;
width: 1px;
/* Chrome needs a pixel to see it */
height: 1px;
padding: 0;
text-align: center;
left: -9em;
/* #4798 */
}
.highcharts-crosshair-label text {
fill: #FFFFFF;
font-size: 1.1em;
}
.highcharts-crosshair-label .highcharts-label-box {
fill: inherit;
}
.highcharts-candlestick-series .highcharts-point {
stroke: #000000;
stroke-width: 1px;
}
.highcharts-candlestick-series .highcharts-point-up {
fill: #FFFFFF;
}
.highcharts-ohlc-series .highcharts-point-hover {
stroke-width: 3px;
}
.highcharts-flags-series .highcharts-point .highcharts-label-box {
stroke: #808080;
fill: #FFFFFF;
transition: fill 250ms;
}
.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
stroke: #000000;
fill: #ccd6eb;
}
.highcharts-flags-series .highcharts-point text {
fill: #000000;
font-size: 0.9em;
font-weight: bold;
}
/* Highmaps */
.highcharts-map-series .highcharts-point {
transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
stroke: #C0C0C0;
}
.highcharts-map-series .highcharts-point-hover {
transition: fill 0ms, fill-opacity 0ms;
fill-opacity: 0.5;
stroke-width: 2px;
}
.highcharts-mapline-series .highcharts-point {
fill: none;
}
.highcharts-heatmap-series .highcharts-point {
stroke-width: 0;
}
.highcharts-map-navigation {
font-size: 1.3em;
font-weight: bold;
text-align: center;
}
.highcharts-coloraxis {
stroke-width: 0;
}
.highcharts-coloraxis-marker {
fill: #808080;
}
.highcharts-null-point {
fill: #C0C0C0;
}
/* 3d charts */
.highcharts-3d-frame {
fill: transparent;
}
/* Exporting module */
.highcharts-contextbutton {
fill: #FFFFFF;
/* needed to capture hover */
stroke: none;
stroke-linecap: round;
}
.highcharts-contextbutton:hover {
fill: #C0C0C0;
stroke: #C0C0C0;
}
.highcharts-button-symbol {
stroke: #808080;
stroke-width: 3px;
}
.highcharts-menu {
border: 1px solid #808080;
background: #FFFFFF;
padding: 5px 0;
box-shadow: 3px 3px 10px #888;
}
.highcharts-menu-item {
padding: 0.5em 1em;
background: none;
color: #404040;
cursor: pointer;
transition: background 250ms, color 250ms;
}
.highcharts-menu-item:hover {
background: #335cad;
color: #FFFFFF;
}
/* Drilldown module */
.highcharts-drilldown-point {
cursor: pointer;
}
.highcharts-drilldown-data-label text,
text.highcharts-drilldown-data-label,
.highcharts-drilldown-axis-label {
cursor: pointer;
fill: #003399;
font-weight: bold;
text-decoration: underline;
}
/* No-data module */
.highcharts-no-data text {
font-weight: bold;
font-size: 12px;
fill: #808080;
}
/* Drag-panes module */
.highcharts-axis-resizer {
cursor: ns-resize;
stroke: black;
stroke-width: 2px;
}
/* Bullet type series */
.highcharts-bullet-target {
stroke-width: 0;
}
/* Lineargauge type series */
.highcharts-lineargauge-target {
stroke-width: 1px;
stroke: #404040;
}
.highcharts-lineargauge-target-line {
stroke-width: 1px;
stroke: #404040;
}
/* Annotations module */
.highcharts-annotation-label-box {
stroke-width: 1px;
stroke: #000000;
fill: #000000;
fill-opacity: 0.75;
}
.highcharts-annotation-label text {
fill: #C0C0C0;
}
/* Gantt */
.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
cursor: pointer;
}
.highcharts-point-connecting-path {
fill: none;
}
.highcharts-grid-axis .highcharts-tick {
stroke-width: 1px;
}
.highcharts-grid-axis .highcharts-axis-line {
stroke-width: 1px;
}
/*# sourceMappingURL=dicserver_highcharts.css.map */

View File

@@ -0,0 +1,55 @@
// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
// Filename : dicserver_highcharts.scss
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : DiscImageChef Server.
//
// --[ Description ] ----------------------------------------------------------
//
// Sets style for server's charts.
//
// --[ License ] --------------------------------------------------------------
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
@import "_colors";
@import "_font";
@import "_fontstyles";
$colors: $green $yellow $orange $brown $red $magenta $purple $blue $cyan $tan $darkgreen;
$background-color: $body-bg;
$neutral-color-100: $black; // Strong text.
$neutral-color-80: $gray-800; // Main text and some strokes.
$neutral-color-60: $gray-600; // Axis labels, axis title, connector fallback.
$neutral-color-40: $gray-400; // Credits text, export menu stroke.
$neutral-color-20: $gray-200; // Disabled texts, button strokes, crosshair etc.
$neutral-color-10: $gray-100; // Grid lines etc.
$neutral-color-5: $gray-100; // Minor grid lines etc.
$neutral-color-3: $gray-100; // Tooltip backgroud, button fills, map null points.
$font-family: $font-family-base;
$tooltip-background: $white;
$data-label-color: $yellow;
@import "../_highcharts";