Merge branch 'reflow'
[wolnelektury.git] / apps / wolnelektury_core / static / scss / book_text / numbering.scss
diff --git a/apps/wolnelektury_core/static/scss/book_text/numbering.scss b/apps/wolnelektury_core/static/scss/book_text/numbering.scss
deleted file mode 100644 (file)
index e31b494..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-@mixin hide-line-numbers {
-    float: left;
-    margin-left: -$W_NONUMBERS_TINY;
-
-    width: $W_NONUMBERS_TINY;
-    height: 100%;
-    padding: 0;
-    overflow: hidden;
-
-    color: white;
-    text-align: right;
-
-    &:hover, &:active {
-        color: #ccc;
-        background-color: #CCC;
-    }
-
-    &:before {
-        content: "#";
-        display: block;
-        float: left;
-        width: $W_NONUMBERS_TINY / 2 - 1px;
-        height: 100%;
-        overflow: hidden;
-        border-right: 1px solid #ccc;
-    }
-
-    @include min-screen($S_NONUMBERS_TINY_MAX) {
-        width: $W_NONUMBERS;
-        margin-left: -$W_NONUMBERS;
-
-        &:before {
-            width: $W_NONUMBERS / 2 - 1;
-        }
-    }
-}
-
-
-.anchor {
-    @include hide-line-numbers;
-
-    @include min-screen($S_NUMBERS) {
-        /* Show line numbers. */
-        font-size: .8em;
-        margin-left: -$W_NUMBERS;
-        width: $W_NUMBERS - 4px;
-        height: auto;
-        padding: 2px;
-        text-align: center;
-        color: #ccc;
-
-        &:before {
-            display: none;
-        }
-    }
-}
-
-@include min-screen($S_NUMBERS) {
-    .always-hide-line-numbers {
-        /* Cancel showing line numbers. */
-        .anchor {
-            @include hide-line-numbers;
-        }
-    }
-}