Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

SAKIII-5502:

- added a max-height to the list of 200px
- added overflow: auto
- tightened up the layout of the list to look better in a scrolling context
- tightened up the margin between the top of the widget and the list so that it doesn't look wack.
- removed the extranious padding at the bottom of the list items that was causing scrollbars even when they were not needed.
  • Loading branch information...
commit ebc19eafe8f219715006eade1da5bbd5eca0956e 1 parent 27cbbe4
Eli Cochran authored April 19, 2012

Showing 1 changed file with 27 additions and 3 deletions. Show diff stats Hide diff stats

  1. 30  devwidgets/mysakai2/css/mysakai2.css
30  devwidgets/mysakai2/css/mysakai2.css
@@ -17,13 +17,37 @@
17 17
  */
18 18
 .sites_error{font-size:.95em;padding:10px 20px!important;}
19 19
 .mysakai2 .fl-widget-titlebar .widget_title_icon{background:url(/devwidgets/mysakai2/images/mysakai2_headericon.png) left top no-repeat; width:18px; height:18px;}
20  
-.mysakai2_widget .fl-widget-content ul li{list-style-type:none;padding:5px 0px 0px 40px;margin:0;border-bottom:1px solid #CCC;background:url(/devwidgets/mysakai2/images/s2icon.png) no-repeat scroll 15px 7px transparent;}
21  
-.mysakai2_items_list{margin:-15px 0 0;}
  20
+.mysakai2_widget .fl-widget-content {
  21
+    max-height: 200px;
  22
+    overflow: auto;
  23
+    padding: 0;
  24
+}
  25
+.mysakai2_widget .fl-widget-content ul li {
  26
+    list-style-type:none;
  27
+    padding:10px 0px 0px 36px;
  28
+    margin:0;
  29
+    border-bottom:1px solid #CCC;
  30
+    background:url(/devwidgets/mysakai2/images/s2icon.png) no-repeat scroll 10px 10px transparent;
  31
+}
  32
+.mysakai2_items_list {
  33
+    margin: 0;
  34
+}
22 35
 #mysakai2_list{border-left:0px; border-right:0px;}
23  
-.mysakai2_widget .fl-widget-content ul li a{vertical-align:top;padding-bottom:20px;}
  36
+.mysakai2_widget .fl-widget-content ul li a {
  37
+    vertical-align: top;
  38
+    padding-bottom: 0;
  39
+}
24 40
 .mysakai2_site_title{padding-bottom:7px;display:block;}
25 41
 .mysakai2_show_files{background:url(/devwidgets/mysakai2/images/addicon.png) no-repeat left center transparent;padding-left:15px;}
26 42
 #mysakai2_messages{background:url(/devwidgets/mysakai2/images/messages.png) no-repeat left top transparent;padding-left:20px;color:#999;font-size:11px;padding-right:10px;}
27 43
 #mysakai2_forums{background:url(/devwidgets/mysakai2/images/forums.png) no-repeat left top transparent;padding-left:20px;color:#999;font-size:11px;}
28 44
 .s3d-widget-footer a { margin-left: 6px; }
29 45
 #mysakai2_no_results_container, #mysakai2_error_container {padding: 0 10px 10px;}
  46
+
  47
+/**
  48
+ * Overrides
  49
+ */
  50
+
  51
+.mysakai2 .s3d-contentpage-title {
  52
+    margin-bottom: 2px;
  53
+}

0 notes on commit ebc19ea

Please sign in to comment.
Something went wrong with that request. Please try again.