Skip to content

Commit

Permalink
Merge pull request #83 from terraphim/commit_dist
Browse files Browse the repository at this point in the history
add dist folder
  • Loading branch information
AlexMikhalev authored May 1, 2024
2 parents bb3e0ee + b87622c commit 1898abf
Show file tree
Hide file tree
Showing 139 changed files with 5,362 additions and 0 deletions.
16 changes: 16 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/.jsbeautifyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"],
"brace_style": "collapse",
"end_with_newline": false,
"indent_char": " ",
"indent_handlebars": false,
"indent_inner_html": false,
"indent_scripts": "keep",
"indent_size": 2,
"max_preserve_newlines": 0,
"preserve_newlines": true,
"unformatted": ["img", "code", "pre", "sub", "sup", "em", "strong", "b", "i", "u", "strike", "big", "small", "pre", "h1", "h2", "h3", "h4", "h5", "h6"],
"wrap_line_length": 0
}
}
2 changes: 2 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
21 changes: 21 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 - Present Jenil Gogari

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Bulmaswatch
===========

Themes for [Bulma](http://bulma.io), inspired by [Bootswatch](http://bootswatch.com/).

Get started
-----
Read the instructions [here](https://jenil.github.io/bulmaswatch/help/).


Development
-----
Assuming you already have Node.js (v10), [Yarn](https://yarnpkg.com/) and [Bundler](https://bundler.io/)

```
yarn install # or npm install
bundler install
yarn start
```

Credits
-----
- @jgthms for [Bulma](http://bulma.io)
- @thomaspark for [Bootswatch](http://bootswatch.com/)

## Copyright and License

Copyright 2017 - Present [Jenil Gogari](https://jgog.in).

Code released under the MIT License.
1 change: 1 addition & 0 deletions terraphim_server/dist/assets/bulmaswatch/api/themes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"0.8.1","themes":[{"name":"Cerulean","description":"A calm blue sky","preview":"https://jenil.github.io/bulmaswatch/cerulean/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?cerulean","css":"https://unpkg.com/[email protected]/cerulean/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/cerulean/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/cerulean/_variables.scss"},{"name":"Cosmo","description":"An ode to Metro","preview":"https://jenil.github.io/bulmaswatch/cosmo/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?cosmo","css":"https://unpkg.com/[email protected]/cosmo/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/cosmo/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/cosmo/_variables.scss"},{"name":"Cyborg","description":"Jet black and electric blue","preview":"https://jenil.github.io/bulmaswatch/cyborg/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?cyborg","css":"https://unpkg.com/[email protected]/cyborg/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/cyborg/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/cyborg/_variables.scss"},{"name":"Darkly","description":"Flatly in night-mode","preview":"https://jenil.github.io/bulmaswatch/darkly/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?darkly","css":"https://unpkg.com/[email protected]/darkly/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/darkly/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/darkly/_variables.scss"},{"name":"Default","description":"Bulma as-is","preview":"https://jenil.github.io/bulmaswatch/default/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?default","css":"https://unpkg.com/[email protected]/default/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/default/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/default/_variables.scss"},{"name":"Flatly","description":"Flat and thick","preview":"https://jenil.github.io/bulmaswatch/flatly/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?flatly","css":"https://unpkg.com/[email protected]/flatly/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/flatly/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/flatly/_variables.scss"},{"name":"Journal","description":"Crisp like a new sheet of paper","preview":"https://jenil.github.io/bulmaswatch/journal/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?journal","css":"https://unpkg.com/[email protected]/journal/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/journal/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/journal/_variables.scss"},{"name":"Litera","description":"The medium is the message","preview":"https://jenil.github.io/bulmaswatch/litera/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?litera","css":"https://unpkg.com/[email protected]/litera/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/litera/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/litera/_variables.scss"},{"name":"Lumen","description":"Light and shadow","preview":"https://jenil.github.io/bulmaswatch/lumen/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?lumen","css":"https://unpkg.com/[email protected]/lumen/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/lumen/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/lumen/_variables.scss"},{"name":"Lux","description":"A touch of class","preview":"https://jenil.github.io/bulmaswatch/lux/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?lux","css":"https://unpkg.com/[email protected]/lux/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/lux/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/lux/_variables.scss"},{"name":"Materia","description":"Material is the metaphor","preview":"https://jenil.github.io/bulmaswatch/materia/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?materia","css":"https://unpkg.com/[email protected]/materia/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/materia/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/materia/_variables.scss"},{"name":"Minty","description":"A fresh feel","preview":"https://jenil.github.io/bulmaswatch/minty/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?minty","css":"https://unpkg.com/[email protected]/minty/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/minty/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/minty/_variables.scss"},{"name":"Nuclear","description":"A dark theme with irradiated highlights","preview":"https://jenil.github.io/bulmaswatch/nuclear/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?nuclear","css":"https://unpkg.com/[email protected]/nuclear/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/nuclear/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/nuclear/_variables.scss"},{"name":"Pulse","description":"A trace of purple","preview":"https://jenil.github.io/bulmaswatch/pulse/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?pulse","css":"https://unpkg.com/[email protected]/pulse/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/pulse/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/pulse/_variables.scss"},{"name":"Sandstone","description":"A touch of warmth","preview":"https://jenil.github.io/bulmaswatch/sandstone/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?sandstone","css":"https://unpkg.com/[email protected]/sandstone/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/sandstone/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/sandstone/_variables.scss"},{"name":"Simplex","description":"Mini and minimalist","preview":"https://jenil.github.io/bulmaswatch/simplex/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?simplex","css":"https://unpkg.com/[email protected]/simplex/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/simplex/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/simplex/_variables.scss"},{"name":"Slate","description":"Shades of gunmetal gray","preview":"https://jenil.github.io/bulmaswatch/slate/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?slate","css":"https://unpkg.com/[email protected]/slate/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/slate/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/slate/_variables.scss"},{"name":"Solar","description":"A spin on Solarized","preview":"https://jenil.github.io/bulmaswatch/solar/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?solar","css":"https://unpkg.com/[email protected]/solar/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/solar/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/solar/_variables.scss"},{"name":"Spacelab","description":"Silvery and sleek","preview":"https://jenil.github.io/bulmaswatch/spacelab/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?spacelab","css":"https://unpkg.com/[email protected]/spacelab/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/spacelab/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/spacelab/_variables.scss"},{"name":"Superhero","description":"The brave and the blue","preview":"https://jenil.github.io/bulmaswatch/superhero/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?superhero","css":"https://unpkg.com/[email protected]/superhero/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/superhero/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/superhero/_variables.scss"},{"name":"United","description":"Ubuntu orange and unique font","preview":"https://jenil.github.io/bulmaswatch/united/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?united","css":"https://unpkg.com/[email protected]/united/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/united/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/united/_variables.scss"},{"name":"Yeti","description":"A friendly foundation","preview":"https://jenil.github.io/bulmaswatch/yeti/","thumb":"https://jenil.github.io/bulmaswatch/thumb/?yeti","css":"https://unpkg.com/[email protected]/yeti/bulmaswatch.min.css","scss":"https://unpkg.com/[email protected]/yeti/bulmaswatch.scss","scssVariables":"https://unpkg.com/[email protected]/yeti/_variables.scss"}]}
32 changes: 32 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/bookmarklet.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
var request = new XMLHttpRequest();
request.open("GET", "https://jenil.github.io/bulmaswatch/api/themes.json", true);
request.onreadystatechange = function() {
var done = 4,
ok = 200;
if (request.readyState == done && request.status == ok) {
if (request.responseText) {
var BS = JSON.parse(request.responseText);
console.log('bulmaswatch', BS.version);
var themes = BS.themes;
var select = '<span class="select" id="theme-switcher"><select>';
select += '<option value="default" selected="">Select theme</option>';
for (var i = 0; i < themes.length; i++) {
select += '<option value="' + themes[i].css + '">' + themes[i].name + '</option>'
}
select += '</select></span>';
var temp = document.createElement('div');
temp.innerHTML = select;
document.body.appendChild(temp.firstChild);
document.querySelector('#theme-switcher').style = 'position:fixed;top:0;right:0;z-index:9900';
var l = document.createElement("link");
l.rel = "stylesheet";
l.href = "";
l.id = 'bulmaswatch-css';
document.body.appendChild(l);
document.querySelector('#theme-switcher select').addEventListener("change", function() {
l.href = this.value;
});
}
}
};
request.send(null);
178 changes: 178 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/cerulean/_overrides.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
// Overrides
@mixin btn-gradient($color) {
background-image: linear-gradient(
180deg,
lighten($color, 8%) 0%,
$color 60%,
darken($color, 4%) 100%
);
}

.button {
@each $name, $pair in $colors {
$color: nth($pair, 1);
$color-invert: nth($pair, 2);
&.is-#{$name} {
&:not(.is-outlined):not(.is-inverted) {
@include btn-gradient($color);
}
}
}
}

.button,
.control.has-icons-left .icon,
.control.has-icons-right .icon,
.input,
.pagination-ellipsis,
.pagination-link,
.pagination-next,
.pagination-previous,
.select,
.select select,
.textarea {
height: 2.375em;
}

.select,
.select select {
height: auto !important;
}

.input,
.textarea {
box-shadow: none;
}

.card {
box-shadow: 0 0 0 1px $border;
background-color: $white-bis;
.card-header {
box-shadow: none;
border-bottom: 1px solid $border;
}
}

.notification {
@each $name, $pair in $colors {
$color: nth($pair, 1);
$color-invert: nth($pair, 2);
$color-lightning: max((100% - lightness($color)) - 2%, 0%);
&.is-#{$name} {
background-color: lighten($color, $color-lightning);
color: $color;
border: 1px solid lighten($color, 30);
}
}
}

.navbar:not(.is-transparent) {
@include btn-gradient($primary);
.navbar-item,
.navbar-link {
color: $white;
&.has-dropdown:hover .navbar-link,
&:hover {
background-color: rgba(#000, 0.05);
}
&.is-active,
&:active {
background-color: rgba(#000, 0.1);
}
}
.navbar-burger:hover {
background-color: rgba(#000, 0.05);
}
.navbar-link::after {
border-color: $white;
}
@include mobile {
.navbar-menu {
background-color: $primary;
@include btn-gradient($primary);
}
}
@include desktop {
.navbar-dropdown .navbar-item {
color: $grey-dark;
}
}
.navbar-burger {
span {
background-color: $white;
}
}
@each $name, $pair in $colors {
$color: nth($pair, 1);
$color-invert: nth($pair, 2);
&.is-#{$name} {
@include btn-gradient($color);
@include mobile {
.navbar-menu {
background-color: $color;
@include btn-gradient($color);
}
.navbar-item,
.navbar-link {
color: $color-invert;
&.is-active,
&:hover {
background-color: darken($color, 2);
color: $color-invert;
}
&:after {
border-color: $color-invert;
}
}
}
.navbar-burger {
span {
background-color: $color-invert;
}
}
}
}
}

.hero {
.navbar:not(.is-transparent) {
@include btn-gradient($primary);
}
@each $name, $pair in $colors {
$color: nth($pair, 1);
$color-invert: nth($pair, 2);
&.is-#{$name} {
.navbar {
@include btn-gradient($color);
}
.navbar-item,
.navbar-link {
color: $color-invert;
&.is-active,
&:hover {
background-color: darken($color, 2);
color: $color-invert;
}
&:after {
border-color: $color-invert;
}
}
.navbar-burger {
span {
background-color: $color-invert;
}
}
@include touch {
.navbar-menu {
background-color: $color;
@include btn-gradient($color);
}
}
@include desktop {
.navbar-dropdown a.navbar-item:hover {
color: $color-invert;
}
}
}
}
}
31 changes: 31 additions & 0 deletions terraphim_server/dist/assets/bulmaswatch/cerulean/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
////////////////////////////////////////////////
// CERULEAN
////////////////////////////////////////////////
$orange: #dd5600;
$yellow: #dab424;
$green: #73a839;
$turquoise: #5bc0de;
$blue: #033c73;
$purple: #7e5ea3;
$red: #c71c22;
$grey: #dbdbdb;

$primary: #2fa4e7 !default;
$primary-dark: #317eac;
$warning: $orange;
$info: #d8dce0;

$info-invert: #333;
$orange-invert: #fff;
$warning-invert: $orange-invert;

$family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;

$title-color: $primary-dark;
$title-weight: 500;
$title-weight-bold: 700;

$subtitle-weight: 300;
$subtitle-strong-color: 500;

$box-shadow: 0 0 0 1px $grey;
Loading

0 comments on commit 1898abf

Please sign in to comment.