OSDN Git Service

css: fix text contrast problems
authorhylom <hylom@users.sourceforge.jp>
Wed, 24 Apr 2019 11:16:54 +0000 (20:16 +0900)
committerhylom <hylom@users.sourceforge.jp>
Wed, 24 Apr 2019 11:16:54 +0000 (20:16 +0900)
src/newslash_web/css/newslash/base.less
src/newslash_web/css/newslash/comment.less
src/newslash_web/css/newslash/content.less
src/newslash_web/css/newslash/form.less
src/newslash_web/css/newslash/modal.less
src/newslash_web/css/newslash/motd.less

index 9dd9b6d..1d0ae50 100644 (file)
@@ -19,8 +19,6 @@
 @color-weak: #695130;
 @color-weaker: #8A6D42;
 
-
-
 @background-color-stronger: #e5dac9;
 @background-color-strong: #e5dac9;
 @background-color-weak: #f0eae0;
 @mobile-horizontal-margin: 0;
 @mobile-vertical-margin: 8px;
 
+@modal-screen-color: #00000080;
+@form-element-hover-background: @background-color-weaker;
+@form-element-border-color: darkgray;
+@form-element-shadow-color: lightgray;
+
+
 @icon-font-path: "/fonts/";
 @icon-font-name: "glyphicons-halflings-regular";
 @icon-font-svg-id: "glyphicons_halflingsregular";
index abd4149..24811c7 100644 (file)
@@ -55,7 +55,7 @@
     }
 }
 
-@comment-property-text-color: #997a49;
+@comment-property-text-color: @color-weak;
 
 .comment-item {
     &:extend(.bordered-box);
             }
         }
         select, .btn { width: auto; }
-        .dropdown-menu li a:hover { background: #ccc; }
     }
 
 }
     .date {display: none};
     .cid {display: none};
     br { display: none;}
-    .body {color: gray;}
+    .body {color: @color-weaker; }
     footer { display: none; }
     h1[title-orig="no"] .subject {display: none;}
     h1[title-orig="no"]:before {content: "Re:";}
index bafb18b..6802f64 100644 (file)
@@ -8,7 +8,7 @@
     }
 
     a { text-decoration: underline; }
-    a:hover { color: #C33; }
+    a:hover { color: @anchor-color-hover; }
     ul {
        list-style-type: disc;
     }
@@ -16,7 +16,7 @@
     }
     div.quote,
     blockquote {
-       border-left: 3px solid #DDDDDD;
+       border-left: 3px solid @component-border-color;
        padding-left: 0.75em;
        margin-left: 0;
     }
index 94c9323..3c6bfd6 100644 (file)
@@ -1,9 +1,5 @@
 /* form related styles */
 
-@form-element-hover-background: @background-color-weaker;
-@form-element-border-color: darkgray;
-@form-element-shadow-color: lightgray;
-
 .text-form {
     padding: 4px;
     margin: 4px 0;
index 8def5b9..6e1c001 100644 (file)
@@ -12,7 +12,7 @@
         left: 0;
         right: 0;
         position: fixed;
-        background-color: #00000080;
+        background-color: @modal-screen-color;
         z-index: 1000;
     }
 }
index e9ace88..de1f33f 100644 (file)
@@ -5,7 +5,7 @@ section.motd {
     font-size: 130%;
     font-weight: bold;
     font-style: italic;
-    color: gray;
+    color: @color-weak;
     text-align: center;
 
     border-top: 1px solid @component-border-color;
@@ -18,4 +18,4 @@ section.motd {
         margin: 0;
     }
     p { display: inline; }
-}
\ No newline at end of file
+}