diff --git a/flightdeck/jetpack/media/css/UI.Base.css b/flightdeck/jetpack/media/css/UI.Base.css index e06c98ad..189ddb47 100644 --- a/flightdeck/jetpack/media/css/UI.Base.css +++ b/flightdeck/jetpack/media/css/UI.Base.css @@ -14,3 +14,4 @@ authors: @import url('UI.File_Listing.css'); @import url('UI.Forms.css'); @import url('UI.Modal.css'); +@import url('UI.Browser.css'); diff --git a/flightdeck/jetpack/media/css/UI.Browser.css b/flightdeck/jetpack/media/css/UI.Browser.css new file mode 100644 index 00000000..61c96fcc --- /dev/null +++ b/flightdeck/jetpack/media/css/UI.Browser.css @@ -0,0 +1,116 @@ +/* +--- +filename: UI.Browser.css +decription: Provides base layout for FlightDeck +license: MIT-style license. +authors: + - Oskar Krawczyk (http://nouincolor.com/) +... +*/ + +/* start TEMP */ +body { + background-image: none; +} + +#app-body { + margin-left: 0; +} + +/* end TEMP */ + +.UI_Browser { + margin: 20px 0 0 20px; +} + + .UI_Browser .UI_Item { + width: 300px; + min-height: 100px; + float: left; + padding: 0 0 20px 115px; + margin: 0 20px 20px 0; + border-bottom: solid 1px #E9EDF0; + background: url(../img/_temp-browse-icon.png) 0 0 no-repeat; + } + + .UI_Browser .UI_Item h3 { + margin: 0 0 0; + font-weight: bold; + font-size: 1.1em; + } + + .UI_Browser .UI_Item h4 { + font-size: .8em; + font-style: normal; + background: #A6AEB5; + color: #F8F8F8; + -moz-border-radius: 3px; + padding: 1px 3px; + margin: 4px 0 10px; + display: inline-block; + } + + .UI_Browser .UI_Item p { + font-size: .9em; + color: #999; + } + + .UI_Browser .UI_Actions { + margin: 15px 0 0; + } + + .UI_Browser .UI_Actions li { + background: #BEC5CC; + border-bottom: solid 1px #fff; + padding: 1px; + margin: 0 -1px 1px 0; + float: left; + position: relative; + } + + .UI_Browser .UI_Actions li a { + background: -moz-linear-gradient(270deg, #EBEFF2, #D4D9DF); + border-top: solid 1px #fff; + display: block; + padding: 7px 10px; + font-size: .9em; + text-shadow: 0 1px 0 #fff; + } + + /* Starting element */ + .UI_Browser .UI_Actions li:first-child { + -moz-border-radius: 6px; + -moz-border-radius-topright: 0; + -moz-border-radius-bottomright: 0; + } + + .UI_Browser .UI_Actions li:first-child a { + -moz-border-radius: 5px; + -moz-border-radius-topright: 0; + -moz-border-radius-bottomright: 0; + } + + /* Ending element */ + .UI_Browser .UI_Actions li:last-child { + -moz-border-radius: 6px; + -moz-border-radius-topleft: 0; + -moz-border-radius-bottomleft: 0; + } + + .UI_Browser .UI_Actions li:last-child a { + -moz-border-radius: 5px; + -moz-border-radius-topleft: 0; + -moz-border-radius-bottomleft: 0; + } + + .UI_Browser .UI_Actions li a:hover { + background: -moz-linear-gradient(270deg, #FBFBFB, #E6E8EB); + text-decoration: none; + } + + .UI_Browser .UI_Actions li a:active { + background: -moz-linear-gradient(270deg, #BEC5CC, #D9DDE0); + border-top: solid 1px transparent; + color: #6D7880; + } + \ No newline at end of file diff --git a/flightdeck/jetpack/media/css/UI.Reset.css b/flightdeck/jetpack/media/css/UI.Reset.css index a23c4de9..c0c74b58 100644 --- a/flightdeck/jetpack/media/css/UI.Reset.css +++ b/flightdeck/jetpack/media/css/UI.Reset.css @@ -35,7 +35,9 @@ textarea { .UI_Editor_Menu:after, .UI_Forms .UI_Field:after, .UI_Forms .UI_Choice:after, -.UI_Modal .UI_Modal_Actions:after { +.UI_Modal .UI_Modal_Actions:after, +.UI_Browser .UI_Actions:after, +.UI_Browser:after { content: ' '; display: block; height: 0; diff --git a/flightdeck/jetpack/media/img/_temp-browse-icon.png b/flightdeck/jetpack/media/img/_temp-browse-icon.png new file mode 100644 index 00000000..29c6ca85 Binary files /dev/null and b/flightdeck/jetpack/media/img/_temp-browse-icon.png differ diff --git a/flightdeck/jetpack/templates/_gallery_item_link.html b/flightdeck/jetpack/templates/_gallery_item_link.html index 3f13d75a..2e0ca2c0 100644 --- a/flightdeck/jetpack/templates/_gallery_item_link.html +++ b/flightdeck/jetpack/templates/_gallery_item_link.html @@ -1,2 +1,8 @@ -{{ item.name }} {{ item.base_version.status_name }} {{ item.base_version.last_update|date }} +

{{ item.name }}

+

{{ item.base_version.last_update|date }}

+

{{ item.base_version.status_name }}

+ \ No newline at end of file diff --git a/flightdeck/jetpack/templates/gallery.html b/flightdeck/jetpack/templates/gallery.html index 000c790b..353000b3 100644 --- a/flightdeck/jetpack/templates/gallery.html +++ b/flightdeck/jetpack/templates/gallery.html @@ -2,9 +2,12 @@ {% load jetpack_extras %} {% block app_body %} -