Skip to content

Commit

Permalink
chore: minor style changes; removed unnecessary playground.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBazukevich committed Oct 4, 2021
1 parent be80a4f commit b64a8e7
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion pages/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"include": [
"src"
]
}
}
2 changes: 1 addition & 1 deletion pages/views/_data/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ const env = process.argv.find(arg => arg.startsWith('--env='))?.split('=')[1];
module.exports = {
isDev: env === 'development',
version: process.env.npm_package_version
};
};
4 changes: 2 additions & 2 deletions pages/views/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ layout: basic
<h3 class="uip-demo__list-title">Samples</h3>
{% for sample in collections.samples %}
<li class="uip-demo__list-item">
<a class="link" href="{{ sample.url }}">{{ sample.data.title }}</a>
<a href="{{ sample.url }}">{{ sample.data.title }}</a>
</li>
{%- endfor %}
</ul>
Expand All @@ -15,7 +15,7 @@ layout: basic
<h3 class="uip-demo__list-title">Plugins</h3>
{% for plugin in collections.plugins %}
<li class="uip-demo__list-item">
<a class="link" href="{{ plugin.url }}">{{ plugin.data.title }}</a>
<a href="{{ plugin.url }}">{{ plugin.data.title }}</a>
</li>
{%- endfor %}
</ul>
2 changes: 1 addition & 1 deletion pages/views/plugins/editor.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ title: Editor

{% markdown %}
{% include 'src/plugins/editor/README.md' %}
{% endmarkdown %}
{% endmarkdown %}
2 changes: 1 addition & 1 deletion pages/views/plugins/options.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ title: Options

{% markdown %}
{% include 'src/plugins/options/README.md' %}
{% endmarkdown %}
{% endmarkdown %}
2 changes: 1 addition & 1 deletion pages/views/plugins/plugins.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"layout": "basic.njk",
"tags": "plugins"
}
}
2 changes: 1 addition & 1 deletion pages/views/plugins/settings.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ title: Settings

{% markdown %}
{% include 'src/plugins/settings/settings/README.md' %}
{% endmarkdown %}
{% endmarkdown %}
2 changes: 1 addition & 1 deletion pages/views/samples/samples.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"layout": "basic.njk",
"tags": "samples"
}
}
27 changes: 19 additions & 8 deletions pages/views/styles/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

a {
color: #e9e9e9;
color: #007bff;
text-decoration: none;

&:hover {
Expand Down Expand Up @@ -40,17 +40,31 @@ body {
}

.content {
width: 100%;
margin-right: auto;
margin-left: auto;
padding-right: 15px;
padding-left: 15px;

&__title {
margin: 10px auto;
font-weight: lighter;
text-align: center;
}

ul, ol {
list-style-position: inside;
}
}

.footer {
padding: 15px;
color: #fff;
background-color: #4e4e4e;

a {
color: #e9e9e9;
}
}

.uip-demo {
Expand All @@ -68,13 +82,10 @@ body {
&-item {
margin-bottom: 10px;
border-bottom: 1px solid #ebebeb;

a {
color: #353535;
}
}
}
}

.link {
display: block;
padding-bottom: 3px;
color: #353535;
text-decoration: none;
}
2 changes: 1 addition & 1 deletion pages/views/styles/samples/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

.validation-input:invalid {
border: 2px solid red;
}
}
2 changes: 1 addition & 1 deletion pages/views/styles/samples/image.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
width: 256px;
height: 256px;
}
}
}
2 changes: 1 addition & 1 deletion pages/views/styles/samples/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

.aqua-user {
background-color: aqua;
}
}
10 changes: 0 additions & 10 deletions src/playground.ts

This file was deleted.

0 comments on commit b64a8e7

Please sign in to comment.