application.scss 1.82 KB
Newer Older
Zac Wood's avatar
Zac Wood committed
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
Zac Wood's avatar
Zac Wood committed
13 14 15
 * require_tree .
 *= require cart
 *= require navbar
Zac Wood's avatar
Zac Wood committed
16 17
 *= require_self
 */
Zac Wood's avatar
Zac Wood committed
18

19 20 21
body {
    background-color: #E4E4E4;
}
Zac Wood's avatar
Zac Wood committed
22

23 24 25 26 27 28 29 30 31
.card {
    margin-bottom: 12px;

    background-color: white;

    border-radius: 8px;
    
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    transition: 0.3s;
Zac Wood's avatar
Zac Wood committed
32

33
    .card-header {
Zac Wood's avatar
Zac Wood committed
34 35
	display: flex;
	flex-direction: column;
36
    }
Zac Wood's avatar
Zac Wood committed
37
}
Zac Wood's avatar
Zac Wood committed
38

Zac Wood's avatar
Zac Wood committed
39 40 41 42 43 44 45 46 47 48 49
.attr-list {
    display: flex;
    flex-direction: row;

    .attr {
	.icon {
	    padding-right: 4px;
	}
	align-items: center;
	display: inline-flex;
	white-space: nowrap;
50
    }
Zac Wood's avatar
Zac Wood committed
51
} 
52

53
.unpadded {
Zac Wood's avatar
Zac Wood committed
54
    padding: 0px;
55 56
}

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.align-vertical {
    display: flex;
    align-items: center;
}

.align-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.form-control:focus {
    border-color: transparent;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.075) inset, 0px 0px 0px rgba(0, 0, 255, 0.5);
}

90 91 92
.quick-add-header {
    margin-top: 32px;
}