Add UI/models to allow uploading images

This commit is contained in:
Andrew Miner
2015-06-05 22:47:40 -07:00
parent 94cd133748
commit dd760018df
12 changed files with 361 additions and 10 deletions
+2
View File
@@ -19,6 +19,8 @@ All rights reserved.
@import 'item_selector';
@import 'item_selector_element';
@import 'login_page';
@import 'markdown_image';
@import 'markdown_image_list';
@import 'markdown_section';
@import 'minimal_recipe';
@import 'mod';
+32
View File
@@ -0,0 +1,32 @@
/*
Crafting Guide - markdown_image.scss
Copyright (C) 2015 by Redwood Labs
All rights reserved.
*/
.view__markdown_image {
position: relative; min-width: 33em;
display: inline-block;
margin-right: 2em;
vertical-align: top;
img {
position: absolute; height: 10em; width: 10em;
}
.fileName {
height: 3em;
margin: 1em 0 6em 11em;
p {
font-weight: bold;
}
}
button {
position: absolute; left: 7.33em; bottom: 0.66em;
}
}
@@ -0,0 +1,18 @@
/*
Crafting Guide - markdown_image_list.scss
Copyright (C) 2015 by Redwood Labs
All rights reserved.
*/
.view__markdown_image_list {
position: relative; min-width: 33em; width: 100%;
border-bottom: 0.1em solid $color-gray-medium;
margin: 2em 0;
padding: 0 0 2em 0;
h3 {
margin-bottom: 1em;
}
}