Browse code

Created repository.

DoubleBastionAdmin authored on 02/03/2022 00:26:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,115 @@
1
+// product vars
2
+@shirt-kellygreen: #249265;
3
+@shirt-black: #151010;
4
+@shirt-royalblue: #2A4DB3;
5
+@shirt-navy: #2E2737;
6
+@shirt-silver: #D4D2D3;
7
+@shirt-asphalt: #535059;
8
+
9
+.content-underlay {
10
+  margin-bottom: -180px;
11
+  border-bottom: 1px solid @jumbotron-border;
12
+  padding-bottom: 100px;
13
+  background-color: lighten(@jumbotron-bg, 2%);
14
+}
15
+
16
+
17
+.product {
18
+  transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
19
+  transform: scale(0.99);
20
+  z-index: 2;
21
+  position: relative;
22
+  display: block;
23
+  margin-top: @buffer-xl;
24
+  color: @text-color;
25
+  text-decoration: none;
26
+  background-color: #fff;
27
+  border-radius: @border-radius-small;
28
+  padding: @buffer-lg;
29
+  .box-shadow(0 4px 2px 0 rgba(127,127,127,.2));
30
+
31
+  &:hover, &:focus {
32
+    transform: scale(1.0);
33
+    .box-shadow(0 4px 2px 0 rgba(127,127,127,.4));
34
+    text-decoration: none;
35
+    color: @text-color;
36
+
37
+    .product-sizes {
38
+      opacity: 0.75;
39
+    }
40
+  }
41
+  img { max-width: 100%; }
42
+  li {
43
+    padding: @buffer-sm;
44
+  }
45
+  li.active {
46
+    cursor: default;
47
+    text-decoration: none;
48
+  }
49
+
50
+  .swatch {
51
+    display: inline-block;
52
+    width: 30px;
53
+    height: 30px;
54
+
55
+    &.swatch-kellygreen {
56
+      background-color: @shirt-kellygreen;
57
+    }
58
+
59
+    &.swatch-black {
60
+      background-color: @shirt-black;
61
+    }
62
+
63
+    &.swatch-navy {
64
+      background-color: @shirt-navy;
65
+    }
66
+
67
+    &.swatch-silver {
68
+      background-color: @shirt-silver;
69
+    }
70
+
71
+    &.swatch-asphalt {
72
+      background-color: @shirt-asphalt;
73
+    }
74
+
75
+    &.swatch-royalblue {
76
+      background-color: @shirt-royalblue;
77
+    }
78
+  }
79
+}
80
+
81
+.product-sizes {
82
+  transition: opacity 0.25s ease-in-out;
83
+  position: absolute;
84
+  top: 6px;
85
+  right: 6px;
86
+  border-radius: @border-radius-base;
87
+  background-color: #fff;
88
+  font-size: 21px;
89
+  line-height: 21px;
90
+  padding: @buffer-sm @buffer-md;
91
+  color: @text-muted;
92
+  opacity: 0.25;
93
+}
94
+
95
+.product-title {
96
+  height: 52px;
97
+}
98
+
99
+// calls-to-action
100
+.product-cta {
101
+  display: block;
102
+  margin-top: @buffer-xl;
103
+  color: @text-color;
104
+  text-decoration: none;
105
+  border-radius: @border-radius-base;
106
+  padding: @buffer-lg;
107
+}
108
+
109
+.cta-content {
110
+  margin-bottom: @buffer-lg;
111
+}
112
+
113
+.cta-fine-print {
114
+  margin-top: @buffer-lg;
115
+}