MDL-42711 theme port from LM: improve RSS client block styling
authorDavid Mudrák <david@moodle.com>
Wed, 13 Nov 2013 01:03:02 +0000 (02:03 +0100)
committerDavid Mudrák <david@moodle.com>
Wed, 13 Nov 2013 01:03:02 +0000 (02:03 +0100)
This significantly increases the readability of items in the block.

theme/bootstrapbase/less/moodle/blocks.less

index 537a353..943f99d 100644 (file)
     width: auto;
 }
 .block_rss_client {
-    .content li .link {
-        font-weight: inherit;
+    .content li {
+        margin-bottom: 10px;
+        padding: 5px;
+        border: 1px solid #ddd;
+        .border-radius(@baseBorderRadius);
+        .link {
+            font-weight: inherit;
+        }
     }
-    .list li {
-        border-top-color: darken(@wellBackground, 7%);
+    .list li:first-child {
+        border-top-width: 1px; // undo the style provided by the block's styles.css
     }
 }