diff options
Diffstat (limited to 'app/assets/stylesheets/stop_areas.css.scss')
| -rw-r--r-- | app/assets/stylesheets/stop_areas.css.scss | 119 | 
1 files changed, 119 insertions, 0 deletions
diff --git a/app/assets/stylesheets/stop_areas.css.scss b/app/assets/stylesheets/stop_areas.css.scss new file mode 100644 index 000000000..046066b9f --- /dev/null +++ b/app/assets/stylesheets/stop_areas.css.scss @@ -0,0 +1,119 @@ +// Place all the styles related to the lines controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ +@mixin div_for_object {  +    margin-bottom: 20px; + +    .color { +        width: 64px; +        height: 64px; +        float: left; +        margin-right: 10px; +    } + +    img { +        float: left; +        margin-right: 10px; +    } + +    img.preview { +        width: 90px; +        height: 70px; +    } + +    a {  +        display:block; +        text-decoration: underline; +        margin: 5px 0px 0px 0px; +    } + +    .info { +        font-size: 10px; +        color: #777; +        font-weight: normal; +        line-height: 14px; +        margin-top: 5px; + +        a { +            display:inline; +            color: #777; +        } + +        .line{ +            border: 1px solid #999;  +            padding: 2px; +        }                        + +        .actions { +            margin-top: 14px; +            a { +                color: #666; +                padding-left: 12px; +            } + +            a.edit { +                background: url(image-path('user_interface/ui/edit-small.png')) no-repeat 0% 50%; +            } +            a.remove { +                background: url(image-path('user_interface/ui/remove-small.png')) no-repeat 0% 50%; +            } +        } + +        p { +            margin:0; +        } +    } +} + +@mixin content_to_clear { +    content: " ";   +    display: block;  +    height: 0;  +    clear: both; +    visibility: hidden; +} + +@mixin after_div_for_object { +    @include content_to_clear; +} + +#workspace.stop_areas.index +{ +    .stop_area:after {  +        @include after_div_for_object;   +    } + +    .stop_areas { +        margin-top: 20px; +    } + +    .stop_areas:after { +        @include content_to_clear; +    } +     +    .stop_area { +        @include div_for_object; +        /* to create multi-column index */ +        width: 350px; +        float: left; +        padding-right: 10px; + +    } +} + + +#workspace .order { +    float: right; +    padding: 15px 0; +    font-size: 0.8em; +     +    a { text-decoration: underline; } +     +    a.current { +      font-weight: bold; +      text-decoration: none; +    } +} + + +  | 
