Commit 236cbc7b445aa54865cfd8c10042d7954d7744c7
1 parent
c55955c063
Exists in
master
and in
1 other branch
update theme
Showing 4 changed files with 163 additions and 77 deletions Inline Diff
app/images/t-shirt_icon/tshirt1.gif
app/scripts/controllers/main.js
1 | define(['app'], function (app) { | 1 | define(['app'], function (app) { |
2 | 'use strict'; | 2 | 'use strict'; |
3 | app.controller('MainCtrl', function ($rootScope, $scope, $timeout, $illustration, $t_shirt, $routeParams) { | 3 | app.controller('MainCtrl', function ($rootScope, $scope, $timeout, $illustration, $t_shirt, $routeParams) { |
4 | //Define and init var | 4 | //Define and init var |
5 | $rootScope.API_URL = 'http://domain.com'; | 5 | $rootScope.API_URL = 'http://domain.com'; |
6 | $scope.designFrameView = 'views/tshirt-design.html?ver='+VERSION; | 6 | $scope.designFrameView = 'views/tshirt-design.html?ver='+VERSION; |
7 | $scope.designPartIllustration = 'views/design_part/illustration.html?ver='+VERSION; | 7 | $scope.designPartIllustration = 'views/design_part/illustration.html?ver='+VERSION; |
8 | $scope.designPartImage = 'views/design_part/image.html?ver='+VERSION; | 8 | $scope.designPartImage = 'views/design_part/image.html?ver='+VERSION; |
9 | $scope.designPartText = 'views/design_part/text.html?ver='+VERSION; | 9 | $scope.designPartText = 'views/design_part/text.html?ver='+VERSION; |
10 | $scope.designPartDefault = 'views/design_part/default.html?ver='+VERSION; | 10 | $scope.designPartDefault = 'views/design_part/default.html?ver='+VERSION; |
11 | var currentTShirtKey = 0; | 11 | var currentTShirtKey = 0; |
12 | var placeTShirtKey = ''; | 12 | var placeTShirtKey = ''; |
13 | var tShirtColorFirstKey = 0; | 13 | var tShirtColorFirstKey = 0; |
14 | $scope.hideReviewDesign = false; | ||
14 | $scope.tShirtChoiceBackFrontKey = 'front'; | 15 | $scope.tShirtChoiceBackFrontKey = 'front'; |
15 | $scope.tShirtColorKey = tShirtColorFirstKey; | 16 | $scope.tShirtColorKey = tShirtColorFirstKey; |
16 | 17 | ||
17 | /** | 18 | /** |
18 | * Get param route | 19 | * Get param route |
19 | * @type {any} | 20 | * @type {any} |
20 | * @private | 21 | * @private |
21 | */ | 22 | */ |
22 | var _routeParams = $routeParams; | 23 | var _routeParams = $routeParams; |
23 | if(typeof _routeParams.tShirt != 'undefined') | 24 | if(typeof _routeParams.tShirt != 'undefined') |
24 | currentTShirtKey = _routeParams.tShirt - 1; | 25 | currentTShirtKey = _routeParams.tShirt - 1; |
25 | if(typeof _routeParams.place != 'undefined') | 26 | if(typeof _routeParams.place != 'undefined') |
26 | placeTShirtKey = _routeParams.place; | 27 | placeTShirtKey = _routeParams.place; |
27 | 28 | ||
28 | /** | 29 | /** |
29 | * Get all info TShirt | 30 | * Get all info TShirt |
30 | * @param: id | 31 | * @param: id |
31 | * @return: object | 32 | * @return: object |
32 | */ | 33 | */ |
33 | $rootScope.placeTshirt = $t_shirt.getTShirtPlace(currentTShirtKey, placeTShirtKey); | 34 | $rootScope.placeTshirt = $t_shirt.getTShirtPlace(currentTShirtKey, placeTShirtKey); |
34 | $scope.tShirtColor = $t_shirt.getTShirtColor(currentTShirtKey); | 35 | $scope.tShirtColor = $t_shirt.getTShirtColor(currentTShirtKey); |
35 | $rootScope.tShirtColorCode = $scope.tShirtColor[tShirtColorFirstKey].code; | 36 | $rootScope.tShirtColorCode = $scope.tShirtColor[tShirtColorFirstKey].code; |
36 | $scope.tShirtColorName = $scope.tShirtColor[tShirtColorFirstKey].name; | 37 | $scope.tShirtColorName = $scope.tShirtColor[tShirtColorFirstKey].name; |
37 | $scope.tShirtImgFront = $scope.tShirtColor[tShirtColorFirstKey].img.front; | 38 | $scope.tShirtImgFront = $scope.tShirtColor[tShirtColorFirstKey].img.front; |
38 | $scope.tShirtImgBack = $scope.tShirtColor[tShirtColorFirstKey].img.back; | 39 | $scope.tShirtImgBack = $scope.tShirtColor[tShirtColorFirstKey].img.back; |
39 | $scope.tShirtImg = $scope.tShirtImgFront; | 40 | $scope.tShirtImg = $scope.tShirtImgFront; |
40 | 41 | ||
41 | /** | 42 | /** |
42 | * Set preview size and position | 43 | * Set preview size and position |
43 | */ | 44 | */ |
44 | function setSizePreViewDesign() { | 45 | function setSizePreViewDesign() { |
45 | var _widthTShirtImage = $('.tshirt-image').width(); | 46 | var _widthTShirtImage = $('.tshirt-image').width(); |
46 | if(typeof $rootScope.placeTshirt.place == 'undefined') | 47 | if(typeof $rootScope.placeTshirt.place == 'undefined') |
47 | return; | 48 | return; |
48 | 49 | ||
49 | var place = $rootScope.placeTshirt.place; | 50 | var place = $rootScope.placeTshirt.place; |
50 | switch (place) { | 51 | switch (place) { |
51 | case 't_shirt_p_1' : | 52 | case 't_shirt_p_1' : |
52 | var widthPreview = _widthTShirtImage/2.5; | 53 | var widthPreview = _widthTShirtImage/2.5; |
53 | var heihtPreview = _widthTShirtImage/2.5; | 54 | var heihtPreview = _widthTShirtImage/2.5; |
54 | break; | 55 | break; |
55 | case 't_shirt_p_2' : | 56 | case 't_shirt_p_2' : |
56 | var widthPreview = _widthTShirtImage/2.5; | 57 | var widthPreview = _widthTShirtImage/2.5; |
57 | var heihtPreview = _widthTShirtImage/4.5; | 58 | var heihtPreview = _widthTShirtImage/4.5; |
58 | break; | 59 | break; |
59 | default: | 60 | default: |
60 | break; | 61 | break; |
61 | } | 62 | } |
62 | $('#preview-design').css({width: widthPreview, height: heihtPreview}); | 63 | $('#preview-design').css({width: widthPreview, height: heihtPreview}); |
63 | } | 64 | } |
64 | setSizePreViewDesign(); | 65 | setSizePreViewDesign(); |
65 | $(window).resize(function () { | 66 | $(window).resize(function () { |
66 | setSizePreViewDesign(); | 67 | setSizePreViewDesign(); |
67 | }); | 68 | }); |
68 | /** | 69 | /** |
69 | * Choice color t-shirt | 70 | * Choice color t-shirt |
70 | * @param key | 71 | * @param key |
71 | */ | 72 | */ |
72 | $scope.choiceTShirtColor = function(key) { | 73 | $scope.choiceTShirtColor = function(key) { |
73 | $scope.tShirtColorKey = key; | 74 | $scope.tShirtColorKey = key; |
74 | var tShirtColor = $scope.tShirtColor[key]; | 75 | var tShirtColor = $scope.tShirtColor[key]; |
75 | $rootScope.tShirtColorCode = tShirtColor.code; | 76 | $rootScope.tShirtColorCode = tShirtColor.code; |
76 | $scope.tShirtColorName = tShirtColor.name; | 77 | $scope.tShirtColorName = tShirtColor.name; |
77 | $scope.tShirtImgFront = tShirtColor.img.front; | 78 | $scope.tShirtImgFront = tShirtColor.img.front; |
78 | $scope.tShirtImgBack = tShirtColor.img.back; | 79 | $scope.tShirtImgBack = tShirtColor.img.back; |
79 | if($scope.tShirtChoiceBackFrontKey == 'front') { | 80 | if($scope.tShirtChoiceBackFrontKey == 'front') { |
80 | $scope.tShirtImg = $scope.tShirtImgFront; | 81 | $scope.tShirtImg = $scope.tShirtImgFront; |
81 | } else { | 82 | } else { |
82 | $scope.tShirtImg = $scope.tShirtImgBack; | 83 | $scope.tShirtImg = $scope.tShirtImgBack; |
83 | } | 84 | } |
84 | }; | 85 | }; |
85 | /** | 86 | /** |
86 | * Choice back or front t-shirt | 87 | * Choice back or front t-shirt |
87 | * @param choice | 88 | * @param choice |
88 | */ | 89 | */ |
89 | $scope.choiceTShirtBackFront = function(choice) { | 90 | $scope.choiceTShirtBackFront = function(choice) { |
90 | if(choice == 'front') { | 91 | if(choice == 'front') { |
91 | $scope.tShirtImg = $scope.tShirtImgFront; | 92 | $scope.tShirtImg = $scope.tShirtImgFront; |
92 | } else { | 93 | } else { |
93 | $scope.tShirtImg = $scope.tShirtImgBack; | 94 | $scope.tShirtImg = $scope.tShirtImgBack; |
94 | } | 95 | } |
95 | $scope.tShirtChoiceBackFrontKey = choice; | 96 | $scope.tShirtChoiceBackFrontKey = choice; |
96 | }; | 97 | }; |
97 | 98 | ||
98 | //safeApply | 99 | //safeApply |
99 | $rootScope.safeApply = function(fn) { | 100 | $rootScope.safeApply = function(fn) { |
100 | var phase = this.$root.$$phase; | 101 | var phase = this.$root.$$phase; |
101 | if(phase == '$apply' || phase == '$digest') { | 102 | if(phase == '$apply' || phase == '$digest') { |
102 | if(fn && (typeof(fn) === 'function')) { | 103 | if(fn && (typeof(fn) === 'function')) { |
103 | fn(); | 104 | fn(); |
104 | } | 105 | } |
105 | } else { | 106 | } else { |
106 | this.$apply(fn); | 107 | this.$apply(fn); |
107 | } | 108 | } |
108 | }; | 109 | }; |
109 | /** | 110 | /** |
110 | * Open modal design | 111 | * Open modal design |
111 | */ | 112 | */ |
112 | $scope.modalTShirtDesign = function() { | 113 | $scope.modalTShirtDesign = function() { |
113 | $('#tshirt-design').modal( | 114 | $('#tshirt-design').modal( |
114 | { | 115 | { |
115 | backdrop: 'static', | 116 | backdrop: 'static', |
116 | keyboard: false | 117 | keyboard: false |
117 | } | 118 | } |
118 | ); | 119 | ); |
119 | 120 | ||
120 | }; | 121 | }; |
121 | /** | 122 | /** |
122 | * Close modal design | 123 | * Close modal design |
123 | */ | 124 | */ |
124 | $scope.modalClose = function(){ | 125 | $scope.modalClose = function(){ |
125 | $('#tshirt-design').modal('hide'); | 126 | $('#tshirt-design').modal('hide'); |
126 | }; | 127 | }; |
128 | /** | ||
129 | *Show/Hide review design | ||
130 | */ | ||
131 | $scope.hideShowReviewDesign = function () { | ||
132 | if($scope.hideReviewDesign == true) | ||
133 | $scope.hideReviewDesign = false; | ||
134 | else | ||
135 | $scope.hideReviewDesign = true; | ||
136 | } | ||
127 | 137 | ||
128 | 138 | ||
129 | }); | 139 | }); |
130 | }); | 140 | }); |
131 | 141 |
app/styles/main.css
1 | /* Space out content a bit */ | 1 | /* Space out content a bit */ |
2 | @import "../fonts/font.css"; | 2 | @import "../fonts/font.css"; |
3 | @import "../fonts/font_canvas/font-canvas.css"; | 3 | @import "../fonts/font_canvas/font-canvas.css"; |
4 | @import "placedesign.css"; | 4 | @import "placedesign.css"; |
5 | html{ | 5 | html{ |
6 | height:100%; | 6 | height:100%; |
7 | width:100%; | 7 | width:100%; |
8 | } | 8 | } |
9 | body { | 9 | body { |
10 | font-family: 'Hiragino Kaku Gothic Pro', sans-serif; | 10 | font-family: 'Hiragino Kaku Gothic Pro', sans-serif; |
11 | height:100%; | 11 | height:100%; |
12 | width:100%; | 12 | width:100%; |
13 | } | 13 | } |
14 | /*Scroll bar style*/ | 14 | /*Scroll bar style*/ |
15 | ::-webkit-scrollbar { | 15 | ::-webkit-scrollbar { |
16 | -webkit-appearance: none; | 16 | -webkit-appearance: none; |
17 | width: 7px; | 17 | width: 7px; |
18 | } | 18 | } |
19 | ::-webkit-scrollbar-track { | 19 | ::-webkit-scrollbar-track { |
20 | -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); | 20 | -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); |
21 | } | 21 | } |
22 | 22 | ||
23 | ::-webkit-scrollbar-thumb { | 23 | ::-webkit-scrollbar-thumb { |
24 | border-radius: 4px; | 24 | border-radius: 4px; |
25 | background-color: rgba(0,0,0,.5); | 25 | background-color: rgba(0,0,0,.5); |
26 | -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5); | 26 | -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5); |
27 | } | 27 | } |
28 | /*End scroll bar style*/ | 28 | /*End scroll bar style*/ |
29 | .padding-right-0{ | 29 | .padding-right-0{ |
30 | padding-right: 0!important; | 30 | padding-right: 0!important; |
31 | } | 31 | } |
32 | .padding-left-0{ | 32 | .padding-left-0{ |
33 | padding-left: 0!important; | 33 | padding-left: 0!important; |
34 | } | 34 | } |
35 | button.red{ | 35 | button.red{ |
36 | color: #ffffff; | 36 | color: #ffffff; |
37 | background-color: #ff0000; | 37 | background-color: #ff0000; |
38 | border: 1px solid #ff0000; | 38 | border: 1px solid #ff0000; |
39 | |||
40 | } | 39 | } |
40 | button.yellow1{ | ||
41 | background:url("../images/bgbutton1.png") repeat #ff801d; | ||
42 | color: #ffffff; | ||
43 | border: 1px solid #ff801d; | ||
44 | } | ||
45 | button.yellow2{ | ||
46 | background:url("../images/bgbutton2.png") repeat #ff801d; | ||
47 | color: #ffffff; | ||
48 | border: 1px solid #ff801d; | ||
49 | } | ||
41 | button.white{ | 50 | button.white{ |
42 | border: 1px solid #ff8080; | 51 | border: 1px solid #ff801d; |
43 | color: #ff8080; | 52 | color: #ff801d; |
44 | background-color: #ffffff; | 53 | background-color: #ffffff; |
45 | } | 54 | } |
46 | button.brown{ | 55 | button.brown{ |
47 | background-color: #666666; | 56 | background-color: #666666; |
48 | border: 1px solid #666666; | 57 | border: 1px solid #666666; |
49 | color: #ffffff; | 58 | color: #ffffff; |
50 | border-radius: 5px; | 59 | border-radius: 5px; |
51 | } | 60 | } |
52 | button.black{ | 61 | button.black{ |
53 | border: 1px solid #c9c9c9; | 62 | border: 1px solid #c9c9c9; |
54 | background-color: #343434; | 63 | background-color: #343434; |
55 | color: #ffffff; | 64 | color: #ffffff; |
56 | padding: 1px 6px; | 65 | padding: 1px 6px; |
57 | } | 66 | } |
67 | button.none{ | ||
68 | border: 0; | ||
69 | background-color: transparent; | ||
70 | } | ||
58 | #tshirt-container{ | 71 | #tshirt-container{ |
59 | border-left: 1px solid #dcdcdc; | 72 | border-left: 1px solid #dcdcdc; |
60 | border-right: 1px solid #dcdcdc; | 73 | border-right: 1px solid #dcdcdc; |
61 | } | 74 | } |
62 | /*HEADER*/ | 75 | /*HEADER*/ |
63 | header{ | 76 | header{ |
64 | border-bottom: 1px solid #dcdcdc; | 77 | border-bottom: 1px solid #dcdcdc; |
65 | } | 78 | } |
66 | header .logo{ | 79 | header .logo{ |
67 | padding-left: 0!important; | 80 | padding-left: 0!important; |
68 | } | 81 | } |
69 | header .logo img{ | 82 | header .logo img{ |
70 | height: 60px; | 83 | height: 60px; |
71 | } | 84 | } |
72 | header .social-share{ | 85 | header .social-share{ |
73 | list-style: none; | 86 | list-style: none; |
74 | background-color: #eeeeee; | 87 | background-color: #eeeeee; |
75 | display: table; | 88 | display: table; |
76 | padding-left: 0; | 89 | padding-left: 0; |
77 | margin-bottom: 0; | 90 | margin-bottom: 0; |
78 | } | 91 | } |
79 | header .social-share li{ | 92 | header .social-share li{ |
80 | float: left; | 93 | float: left; |
81 | margin: 15px 15px; | 94 | margin: 15px 15px; |
82 | background-color: #c5c5c5; | 95 | background-color: #c5c5c5; |
83 | width: 30px; | 96 | width: 30px; |
84 | height: 30px; | 97 | height: 30px; |
85 | -moz-border-radius: 15px; | 98 | -moz-border-radius: 15px; |
86 | -webkit-border-radius: 15px; | 99 | -webkit-border-radius: 15px; |
87 | border-radius: 15px; | 100 | border-radius: 15px; |
88 | text-align: center; | 101 | text-align: center; |
89 | padding: 6px 0; | 102 | padding: 6px 0; |
90 | } | 103 | } |
91 | header .social-share li i{ | 104 | header .social-share li i{ |
92 | font-size: 20px; | 105 | font-size: 20px; |
93 | color: #ffffff; | 106 | color: #ffffff; |
94 | } | 107 | } |
95 | header .top-menu{ | 108 | header .top-menu{ |
96 | list-style: none; | 109 | list-style: none; |
97 | padding-left: 0; | 110 | padding-left: 0; |
98 | margin-bottom: 5px; | 111 | margin-bottom: 5px; |
99 | } | 112 | } |
100 | header .top-menu li{ | 113 | header .top-menu li{ |
101 | float: left; | 114 | float: left; |
102 | padding: 6px 0; | 115 | padding: 6px 0; |
103 | 116 | ||
104 | } | 117 | } |
105 | header .top-menu li a{ | 118 | header .top-menu li a{ |
106 | color: #000000; | 119 | color: #000000; |
107 | padding: 0 10px; | 120 | padding: 0 10px; |
108 | border-right: 1px solid #000000; | 121 | border-right: 1px solid #000000; |
109 | font-size: 12px; | 122 | font-size: 12px; |
110 | } | 123 | } |
111 | header .top-menu li:last-child a{ | 124 | header .top-menu li:last-child a{ |
112 | border-right: 0; | 125 | border-right: 0; |
113 | } | 126 | } |
114 | header .top-control{ | 127 | header .top-control{ |
115 | list-style: none; | 128 | list-style: none; |
116 | padding-left: 0; | 129 | padding-left: 0; |
117 | margin-bottom: 0; | 130 | margin-bottom: 0; |
118 | } | 131 | } |
119 | header .top-control li{ | 132 | header .top-control li{ |
120 | float: left; | 133 | float: left; |
121 | margin: 0 10px; | 134 | margin: 0 10px; |
122 | } | 135 | } |
123 | header .top-control li .bt-yellow{ | 136 | header .top-control li .bt-yellow{ |
124 | background-color: #fe6a00; | 137 | background-color: #fe6a00; |
125 | color: #ffffff; | 138 | color: #ffffff; |
126 | padding: 3px 10px; | 139 | padding: 3px 10px; |
127 | font-size: 12px; | 140 | font-size: 12px; |
128 | } | 141 | } |
129 | header .user-control{ | 142 | header .user-control{ |
130 | background-color: #888888; | 143 | background-color: #888888; |
131 | text-align: center; | 144 | text-align: center; |
132 | } | 145 | } |
133 | header .user-control div{ | 146 | header .user-control div{ |
134 | font-size: 12px; | 147 | font-size: 12px; |
135 | color: #ffffff; | 148 | color: #ffffff; |
136 | } | 149 | } |
137 | header .user-control div:first-child{ | 150 | header .user-control div:first-child{ |
138 | padding: 10px 10px; | 151 | padding: 10px 10px; |
139 | } | 152 | } |
140 | header .user-control div:last-child{ | 153 | header .user-control div:last-child{ |
141 | background-color: #fe6a00; | 154 | background-color: #fe6a00; |
142 | padding: 3px 10px; | 155 | padding: 3px 10px; |
143 | } | 156 | } |
144 | /*NAVIGATION*/ | 157 | /*NAVIGATION*/ |
145 | nav{ | 158 | nav{ |
146 | border-bottom: 1px solid #dcdcdc; | 159 | border-bottom: 1px solid #dcdcdc; |
147 | padding: 5px 0; | 160 | padding: 5px 0; |
148 | } | 161 | } |
149 | nav h2{ | 162 | nav h2{ |
150 | font-size: 27px; | 163 | font-size: 27px; |
151 | margin: 20px 0; | 164 | margin: 20px 0; |
152 | 165 | ||
153 | } | 166 | } |
154 | nav ul{ | 167 | nav ul{ |
155 | list-style: none; | 168 | list-style: none; |
156 | padding-left: 0; | 169 | padding-left: 0; |
157 | margin-bottom: 0; | 170 | margin-bottom: 0; |
158 | 171 | ||
159 | } | 172 | } |
160 | nav ul li{ | 173 | nav ul li{ |
161 | float: left; | 174 | float: left; |
162 | } | 175 | } |
163 | nav ul li.line{ | 176 | nav ul li.line{ |
164 | border-bottom: 2px dashed #000000; | 177 | border-bottom: 2px dashed #000000; |
165 | width: 34px; | 178 | width: 34px; |
166 | height: 34px; | 179 | height: 34px; |
167 | } | 180 | } |
168 | nav ul li.line-action{ | 181 | nav ul li.line-action{ |
169 | border-bottom: 2px dashed #fe6a00; | 182 | border-bottom: 2px dashed #fe6a00; |
170 | } | 183 | } |
171 | nav ul li.circle{ | 184 | nav ul li.circle{ |
172 | width: 70px; | 185 | width: 70px; |
173 | height: 70px; | 186 | height: 70px; |
174 | -moz-border-radius: 35px; | 187 | -moz-border-radius: 35px; |
175 | -webkit-border-radius: 35px; | 188 | -webkit-border-radius: 35px; |
176 | border-radius: 35px; | 189 | border-radius: 35px; |
177 | text-align: center; | 190 | text-align: center; |
178 | font-size: 12px; | 191 | font-size: 12px; |
179 | /*margin-left: 26px;*/ | 192 | /*margin-left: 26px;*/ |
180 | 193 | ||
181 | background-color: #999999; | 194 | background-color: #999999; |
182 | position: relative; | 195 | position: relative; |
183 | display: inline; | 196 | display: inline; |
184 | cursor: pointer; | 197 | cursor: pointer; |
185 | } | 198 | } |
186 | 199 | ||
187 | nav ul li.circle a{ | 200 | nav ul li.circle a{ |
188 | color: #ffffff; | 201 | color: #ffffff; |
189 | position: absolute; | 202 | position: absolute; |
190 | top: 50%; | 203 | top: 50%; |
191 | left: 50%; | 204 | left: 50%; |
192 | transform: translateX(-50%) translateY(-50%); | 205 | transform: translateX(-50%) translateY(-50%); |
193 | -webkit-transform: translateX(-50%) translateY(-50%); | 206 | -webkit-transform: translateX(-50%) translateY(-50%); |
194 | } | 207 | } |
195 | nav ul li:hover a{ | 208 | nav ul li:hover a{ |
196 | text-decoration: none; | 209 | text-decoration: none; |
197 | color: #ffffff; | 210 | color: #ffffff; |
198 | } | 211 | } |
199 | nav ul li.action{ | 212 | nav ul li.action{ |
200 | background-color: #fe6a00; | 213 | background-color: #fe6a00; |
201 | } | 214 | } |
202 | /*ASIDE*/ | 215 | /*ASIDE*/ |
203 | aside{ | 216 | aside{ |
204 | margin: 10px 0; | 217 | margin: 10px 0; |
205 | } | 218 | } |
206 | aside .break-left{ | 219 | aside .break-left{ |
207 | position: absolute; | 220 | position: absolute; |
208 | left: 50%; | 221 | left: 50%; |
209 | top: 50%; | 222 | top: 50%; |
210 | transform: translateX(-50%) translateY(-50%); | 223 | transform: translateX(-50%) translateY(-50%); |
211 | -webkit-transform: translateX(-50%) translateY(-50%); | 224 | -webkit-transform: translateX(-50%) translateY(-50%); |
212 | } | 225 | } |
213 | aside .break-down{ | 226 | aside .break-down{ |
214 | padding: 0 0; | 227 | padding: 0 0; |
215 | } | 228 | } |
216 | aside .break-down i.fa{ | 229 | aside .break-down i.fa{ |
217 | font-size: 35px; | 230 | font-size: 35px; |
218 | color: #ff0000; | 231 | color: #ff0000; |
219 | } | 232 | } |
220 | aside .break-line{ | 233 | aside .break-line{ |
221 | height: 10px; | 234 | height: 10px; |
222 | } | 235 | } |
223 | aside .break-line hr{ | 236 | aside .break-line hr{ |
224 | border-top: 1px dotted #cccccc; | 237 | border-top: 1px dotted #cccccc; |
225 | } | 238 | } |
226 | aside .step{ | 239 | aside .step{ |
227 | margin: 0 0; | 240 | margin: 0 0; |
228 | } | 241 | } |
229 | aside .step .title{ | 242 | aside .step .title{ |
230 | font-size: 15px; | 243 | font-size: 15px; |
231 | line-height: 16px; | 244 | line-height: 16px; |
232 | font-weight: bold; | 245 | font-weight: bold; |
233 | margin-bottom: 3px; | 246 | margin-bottom: 3px; |
234 | } | 247 | } |
248 | aside .step .title span:first-child { | ||
249 | float: left; | ||
250 | width: 28% | ||
251 | } | ||
252 | aside .step .title span:last-child{ | ||
253 | float: left; | ||
254 | width: 72%; | ||
255 | padding: 6px 0; | ||
256 | } | ||
257 | |||
258 | aside .step .title span:last-child { | ||
259 | |||
260 | } | ||
235 | aside .step .title-notice{ | 261 | aside .step .title-notice{ |
236 | font-size: 13px; | 262 | font-size: 13px; |
237 | line-height: 16px; | 263 | line-height: 16px; |
238 | margin-bottom: 3px; | 264 | margin-bottom: 5px; |
239 | } | 265 | } |
240 | aside .step .title-notice .require{ | 266 | aside .step .title-notice .require{ |
241 | font-size: 10px; | 267 | font-size: 10px; |
242 | } | 268 | } |
243 | aside .step .step-box{ | 269 | aside .step .step-box{ |
244 | border: 2px solid #dcdcdc; | 270 | border: 2px solid #dcdcdc; |
245 | font-size: 12px; | 271 | font-size: 12px; |
246 | 272 | position: relative; | |
247 | } | 273 | } |
248 | /*Step 1*/ | 274 | /*Step 1*/ |
249 | aside .step .step-box .tshirt-design{ | 275 | aside .step .step-box .tshirt-design{ |
250 | /*border: 1px solid #cccccc;*/ | ||
251 | /*background-color: #f5f5f5;*/ | ||
252 | margin: 4px 4px; | 276 | margin: 4px 4px; |
253 | } | 277 | } |
254 | aside .step .step-box .tshirt-design:hover{ | 278 | aside .step .step-box .tshirt-design:hover{ |
255 | /*border: 1px solid #ff0000;*/ | 279 | /*border: 1px solid #ff0000;*/ |
256 | } | 280 | } |
257 | aside .step .step-box .tshirt-design button:hover{ | 281 | aside .step .step-box .tshirt-design button:hover{ |
258 | background-color: #fa7b7b; | 282 | background-color: #fa7b7b; |
259 | border: 1px solid #fa7b7b; | 283 | border: 1px solid #fa7b7b; |
260 | } | 284 | } |
261 | aside .step .step-box .tshirt-design div{ | 285 | aside .step .step-box .tshirt-design div{ |
262 | /*float: left;*/ | 286 | /*float: left;*/ |
263 | } | 287 | } |
264 | aside .step .step-box .tshirt-design .icon{ | 288 | aside .step .step-box .tshirt-design .icon{ |
265 | padding: 4px 4px; | 289 | padding: 4px 4px; |
266 | text-align: center; | 290 | text-align: center; |
267 | width: 100%; | 291 | width: 100%; |
268 | } | 292 | } |
269 | aside .step .step-box .tshirt-design .icon img{ | 293 | aside .step .step-box .tshirt-design .icon img{ |
270 | max-width: 100%; | 294 | max-width: 100%; |
271 | } | 295 | } |
296 | |||
272 | aside .step .step-box .tshirt-design .name{ | 297 | aside .step .step-box .tshirt-design .name{ |
273 | padding: 2px 4px; | 298 | padding: 2px 4px; |
274 | text-align: center; | 299 | text-align: center; |
275 | 300 | ||
276 | } | 301 | } |
277 | aside .step .step-box .tshirt-design .action{ | 302 | aside .step .step-box .tshirt-design .action{ |
278 | /*padding: 10px 10px;*/ | 303 | /*padding: 10px 10px;*/ |
279 | /*float: right;*/ | 304 | /*float: right;*/ |
280 | 305 | ||
281 | } | 306 | } |
282 | aside .step .step-box .tshirt-design .action button{ | 307 | aside .step .step-box .tshirt-design .action button{ |
283 | padding: 6px 8px; | 308 | padding: 6px 8px; |
284 | width: 100%; | 309 | width: 100%; |
285 | } | 310 | } |
286 | /*Step 2*/ | 311 | /*Step 2*/ |
287 | aside .step .step-box .tshirt-color{ | 312 | aside .step .step-box .tshirt-color{ |
288 | padding: 6px 10px; | 313 | padding: 6px 6px; |
314 | height: 100%; | ||
289 | position: relative; | 315 | position: relative; |
290 | } | 316 | } |
317 | |||
291 | aside .step .step-box .tshirt-color ul.choice-color{ | 318 | aside .step .step-box .tshirt-color ul.choice-color{ |
292 | float: left; | 319 | float: left; |
293 | list-style: none; | 320 | list-style: none; |
294 | padding-left: 0; | 321 | padding-left: 0; |
295 | width: 100%; | 322 | width: 100%; |
296 | margin-bottom: 3px; | 323 | margin-bottom: 3px; |
297 | } | 324 | } |
298 | aside .step .step-box .tshirt-color ul.choice-color li{ | 325 | aside .step .step-box .tshirt-color ul.choice-color li{ |
299 | margin: 0 8px 4px 0; | 326 | margin: 0 6px 6px 0; |
300 | border: 1px solid #cccccc; | 327 | border: 1px solid #cccccc; |
301 | padding: 2px 2px; | 328 | padding: 2px 2px; |
302 | float: left; | 329 | float: left; |
303 | cursor: pointer; | 330 | cursor: pointer; |
304 | } | 331 | } |
305 | aside .step .step-box .tshirt-color ul.choice-color li.action{ | 332 | aside .step .step-box .tshirt-color ul.choice-color li.action{ |
306 | border: 1px solid #ff0000; | 333 | border: 1px solid #ff0000; |
307 | } | 334 | } |
308 | aside .step .step-box .tshirt-color ul.choice-color li:hover{ | 335 | aside .step .step-box .tshirt-color ul.choice-color li:hover{ |
309 | border: 1px solid #ff0000; | 336 | border: 1px solid #ff0000; |
310 | } | 337 | } |
311 | aside .step .step-box .tshirt-color ul.choice-color li div{ | 338 | aside .step .step-box .tshirt-color ul.choice-color li div{ |
312 | height: 30px; | 339 | height: 26px; |
313 | width: 30px; | 340 | width: 26px; |
341 | margin: 0; | ||
314 | } | 342 | } |
315 | 343 | ||
316 | aside .step .step-box .tshirt-color ul.choice-color li.white div{ | 344 | aside .step .step-box .tshirt-color ul.choice-color li.white div{ |
317 | background-color: #ece7e4; | 345 | background-color: #ece7e4; |
318 | } | 346 | } |
319 | aside .step .step-box .tshirt-color ul.choice-color li.blue div{ | 347 | aside .step .step-box .tshirt-color ul.choice-color li.blue div{ |
320 | background-color: #e7dfd0; | 348 | background-color: #e7dfd0; |
321 | } | 349 | } |
322 | aside .step .step-box .tshirt-color .color-name{ | 350 | aside .step .step-box .choice-color-bottom{ |
351 | position: absolute; | ||
352 | bottom: 0; | ||
353 | left: 0; | ||
354 | width: 80%; | ||
355 | margin: 0 10%; | ||
356 | } | ||
357 | aside .step .step-box .choice-color-bottom .color-name{ | ||
323 | width: 100%; | 358 | width: 100%; |
324 | font-size: 10px; | 359 | font-size: 12px; |
360 | text-align: center; | ||
361 | padding: 4px 0; | ||
325 | } | 362 | } |
326 | aside .step .step-box .tshirt-color .view-more{ | 363 | aside .step .step-box .choice-color-bottom .view-more{ |
327 | 364 | text-align: right; | |
328 | } | 365 | } |
329 | /*Step 3*/ | 366 | /*Step 3*/ |
330 | aside .step .step-box .tshirt-saveorder{ | 367 | aside .step .step-box .tshirt-saveorder{ |
331 | padding: 10px 10px 6px 10px; | 368 | padding: 10px 10px 10px 10px; |
332 | } | 369 | } |
333 | aside .step .step-box .tshirt-saveorder .action{ | 370 | aside .step .step-box .tshirt-saveorder .action{ |
334 | width: 50%; | 371 | width: 50%; |
335 | float: left; | 372 | float: left; |
336 | } | 373 | } |
337 | aside .step .step-box .tshirt-saveorder .action:first-child{ | 374 | aside .step .step-box .tshirt-saveorder .action:first-child{ |
338 | padding-right: 5px; | 375 | padding-right: 5px; |
339 | } | 376 | } |
340 | aside .step .step-box .tshirt-saveorder .action:last-child{ | 377 | aside .step .step-box .tshirt-saveorder .action:last-child{ |
341 | padding-left: 5px; | 378 | padding-left: 5px; |
342 | } | 379 | } |
343 | aside .step .step-box .tshirt-saveorder .action button{ | 380 | aside .step .step-box .tshirt-saveorder .action button{ |
344 | padding: 8px 10px; | 381 | padding: 4px 10px; |
345 | 382 | width: 100%; | |
346 | } | 383 | } |
347 | aside .step .step-box .tshirt-saveorder .action button .text{ | ||
348 | float: left; | ||
349 | width: 80%; | ||
350 | text-align: center; | ||
351 | padding-left: 10px; | ||
352 | vertical-align: bottom; | ||
353 | } | ||
354 | aside .step .step-box .tshirt-saveorder .action button .arrow{ | ||
355 | float: left; | ||
356 | width: 20%; | ||
357 | height: 40px; | ||
358 | position: relative; | ||
359 | } | ||
360 | aside .step .step-box .tshirt-saveorder .action button .arrow i.fa{ | ||
361 | position: absolute; | ||
362 | top: 50%; | ||
363 | right: -6px; | ||
364 | transform: translateX(-50%) translateY(-50%); | ||
365 | -webkit-transform: translateX(-50%) translateY(-50%); | ||
366 | } | ||
367 | 384 | ||
385 | |||
368 | /*Step 4*/ | 386 | /*Step 4*/ |
369 | 387 | ||
370 | aside .step .step-box .change-design{ | 388 | aside .step .step-box .change-design{ |
371 | padding: 4px 4px; | 389 | /*padding: 4px 4px;*/ |
372 | } | 390 | } |
373 | aside .step .step-box .change-design table{ | 391 | aside .step .step-box .change-design table{ |
374 | 392 | width: 100%; | |
375 | } | 393 | } |
376 | aside .step .step-box .change-design table tr{ | 394 | aside .step .step-box .change-design table tr{ |
377 | border-bottom: 1px dotted #cccccc; | 395 | border-bottom: 1px dotted #cccccc; |
378 | } | 396 | } |
397 | aside .step .step-box .change-design table tr td{ | ||
398 | padding: 4px 3px; | ||
399 | } | ||
400 | aside .step .step-box .change-design table tr td:first-child{ | ||
401 | background-color: #ededed; | ||
402 | } | ||
403 | aside .step .step-box .change-design table tr td:last-child{ | ||
404 | background: url("../images/bgbutton2.png"); | ||
405 | color: #ffffff; | ||
406 | font-size: 15px; | ||
407 | } | ||
379 | aside .step .step-box .change-design table tr:last-child{ | 408 | aside .step .step-box .change-design table tr:last-child{ |
380 | border-bottom: 0; | 409 | border-bottom: 0; |
381 | } | 410 | } |
382 | 411 | ||
383 | /*Step 5- finish*/ | 412 | /*Step 5- finish*/ |
384 | aside .step .finish-design{ | 413 | aside .step .finish-design{ |
385 | padding: 20px 0; | 414 | padding: 20px 0; |
386 | } | 415 | } |
387 | aside .step .finish-design button{ | 416 | aside .step .finish-design button{ |
388 | width: 100%; | 417 | width: 100%; |
389 | padding: 8px 10px; | 418 | padding: 8px 10px; |
390 | } | 419 | } |
391 | 420 | ||
392 | /*DESIGN CONTENT*/ | 421 | /*DESIGN CONTENT*/ |
393 | #tshirt-content{ | 422 | #tshirt-content{ |
394 | position: relative; | 423 | position: relative; |
395 | } | 424 | } |
396 | #tshirt-content .switch-border-design{ | 425 | #tshirt-content .switch-border-design{ |
397 | position: absolute; | 426 | position: absolute; |
398 | top: 5px; | 427 | top: 5px; |
399 | right: 10px; | 428 | right: 10px; |
400 | color: red; | 429 | color: red; |
401 | font-size: 11px; | 430 | font-size: 11px; |
431 | cursor: pointer; | ||
432 | z-index: 99999; | ||
402 | } | 433 | } |
403 | #tshirt-content .tshirt-image{ | 434 | #tshirt-content .tshirt-image{ |
404 | padding: 20px 0 0 0; | 435 | padding: 20px 0 0 0; |
405 | position: relative; | 436 | position: relative; |
406 | height: 100%; | 437 | height: 100%; |
407 | width: 100%; | 438 | width: 100%; |
408 | } | 439 | } |
409 | 440 | ||
410 | #tshirt-content .tshirt-image img{ | 441 | #tshirt-content .tshirt-image img{ |
411 | width: 100%; | 442 | width: 100%; |
412 | } | 443 | } |
413 | 444 | ||
414 | #tshirt-content .tshirt-choice{ | 445 | #tshirt-content .tshirt-choice{ |
415 | 446 | ||
416 | } | 447 | } |
417 | #tshirt-content .tshirt-choice ul{ | 448 | #tshirt-content .tshirt-choice ul{ |
418 | list-style: none; | 449 | list-style: none; |
419 | padding-left: 0; | 450 | padding-left: 0; |
420 | display: table; | 451 | display: table; |
421 | margin: auto; | 452 | margin: auto; |
422 | } | 453 | } |
423 | #tshirt-content .tshirt-choice ul li{ | 454 | #tshirt-content .tshirt-choice ul li{ |
424 | float: left; | 455 | float: left; |
425 | margin: 10px 10px; | 456 | margin: 10px 10px; |
426 | cursor: pointer; | 457 | cursor: pointer; |
427 | } | 458 | } |
428 | #tshirt-content .tshirt-choice ul li .image{ | 459 | #tshirt-content .tshirt-choice ul li .image{ |
429 | border: 1px solid #cccccc; | 460 | border: 1px solid #cccccc; |
430 | padding: 3px 3px; | 461 | padding: 3px 3px; |
431 | } | 462 | } |
432 | #tshirt-content .tshirt-choice ul li.focus{ | 463 | #tshirt-content .tshirt-choice ul li.focus{ |
433 | 464 | ||
434 | } | 465 | } |
435 | #tshirt-content .tshirt-choice ul li.focus .image{ | 466 | #tshirt-content .tshirt-choice ul li.focus .image{ |
436 | border: 1px solid #ff0000; | 467 | border: 1px solid #ff0000; |
437 | } | 468 | } |
438 | #tshirt-content .tshirt-choice ul li .image img{ | 469 | #tshirt-content .tshirt-choice ul li .image img{ |
439 | width: 50px; | 470 | width: 50px; |
440 | height: auto; | 471 | height: auto; |
441 | } | 472 | } |
442 | /*MODAL Design*/ | 473 | /*MODAL Design*/ |
443 | #tshirt-design{ | 474 | #tshirt-design{ |
444 | background-color: #666666; | 475 | background-color: #666666; |
445 | } | 476 | } |
446 | #tshirt-design .modal-dialog{ | 477 | #tshirt-design .modal-dialog{ |
447 | /*width: 800px!important;*/ | 478 | /*width: 800px!important;*/ |
448 | margin: 0 auto; | 479 | margin: 0 auto; |
449 | } | 480 | } |
450 | #tshirt-design .modal-dialog .modal-content{ | 481 | #tshirt-design .modal-dialog .modal-content{ |
451 | background-color: transparent; | 482 | background-color: transparent; |
452 | border-radius: 0; | 483 | border-radius: 0; |
453 | border: 0; | 484 | border: 0; |
454 | -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; | 485 | -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; |
455 | box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; | 486 | box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; |
456 | } | 487 | } |
457 | #tshirt-design .modal-dialog .modal-content .modal-header{ | 488 | #tshirt-design .modal-dialog .modal-content .modal-header{ |
458 | padding: 0 0 10px 0; | 489 | padding: 0 0 10px 0; |
459 | border-bottom: 0; | 490 | border-bottom: 0; |
460 | border-shadow: none!important; | 491 | border-shadow: none!important; |
461 | } | 492 | } |
462 | #tshirt-design .modal-dialog .modal-content .modal-body{ | 493 | #tshirt-design .modal-dialog .modal-content .modal-body{ |
463 | background-color: #f5f5f5; | 494 | background-color: #f5f5f5; |
464 | padding: 0 0; | 495 | padding: 0 0; |
465 | } | 496 | } |
466 | #tshirt-design header{ | 497 | #tshirt-design header{ |
467 | border-bottom: 1px solid #cccccc; | 498 | border-bottom: 1px solid #cccccc; |
468 | background-color: #dddddd; | 499 | background-color: #dddddd; |
469 | } | 500 | } |
470 | #tshirt-design header ul.nav{ | 501 | #tshirt-design header ul.nav{ |
471 | padding-left: 0; | 502 | padding-left: 0; |
472 | list-style: none; | 503 | list-style: none; |
473 | } | 504 | } |
474 | #tshirt-design header ul.nav li{ | 505 | #tshirt-design header ul.nav li{ |
475 | float: left; | 506 | float: left; |
476 | padding: 8px 26px; | 507 | padding: 8px 26px; |
477 | border-right: 1px solid #cccccc; | 508 | border-right: 1px solid #cccccc; |
478 | font-size: 14px; | 509 | font-size: 14px; |
479 | cursor: pointer; | 510 | cursor: pointer; |
480 | } | 511 | } |
481 | #tshirt-design header ul.nav li:hover, #tshirt-design header ul.nav li.active{ | 512 | #tshirt-design header ul.nav li:hover, #tshirt-design header ul.nav li.active{ |
482 | background-color: red; | 513 | background-color: #ff7200; |
483 | color: #ffffff; | 514 | color: #ffffff; |
484 | } | 515 | } |
485 | #tshirt-design header ul.nav li:hover i.fa, #tshirt-design header ul.nav li.active i.fa{ | 516 | #tshirt-design header ul.nav li:hover i.fa, #tshirt-design header ul.nav li.active i.fa{ |
486 | color: #ffffff; | 517 | color: #ffffff; |
487 | } | 518 | } |
488 | #tshirt-design header ul.nav li i.fa{ | 519 | #tshirt-design header ul.nav li i.fa{ |
489 | color: #fe070f; | 520 | color: #fc7500; |
490 | font-size: 20px; | 521 | font-size: 20px; |
491 | margin-right: 10px; | 522 | margin-right: 10px; |
492 | } | 523 | } |
493 | #tshirt-design header .action{ | 524 | #tshirt-design header .action{ |
494 | 525 | ||
495 | } | 526 | } |
496 | #tshirt-design header .action button{ | 527 | #tshirt-design header .action button{ |
497 | padding: 2px 10px; | 528 | padding: 2px 10px; |
498 | margin: 6px 10px; | 529 | margin: 6px 10px; |
499 | } | 530 | } |
500 | #tshirt-design header .action button:hover{ | 531 | #tshirt-design header .action button:hover{ |
501 | background-color: red; | 532 | background-color: red; |
502 | color: #ffffff; | 533 | color: #ffffff; |
503 | } | 534 | } |
504 | 535 | ||
505 | /*Aside modal*/ | 536 | /*Aside modal*/ |
506 | .aside{ | 537 | .aside{ |
507 | } | 538 | } |
508 | 539 | ||
509 | .aside .box-design-option{ | 540 | .aside .box-design-option{ |
510 | list-style: none; | 541 | list-style: none; |
511 | padding-left: 0; | 542 | padding-left: 0; |
512 | margin-top: 10px; | 543 | margin-top: 10px; |
513 | } | 544 | } |
514 | 545 | ||
515 | .aside .box-design-option li{ | 546 | .aside .box-design-option li{ |
516 | border: 1px solid #cdcdcd; | 547 | border: 1px solid #cdcdcd; |
517 | position: relative; | 548 | position: relative; |
518 | /*cursor: pointer;*/ | 549 | /*cursor: pointer;*/ |
519 | margin-bottom: 10px; | 550 | margin-bottom: 10px; |
520 | } | 551 | } |
521 | .aside .box-design-option li .hover{ | 552 | .aside .box-design-option li .hover{ |
522 | background-color: #fddad4; | 553 | background-color: #fddad4; |
523 | opacity: 0.6; | 554 | opacity: 0.6; |
524 | position: absolute; | 555 | position: absolute; |
525 | width: 100%; | 556 | width: 100%; |
526 | height: 100%; | 557 | height: 100%; |
527 | display: none; | 558 | display: none; |
528 | } | 559 | } |
529 | .aside .box-design-option li:hover .hover{ | 560 | .aside .box-design-option li:hover .hover{ |
530 | display: block; | 561 | display: block; |
531 | } | 562 | } |
532 | 563 | ||
533 | .aside .box-design-option li .title{ | 564 | .aside .box-design-option li .title{ |
534 | background: url("../images/bg1.png") repeat #cdcdcd; | 565 | background: url("../images/bg1.png") repeat #cdcdcd; |
535 | padding: 3px 10px; | 566 | padding: 3px 10px; |
536 | } | 567 | } |
537 | .aside .box-design-option li .title i.fa{ | 568 | .aside .box-design-option li .title i.fa{ |
538 | color: #000000; | 569 | color: #000000; |
539 | } | 570 | } |
540 | 571 | ||
541 | .aside .box-design-option li .content{ | 572 | .aside .box-design-option li .content{ |
542 | 573 | ||
543 | } | 574 | } |
544 | .aside .box-design-option li .content i.fa{ | 575 | .aside .box-design-option li .content i.fa{ |
545 | font-size: 30px; | 576 | font-size: 30px; |
546 | color: #fe070f; | 577 | color: #ff7200; |
547 | margin: 8px 0; | 578 | margin: 8px 0; |
548 | } | 579 | } |
549 | .aside .box-design-option li .content .des{ | 580 | .aside .box-design-option li .content .des{ |
550 | padding: 3px 10px 3px 0; | 581 | padding: 3px 10px 3px 0; |
551 | } | 582 | } |
552 | .aside .box-design-option li .content .color-patterns { | 583 | .aside .box-design-option li .content .color-patterns { |
553 | width: 100%; | 584 | width: 100%; |
554 | border: #bbb solid 1px; | 585 | border: #bbb solid 1px; |
555 | background: #FFF; | 586 | background: #FFF; |
556 | margin-top: 5px; | 587 | margin-top: 5px; |
557 | min-height: 65px; | 588 | min-height: 65px; |
558 | } | 589 | } |
559 | 590 | ||
560 | .aside .box-design-option li .content .color-patterns .color-pattern-item{ | 591 | .aside .box-design-option li .content .color-patterns .color-pattern-item{ |
561 | height: 20px; | 592 | height: 20px; |
562 | float: left; | 593 | float: left; |
563 | margin-left: 4px; | 594 | margin-left: 4px; |
564 | margin-top: 2px; | 595 | margin-top: 2px; |
565 | width: 20px; | 596 | width: 20px; |
566 | cursor: pointer; | 597 | cursor: pointer; |
567 | border: 1px solid #ddd; | 598 | border: 1px solid #ddd; |
568 | } | 599 | } |
569 | 600 | ||
570 | .aside .box-design-option li .content .color-patterns .color-pattern-item:hover { | 601 | .aside .box-design-option li .content .color-patterns .color-pattern-item:hover { |
571 | outline: 1px solid #ed1d24; | 602 | outline: 1px solid #ed1d24; |
572 | } | 603 | } |
573 | 604 | ||
574 | .aside .box-design-option li .title .reset-color-patterns { | 605 | .aside .box-design-option li .title .reset-color-patterns { |
575 | cursor: pointer; | 606 | cursor: pointer; |
576 | } | 607 | } |
577 | 608 | ||
578 | .aside .box-design-option li .title .reset-color-patterns:hover { | 609 | .aside .box-design-option li .title .reset-color-patterns:hover { |
579 | opacity: 0.6; | 610 | opacity: 0.6; |
580 | } | 611 | } |
581 | 612 | ||
582 | .aside .box-design-option li .content .layer-item { | 613 | .aside .box-design-option li .content .layer-item { |
583 | text-align: center; | 614 | text-align: center; |
584 | border: 1px #ddd solid; | 615 | border: 1px #ddd solid; |
585 | background: #FFF; | 616 | background: #FFF; |
586 | padding: 5px; | 617 | padding: 5px; |
587 | font-size: 12px; | 618 | font-size: 12px; |
588 | cursor: pointer; | 619 | cursor: pointer; |
589 | } | 620 | } |
590 | 621 | ||
591 | .aside .box-design-option li .content .layer-item:hover { | 622 | .aside .box-design-option li .content .layer-item:hover { |
592 | background: #ffcccc; | 623 | background: #ffcccc; |
593 | } | 624 | } |
594 | 625 | ||
595 | 626 | ||
596 | /*Design Text*/ | 627 | /*Design Text*/ |
597 | .aside #choice-text{ | 628 | .aside #choice-text{ |
598 | 629 | ||
599 | } | 630 | } |
600 | .aside #choice-text .content{ | 631 | .aside #choice-text .content{ |
601 | padding: 10px 10px; | 632 | padding: 10px 10px; |
602 | } | 633 | } |
603 | .aside #choice-text .content ul.font-family-box{ | 634 | .aside #choice-text .content ul.font-family-box{ |
604 | list-style: none; | 635 | list-style: none; |
605 | margin: 10px 0; | 636 | margin: 10px 0; |
606 | padding-left: 0; | 637 | padding-left: 0; |
607 | height: 180px; | 638 | height: 180px; |
608 | width: 100%; | 639 | width: 100%; |
609 | overflow-y: scroll; | 640 | overflow-y: scroll; |
610 | border: 1px solid #c0c0c0; | 641 | border: 1px solid #c0c0c0; |
611 | } | 642 | } |
612 | 643 | ||
613 | .aside #choice-text .content .font-family-box li{ | 644 | .aside #choice-text .content .font-family-box li{ |
614 | cursor: pointer; | 645 | cursor: pointer; |
615 | padding: 4px 8px; | 646 | padding: 4px 8px; |
616 | border: 0; | 647 | border: 0; |
617 | border-bottom: 1px solid #c0c0c0; | 648 | border-bottom: 1px solid #c0c0c0; |
618 | border-right: 1px solid #c0c0c0; | 649 | border-right: 1px solid #c0c0c0; |
619 | font-size: 16px; | 650 | font-size: 16px; |
620 | margin-bottom: 0; | 651 | margin-bottom: 0; |
621 | } | 652 | } |
622 | .aside #choice-text .content .font-family-box li.active{ | 653 | .aside #choice-text .content .font-family-box li.active{ |
623 | border: 1px solid #fe070f; | 654 | border: 1px solid #fe070f; |
624 | } | 655 | } |
625 | .aside #choice-text .content .spacing-letter{ | 656 | .aside #choice-text .content .spacing-letter{ |
626 | 657 | ||
627 | } | 658 | } |
628 | .aside #choice-text .content .spacing-letter .text-label{ | 659 | .aside #choice-text .content .spacing-letter .text-label{ |
629 | font-size: 16px; | 660 | font-size: 16px; |
630 | padding: 4px 0; | 661 | padding: 4px 0; |
631 | } | 662 | } |
632 | .aside #choice-text .content .spacing-letter .box{ | 663 | .aside #choice-text .content .spacing-letter .box{ |
633 | border: 1px solid #8c8c8c; | 664 | border: 1px solid #8c8c8c; |
634 | box-shadow: 0 0 5px #888888; | 665 | box-shadow: 0 0 5px #888888; |
635 | background-color: #f0f0f0; | 666 | background-color: #f0f0f0; |
636 | } | 667 | } |
637 | .aside #choice-text .content .spacing-letter .item{ | 668 | .aside #choice-text .content .spacing-letter .item{ |
638 | float: left; | 669 | float: left; |
639 | } | 670 | } |
640 | .aside #choice-text .content .spacing-letter .item:hover{ | 671 | .aside #choice-text .content .spacing-letter .item:hover{ |
641 | background-color: #fddad4; | 672 | background-color: #fddad4; |
642 | } | 673 | } |
643 | 674 | ||
644 | .aside #choice-text .content .spacing-letter .item i.fa{ | 675 | .aside #choice-text .content .spacing-letter .item i.fa{ |
645 | font-size: 22px; | 676 | font-size: 22px; |
646 | margin: 0 0; | 677 | margin: 0 0; |
647 | color: #000000; | 678 | color: #000000; |
648 | } | 679 | } |
649 | .aside #choice-text .content .spacing-letter .item-text{ | 680 | .aside #choice-text .content .spacing-letter .item-text{ |
650 | padding: 6px 20px; | 681 | padding: 6px 20px; |
651 | font-size: 13px; | 682 | font-size: 13px; |
652 | } | 683 | } |
653 | .aside #choice-text .content .spacing-letter .item-plus{ | 684 | .aside #choice-text .content .spacing-letter .item-plus{ |
654 | border-right: 1px solid #8c8c8c; | 685 | border-right: 1px solid #8c8c8c; |
655 | } | 686 | } |
656 | .aside #choice-text .content .spacing-letter .item-minus{ | 687 | .aside #choice-text .content .spacing-letter .item-minus{ |
657 | border-left: 1px solid #8c8c8c; | 688 | border-left: 1px solid #8c8c8c; |
658 | } | 689 | } |
659 | .aside #choice-text .content .spacing-letter .item-plus, .aside #choice-text .content .spacing-letter .item-minus { | 690 | .aside #choice-text .content .spacing-letter .item-plus, .aside #choice-text .content .spacing-letter .item-minus { |
660 | padding: 5px 6px 1px 6px; | 691 | padding: 5px 6px 1px 6px; |
661 | cursor: pointer; | 692 | cursor: pointer; |
662 | } | 693 | } |
663 | /*Design Choice Illustration*/ | 694 | /*Design Choice Illustration*/ |
664 | .aside #choice-illustration li .content { | 695 | .aside #choice-illustration li .content { |
665 | padding: 10px 10px; | 696 | padding: 10px 10px; |
666 | } | 697 | } |
667 | 698 | ||
668 | .aside #choice-illustration li .content select{ | 699 | .aside #choice-illustration li .content select{ |
669 | width: 100%; | 700 | width: 100%; |
670 | } | 701 | } |
671 | 702 | ||
672 | .aside #choice-illustration li .content .illustration-list { | 703 | .aside #choice-illustration li .content .illustration-list { |
673 | width: 100%; | 704 | width: 100%; |
674 | border: #bbb solid 1px; | 705 | border: #bbb solid 1px; |
675 | background: #FFF; | 706 | background: #FFF; |
676 | margin-top: 5px; | 707 | margin-top: 5px; |
677 | min-height: 310px; | 708 | min-height: 310px; |
678 | padding-bottom: 20px; | 709 | padding-bottom: 20px; |
679 | } | 710 | } |
680 | 711 | ||
681 | .aside #choice-illustration li .content .illustration-list .illstration-item{ | 712 | .aside #choice-illustration li .content .illustration-list .illstration-item{ |
682 | height: 60px; | 713 | height: 60px; |
683 | overflow: hidden; | 714 | overflow: hidden; |
684 | float: left; | 715 | float: left; |
685 | margin-left: 6px; | 716 | margin-left: 6px; |
686 | margin-top: 5px; | 717 | margin-top: 5px; |
687 | margin-bottom: 5px; | 718 | margin-bottom: 5px; |
688 | padding: 2px; | 719 | padding: 2px; |
689 | background: #e2e2e2; | 720 | background: #e2e2e2; |
690 | border: solid 2px #d7d7d7; | 721 | border: solid 2px #d7d7d7; |
691 | cursor: pointer; | 722 | cursor: pointer; |
692 | } | 723 | } |
693 | 724 | ||
694 | .aside #choice-illustration li .content .illustration-list .illstration-item:hover { | 725 | .aside #choice-illustration li .content .illustration-list .illstration-item:hover { |
695 | outline: 2px solid #ed1d24; | 726 | outline: 2px solid #ed1d24; |
696 | } | 727 | } |
697 | 728 | ||
698 | .aside #choice-illustration li .content .illustration-list .illstration-item img { | 729 | .aside #choice-illustration li .content .illustration-list .illstration-item img { |
699 | width: 50px; | 730 | width: 50px; |
700 | cursor: pointer; | 731 | cursor: pointer; |
701 | } | 732 | } |
702 | 733 | ||
703 | .illustration-list .footer-bar, .saved-list .footer-bar { | 734 | .illustration-list .footer-bar, .saved-list .footer-bar { |
704 | text-align: center; | 735 | text-align: center; |
705 | margin-top: 5px; | 736 | margin-top: 5px; |
706 | bottom: 10px; | 737 | bottom: 10px; |
707 | position: absolute; | 738 | position: absolute; |
708 | width: 100%; | 739 | width: 100%; |
709 | padding-right: 20px; | 740 | padding-right: 20px; |
710 | } | 741 | } |
711 | .footer-bar .footer-pagination { | 742 | .footer-bar .footer-pagination { |
712 | margin-right: 5px; | 743 | margin-right: 5px; |
713 | cursor: pointer; | 744 | cursor: pointer; |
714 | font-size: 9px; | 745 | font-size: 9px; |
715 | color: #FFF; | 746 | color: #FFF; |
716 | background: #666666; | 747 | background: #666666; |
717 | text-transform: uppercase; | 748 | text-transform: uppercase; |
718 | padding: 2px 5px; | 749 | padding: 2px 5px; |
719 | } | 750 | } |
720 | 751 | ||
721 | .footer-bar .footer-pagination:hover { | 752 | .footer-bar .footer-pagination:hover { |
722 | background: #999999; | 753 | background: #999999; |
723 | } | 754 | } |
724 | .tooltip-arrow, | 755 | .tooltip-arrow, |
725 | .red-tooltip + .tooltip > .tooltip-inner { | 756 | .red-tooltip + .tooltip > .tooltip-inner { |
726 | background-color: #FFF; | 757 | background-color: #FFF; |
727 | margin:0; | 758 | margin:0; |
728 | padding:0; | 759 | padding:0; |
729 | } | 760 | } |
730 | 761 | ||
731 | /* Insert image*/ | 762 | /* Insert image*/ |
732 | #btn-choose-image { | 763 | #btn-choose-image { |
733 | background: #ff0f00; | 764 | background: #ff0f00; |
734 | cursor: pointer; | 765 | cursor: pointer; |
735 | margin: 10px 0px; | 766 | margin: 10px 0px; |
736 | padding: 0 10px; | 767 | padding: 0 10px; |
737 | color: #FFF; | 768 | color: #FFF; |
738 | font-size: 12px; | 769 | font-size: 12px; |
739 | } | 770 | } |
740 | 771 | ||
741 | #btn-choose-image:hover { | 772 | #btn-choose-image:hover { |
742 | background: #f8aeae; | 773 | background: #f8aeae; |
743 | } | 774 | } |
744 | 775 | ||
745 | .aside #choice-image li .content { | 776 | .aside #choice-image li .content { |
746 | margin: 0 10px; | 777 | margin: 0 10px; |
747 | padding: 10px 0; | 778 | padding: 10px 0; |
748 | } | 779 | } |
749 | 780 | ||
750 | .aside #choice-image li .content .small-text { | 781 | .aside #choice-image li .content .small-text { |
751 | font-size:10px; | 782 | font-size:10px; |
752 | margin-bottom: 10px; | 783 | margin-bottom: 10px; |
753 | } | 784 | } |
754 | 785 | ||
755 | .aside #choice-image { | 786 | .aside #choice-image { |
756 | font-size: 13px; | 787 | font-size: 13px; |
757 | } | 788 | } |
758 | 789 | ||
759 | .aside #imgLoader{ | 790 | .aside #imgLoader{ |
760 | display: none; | 791 | display: none; |
761 | } | 792 | } |
762 | 793 | ||
763 | .aside #choice-image li .content .list-images { | 794 | .aside #choice-image li .content .list-images { |
764 | height: 300px; | 795 | height: 300px; |
765 | background: #FFF; | 796 | background: #FFF; |
766 | border: 1px solid #DDD; | 797 | border: 1px solid #DDD; |
767 | } | 798 | } |
768 | 799 | ||
769 | .aside #choice-image li .content .list-images .recent-img{ | 800 | .aside #choice-image li .content .list-images .recent-img{ |
770 | height: 60px; | 801 | height: 60px; |
771 | overflow: hidden; | 802 | overflow: hidden; |
772 | float: left; | 803 | float: left; |
773 | margin-left: 6px; | 804 | margin-left: 6px; |
774 | margin-top: 5px; | 805 | margin-top: 5px; |
775 | margin-bottom: 5px; | 806 | margin-bottom: 5px; |
776 | padding: 2px; | 807 | padding: 2px; |
777 | background: #e2e2e2; | 808 | background: #e2e2e2; |
778 | border: solid 2px #d7d7d7; | 809 | border: solid 2px #d7d7d7; |
779 | cursor: pointer; | 810 | cursor: pointer; |
780 | } | 811 | } |
781 | 812 | ||
782 | .aside #choice-image li .content .list-images .recent-img:hover { | 813 | .aside #choice-image li .content .list-images .recent-img:hover { |
783 | outline: 2px solid #ed1d24; | 814 | outline: 2px solid #ed1d24; |
784 | } | 815 | } |
785 | 816 | ||
786 | .aside #choice-image li .content .list-images .recent-img img { | 817 | .aside #choice-image li .content .list-images .recent-img img { |
787 | width: 50px; | 818 | width: 50px; |
788 | cursor: pointer; | 819 | cursor: pointer; |
789 | } | 820 | } |
790 | 821 | ||
791 | /*Design content*/ | 822 | /*Design content*/ |
792 | .tshirt-design-container{ | 823 | .tshirt-design-container{ |
793 | 824 | ||
794 | } | 825 | } |
795 | .tshirt-design-container .design-content{ | 826 | .tshirt-design-container .design-content{ |
796 | padding: 10px 0; | 827 | padding: 10px 0; |
797 | } | 828 | } |
798 | .tshirt-design-container .design-content .content{ | 829 | .tshirt-design-container .design-content .content{ |
799 | width: 100%; | 830 | width: 100%; |
800 | height: 100%; | 831 | height: 100%; |
801 | min-height: 600px; | 832 | min-height: 600px; |
802 | position: relative; | 833 | position: relative; |
803 | padding: 40px 40px; | 834 | padding: 40px 40px; |
804 | } | 835 | } |
805 | .tshirt-design-container .design-content .content .selection-design{ | 836 | .tshirt-design-container .design-content .content .selection-design{ |
806 | border: 1px solid #ff0000; | 837 | border: 1px solid #ff0000; |
807 | } | 838 | } |
808 | .tshirt-design-container .agree-design{ | 839 | .tshirt-design-container .agree-design{ |
809 | position: absolute; | 840 | position: absolute; |
810 | right: -16px; | 841 | right: -16px; |
811 | top: 40%; | 842 | top: 40%; |
812 | cursor: pointer; | 843 | cursor: pointer; |
813 | } | 844 | } |
814 | .tshirt-design-container .agree-design:hover{ | 845 | .tshirt-design-container .agree-design:hover{ |
815 | opacity: 0.8; | 846 | opacity: 0.8; |
816 | } | 847 | } |
817 | .tshirt-design-container .trash-design{ | 848 | .tshirt-design-container .trash-design{ |
818 | position: absolute; | 849 | position: absolute; |
819 | right: 5px; | 850 | right: 5px; |
820 | bottom: 0; | 851 | bottom: 0; |
821 | } | 852 | } |
822 | .tshirt-design-container .trash-design:hover{ | 853 | .tshirt-design-container .trash-design:hover{ |
823 | opacity: 0.5; | 854 | opacity: 0.5; |
824 | } | 855 | } |
825 | 856 | ||
826 | .object-border{ | 857 | .object-border{ |
827 | position: absolute; | 858 | position: absolute; |
828 | background-color: rgb(0, 108, 255); | 859 | background-color: rgb(0, 108, 255); |
829 | border: 0; | 860 | border: 0; |
830 | display:none; | 861 | display:none; |
831 | transform-origin: 0% 0%; | 862 | transform-origin: 0% 0%; |
832 | } | 863 | } |
833 | #object-border-top, #object-border-bottom{ | 864 | #object-border-top, #object-border-bottom{ |
834 | height: 2px; | 865 | height: 2px; |
835 | } | 866 | } |
836 | #object-border-right, #object-border-left{ | 867 | #object-border-right, #object-border-left{ |
837 | width: 2px; | 868 | width: 2px; |
838 | } | 869 | } |
839 | 870 | ||
840 | 871 | ||
841 | /*FOOTER*/ | 872 | /*FOOTER*/ |
842 | footer{ | 873 | footer{ |
843 | background-color: #333333; | 874 | background-color: #333333; |
844 | } | 875 | } |
845 | footer ul.nav-footer{ | 876 | footer ul.nav-footer{ |
846 | padding-left: 0; | 877 | padding-left: 0; |
847 | list-style: none; | 878 | list-style: none; |
879 | float: left; | ||
880 | width: 80%; | ||
881 | margin-bottom: 0 | ||
848 | } | 882 | } |
849 | footer ul.nav-footer li{ | 883 | footer ul.nav-footer li{ |
850 | float: left; | 884 | float: left; |
851 | padding: 3px 10px; | 885 | padding: 3px 10px; |
852 | border-right: 1px dotted #ffffff; | 886 | border-right: 1px dotted #ffffff; |
853 | 887 | ||
854 | } | 888 | } |
855 | footer ul.nav-footer li a{ | 889 | footer ul.nav-footer li a{ |
856 | color: #ffffff; | 890 | color: #ffffff; |
857 | font-size: 11px; | 891 | font-size: 11px; |
858 | } | 892 | } |
893 | footer .logo-bottom{ | ||
894 | float: left; | ||
895 | width: 20%; | ||
896 | margin-bottom: 0; | ||
897 | text-align: right; | ||
898 | } | ||
899 | footer .logo-bottom img{ | ||
900 | height: 25px; | ||
901 | max-width: 100%; | ||
902 | } | ||
903 | .footer{ | ||
904 | padding: 15px 0; | ||
905 | text-align: center; | ||
906 | } | ||
859 | /* Customize container */ | 907 | /* Customize container */ |
860 | @media (min-width: 768px) { | 908 | @media (min-width: 768px) { |
861 | .container { | 909 | .container { |
862 | /*max-width: 730px;*/ | 910 | /*max-width: 730px;*/ |
863 | } | 911 | } |
864 | } | 912 | } |
865 | 913 | ||
866 | /* Responsive: Portrait tablets and up */ | 914 | /* Responsive: Portrait tablets and up */ |
867 | @media screen and (min-width: 768px) { | 915 | @media screen and (min-width: 768px) { |
868 | /* Remove the padding we set earlier */ | 916 | /* Remove the padding we set earlier */ |
869 | 917 | ||
870 | } | 918 | } |
871 | 919 | ||
872 | @media (min-width: 1024px) { | 920 | @media (min-width: 1024px) { |
873 | #tshirt-design .modal-dialog{ | 921 | #tshirt-design .modal-dialog{ |
874 | min-width: 1000px; | 922 | min-width: 1000px; |
875 | width: 1000px; | 923 | width: 1000px; |
876 | } | 924 | } |
877 | } | 925 | } |
878 | 926 | /*Mobile responsive*/ | |
879 | @media (max-width: 762px) { | 927 | @media (max-width: 762px) { |
880 | .modal-dialog{ | 928 | .modal-dialog{ |
881 | margin: 0 0!important; | 929 | margin: 0 0!important; |
882 | } | 930 | } |
883 | #tshirt-design header .menu-nav{ | 931 | #tshirt-design header .menu-nav{ |
884 | overflow-x: scroll!important; | 932 | overflow-x: scroll!important; |
885 | -webkit-overflow-scrolling: touch; | 933 | -webkit-overflow-scrolling: touch; |
886 | } | 934 | } |
887 | 935 | ||
888 | #tshirt-design header ul.nav { | 936 | #tshirt-design header ul.nav { |
889 | text-align: justify; | 937 | text-align: justify; |
890 | width: 680px; | 938 | width: 680px; |
891 | } | 939 | } |
892 | 940 | ||
893 | #tshirt-design header ul.nav li { | 941 | #tshirt-design header ul.nav li { |
894 | display: inline-block; /* 6 */ | 942 | display: inline-block; /* 6 */ |
895 | } | 943 | } |
896 | 944 | ||
897 | .tshirt-design-container .design-content .content{ | 945 | .tshirt-design-container .design-content .content{ |
898 | padding: 14px 14px; | 946 | padding: 14px 14px; |
899 | } | 947 | } |
900 | .tshirt-design-container .design-content{ | 948 | .tshirt-design-container .design-content{ |
901 | padding: 0 0; | 949 | padding: 0 0; |
950 | } | ||
951 | /*Header*/ | ||
952 | header .logo{ | ||
953 | text-align: left; | ||
954 | } | ||
955 | header .top-control li{ | ||
956 | margin: 0 4px; | ||
957 | } | ||
958 | header .top-menu{ | ||
959 | display: table; | ||
960 | margin: auto; | ||
961 | } | ||
962 | header .social-share{ | ||
963 | display: none; | ||
964 | } | ||
965 | header .col-sm-6{ | ||
966 | padding: 0!important; | ||
967 | } | ||
968 | header .user-control{ | ||
969 | position: absolute; | ||
970 | right: 0; | ||
971 | top: -120%; | ||
972 | } | ||
973 | /*Footer*/ | ||
974 | footer ul.nav-footer{ | ||
975 | width: 100%; | ||
976 | } | ||
977 | footer .logo-bottom{ | ||
978 | display: none; | ||
902 | } | 979 | } |
903 | } | 980 | } |
904 | 981 | ||
905 | 982 | ||
906 | 983 | ||
907 | #tshirt-design-saved .subframe-design { | 984 | #tshirt-design-saved .subframe-design { |
908 | width: 80%; | 985 | width: 80%; |
909 | margin: auto; | 986 | margin: auto; |
910 | margin-top: 100px; | 987 | margin-top: 100px; |
911 | border: 10px solid rgb(0, 0, 0); | 988 | border: 10px solid rgb(0, 0, 0); |
912 | border: 20px solid rgba(0, 0, 0, .5); | 989 | border: 20px solid rgba(0, 0, 0, .5); |
913 | -webkit-background-clip: padding-box; /* for Safari */ | 990 | -webkit-background-clip: padding-box; /* for Safari */ |
914 | background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */ | 991 | background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */ |
915 | background: #FFF; | 992 | background: #FFF; |
916 | } | 993 | } |
917 | 994 | ||
918 | #tshirt-design-saved .modal-content button.close { | 995 | #tshirt-design-saved .modal-content button.close { |
919 | margin-right: 103px; | 996 | margin-right: 103px; |
920 | font-size: 41px; | 997 | font-size: 41px; |
921 | margin-top: -8px; | 998 | margin-top: -8px; |
922 | } | 999 | } |
923 | 1000 | ||
924 | #tshirt-design-saved .subframe-design .nav-tabs { | 1001 | #tshirt-design-saved .subframe-design .nav-tabs { |
925 | background: rgba(0, 0, 0, .5); | 1002 | background: rgba(0, 0, 0, .5); |
926 | border-bottom: 1px solid #F5F5F5; | 1003 | border-bottom: 1px solid #F5F5F5; |
927 | } | 1004 | } |
928 | 1005 | ||
929 | #tshirt-design-saved .subframe-design .nav-tabs li a { | 1006 | #tshirt-design-saved .subframe-design .nav-tabs li a { |
930 | text-decoration: none; | 1007 | text-decoration: none; |
931 | background-color: #CCC; | 1008 | background-color: #CCC; |
932 | cursor: pointer; | 1009 | cursor: pointer; |
933 | margin-right: 10px; | 1010 | margin-right: 10px; |
934 | padding: 2px 30px; | 1011 | padding: 2px 30px; |
935 | color: #000; | 1012 | color: #000; |
936 | font-weight: 600; | 1013 | font-weight: 600; |
937 | border-bottom: 1px solid #F5F5F5 | 1014 | border-bottom: 1px solid #F5F5F5 |
938 | } | 1015 | } |
939 | 1016 | ||
940 | #tshirt-design-saved .subframe-design .nav-tabs li.active a { | 1017 | #tshirt-design-saved .subframe-design .nav-tabs li.active a { |
941 | background: #F5F5F5; | 1018 | background: #F5F5F5; |
942 | color: #fe070f; | 1019 | color: #fe070f; |
943 | } | 1020 | } |
944 | 1021 | ||
945 | #tshirt-design-saved .subframe-design .tab-content { | 1022 | #tshirt-design-saved .subframe-design .tab-content { |
946 | background: #F5F5F5; | 1023 | background: #F5F5F5; |
947 | width: 100%; | 1024 | width: 100%; |
948 | min-height: 400px; | 1025 | min-height: 400px; |
949 | } | 1026 | } |
950 | 1027 | ||
951 | #tshirt-design-saved .saved-list { | 1028 | #tshirt-design-saved .saved-list { |
952 | width: 100%; | 1029 | width: 100%; |
953 | border: #bbb solid 1px; | 1030 | border: #bbb solid 1px; |
954 | background: #FFF; | 1031 | background: #FFF; |
955 | margin-top: 0px; | 1032 | margin-top: 0px; |
956 | min-height: 400px; | 1033 | min-height: 400px; |
957 | padding: 10px; | 1034 | padding: 10px; |
958 | } | 1035 | } |
959 | 1036 | ||
960 | #tshirt-design-saved .saved-list .saved-item{ | 1037 | #tshirt-design-saved .saved-list .saved-item{ |
961 | width: 100px; | 1038 | width: 100px; |
962 | height: 100px; | 1039 | height: 100px; |
963 | overflow: hidden; | 1040 | overflow: hidden; |
964 | float: left; | 1041 | float: left; |
965 | margin-left: 6px; | 1042 | margin-left: 6px; |
966 | margin-top: 5px; | 1043 | margin-top: 5px; |
967 | margin-bottom: 5px; | 1044 | margin-bottom: 5px; |
968 | padding: 2px; | 1045 | padding: 2px; |
969 | background: #e2e2e2; | 1046 | background: #e2e2e2; |
970 | border: solid 2px #d7d7d7; | 1047 | border: solid 2px #d7d7d7; |
971 | cursor: pointer; | 1048 | cursor: pointer; |
972 | } | 1049 | } |
973 | 1050 | ||
974 | #tshirt-design-saved .saved-list .saved-item:hover { | 1051 | #tshirt-design-saved .saved-list .saved-item:hover { |
975 | outline: 2px solid #ed1d24; | 1052 | outline: 2px solid #ed1d24; |
app/views/main.html
1 | <div ng-controller="MainCtrl" class="col-sm-10 col-sm-offset-1" id="tshirt-container"> | 1 | <div ng-controller="MainCtrl" class="col-sm-10 col-sm-offset-1" id="tshirt-container"> |
2 | <div class="row"> | 2 | <div class="row"> |
3 | <header class="clearfix"> | 3 | <header class="clearfix"> |
4 | <div class="col-sm-4 logo"> | 4 | <div class="col-sm-4 logo"> |
5 | <img src="images/logo.png" alt="Logo Mobile World" /> | 5 | <img src="images/logo.png" alt="Logo Mobile World" /> |
6 | </div> | 6 | </div> |
7 | <div class="col-sm-2"> | 7 | <div class="col-sm-2"> |
8 | <ul class="social-share clearfix"> | 8 | <ul class="social-share clearfix"> |
9 | <li> | 9 | <li> |
10 | <a href="#"> | 10 | <a href="#"> |
11 | <i class="fa fa-facebook"></i> | 11 | <i class="fa fa-facebook"></i> |
12 | </a> | 12 | </a> |
13 | </li> | 13 | </li> |
14 | <li> | 14 | <li> |
15 | <a href="#"> | 15 | <a href="#"> |
16 | <i class="fa fa-twitter"></i> | 16 | <i class="fa fa-twitter"></i> |
17 | </a> | 17 | </a> |
18 | </li> | 18 | </li> |
19 | </ul> | 19 | </ul> |
20 | </div> | 20 | </div> |
21 | <div class="col-sm-6 clearfix" style="padding-right: 0"> | 21 | <div class="col-sm-6 clearfix" style="padding-right: 0"> |
22 | <div class="pull-left"> | 22 | <div class="pull-left"> |
23 | <ul class="top-menu clearfix"> | 23 | <ul class="top-menu clearfix"> |
24 | <li> | 24 | <li> |
25 | <a href="#">はじめての方へ</a> | 25 | <a href="#">はじめての方へ</a> |
26 | </li> | 26 | </li> |
27 | <li> | 27 | <li> |
28 | <a href="#">料金表</a> | 28 | <a href="#">料金表</a> |
29 | </li> | 29 | </li> |
30 | <li> | 30 | <li> |
31 | <a href="#">新規会員登録</a> | 31 | <a href="#">新規会員登録</a> |
32 | </li> | 32 | </li> |
33 | </ul> | 33 | </ul> |
34 | <ul class="top-control clearfix"> | 34 | <ul class="top-control clearfix"> |
35 | <li> | 35 | <li> |
36 | <div class="bt-yellow"> | 36 | <div class="bt-yellow"> |
37 | <i class="fa fa-shirtsinbulk" aria-hidden="true"></i> DESIGN デザイン作成 | 37 | <i class="fa fa-shirtsinbulk" aria-hidden="true"></i> DESIGN デザイン作成 |
38 | </div> | 38 | </div> |
39 | </li> | 39 | </li> |
40 | <li> | 40 | <li> |
41 | <div class="bt-yellow"> | 41 | <div class="bt-yellow"> |
42 | <i class="fa fa-shopping-cart" aria-hidden="true"></i> ショッピングカート | 42 | <i class="fa fa-shopping-cart" aria-hidden="true"></i> ショッピングカート |
43 | </div> | 43 | </div> |
44 | </li> | 44 | </li> |
45 | </ul> | 45 | </ul> |
46 | </div> | 46 | </div> |
47 | <div class="pull-right"> | 47 | <div class="pull-right"> |
48 | <div class="user-control"> | 48 | <div class="user-control"> |
49 | <div> | 49 | <div> |
50 | マイページ | 50 | マイページ |
51 | </div> | 51 | </div> |
52 | <div class="login"> | 52 | <div class="login"> |
53 | <i class="fa fa-lock" aria-hidden="true"></i> ログイン | 53 | <i class="fa fa-lock" aria-hidden="true"></i> ログイン |
54 | </div> | 54 | </div> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | </div> | 57 | </div> |
58 | </header> | 58 | </header> |
59 | <nav class="clearfix"> | 59 | <nav class="clearfix"> |
60 | <div class="col-sm-12"> | 60 | <div class="col-sm-12"> |
61 | <h2 class="pull-left">加工箇所を選択してデザインしてください。</h2> | 61 | <h2 class="pull-left">加工箇所を選択してデザインしてください。</h2> |
62 | <ul class="pull-right"> | 62 | <ul class="pull-right"> |
63 | |||
64 | |||
65 | <li class="circle"><a href="#">商品に戻る</a></li> | 63 | <li class="circle"><a href="#">商品に戻る</a></li> |
66 | <li class="line"></li> | 64 | <li class="line"></li> |
67 | <li class="circle"><a href="#">加工方法に戻る</a></li> | 65 | <li class="circle"><a href="#">加工方法に戻る</a></li> |
68 | <li class="line line-action"></li> | 66 | <li class="line line-action"></li> |
69 | <li class="circle action"><a href="#">デザインする</a></li> | 67 | <li class="circle action"><a href="#">デザインする</a></li> |
70 | </ul> | 68 | </ul> |
71 | </div> | 69 | </div> |
72 | </nav> | 70 | </nav> |
71 | <div style="height: 29px; width: 100%; background: url('../images/linebg.png') repeat-x"> | ||
72 | |||
73 | </div> | ||
73 | <article class="clearfix"> | 74 | <article class="clearfix"> |
74 | <aside class="col-sm-5"> | 75 | <aside class="col-sm-5"> |
75 | <div class="clearfix row" style="position: relative"> | 76 | <div class="clearfix row" style="position: relative"> |
76 | <div class="step col-xs-6"> | 77 | <div class="step col-xs-6"> |
77 | <div class="title clearfix"> | 78 | <div class="title clearfix"> |
78 | <span style="float: left;width: 28%"><img src="../images/stepicon1.png" alt="1" /></span> <span style="float: left;width: 72%; padding: 16px 0">デザインを作る</span> | 79 | <span><img src="../images/stepicon1.png" alt="1" /></span> <span>デザインを作る</span> |
79 | </div> | 80 | </div> |
80 | <div class="step-box"> | 81 | <div class="step-box"> |
81 | <div class="tshirt-design clearfix"> | 82 | <div class="tshirt-design clearfix"> |
82 | <div class="icon"> | 83 | <div class="icon"> |
83 | <img src="images/t-shirt_icon/tshirt1.gif" alt="icon t-shirt" /> | 84 | <img src="images/t-shirt_icon/tshirt1.gif" alt="icon t-shirt" /> |
84 | </div> | 85 | </div> |
85 | <div class="name"> | 86 | <div class="name"> |
86 | 背中背中 (28x22) | 87 | 背中背中 (28x22) |
87 | </div> | 88 | </div> |
88 | <div class="action"> | 89 | <div class="action"> |
89 | <button class="red" ng-click="modalTShirtDesign()"> | 90 | <button class="yellow2" ng-click="modalTShirtDesign()"> |
90 | デザインを作る | 91 | デザインを作る |
91 | </button> | 92 | </button> |
92 | </div> | 93 | </div> |
93 | </div> | 94 | </div> |
94 | </div> | 95 | </div> |
95 | </div> | 96 | </div> |
96 | 97 | ||
97 | <!--<!– BREAK DOWN–>--> | 98 | <!--<!– BREAK DOWN–>--> |
98 | <div class="text-center break-left"> | 99 | <div class="text-center break-left"> |
99 | <img src="images/arrow1.png" alt="arrow" /> | 100 | <img src="images/arrow1.png" alt="arrow" /> |
100 | </div> | 101 | </div> |
101 | 102 | ||
102 | <!-- STEP 2--> | 103 | <!-- STEP 2--> |
103 | <div class="step col-xs-6"> | 104 | <div class="step col-xs-6"> |
104 | <div class="title clearfix"> | 105 | <div class="title clearfix"> |
105 | <span style="float: left;width: 28%"><img src="../images/stepicon2.png" alt="2" /></span><span style="float: left;width: 72%;padding: 6px 0"> アイテムカラーを変更する</span> | 106 | <span><img src="../images/stepicon2.png" alt="2" /></span><span> アイテムカラーを変更する</span> |
106 | </div> | 107 | </div> |
107 | <div class="step-box clearfix"> | 108 | <div class="step-box clearfix" style="min-height: 150px;"> |
108 | <div class="tshirt-color"> | 109 | <div class="tshirt-color"> |
109 | <ul class="choice-color clearfix"> | 110 | <ul class="choice-color clearfix"> |
110 | <li ng-repeat="(key,color) in tShirtColor" ng-click="choiceTShirtColor(key)" ng-class="key == tShirtColorKey ? 'action' : ''"> | 111 | <li ng-repeat="(key,color) in tShirtColor" ng-click="choiceTShirtColor(key)" ng-class="key == tShirtColorKey ? 'action' : ''"> |
111 | <div ng-style="{'background-color' : color.code}"></div> | 112 | <div ng-style="{'background-color' : color.code}"></div> |
112 | </li> | 113 | </li> |
113 | </ul> | 114 | </ul> |
115 | </div> | ||
116 | <div class="choice-color-bottom"> | ||
114 | <div class="color-name" ng-bind="tShirtColorName"></div> | 117 | <div class="color-name" ng-bind="tShirtColorName"></div> |
115 | <div class="view-more"> | 118 | <div class="view-more"> |
116 | 在庫確認 <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 119 | 在庫確認 |
117 | </div> | 120 | </div> |
118 | </div> | 121 | </div> |
119 | </div> | 122 | </div> |
120 | </div> | 123 | </div> |
121 | </div> | 124 | </div> |
122 | 125 | ||
123 | 126 | ||
124 | <!-- BREAK DOWN--> | 127 | <!-- BREAK DOWN--> |
125 | <div class="text-center break-down"> | 128 | <div class="text-center break-down"> |
126 | <img src="images/bg_step_arrow.gif" alt="arrow" /> | 129 | <img src="images/arrow2.png" alt="arrow" /> |
127 | </div> | 130 | </div> |
128 | 131 | ||
129 | <!-- STEP 3--> | 132 | <!-- STEP 3--> |
130 | <div class="step"> | 133 | <div class="step"> |
131 | <div class="step-box clearfix"> | 134 | <div class="step-box clearfix"> |
132 | <div class="tshirt-saveorder"> | 135 | <div class="tshirt-saveorder"> |
133 | <div class="clearfix"> | 136 | <div class="clearfix"> |
134 | <div class="action"> | 137 | <div class="action"> |
135 | <button class="white"> | 138 | <button class="white"> |
136 | <div class="text"> | ||
137 | このデザインを保存する | 139 | このデザインを保存する |
138 | </div> | ||
139 | <div class="arrow"> | ||
140 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | ||
141 | </div> | ||
142 | </button> | 140 | </button> |
143 | </div> | 141 | </div> |
144 | <div class="action"> | 142 | <div class="action"> |
145 | <button class="red"> | 143 | <button class="yellow1"> |
146 | <div class="text"> | ||
147 | このデザインで注文する | 144 | このデザインで注文する |
148 | </div> | ||
149 | <div class="arrow clearfix"> | ||
150 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | ||
151 | </div> | ||
152 | </button> | 145 | </button> |
153 | </div> | 146 | </div> |
154 | </div> | 147 | </div> |
155 | 148 | ||
156 | </div> | 149 | </div> |
157 | </div> | 150 | </div> |
158 | 151 | ||
159 | <!-- BREAL LINE--> | 152 | <!-- BREAL LINE--> |
160 | <div class="text-center break-line"> | 153 | <div class="text-center break-line"> |
161 | <hr /> | 154 | <hr /> |
162 | </div> | 155 | </div> |
163 | 156 | ||
164 | <!-- STEP 4--> | 157 | <!-- STEP 4--> |
165 | <div class="step"> | 158 | <div class="step"> |
166 | <div class="title-notice"> | 159 | <div class="title-notice"> |
167 | 商品・デザインの変更はこちら <span class="require">作業中のデザインは破棄されます</span> | 160 | <strong>商品・デザインの変更はこちら</strong> <span class="require">作業中のデザインは破棄されます</span> |
168 | </div> | 161 | </div> |
169 | <div class="step-box"> | 162 | <div class="step-box"> |
170 | <div class="change-design"> | 163 | <div class="change-design"> |
171 | <table> | 164 | <table> |
172 | <tr> | 165 | <tr> |
173 | <td class="text-center">商品</td> | 166 | <td class="text-center">商品</td> |
174 | <td>MENドライカノコポロシャツ・ポケツキ半袖(ホワイト)</td> | 167 | <td>MENドライカノコポロシャツ・ポケツキ半袖(ホワイト)</td> |
175 | <td class="text-right"> | 168 | <td class="text-center"> |
176 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> | 169 | <button class="none"><i class="fa fa-angle-right" aria-hidden="true"></i> 変更</button> |
177 | </td> | 170 | </td> |
178 | </tr> | 171 | </tr> |
179 | <tr> | 172 | <tr> |
180 | <td width="10%" class="text-center">加工方法</td> | 173 | <td width="10%" class="text-center">加工方法</td> |
181 | <td width="70%">シルク:胸中央 (27×27)</td> | 174 | <td width="70%">シルク:胸中央 (27×27)</td> |
182 | <td width="20%" class="text-right"> | 175 | <td width="20%" class="text-center"> |
183 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> | 176 | <button class="none"><i class="fa fa-angle-right" aria-hidden="true"></i> 変更</button> |
184 | </td> | 177 | </td> |
185 | </tr> | 178 | </tr> |
186 | </table> | 179 | </table> |
187 | </div> | 180 | </div> |
188 | </div> | 181 | </div> |
189 | </div> | 182 | </div> |
190 | <!-- STEP 5- finish--> | 183 | <!-- STEP 5- finish--> |
191 | <div class="step"> | 184 | <div class="step"> |
192 | <div class="finish-design"> | 185 | <div class="finish-design"> |
193 | <button class="white"> | 186 | <button class="white"> |
194 | 自分で保存したデザインを呼び出す <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 187 | 自分で保存したデザインを呼び出す <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
195 | </button> | 188 | </button> |
196 | </div> | 189 | </div> |
197 | 190 | ||
198 | </div> | 191 | </div> |
199 | </div> | 192 | </div> |
200 | </aside> | 193 | </aside> |
201 | <section id="tshirt-content" class="col-sm-7 text-center"> | 194 | <section id="tshirt-content" class="col-sm-7 text-center"> |
202 | <div class="switch-border-design"> | 195 | <div class="switch-border-design" ng-click="hideShowReviewDesign()"> |
203 | <i class="fa fa-square-o" aria-hidden="true"></i> 枠線を消す | 196 | <i class="fa fa-square-o" aria-hidden="true"></i> 枠線を消す |
204 | </div> | 197 | </div> |
205 | <div class="tshirt-image"> | 198 | <div class="tshirt-image"> |
206 | <img ng-src="{{ tShirtImg }}" alt="" /> | 199 | <img ng-src="{{ tShirtImg }}" alt="" /> |
207 | <div ng-class="placeTshirt.place" id="preview-design" ng-show="placeTshirt.face === tShirtChoiceBackFrontKey" ng-click="modalTShirtDesign()"> | 200 | <div ng-class="placeTshirt.place" id="preview-design" ng-style="hideReviewDesign == true ? {border: 0} : {}" ng-show="(placeTshirt.face === tShirtChoiceBackFrontKey)" ng-click="modalTShirtDesign()"> |
208 | <img ng-src="{{outputImage}}" ng-show="outputImage"/> | 201 | <img ng-src="{{outputImage}}" ng-show="outputImage"/> |
209 | </div> | 202 | </div> |
210 | </div> | 203 | </div> |
211 | <div class="tshirt-choice"> | 204 | <div class="tshirt-choice"> |
212 | <ul> | 205 | <ul> |
213 | <li ng-class="'front' === tShirtChoiceBackFrontKey ? 'focus' : ''"> | 206 | <li ng-class="'front' === tShirtChoiceBackFrontKey ? 'focus' : ''"> |
214 | <div>前</div> | 207 | <div>前</div> |
215 | <div class="image" ng-click="choiceTShirtBackFront('front')"> | 208 | <div class="image" ng-click="choiceTShirtBackFront('front')"> |
216 | <img ng-src="{{ tShirtImgFront }}" alt="" /> | 209 | <img ng-src="{{ tShirtImgFront }}" alt="" /> |
217 | </div> | 210 | </div> |
218 | 211 | ||
219 | </li> | 212 | </li> |
220 | <li ng-class="'back' === tShirtChoiceBackFrontKey ? 'focus' : ''"> | 213 | <li ng-class="'back' === tShirtChoiceBackFrontKey ? 'focus' : ''"> |
221 | <div>後</div> | 214 | <div>後</div> |
222 | <div class="image" ng-click="choiceTShirtBackFront('back')"> | 215 | <div class="image" ng-click="choiceTShirtBackFront('back')"> |
223 | <img ng-src="{{ tShirtImgBack }}" alt="" /> | 216 | <img ng-src="{{ tShirtImgBack }}" alt="" /> |
224 | </div> | 217 | </div> |
225 | 218 | ||
226 | </li> | 219 | </li> |
227 | </ul> | 220 | </ul> |
228 | </div> | 221 | </div> |
229 | </section> | 222 | </section> |
230 | </article> | 223 | </article> |
231 | <footer class="clearfix"> | 224 | <footer class="clearfix"> |
232 | <ul class="nav-footer"> | 225 | <ul class="nav-footer"> |
233 | <li><a href="#">店舗検索</a></li> | 226 | <li><a href="#">店舗検索</a></li> |
234 | <li><a href="#">お客様窓口</a></li> | 227 | <li><a href="#">お客様窓口</a></li> |
235 | <li><a href="#">企業情報</a></li> | 228 | <li><a href="#">企業情報</a></li> |
236 | <li><a href="#">採用情報</a></li> | 229 | <li><a href="#">採用情報</a></li> |
237 | <li><a href="#">プライバシーポリシー</a></li> | 230 | <li><a href="#">プライバシーポリシー</a></li> |
238 | </ul> | 231 | </ul> |
232 | <div class="logo-bottom"> | ||
233 | <img src="../images/logobottom.png" alt="Logo" /> | ||
234 | </div> | ||
239 | </footer> | 235 | </footer> |