chore rename core.css to tildefriends.css, remove license from tildefriends.css

This commit is contained in:
Tasia Iso 2024-02-22 16:11:49 +01:00
parent 53f9547cc5
commit df82cfe66b
6 changed files with 10 additions and 33 deletions

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<base target="_top"> <base target="_top">
<link rel="stylesheet" href="core.css"/> <link rel="stylesheet" href="tildefriends.css"/>
</head> </head>
<body> <body>
<tf-collections-app></tf-collections-app> <tf-collections-app></tf-collections-app>

View File

@ -65,7 +65,7 @@ class TfCollectionElement extends LitElement {
render() { render() {
let self = this; let self = this;
return html` return html`
<link rel="stylesheet" href="core.css"/> <link rel="stylesheet" href="tildefriends.css"/>
<span class="inline-flex-row"> <span class="inline-flex-row">
<select class="button" @change=${this.on_selected} id="select" value=${this.selected_id}> <select class="button" @change=${this.on_selected} id="select" value=${this.selected_id}>
<option value="" ?selected=${this.selected_id === ''} disabled hidden>(select)</option> <option value="" ?selected=${this.selected_id === ''} disabled hidden>(select)</option>

View File

@ -26,7 +26,7 @@ class TfIdentityPickerElement extends LitElement {
render() { render() {
return html` return html`
<link rel="stylesheet" href="core.css"/> <link rel="stylesheet" href="tildefriends.css"/>
<select @change=${this.changed} class="button" style="max-width: 100%"> <select @change=${this.changed} class="button" style="max-width: 100%">
${(this.ids ?? []).map(id => html`<option ?selected=${id == this.selected} value=${id}>${id}</option>`)} ${(this.ids ?? []).map(id => html`<option ?selected=${id == this.selected} value=${id}>${id}</option>`)}
</select> </select>

View File

@ -240,7 +240,7 @@ class TfCollectionsAppElement extends LitElement {
render() { render() {
let self = this; let self = this;
return html` return html`
<link rel="stylesheet" href="core.css"/> <link rel="stylesheet" href="tildefriends.css"/>
<style> <style>
.toc { .toc {
white-space: nowrap; white-space: nowrap;

View File

@ -233,7 +233,7 @@ class TfWikiDocElement extends LitElement {
let self = this; let self = this;
let thumbnail_ref = this.thumbnail(this.blob); let thumbnail_ref = this.thumbnail(this.blob);
return html` return html`
<link rel="stylesheet" href="core.css"/> <link rel="stylesheet" href="tildefriends.css"/>
<style> <style>
a:link { color: #268bd2 } a:link { color: #268bd2 }
a:visited { color: #6c71c4 } a:visited { color: #6c71c4 }

View File

@ -1,15 +1,14 @@
/* /*
* Tilde Friends core stylesheet * Tilde Friends core stylesheet
* This is a prototype; things may change based on feedback. * This is a prototype; things may change based on feedback.
* *
* This Software is an external library that is part of * This Software is an external library that is part of
* Tilde Friends and is shared under the MIT license. * Tilde Friends and is shared under the MIT license.
* A copy of the license is available at the end of this file.
* *
* Inject this file in your app at core.css * Inject this file in your app at tildefriends.css
* and use this tag to import it: * and use this tag to import it:
* <link rel="stylesheet" href="core.css"/> * <link rel="stylesheet" href="tildefriends.css"/>
* *
* Revision 0 / 2024 M02 19 * Revision 0 / 2024 M02 19
*/ */
@ -101,25 +100,3 @@ tr:nth-child(even) {
display: inline-flex; display: inline-flex;
flex-direction: row; flex-direction: row;
} }
/*
Copyright 2024- Cory McWilliams & Tasia Iso
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.
*/