Summary Files Commits Branches @commit @diff @stats
path: root / dist
diff options
context:
space:
mode:
1 files changed, 41 insertions, 0 deletions
-rw-r--r--dist/spectre.css41
diff --git a/dist/spectre.css b/dist/spectre.css
index 09bef9b..fbe0997 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -1195,6 +1195,47 @@ textarea.form-input {
.chip .chip-name {
margin-left: .4rem;
}
+.file-icon {
+ display: inline-block;
+ width: 3.2rem;
+ height: 4.4rem;
+ background-color: transparent;
+ position: relative;
+ border-width: 0 0 3.2rem 2rem;
+ border-style: solid;
+ border-color: #c5c5c5;
+ border-radius: .3rem;
+ font-size: 1rem;
+ text-align: left;
+}
+.file-icon::before {
+ position: absolute;
+ top: 0;
+ right: 0;
+ content: '';
+ background-color: transparent;
+ z-index: 2;
+ width: 1.2rem;
+ height: 1.2rem;
+ border: 0.6rem solid #dfdfdf;
+ border-right-color: transparent;
+ border-top-color: transparent;
+}
+.file-icon::after {
+ content: attr(data-type);
+ padding: .2rem;
+ position: absolute;
+ bottom: -3.2rem;
+ left: -2rem;
+ font-size: 1.2em;
+ font-weight: 300;
+ color: #fff;
+ text-transform: lowercase;
+ white-space: nowrap;
+ text-overflow: clip;
+ overflow: hidden;
+ z-index: 3;
+}
.label {
display: inline-block;
padding: .3rem .5rem;