aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/routes.css.scss
blob: 8da042a7a9ee58add1a8c71638ae9929cf353f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Place all the styles related to the routes controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@import "common";

#workspace.lines.show
{
    .route:after { 
        @include after_div_for_object;  
    }

    .routes {
        margin-top: 20px;
    }

    .routes:after {
        @include content_to_clear;
    }
    
    .route {
        @include div_for_object;

        /* to create multi-column index */
        width: 350px;
        float: left;
        padding-right: 10px;

        .color {
            width: 64px;
            height: 64px;
            float: left;
            margin-right: 10px;
            border: 1px solid #999;

            a {
                text-decoration: none;                   
            }
        }

        .number {     
            font-size: 16px;
            text-align: center;
            font-weight: bold;
            padding-top: 21px;
        }   
    }
}

#workspace.routes.edit, #workspace.routes.new
{
    #route_color{ width: 100px;
                 color: white;
                 font-weight: bold;}
}

#workspace.routes.show
{
    .route_color{ color: white;
                 font-weight: bold;
                 padding: 0 5px 0 5px;}

    .summary p label {
        font-weight: bold;
    }
}