-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
…elect interactions
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import {Controller} from "@hotwired/stimulus"; | ||
|
||
export default class extends Controller { | ||
connect() { | ||
console.log('gggggggggggggggggggggggggg') | ||
|
||
} | ||
|
||
hideImage() { | ||
console.log('click ?') | ||
this.element.querySelector('.image-card').classList.add('d-none') | ||
} | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {Controller} from "@hotwired/stimulus"; | ||
import {Modal} from "bootstrap"; | ||
|
||
export default class extends Controller { | ||
openModal(event) { | ||
event.preventDefault() | ||
|
||
const modal = new Modal(this.element.dataset.target) | ||
modal.show() | ||
} | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
@import "partials/list"; | ||
@import "partials/login"; | ||
@import "partials/header"; | ||
@import "partials/table"; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.admin-table.table { | ||
@for $i from 1 through 3 { | ||
.column-button-#{$i} { | ||
min-width: $i * 130px; | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
require("./icons.js"); | ||
// Exports the "default" icons for usage with module loaders | ||
// Usage: | ||
// CommonJS: | ||
// require('tinymce/icons/default') | ||
// ES2015: | ||
// import 'tinymce/icons/default' | ||
require('./icons.js'); |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,66 @@ | ||
body{background-color:#222f3e;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border:solid #6d737b;border-width:1px 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} | ||
body { | ||
background-color: #222f3e; | ||
color: #fff; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
line-height: 1.4; | ||
margin: 1rem; | ||
} | ||
a { | ||
color: #4099ff; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
} | ||
/* Apply a default padding if legacy cellpadding attribute is missing */ | ||
table:not([cellpadding]) th, | ||
table:not([cellpadding]) td { | ||
padding: 0.4rem; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-width"]) th, | ||
table[border]:not([border="0"]):not([style*="border-width"]) td { | ||
border-width: 1px; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-style"]) th, | ||
table[border]:not([border="0"]):not([style*="border-style"]) td { | ||
border-style: solid; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-color"]) th, | ||
table[border]:not([border="0"]):not([style*="border-color"]) td { | ||
border-color: #6d737b; | ||
} | ||
figure { | ||
display: table; | ||
margin: 1rem auto; | ||
} | ||
figure figcaption { | ||
color: #8a8f97; | ||
display: block; | ||
margin-top: 0.25rem; | ||
text-align: center; | ||
} | ||
hr { | ||
border-color: #6d737b; | ||
border-style: solid; | ||
border-width: 1px 0 0 0; | ||
} | ||
code { | ||
background-color: #6d737b; | ||
border-radius: 3px; | ||
padding: 0.1rem 0.2rem; | ||
} | ||
.mce-content-body:not([dir=rtl]) blockquote { | ||
border-left: 2px solid #6d737b; | ||
margin-left: 1.5rem; | ||
padding-left: 1rem; | ||
} | ||
.mce-content-body[dir=rtl] blockquote { | ||
border-right: 2px solid #6d737b; | ||
margin-right: 1.5rem; | ||
padding-right: 1rem; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,61 @@ | ||
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border:solid #ccc;border-width:1px 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} | ||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
line-height: 1.4; | ||
margin: 1rem; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
} | ||
/* Apply a default padding if legacy cellpadding attribute is missing */ | ||
table:not([cellpadding]) th, | ||
table:not([cellpadding]) td { | ||
padding: 0.4rem; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-width"]) th, | ||
table[border]:not([border="0"]):not([style*="border-width"]) td { | ||
border-width: 1px; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-style"]) th, | ||
table[border]:not([border="0"]):not([style*="border-style"]) td { | ||
border-style: solid; | ||
} | ||
/* Set default table styles if a table has a positive border attribute | ||
and no inline css */ | ||
table[border]:not([border="0"]):not([style*="border-color"]) th, | ||
table[border]:not([border="0"]):not([style*="border-color"]) td { | ||
border-color: #ccc; | ||
} | ||
figure { | ||
display: table; | ||
margin: 1rem auto; | ||
} | ||
figure figcaption { | ||
color: #999; | ||
display: block; | ||
margin-top: 0.25rem; | ||
text-align: center; | ||
} | ||
hr { | ||
border-color: #ccc; | ||
border-style: solid; | ||
border-width: 1px 0 0 0; | ||
} | ||
code { | ||
background-color: #e8e8e8; | ||
border-radius: 3px; | ||
padding: 0.1rem 0.2rem; | ||
} | ||
.mce-content-body:not([dir=rtl]) blockquote { | ||
border-left: 2px solid #ccc; | ||
margin-left: 1.5rem; | ||
padding-left: 1rem; | ||
} | ||
.mce-content-body[dir=rtl] blockquote { | ||
border-right: 2px solid #ccc; | ||
margin-right: 1.5rem; | ||
padding-right: 1rem; | ||
} |