rj-action-library/Runtime/Godot/Scenes/Exporters/HTML/SceneFileHTMLStyle.cs

86 lines
1.3 KiB
C#

using Godot;
using System;
using System.Collections.Generic;
namespace Rokojori
{
public class SceneFileHTMLStyle
{
public static string style =
@"
body
{
overflow-x: hidden;
margin: 2em 0em;
font-family: Helvetica, Arial, sans;
background: hsl(0,0%,10%);
color: hsl(0,0%,80%)
}
.closeable
{
cursor: pointer;
opacity:1;
transition: opacity 300ms ease;
}
.closeable[data-close-state='none']
{
opacity: 0.7;
}
.node
{
display: block;
position: relative;
left: 2em;
}
.resource
{
display: block;
position: relative;
left: 2em;
}
gd-name
{
border-radius: 0.5em;
padding: 1em 1em;
background-color: hsl(0,0%,20%);
margin: 0.5em 1em;
display: inline-block;
font-weight: bold;
}
gd-external-resource gd-name
{
background-color: hsl(0,50%,20%);
}
gd-sub-resource gd-name
{
background-color: hsl(120,50%,20%);
}
gd-type
{
display: inline-block;
opacity: 0.5;
}
gd-reference
{
cursor:pointer;
text-decoration:underline;
}
" ;
}
}