MobileBlur

Check-in [c5a2ec2308]
Login
Overview
SHA1:c5a2ec2308b7fd651efba50ba724159e4ef5e45d
Date: 2011-11-22 05:47:52
User: spiffy
Comment:Story list page is styled much more nicely
Timelines: family | ancestors | descendants | both | better-story-list | feature/pretty
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2011-11-22
06:01
[daef6c0f88] Added colors to the intelligencs scores in the feed list (user: spiffy, tags: feature/pretty)
05:47
[c5a2ec2308] Story list page is styled much more nicely (user: spiffy, tags: better-story-list, feature/pretty)
05:22
[b2d6f6e2e9] Added some color. It doesn't look very good, but it's at least not atrocious anymore. (user: spiffy, tags: feature/pretty)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified applications/mobileblur/static/css/base.css from [037cce1332] to [20785921ab].

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
...
513
514
515
516
517
518
519
520
521
522
523
524
525

526
527
528





529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552

553
554
555
556












}

fieldset { border: 1px solid #dedede; padding: 6px; }
legend { font-weight: bold; }

input:focus, textarea:focus { background: #fafafa; }

p {text-indent:30px;}

p, blockquote {    
    margin-bottom: 10px;
}

h1,h2,h3,h4,h5,h6 { line-height: 170%; }
h1 {font-size: 2.0em;}
h2 {font-size: 1.8em;}
h3 {font-size: 1.4em;}
h4 {font-size: 1.2em;}
h5 {font-size: 1.0em;}
h6 {font-size: 0.8em;}
................................................................................
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

body {
    margin: 0 2% 0 2%;
    background-color: #CC6600;
}

header {
    background-color: #cc0000;

    border-bottom: 1px solid black;
    color: white;
}






#story-list {
}

#story-list > .story > a {
    text-decoration: none;
    border-radius: 5px;
    font-size: 2em;
    font-weight: bold;
    background-color: #CC9933;
    padding: 0 6px 0 6px;
}

#story-list > .story > .read {
    color: #CC3333;
}
#story-list > .story > .unread {
    color: #CC0000;
/*    color: #A8A8EE;*/
}

#story-list > .story {
    background-color: white;
    padding: .25%;

    border: 1px solid black;
    border-radius: 5px;
    margin-top: .33%;
}



















<
<
<
<
<
<







 







<
<




>



>
>
>
>
>






|
|
|
|
|











<
|
>
|
<


>
>
>
>
>
>
>
>
>
>
>
>
326
327
328
329
330
331
332






333
334
335
336
337
338
339
...
507
508
509
510
511
512
513


514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548

549
550
551

552
553
554
555
556
557
558
559
560
561
562
563
564
565
}

fieldset { border: 1px solid #dedede; padding: 6px; }
legend { font-weight: bold; }

input:focus, textarea:focus { background: #fafafa; }







h1,h2,h3,h4,h5,h6 { line-height: 170%; }
h1 {font-size: 2.0em;}
h2 {font-size: 1.8em;}
h3 {font-size: 1.4em;}
h4 {font-size: 1.2em;}
h5 {font-size: 1.0em;}
h6 {font-size: 0.8em;}
................................................................................
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

body {


}

header {
    background-color: #cc0000;
    padding: 1%;
    border-bottom: 1px solid black;
    color: white;
}
header > h1 > a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#story-list {
}

#story-list > .story > a {
    text-decoration: none;
    font-weight: bold;
    margin-top: 0;
}
#story-list > .story > p {
    font-size: .75em;
}

#story-list > .story > .read {
    color: #CC3333;
}
#story-list > .story > .unread {
    color: #CC0000;
/*    color: #A8A8EE;*/
}

#story-list > .story {

    padding: .5%;
    padding-top: 0;
    border-top: 1px solid black;

    margin-top: .33%;
}

footer {
    background-color: #cc0000;
    padding: 1%;
    border-top: 1px solid black;
    color: white;
}
footer > a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

Modified applications/mobileblur/views/feeds/view.html from [a3c96a9b2b] to [4fc82f4915].

1
2
3
4
5
6
7
8
9
10
11
{{extend 'layout.html'}}

{{ block header_bonus }}
    <h2>{{= feed["feed_title"] }}</h2>
    <a href="{{= URL("mark_read", args=[feed["id"]]) }}" class="button">Mark feed as read</a>
{{ end }}

<section id="story-list">
{{
import time 
s = time.time()



|







1
2
3
4
5
6
7
8
9
10
11
{{extend 'layout.html'}}

{{ block header_bonus }}
    <h2 style="float: left">{{= feed["feed_title"] }}</h2>
    <a href="{{= URL("mark_read", args=[feed["id"]]) }}" class="button">Mark feed as read</a>
{{ end }}

<section id="story-list">
{{
import time 
s = time.time()