Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/checklist.scss')
-rw-r--r--assets/sass/checklist.scss70
1 files changed, 70 insertions, 0 deletions
diff --git a/assets/sass/checklist.scss b/assets/sass/checklist.scss
new file mode 100644
index 0000000..a2eb688
--- /dev/null
+++ b/assets/sass/checklist.scss
@@ -0,0 +1,70 @@
+body {
+ article section.page div.content {
+ div.checklist-header {
+ .form-control-file {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ min-height: 6em;
+ outline: none;
+ visibility: hidden;
+ cursor: pointer;
+ background-color: #c61c23;
+ box-shadow: 0 0 5px solid currentColor;
+
+ &:before {
+ content: attr(data-title);
+ position: absolute;
+ top: 0.5em;
+ left: 0;
+ width: 100%;
+ min-height: 4em;
+ line-height: 0.5em;
+ padding-top: 1.5em;
+ opacity: 1;
+ visibility: visible;
+ text-align: center;
+ border: 0.25em dashed currentColor;
+ transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
+ overflow: hidden;
+ }
+
+ &:hover {
+ &:before {
+ border-style: solid;
+ box-shadow: inset 0px 0px 0px 0.25em currentColor;
+ }
+ }
+ }
+ }
+
+
+
+ div.checklist-footer {
+ margin-top: 2em;
+ margin-bottom: 2em;
+ text-align: center;
+ }
+ }
+
+
+
+ #TableOfContents > ul li {
+ input {
+ margin-right: 0.3em;
+ }
+
+ &:not(.cl-ready):not(.cl-done):not(.cl-doing) {
+ input{
+ visibility: hidden;
+ }
+ }
+
+ &.cl-ready,&.cl-doing,&.cl-done {
+ input {
+ visibility: visible;
+ }
+ }
+ }
+
+} \ No newline at end of file