Remove unneeded files

This commit is contained in:
Cooldude2606
2024-11-19 23:00:47 +00:00
parent ebbd542411
commit 24f814837c
10 changed files with 0 additions and 4228 deletions

17
.gitattributes vendored
View File

@@ -1,17 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

View File

@@ -1,64 +0,0 @@
name: Docs Deploy
on:
# Deploy when there is a push to dev
push:
branches:
- dev
# Allow runing this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Lua
uses: leafo/gh-actions-lua@v10
- name: Install LuaRocks
uses: leafo/gh-actions-luarocks@v4
- name: Install LDoc
run: luarocks install ldoc 1.4.4-1
- name: Create Docs Folder
run: mkdir -p docs
- name: Generate Documents
working-directory: docs
run: ldoc -i .
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

View File

@@ -1,34 +0,0 @@
name: CI PR Checker
on: pull_request
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Lua
uses: leafo/gh-actions-lua@v10
- name: Install LuaRocks
uses: leafo/gh-actions-luarocks@v4
- name: Install LDoc
run: luarocks install ldoc 1.4.4-1
- name: Generate Documents
working-directory: docs
run: ldoc -i .

View File

@@ -1,4 +0,0 @@
{
"order": "ExpGaming",
"multiplayer-compatible": true
}

View File

@@ -1,102 +0,0 @@
file = { '../', exclude = { '../.lua', '../.luarocks' } }
dir = '../docs'
project = 'ExpGaming Scenario'
title = 'ExpGaming Scenario'
description = 'Explosive Gaming\'s server scenario for factorio 1.1.101'
convert_opt = true
sort = false
not_luadoc = true
no_lua_ref = true
template_escape = ">"
topics = {"../README.md", "../LICENSE"}
style = '../docs'
template = '../docs'
no_space_before_args = true
merge=true
new_type("core", "Core", true)
new_type("control", "Control", true)
new_type("addon", "Addons", true)
new_type("gui", "Guis", true)
new_type("data", "Data", true)
new_type("commands", "Commands", true)
new_type("config", "Configs", true, "Settings")
new_type("dep", "Dependencies", false)
new_type("setting", "Settings", false)
new_type("element", "Elements", false, "Properties / Events")
new_type("event", "Events", false, "Event Parameters")
new_type("command", "Commands", false, "Command Parameters")
local api_url = "http://lua-api.factorio.com/latest/%s.html%s"
custom_see_handler("^Lua([%w_]*)%.?([%.?[%w_]*]*)$",
function(name, section)
local link_txt = "Lua" .. name .. (#section > 0 and "." .. section or "")
local link_url = api_url:format("Lua" .. name, #section > 0 and "#" .. link_txt or "")
return link_txt, link_url
end
)
custom_see_handler("^Concepts%.([%.?[%w_]*]*)$",
function(section)
local link_txt = "Concepts." .. section
local link_url = api_url:format("Concepts", #section > 0 and "#" .. section or "")
return link_txt, link_url
end
)
custom_see_handler("^defines%.?([%.?[%w_]*]*)$",
function(section)
local link_txt = "defines." .. section
local link_url
if section == "color" or section == "time" then
link_url = "../modules/"..link_txt..".html"
else
link_url = api_url:format("defines", #section > 0 and "#" .. link_txt or "")
end
return link_txt, link_url
end
)
custom_see_handler("^Common%.([%.?[%w_]*]*)$",
function(section)
local link_txt = "Common." .. section
local link_url = api_url:format("Common", #section > 0 and "#" .. link_txt or "")
return link_txt, link_url
end
)
local wikipat = "https://en.wikipedia.org/wiki/%s"
custom_see_handler("^wiki (.+)",
function(name)
local url = wikipat:format(name)
return name, url
end
)
-- https://forums.factorio.com/viewtopic.php?t=32039#p202158
custom_see_handler("^(http[s]?%:%/%/.-) (.+)$",
function(url, name)
return name, url
end
)
local lua_url = "https://www.lua.org/pil/%s.html%s"
custom_see_handler("^boolean$", function() return "boolean", api_url:format("Builtin-Types", "#boolean") end)
custom_see_handler("^int$", function() return "int", api_url:format("Builtin-Types", "#int") end)
custom_see_handler("^uint$", function() return "uint", api_url:format("Builtin-Types", "#uint") end)
custom_see_handler("^uint8$", function() return "uint8", api_url:format("Builtin-Types", "#uint8") end)
custom_see_handler("^uint64$", function() return "uint64", api_url:format("Builtin-Types", "#uint64") end)
custom_see_handler("^string$", function() return "string", api_url:format("Builtin-Types", "#string") end)
custom_see_handler("^float$", function() return "float", api_url:format("Builtin-Types", "#float") end)
custom_see_handler("^double$", function() return "double", api_url:format("Builtin-Types", "#double") end)
custom_see_handler("^nil$", function() return "nil", lua_url:format("2.1", "") end)
custom_see_handler("^number$", function() return "number", lua_url:format("2.3", "") end)
custom_see_handler("^table$", function() return "table", lua_url:format("2.5", "") end)
custom_see_handler("^function$", function() return "function", lua_url:format("2.6", "") end)
custom_see_handler("^userdata$", function() return "userdata", lua_url:format("2.7", "") end)
custom_see_handler("^thread$", function() return "thread", lua_url:format("9", "#CoroutineSec") end)
custom_see_handler("^array$", function() return "array", lua_url:format("11.1", "") end)

View File

@@ -1,244 +0,0 @@
/* universal */
body{background-color:#0F0F0F;color:#C8C8C8;font-family:'Lucida Grande',Arial,sans-serif}
a{text-decoration:none;border-style:none;outline:none!important}
a:link{color:#FF7200;text-decoration:none}
a:visited{color:#FF7200;text-decoration:none}
a:hover{color:#C8C8C8;text-decoration:none}
a:active{color:#C8C8C8;text-decoration:none}
h1{font-size:2.5rem}
h2{font-size:2.3rem}
h3{font-size:2rem}
h4{font-size:1.8rem}
h5{font-size:1.6rem}
/* table */
table,thead{text-align:left}
table,th,td{padding:2px}
/* sidebar */
.sidebar {height: 100%}
.sidebar-custom {
border-right: 1px solid #2C2C2C;
padding-right: 1.4rem;
bottom: 0rem;
}
@supports (-ms-ime-align:auto) {
.sidebar-custom {
height: 99%;
}
}
.up-to-top {
top: 1.5rem;
position: -webkit-sticky;
position: sticky;
text-align: right;
margin-right: 0.2rem;
}
.up-to-top a{padding:20px}
.up-to-top a:link{color:#FF7200}
.up-to-top a:hover{color:#C8C8C8}
.icon-arrow-right-custom{margin-bottom:3px}
.project-infobox{text-align:right}
.project-infobox .project-desc{font-style:italic}
.nav-modules{text-align:right}
.nav-module-contents{text-align:right}
/* navigation */
.nav .nav a{color:#FF7200}
.nav .nav a:link{color:#FF7200}
.nav .nav a:visited{color:#FF7200}
.nav .nav a:hover{color:#C8C8C8;text-decoration:none}
.nav .nav-item.active>a:hover{color:#C8C8C8;text-decoration:none}
.nav .nav-item.active{margin-left:0}
.nav .nav a:active{color:#C8C8C8}
/* main page module list */
.body-module-name {font-weight: 500}
table.module_list {
border-spacing: 0;
display: table;
border-collapse: collapse;
margin-bottom: 2.0rem;
}
table.module_list td {
border-top: 1px solid #2C2C2C;
border-bottom: 1px solid #2C2C2C;
padding: 3px 7px 3px 7px;
}
table.module_list td.name {
vertical-align: top;
min-width: 125px;
background-color: #0D0D0D;
}
table.module_list td.summary {vertical-align: top}
.module_list p {margin:0px}
/* section */
.module-see-also li {
margin-top: 0.5rem;
}
.section-title a:link{color:#C8C8C8}
.section-title a:visited{color:#C8C8C8}
.section-title a:hover{color:#FF7200}
.section-title a:active{color:#FF7200}
.section-body-container dd {
margin: 1.0rem 0 1.5rem 0;
}
table.section-content-list {
border-spacing: 0;
display: table;
border-collapse: collapse;
margin-bottom: 1.5rem;
}
table.section-content-list td {
border-top: 1px solid #2C2C2C;
border-bottom: 1px solid #2C2C2C;
padding: 3px 7px 3px 7px;
}
table.section-content-list td.name {
background-color: #0D0D0D;
vertical-align: top;
white-space: nowrap;
}
table.section-content-list td.summary {
min-width: 200px;
vertical-align: top;
}
.section-content-list p {margin: 0px}
div.section-item-header .section-item-title {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 1.5rem;
margin-left: 3px;
}
.section-title:target {
padding-left: 7px;
border-left: 5px solid #FF7200;
text-decoration: none;
}
.section-item-title:target {
padding: 3px 5px 3px 5px;
background-color: #FF7200;
color: #000000;
text-decoration: none;
}
.section-item-body {margin-left: 4rem}
/*.section-subitem-li {
padding-left: 1.28571429em;
text-indent: -1.28571429em;
}*/
/*.section-subitem-module-field-li {
margin-left: -1.28571429em;
padding-left: 1.28571429em;
text-indent: -1.28571429em;
}*/
/* example pages */
pre.code.example{margin:0 0 1em}
pre.code.example code h2{display:none}
pre.code.example code pre{margin:0}
/* usage code */
code{background-color:#181818;color:#C8C8C8;font-size:1.3rem}
pre.code code{background-color:#282828;color:#C8C8C8;font-size:1.3rem}
pre.code .comment{color:#998d70}
pre.code .constant{color:#a8660d}
pre.code .escape{color:#844631}
pre.code .keyword{color:#c43724;font-weight:700}
pre.code .library{color:#0e7c6b}
pre.code .marker{color:#512b1e;background:#fedc56;font-weight:700}
pre.code .string{color:#99ca3c}
pre.code .number{color:#f8660d}
pre.code .operator{color:#2239a8;font-weight:700}
pre.code .preprocessor,pre .prepro{color:#a33243}
pre.code .global{color:#5798da}
pre.code .user-keyword{color:purple}
pre.code .prompt{color:#998d70}
pre.code .url{color:#272fc2;text-decoration:underline}
/* footer */
.footer{height:65px}
.sidebar-footer{text-align:left;padding-right:33px}
.content-footer{text-align:right}
/* misc */
.types {font-weight:bold;font-style:italic}
.divider[data-content]::after,.divider-vert[data-content]::after{background:#262626;color:#C8C8C8}
.divider-custom{border-width:1px;border-color:#585959}
/* fragment hashtag */
.fragment-hashtag{color:#3C3C3C}
a.fragment-hashtag{color:#3C3C3C}
a.fragment-hashtag:hover{color:#FF7200}
/* mobile */
@media screen and (max-width: 540px) {
.up-to-top {display: none}
.sidebar-custom {
border-right: 1px solid #2C2C2C;
padding-right: 1.4rem;
bottom: 0rem;
margin-right: 0px;
}
.sidebar-footer {
text-align: right;
padding-right: 10px;
white-space: nowrap;
}
table.function_list td.name {
background-color: #0D0D0D;
vertical-align: top;
white-space: normal;
}
.function-item-spec-body-wrap {margin-left: 1.5rem}
}
/* tablets */
@media screen and (min-width: 540px) and (max-width: 780px) {
.sidebar-footer {white-space: nowrap}
}

View File

@@ -1,416 +0,0 @@
> local iter = ldoc.modules.iter
> local M = ldoc.markup
> local use_li = ldoc.use_li
> local no_spaces = ldoc.no_spaces
> local display_name = ldoc.display_name
> local function remove_parent_obj(obj)
> obj = obj:gsub(">Concepts%.(.*)<", ">%1<"):gsub(">Common%.(.*)<", ">%1<")
> obj = obj:gsub(">{Concepts%.(.*)}<", ">{%1}<"):gsub(">{Common%.(.*)}<", ">{%1}<")
> return obj
> end
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
> if module then
<title>$(module.name) $(module.type)</title>
> else
<title>$(ldoc.title)</title>
> end
<meta name="viewport" content="width=device-width, initial-scale=1">
> if module then
<link rel="stylesheet" href="../spectre.min.css" type="text/css" />
<link rel="stylesheet" href="../spectre-icons.min.css" type="text/css" />
> else
<link rel="stylesheet" href="spectre.min.css" type="text/css" />
<link rel="stylesheet" href="spectre-icons.min.css" type="text/css" />
> end
<link rel="stylesheet" href="$(ldoc.css)" type="text/css" />
</head>
<body>
<div class="container grid-1280">
<div class="columns">
<!-- sidebar start -->
<div id="sidebar" class="column col-3 col-sm-12">
<div class="sidebar-custom">
<div class="project-infobox">
<!-- project title -->
> if module and ldoc.single then
> if module == ldoc.single then
<a href="$(ldoc.output).html"><h1>$(ldoc.project)</h1></a>
> else
<a href="../$(ldoc.output).html"><h1>$(ldoc.project)</h1></a>
> end
> end
> if not ldoc.single then
> if module then
<a href="../$(ldoc.output).html"><h1>$(ldoc.project)</h1></a>
> else
<a href="$(ldoc.output).html"><h1>$(ldoc.project)</h1></a>
> end
> end
<!-- project description -->
> if ldoc.description then
<p class="project-desc">$(ldoc.description)</p>
> end
<!-- project full description -->
> if ldoc.full_description then
<span>$(M(ldoc.full_description,nil))</span>
> end
</div>
> if module then
<!-- sidebar navigation -->
<!-- list of items in a module -->
> if module and module.type ~= "topic" then
> if module and not ldoc.no_summary and #module.items > 0 then
<ul class="nav nav-module-contents">
<li class="nav-item">
<h2>Sections</h2>
<ul class="nav">
> for kind,items in module.kinds() do
<li class="nav-item"><a href="#$(no_spaces(kind))"><span class="fragment-hashtag">#</span> $(kind)</a></li>
> end
</ul>
</li>
</ul>
> end
> end
> if not ldoc.no_summary then
> local this_mod = module and module.name
> for kind, mods, type in ldoc.kinds() do
> if not ldoc.kinds_allowed or ldoc.kinds_allowed[type] then
<ul class="nav nav-modules">
<li class="nav-item">
<h2>$(kind)</h2>
<ul class="nav">
> for mod in mods() do
> if mod.name == this_mod then
<li class="nav-item active"><div class="nav-item-block-active block"><a href="$(ldoc.ref_to_module(mod))"><span class="module-name-item">$(mod.name)</span></a><i class="icon icon-arrow-left icon-arrow-left-custom"></i></div></li>
> else
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="$(ldoc.ref_to_module(mod))"><span class="module-name-item">$(mod.name)</span></a></div></li>
> end
> end
</ul>
</li>
</ul>
> end
> end
> else
<ul class="nav nav-modules">
> for kind, items in module.kinds() do
<li class="nav-item">
<h2>$(kind)</h2>
<ul class="nav">
> for item in items() do
<li class="nav-item"><a href="#$(item.name)">$(display_name(item))</a></li>
> end
</ul>
</li>
> end
</ul>
> end
> end
</div>
> if module and module.type ~= "topic" then
<div class="up-to-top">
<!-- list of items in a module -->
> if module and module.type ~= "topic" then
> if module and not ldoc.no_summary and #module.items > 0 then
<ul class="nav nav-module-contents">
<li class="nav-item">
<h4>Jump to Section</h4>
<ul class="nav">
> for kind,items in module.kinds() do
<li class="nav-item"><a href="#$(no_spaces(kind))"><span class="fragment-hashtag">#</span> $(kind)</a></li>
> end
</ul>
</li>
</ul>
> end
> end
<a href="#">Top <i class="icon icon-upward"></i></a>
</div>
> end
</div>
<!-- sidebar end -->
<!-- content body start -->
<div class="column col-9 col-sm-12">
<!-- module list on the main page start -->
> if not module then
> for kind, mods in ldoc.kinds() do
<h2>$(kind)</h2>
> kind = kind:lower()
<table class="module_list">
> for m in mods() do
<tr>
<td class="name"><a href="$(kind)/$(m.name).html">$(m.name)</a></td>
> if M(ldoc.strip_header(m.summary),m) ~= "" then
<td class="summary"><span>$(M(ldoc.strip_header(m.summary),m))</span></td>
> end
</tr>
> end -- for modules
</table>
> end -- for kinds
> end
<!-- module list on the main page end -->
<!-- module contents -->
> if module then
<!-- module content header start -->
<h2><span class="body-module-name"><strong><em>$(module.name)</em></strong></span> $(module.type)</h2>
<p>$(M(module.summary))</p>
<p>$(M(module.description))</p>
> if ldoc.body and module.type == "example" then
<pre class="code" data-lang="Lua"><code>$(ldoc.body:gsub("^<h2>(.*%.lua)</h2>(.*)$", "%2"):gsub("<pre>(.*)</pre>", "%1"):gsub("^%s*(.-)%s*$", "%1"))</code></pre>
> elseif ldoc.body and module.type == "topic" then
$(M(ldoc.body))
> end
<!-- module info start -->
> if module.info then
<ul>
> for tag, value in module.info:iter() do
<li><strong>$(tag)</strong>: $(M(value,module))</li>
> end
</ul>
> end
<!-- module info end -->
<!-- module usage start -->
> if module.see then
<h3>See also</h3>
<ul class="module-see-also">
> for see in iter(module.see) do
<li><a href="$(ldoc.href(see))">$(see.label)</a></li>
> end
</ul>
> end
> if module.usage then
<h3>Usage</h3>
> for usage in iter(module.usage) do
<pre class="code" data-lang="Lua"><code>$(ldoc.prettify(usage))</code></pre>
> end
> end
<!-- module usage end -->
<!-- module content header end -->
<!-- module section list start -->
> if module and module.type ~= "topic" then
> for kind, items in module.kinds() do
<table class="section-content-list">
<thead>
<h3><a href="#$(no_spaces(kind))">$(kind)</a></h3>
<span>$(M(module.kinds:get_section_description(kind)))</span>
</thead>
<tbody>
> for item in items() do
<tr>
<td class="name"><a href="#$(item.name)">$(display_name(item))</a></td>
> if item.summary ~= "" then
<td class="summary">$(M(item.summary,item))</td>
> end
</tr>
> end
</tbody>
</table>
> end
> end
<!-- module section list end -->
<br />
<!-- section start -->
> if module and module.type ~= "topic" then
> for kind, items in module.kinds() do
<h3><span id="$(no_spaces(kind))" class="section-title"><a href="#$(no_spaces(kind))">$(kind)</a></span></h3>
<dl class="section-body-container">
> for item in items() do
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#$(item.name)" class="fragment-hashtag">#</a>
<span class="section-item-title" id="$(item.name)">$(display_name(item))</span>
</div>
</dt>
<dd>
<div class="section-item-body">
> if item.summary ~= "" or item.description ~= "" then
<p class="section-item-summary">$(M(item.summary))</p>
<p class="section-item-description">$(M(item.description))</p>
> end
<!-- parameters start -->
> if not ldoc.no_return_or_parms and item.params and #item.params > 0 then
> local module_item_subnames = module.kinds:type_of(item).subnames
> if module_item_subnames then
<strong>$(module_item_subnames):</strong>
> end
<ul>
> for param in iter(item.params) do
> local param, sublist = item:subparam(param)
> if sublist then
<li>
<strong><em>$(sublist)</em> : </strong> $(M(item.params.map[sublist], item))
<ul>
> end
> for p in iter(param) do
> local name, tp, def = item:display_name_of(p), ldoc.typename(item:type_of_param(p)), item:default_of_param(p)
> if not module_item_subnames then
<li class="section-subitem-module-field-li">
> else
<li class="section-subitem-li">
> end
<strong><em>$(name)</em></strong>
> if tp ~= "" or item.params.map[p] ~= "" then
<strong> : </strong>
> end
> if tp ~= "" then
(<span class="types">$(remove_parent_obj(tp))</span>)
> end
$(remove_parent_obj(M(item.params.map[p], item)))
> if def == true then
(<em>optional</em>)
> elseif def then
(<em>default</em>: $(def))
> end
> if item:readonly(p) then
(<em>readonly</em>)
> end
</li>
> end
> if sublist then
</ul>
</li>
> end
> end
</ul>
> end
<!-- parameters end -->
<!-- returns start -->
> if item.retgroups then
> local groups = item.retgroups
<strong>Returns:</strong>
> for i, group in ldoc.ipairs(groups) do
<ul>
> for r in group:iter() do
> local type, ctypes = item:return_type(r)
> local rt = ldoc.typename(type)
<li>
> if rt ~= '' then
(<span class="types">$(remove_parent_obj(rt))</span>)
> end
> if r.text ~= '' then
<span class="return-text">$(remove_parent_obj(M(r.text, item)))</span>
> end
> if ctypes then
<ul>
> for c in ctypes:iter() do
<li>
<code class="parameter">$(c.name)</code>
(<span class="types">$(ldoc.typename(c.type))</span>)
<span class="return-comment">: $(M(c.comment, item))</span>
</li>
> end
</ul>
> end
</li>
> end
</ul>
> if i < #groups then
<h5>Or</h5>
> end
> end
> end
<!-- returns end -->
> if item.raise then
<h5>Raises</h5> $(M(item.raise, item))
> end
<!-- see also start -->
> if item.see then
<strong>See also:</strong>
<ul>
> for see in iter(item.see) do
<li><a href="$(ldoc.href(see))">$(see.label)</a></li>
> end
</ul>
> end
<!-- see also end -->
<!-- usage start -->
> if item.usage then
<strong>Usage:</strong>
> for usage in iter(item.usage) do
<pre class="code" data-lang="Lua"><code>$(ldoc.prettify(usage))</code></pre>
> end
> end
<!-- usage end -->
</dd>
> end
</dl>
> end
> else
</div>
> end
> end
<!-- section end -->
</div>
</div>
</div>
<div class="footer container grid-1280">
<div class="divider divider-custom"></div>
<div class="footer-columns columns">
<div class="sidebar-footer column col-3 col-sm-12">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc $(ldoc.version)</a></i>
</div>
<div class="content-footer column col-9 col-sm-12">
<i>Last updated $(ldoc.updatetime) UTC</i>
</div>
</div>
</div>
</body>
</html>

View File

@@ -1,568 +0,0 @@
/*! Spectre.css Icons | MIT License | github.com/picturepan2/spectre */.icon {
box-sizing:border-box;
display:inline-block;
font-size:inherit;
font-style:normal;
height:1em;
position:relative;
text-indent:-999rem;
vertical-align:middle;
width:1em
}
.icon::after,
.icon::before {
display:block;
left:50%;
position:absolute;
top:50%;
-webkit-transform:translate(-50%,-50%);
-ms-transform:translate(-50%,-50%);
transform:translate(-50%,-50%)
}
.icon-arrow-down::before,
.icon-arrow-left::before,
.icon-arrow-right::before,
.icon-arrow-up::before,
.icon-back::before,
.icon-downward::before,
.icon-forward::before,
.icon-upward::before {
border:.2rem solid currentColor;
border-bottom:0;
border-right:0;
content:"";
height:.65em;
-webkit-transform:translate(-25%,-50%) rotate(-45deg);
-ms-transform:translate(-25%,-50%) rotate(-45deg);
transform:translate(-25%,-50%) rotate(-45deg);
width:.65em
}
.icon-arrow-down,
.icon-downward {
-webkit-transform:rotate(-90deg);
-ms-transform:rotate(-90deg);
transform:rotate(-90deg)
}
.icon-arrow-right,
.icon-forward {
-webkit-transform:rotate(180deg);
-ms-transform:rotate(180deg);
transform:rotate(180deg)
}
.icon-arrow-up,
.icon-upward {
-webkit-transform:rotate(90deg);
-ms-transform:rotate(90deg);
transform:rotate(90deg)
}
.icon-back::before,
.icon-downward::before,
.icon-forward::before,
.icon-upward::before {
-webkit-transform:translate(-50%,-50%) rotate(-45deg);
-ms-transform:translate(-50%,-50%) rotate(-45deg);
transform:translate(-50%,-50%) rotate(-45deg)
}
.icon-back::after,
.icon-downward::after,
.icon-forward::after,
.icon-upward::after {
background:currentColor;
content:"";
height:.2rem;
left:55%;
width:.8em
}
.icon-caret::before {
border-left:.3em solid transparent;
border-right:.3em solid transparent;
border-top:.3em solid currentColor;
content:"";
height:0;
-webkit-transform:translate(-50%,-25%);
-ms-transform:translate(-50%,-25%);
transform:translate(-50%,-25%);
width:0
}
.icon-menu::before {
background:currentColor;
box-shadow:0 -.35em,0 .35em;
content:"";
height:.2rem;
width:100%
}
.icon-apps::before {
background:currentColor;
box-shadow:-.35em -.35em,-.35em 0,-.35em .35em,0 -.35em,0 .35em,.35em -.35em,.35em 0,.35em .35em;
content:"";
height:.3rem;
width:.3rem
}
.icon-resize-horiz::after,
.icon-resize-horiz::before,
.icon-resize-vert::after,
.icon-resize-vert::before {
border:.2rem solid currentColor;
border-bottom:0;
border-right:0;
content:"";
height:.45em;
width:.45em
}
.icon-resize-horiz::before,
.icon-resize-vert::before {
-webkit-transform:translate(-50%,-90%) rotate(45deg);
-ms-transform:translate(-50%,-90%) rotate(45deg);
transform:translate(-50%,-90%) rotate(45deg)
}
.icon-resize-horiz::after,
.icon-resize-vert::after {
-webkit-transform:translate(-50%,-10%) rotate(225deg);
-ms-transform:translate(-50%,-10%) rotate(225deg);
transform:translate(-50%,-10%) rotate(225deg)
}
.icon-resize-horiz::before {
-webkit-transform:translate(-90%,-50%) rotate(-45deg);
-ms-transform:translate(-90%,-50%) rotate(-45deg);
transform:translate(-90%,-50%) rotate(-45deg)
}
.icon-resize-horiz::after {
-webkit-transform:translate(-10%,-50%) rotate(135deg);
-ms-transform:translate(-10%,-50%) rotate(135deg);
transform:translate(-10%,-50%) rotate(135deg)
}
.icon-more-horiz::before,
.icon-more-vert::before {
background:currentColor;
border-radius:50%;
box-shadow:-.4em 0,.4em 0;
content:"";
height:.3rem;
width:.3rem
}
.icon-more-vert::before {
box-shadow:0 -.4em,0 .4em
}
.icon-cross::before,
.icon-minus::before,
.icon-plus::before {
background:currentColor;
content:"";
height:.2rem;
width:100%
}
.icon-cross::after,
.icon-plus::after {
background:currentColor;
content:"";
height:100%;
width:.2rem
}
.icon-cross::before {
width:100%
}
.icon-cross::after {
height:100%
}
.icon-cross::after,
.icon-cross::before {
-webkit-transform:translate(-50%,-50%) rotate(45deg);
-ms-transform:translate(-50%,-50%) rotate(45deg);
transform:translate(-50%,-50%) rotate(45deg)
}
.icon-check::before {
border:.2rem solid currentColor;
border-right:0;
border-top:0;
content:"";
height:.5em;
-webkit-transform:translate(-50%,-75%) rotate(-45deg);
-ms-transform:translate(-50%,-75%) rotate(-45deg);
transform:translate(-50%,-75%) rotate(-45deg);
width:.9em
}
.icon-stop {
border:.2rem solid currentColor;
border-radius:50%
}
.icon-stop::before {
background:currentColor;
content:"";
height:.2rem;
-webkit-transform:translate(-50%,-50%) rotate(45deg);
-ms-transform:translate(-50%,-50%) rotate(45deg);
transform:translate(-50%,-50%) rotate(45deg);
width:1em
}
.icon-shutdown {
border:.2rem solid currentColor;
border-radius:50%;
border-top-color:transparent
}
.icon-shutdown::before {
background:currentColor;
content:"";
height:.5em;
top:.1em;
width:.2rem
}
.icon-refresh::before {
border:.2rem solid currentColor;
border-radius:50%;
border-right-color:transparent;
content:"";
height:1em;
width:1em
}
.icon-refresh::after {
border:.2em solid currentColor;
border-left-color:transparent;
border-top-color:transparent;
content:"";
height:0;
left:80%;
top:20%;
width:0
}
.icon-search::before {
border:.2rem solid currentColor;
border-radius:50%;
content:"";
height:.75em;
left:5%;
top:5%;
-webkit-transform:translate(0,0) rotate(45deg);
-ms-transform:translate(0,0) rotate(45deg);
transform:translate(0,0) rotate(45deg);
width:.75em
}
.icon-search::after {
background:currentColor;
content:"";
height:.2rem;
left:80%;
top:80%;
-webkit-transform:translate(-50%,-50%) rotate(45deg);
-ms-transform:translate(-50%,-50%) rotate(45deg);
transform:translate(-50%,-50%) rotate(45deg);
width:.4em
}
.icon-edit::before {
border:.2rem solid currentColor;
content:"";
height:.4em;
-webkit-transform:translate(-40%,-60%) rotate(-45deg);
-ms-transform:translate(-40%,-60%) rotate(-45deg);
transform:translate(-40%,-60%) rotate(-45deg);
width:.85em
}
.icon-edit::after {
border:.15em solid currentColor;
border-right-color:transparent;
border-top-color:transparent;
content:"";
height:0;
left:5%;
top:95%;
-webkit-transform:translate(0,-100%);
-ms-transform:translate(0,-100%);
transform:translate(0,-100%);
width:0
}
.icon-delete::before {
border:.2rem solid currentColor;
border-bottom-left-radius:.2rem;
border-bottom-right-radius:.2rem;
border-top:0;
content:"";
height:.75em;
top:60%;
width:.75em
}
.icon-delete::after {
background:currentColor;
box-shadow:-.25em .2em,.25em .2em;
content:"";
height:.2rem;
top:.1rem;
width:.5em
}
.icon-share {
border:.2rem solid currentColor;
border-radius:.2rem;
border-right:0;
border-top:0
}
.icon-share::before {
border:.2rem solid currentColor;
border-left:0;
border-top:0;
content:"";
height:.4em;
left:100%;
top:.25em;
-webkit-transform:translate(-125%,-50%) rotate(-45deg);
-ms-transform:translate(-125%,-50%) rotate(-45deg);
transform:translate(-125%,-50%) rotate(-45deg);
width:.4em
}
.icon-share::after {
border:.2rem solid currentColor;
border-bottom:0;
border-radius:75% 0;
border-right:0;
content:"";
height:.5em;
width:.6em
}
.icon-flag::before {
background:currentColor;
content:"";
height:1em;
left:15%;
width:.2rem
}
.icon-flag::after {
border:.2rem solid currentColor;
border-bottom-right-radius:.2rem;
border-left:0;
border-top-right-radius:.2rem;
content:"";
height:.65em;
left:60%;
top:35%;
width:.8em
}
.icon-bookmark::before {
border:.2rem solid currentColor;
border-bottom:0;
border-top-left-radius:.2rem;
border-top-right-radius:.2rem;
content:"";
height:.9em;
width:.8em
}
.icon-bookmark::after {
border:.2rem solid currentColor;
border-bottom:0;
border-left:0;
border-radius:.2rem;
content:"";
height:.5em;
-webkit-transform:translate(-50%,35%) rotate(-45deg) skew(15deg,15deg);
-ms-transform:translate(-50%,35%) rotate(-45deg) skew(15deg,15deg);
transform:translate(-50%,35%) rotate(-45deg) skew(15deg,15deg);
width:.5em
}
.icon-download,
.icon-upload {
border-bottom:.2rem solid currentColor
}
.icon-download::before,
.icon-upload::before {
border:.2rem solid currentColor;
border-bottom:0;
border-right:0;
content:"";
height:.5em;
-webkit-transform:translate(-50%,-60%) rotate(-135deg);
-ms-transform:translate(-50%,-60%) rotate(-135deg);
transform:translate(-50%,-60%) rotate(-135deg);
width:.5em
}
.icon-download::after,
.icon-upload::after {
background:currentColor;
content:"";
height:.6em;
top:40%;
width:.2rem
}
.icon-upload::before {
-webkit-transform:translate(-50%,-60%) rotate(45deg);
-ms-transform:translate(-50%,-60%) rotate(45deg);
transform:translate(-50%,-60%) rotate(45deg)
}
.icon-upload::after {
top:50%
}
.icon-time {
border:.2rem solid currentColor;
border-radius:50%
}
.icon-time::before {
background:currentColor;
content:"";
height:.4em;
-webkit-transform:translate(-50%,-75%);
-ms-transform:translate(-50%,-75%);
transform:translate(-50%,-75%);
width:.2rem
}
.icon-time::after {
background:currentColor;
content:"";
height:.3em;
-webkit-transform:translate(-50%,-75%) rotate(90deg);
-ms-transform:translate(-50%,-75%) rotate(90deg);
transform:translate(-50%,-75%) rotate(90deg);
-webkit-transform-origin:50% 90%;
-ms-transform-origin:50% 90%;
transform-origin:50% 90%;
width:.2rem
}
.icon-mail::before {
border:.2rem solid currentColor;
border-radius:.2rem;
content:"";
height:.8em;
width:1em
}
.icon-mail::after {
border:.2rem solid currentColor;
border-right:0;
border-top:0;
content:"";
height:.5em;
-webkit-transform:translate(-50%,-90%) rotate(-45deg) skew(10deg,10deg);
-ms-transform:translate(-50%,-90%) rotate(-45deg) skew(10deg,10deg);
transform:translate(-50%,-90%) rotate(-45deg) skew(10deg,10deg);
width:.5em
}
.icon-people::before {
border:.2rem solid currentColor;
border-radius:50%;
content:"";
height:.45em;
top:25%;
width:.45em
}
.icon-people::after {
border:.2rem solid currentColor;
border-radius:50% 50% 0 0;
content:"";
height:.4em;
top:75%;
width:.9em
}
.icon-message {
border:.2rem solid currentColor;
border-bottom:0;
border-radius:.2rem;
border-right:0
}
.icon-message::before {
border:.2rem solid currentColor;
border-bottom-right-radius:.2rem;
border-left:0;
border-top:0;
content:"";
height:.8em;
left:65%;
top:40%;
width:.7em
}
.icon-message::after {
background:currentColor;
border-radius:.2rem;
content:"";
height:.3em;
left:10%;
top:100%;
-webkit-transform:translate(0,-90%) rotate(45deg);
-ms-transform:translate(0,-90%) rotate(45deg);
transform:translate(0,-90%) rotate(45deg);
width:.2rem
}
.icon-photo {
border:.2rem solid currentColor;
border-radius:.2rem
}
.icon-photo::before {
border:.2rem solid currentColor;
border-radius:50%;
content:"";
height:.25em;
left:35%;
top:35%;
width:.25em
}
.icon-photo::after {
border:.2rem solid currentColor;
border-bottom:0;
border-left:0;
content:"";
height:.5em;
left:60%;
-webkit-transform:translate(-50%,25%) rotate(-45deg);
-ms-transform:translate(-50%,25%) rotate(-45deg);
transform:translate(-50%,25%) rotate(-45deg);
width:.5em
}
.icon-link::after,
.icon-link::before {
border:.2rem solid currentColor;
border-radius:5em 0 0 5em;
border-right:0;
content:"";
height:.5em;
width:.75em
}
.icon-link::before {
-webkit-transform:translate(-70%,-45%) rotate(-45deg);
-ms-transform:translate(-70%,-45%) rotate(-45deg);
transform:translate(-70%,-45%) rotate(-45deg)
}
.icon-link::after {
-webkit-transform:translate(-30%,-55%) rotate(135deg);
-ms-transform:translate(-30%,-55%) rotate(135deg);
transform:translate(-30%,-55%) rotate(135deg)
}
.icon-location::before {
border:.2rem solid currentColor;
border-radius:50% 50% 50% 0;
content:"";
height:.8em;
-webkit-transform:translate(-50%,-60%) rotate(-45deg);
-ms-transform:translate(-50%,-60%) rotate(-45deg);
transform:translate(-50%,-60%) rotate(-45deg);
width:.8em
}
.icon-location::after {
border:.2rem solid currentColor;
border-radius:50%;
content:"";
height:.2em;
-webkit-transform:translate(-50%,-80%);
-ms-transform:translate(-50%,-80%);
transform:translate(-50%,-80%);
width:.2em
}
.icon-emoji {
border:.2rem solid currentColor;
border-radius:50%
}
.icon-emoji::before {
border-radius:50%;
box-shadow:-.17em -.15em,.17em -.15em;
content:"";
height:.1em;
width:.1em
}
.icon-emoji::after {
border:.2rem solid currentColor;
border-bottom-color:transparent;
border-radius:50%;
border-right-color:transparent;
content:"";
height:.5em;
-webkit-transform:translate(-50%,-40%) rotate(-135deg);
-ms-transform:translate(-50%,-40%) rotate(-135deg);
transform:translate(-50%,-40%) rotate(-135deg);
width:.5em
}
.btn .icon,
.menu .icon,
.toast .icon {
vertical-align:-10%
}

2778
docs/spectre.min.css vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
null