application.scss 2.47 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

Zac Wood's avatar
Zac Wood committed
23 24 25 26 27
#page {
    padding-top: 16px;
    padding-bottom: 16px;
}

28 29 30 31 32 33 34 35 36
.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
37

38
    .card-header {
Zac Wood's avatar
Zac Wood committed
39 40
	display: flex;
	flex-direction: column;
41
    }
Zac Wood's avatar
Zac Wood committed
42
}
Zac Wood's avatar
Zac Wood committed
43

Zac Wood's avatar
Zac Wood committed
44 45 46 47 48 49 50 51 52 53 54
.attr-list {
    display: flex;
    flex-direction: row;

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

58
.unpadded {
Zac Wood's avatar
Zac Wood committed
59
    padding: 0px;
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 90 91 92 93 94
/* 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);
}

95 96 97
.quick-add-header {
    margin-top: 32px;
}
Zac Wood's avatar
Zac Wood committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121

%flex-display {
    display: inline-flex;
}
.star-rating {
    @extend %flex-display;
    align-items: center;
    font-size: 1em;
    justify-content: flex-start;
}
.back-stars {
    @extend %flex-display;
    position: relative;
    text-shadow: 4px 4px 10px #843a3a;
}
.front-stars {
    @extend %flex-display;
    color: #FFBC0B;
    overflow: hidden;
    position: absolute;
    text-shadow: 2px 2px 5px #d29b09;
    top: 0;
}

122 123 124 125 126 127 128 129 130
.full-width {
  width: 90vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -45vw;
  margin-right: -45vw;
}

Zac Wood's avatar
Zac Wood committed
131 132 133
// .jumbotron {
//     color: #FFFFFF
// }