application.scss 2.32 KB
Newer Older
Zac Wood's avatar
Zac Wood committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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.
 *
 *= require_tree .
 *= require_self
 */
Zac Wood's avatar
Zac Wood committed
16

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

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

    background-color: white;

    border-radius: 8px;
    
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    transition: 0.3s;
30
31
32
33
34
35
36
    
    .card-header {
      display: flex;
      flex-direction: column;
    }
    
    .card-body {
37
38
39
40
41
42
43
44
45
46
      .attr-list {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-bottom: 10px;
        
        .attr {
          margin-right: 13px;
        }
      } 
47
    }
48
49
}

50
51
52
53
.unpadded {
  padding: 0px;
}

54
55
56
57
58
59
60
61
62
63
64
65
66
67
/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.list-group-item:hover {
    transition: 0.15s;
    background-color: lightgray;
}

.list-group-item.selected {
    background-color: lightgreen;
}

68
69
70
71
72
.list-group-item.selected:hover {
    transition: 0.15s;
    background-color: red;
}

73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.schedule-section-card:hover {
    transition: 0.15s;
    background-color: red;
}

.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;
}

#navbar {
    margin-top: 8px;
    margin-bottom: 48px;
}

#logo {
    font-size: 24pt;
    color: black;
}

.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);
}

#cart {
    display: none;
}

.card .small {
    margin-bottom: 16px;
    padding: 12px;
}