Commit 422e7837d2ec4920963438a7096cc2ae6acaf9db
1 parent
b7e6d581d2
Exists in
master
and in
2 other branches
Change color t-shirt
Showing 13 changed files with 131 additions and 32 deletions Inline Diff
- app/images/t-shirt/1/black/back.png
- app/images/t-shirt/1/black/front.png
- app/images/t-shirt/1/gray/back.png
- app/images/t-shirt/1/gray/front.png
- app/images/t-shirt/1/orange/back.png
- app/images/t-shirt/1/orange/front.png
- app/scripts/controllers/main.js
- app/scripts/controllers/tshirtdesign.js
- app/scripts/routes.js
- app/scripts/services/tshirt.js
- app/styles/main.css
- app/views/main.html
- app/views/tshirt-design.html
app/images/t-shirt/1/black/back.png
179 KB
app/images/t-shirt/1/black/front.png
139 KB
app/images/t-shirt/1/gray/back.png
253 KB
app/images/t-shirt/1/gray/front.png
265 KB
app/images/t-shirt/1/orange/back.png
190 KB
app/images/t-shirt/1/orange/front.png
182 KB
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 ($scope, $illustration) { | 3 | app.controller('MainCtrl', function ($rootScope, $scope, $illustration, $t_shirt) { |
| 4 | //Action T-Shirt choice color and Back or Front | ||
| 5 | $scope.tShirtColor = $t_shirt.getTShirtColor(0); | ||
| 6 | //Set color name default | ||
| 7 | var tShirtColorFirstKey = 0; | ||
| 8 | $scope.tShirtChoiceBackFrontKey = 'front'; | ||
| 9 | $scope.tShirtColorKey = tShirtColorFirstKey; | ||
| 10 | $rootScope.tShirtColorCode = $scope.tShirtColor[tShirtColorFirstKey].code; | ||
| 11 | $scope.tShirtColorName = $scope.tShirtColor[tShirtColorFirstKey].name; | ||
| 12 | $scope.tShirtImgFront = $scope.tShirtColor[tShirtColorFirstKey].img.front; | ||
| 13 | $scope.tShirtImgBack = $scope.tShirtColor[tShirtColorFirstKey].img.back; | ||
| 14 | $scope.tShirtImg = $scope.tShirtImgFront; | ||
| 15 | |||
| 16 | $scope.choiceTShirtColor = function(key) { | ||
| 17 | $scope.tShirtColorKey = key; | ||
| 18 | $rootScope.tShirtColorCode = $scope.tShirtColor[key].code; | ||
| 19 | $scope.tShirtColorName = $scope.tShirtColor[key].name; | ||
| 20 | $scope.tShirtImgFront = $scope.tShirtColor[key].img.front; | ||
| 21 | $scope.tShirtImgBack = $scope.tShirtColor[key].img.back; | ||
| 22 | if($scope.tShirtChoiceBackFrontKey == 'front') { | ||
| 23 | $scope.tShirtImg = $scope.tShirtImgFront; | ||
| 24 | } else { | ||
| 25 | $scope.tShirtImg = $scope.tShirtImgBack; | ||
| 26 | } | ||
| 27 | }; | ||
| 28 | $scope.choiceTShirtBackFront = function(choice) { | ||
| 29 | if(choice == 'front') { | ||
| 30 | $scope.tShirtImg = $scope.tShirtImgFront; | ||
| 31 | } else { | ||
| 32 | $scope.tShirtImg = $scope.tShirtImgBack; | ||
| 33 | } | ||
| 34 | $scope.tShirtChoiceBackFrontKey = choice; | ||
| 35 | }; | ||
| 36 | |||
| 37 | |||
| 4 | $scope.showIllustration = function(tab){ | 38 | $scope.showIllustration = function(tab){ |
| 5 | $scope.isShowLeftPanel = tab; | 39 | $scope.isShowLeftPanel = tab; |
| 6 | switch (tab){ | 40 | switch (tab){ |
| 7 | case 'illustration': { | 41 | case 'illustration': { |
| 8 | $scope.IllustrationList = $illustration.getAll(); | 42 | $scope.IllustrationList = $illustration.getAll(); |
| 9 | $scope.illustrationSelectConfig = { | 43 | $scope.illustrationSelectConfig = { |
| 10 | allowClear:true | 44 | allowClear:true |
| 11 | } | 45 | }; |
| 12 | break; | 46 | break; |
| 13 | } | 47 | } |
| 14 | // case: '' | 48 | // case: '' |
| 15 | } | 49 | } |
| 16 | } | 50 | }; |
| 17 | 51 | ||
| 18 | $scope.modalTShirtDesign = function() { | 52 | $scope.modalTShirtDesign = function() { |
| 19 | // console.log($('#tshirt-design').length); | ||
| 20 | $('#tshirt-design').modal( | 53 | $('#tshirt-design').modal( |
| 21 | { | 54 | { |
| 22 | backdrop: 'static', | 55 | backdrop: 'static', |
| 23 | keyboard: false | 56 | keyboard: false |
| 24 | } | 57 | } |
| 25 | ); | 58 | ); |
| 26 | $scope.showIllustration('default'); | 59 | $scope.showIllustration('default'); |
| 27 | }; | 60 | }; |
| 28 | $scope.modalClose = function(){ | 61 | $scope.modalClose = function(){ |
| 29 | $('#tshirt-design').modal('hide'); | 62 | $('#tshirt-design').modal('hide'); |
| 30 | } | 63 | }; |
| 64 | |||
| 65 | |||
| 31 | }); | 66 | }); |
| 32 | }); | 67 | }); |
app/scripts/controllers/tshirtdesign.js
| 1 | define(['app'], function (app) { | 1 | define(['app'], function (app) { |
| 2 | 'use strict'; | 2 | 'use strict'; |
| 3 | 3 | ||
| 4 | app.controller('TshirtdesignCtrl', function ($scope, $illustration) { | 4 | app.controller('TshirtdesignCtrl', function ($scope, $rootScope, $illustration) { |
| 5 | //$scope.IllustrationList = $illustration.getAll(); | ||
| 6 | 5 | ||
| 7 | var canvas = new fabric.Canvas('main-design-container'); | 6 | var canvas = new fabric.Canvas('main-design-container'); |
| 8 | fabric.Object.prototype.transparentCorners = false; | 7 | fabric.Object.prototype.transparentCorners = false; |
| 9 | 8 | ||
| 10 | canvas.on('after:render', function() { | 9 | canvas.on('after:render', function() { |
| 11 | }); | 10 | }); |
| 12 | canvas.on({ | 11 | canvas.on({ |
| 13 | 'object:moving': onIllustrationChange, | 12 | 'object:moving': onIllustrationChange, |
| 14 | 'object:scaling': onIllustrationChange, | 13 | 'object:scaling': onIllustrationChange, |
| 15 | 'object:rotating': onIllustrationChange, | 14 | 'object:rotating': onIllustrationChange, |
| 16 | 'object:selected': onllustrationSelected, | 15 | 'object:selected': onllustrationSelected, |
| 17 | }); | 16 | }); |
| 18 | function onIllustrationChange(options) { | 17 | function onIllustrationChange(options) { |
| 19 | // options.target.setCoords(); | 18 | // options.target.setCoords(); |
| 20 | // canvas.forEachObject(function(obj) { | 19 | // canvas.forEachObject(function(obj) { |
| 21 | // if (obj === options.target) return; | 20 | // if (obj === options.target) return; |
| 22 | // obj.setOpacity(options.target.intersectsWithObject(obj) ? 0.5 : 1); | 21 | // obj.setOpacity(options.target.intersectsWithObject(obj) ? 0.5 : 1); |
| 23 | // }); | 22 | // }); |
| 24 | } | 23 | } |
| 25 | 24 | ||
| 26 | $scope.currentObject = null; | 25 | $scope.currentObject = null; |
| 27 | function onllustrationSelected(options){ | 26 | function onllustrationSelected(options){ |
| 28 | $scope.currentObject = canvas.getActiveObject(); | 27 | $scope.currentObject = canvas.getActiveObject(); |
| 29 | console.log(canvas.getActiveObject()); | 28 | console.log(canvas.getActiveObject()); |
| 30 | } | 29 | } |
| 31 | 30 | ||
| 32 | // Illustration process | 31 | // Illustration process |
| 33 | $scope.changeIllustrationCategory = function(currentIllustration){ | 32 | $scope.changeIllustrationCategory = function(currentIllustration){ |
| 34 | $scope.currentIllustrationCate = $illustration.getList(currentIllustration); | 33 | $scope.currentIllustrationCate = $illustration.getList(currentIllustration); |
| 35 | console.log($scope.currentIllustrationCate); | 34 | console.log($scope.currentIllustrationCate); |
| 36 | } | 35 | }; |
| 37 | 36 | ||
| 38 | $scope.insertSvg = function(item){ | 37 | $scope.insertSvg = function(item){ |
| 39 | fabric.loadSVGFromURL(item.path, function(objects, options) { | 38 | fabric.loadSVGFromURL(item.path, function(objects, options) { |
| 40 | var shape = fabric.util.groupSVGElements(objects, options); | 39 | var shape = fabric.util.groupSVGElements(objects, options); |
| 41 | // shape.setFill('green'); | 40 | // shape.setFill('green'); |
| 42 | canvas.add(shape.scale(0.6)); | 41 | canvas.add(shape.scale(0.6)); |
| 43 | shape.set({ left: 150, top: 200 }).setCoords(); | 42 | shape.set({ left: 150, top: 200 }).setCoords(); |
| 44 | canvas.renderAll(); | 43 | canvas.renderAll(); |
| 45 | canvas.setActiveObject(shape); | 44 | canvas.setActiveObject(shape); |
| 46 | }); | 45 | }); |
| 47 | } | 46 | }; |
| 48 | 47 | ||
| 49 | // color pattern | 48 | // color pattern |
| 50 | $scope.changeColorPattern = function(color){ | 49 | $scope.changeColorPattern = function(color){ |
| 51 | canvas.getActiveObject().set("fill", color); | 50 | canvas.getActiveObject().set("fill", color); |
| 52 | canvas.renderAll(); | 51 | canvas.renderAll(); |
| 53 | } | 52 | }; |
| 54 | $scope.listColorPatterns = [ | 53 | $scope.listColorPatterns = [ |
| 55 | '#000000', | 54 | '#000000', |
| 56 | '#ffff00', | 55 | '#ffff00', |
| 57 | '#ff6600', | 56 | '#ff6600', |
| 58 | '#ff0000', | 57 | '#ff0000', |
| 59 | '#ff6262', | 58 | '#ff6262', |
| 60 | '#ffa19c', | 59 | '#ffa19c', |
| 61 | '#ff9933', | 60 | '#ff9933', |
| 62 | '#c45d01', | 61 | '#c45d01', |
| 63 | '#5d2b03', | 62 | '#5d2b03', |
| 64 | '#ffffcc', | 63 | '#ffffcc', |
| 65 | |||
| 66 | '#000000', | 64 | '#000000', |
| 67 | '#ffff00', | 65 | '#ffff00', |
| 68 | '#ff6600', | 66 | '#ff6600', |
| 69 | '#ff0000', | 67 | '#ff0000', |
| 70 | '#ff6262', | 68 | '#ff6262', |
| 71 | '#ffa19c', | 69 | '#ffa19c', |
| 72 | '#ff9933', | 70 | '#ff9933', |
| 73 | '#c45d01', | 71 | '#c45d01', |
| 74 | '#5d2b03', | 72 | '#5d2b03', |
| 75 | '#ffffcc', | 73 | '#ffffcc', |
| 76 | |||
| 77 | '#000000', | 74 | '#000000', |
| 78 | '#ffff00', | 75 | '#ffff00', |
| 79 | '#ff6600', | 76 | '#ff6600', |
| 80 | '#ff0000', | 77 | '#ff0000', |
| 81 | '#ff6262', | 78 | '#ff6262', |
| 82 | '#ffa19c', | 79 | '#ffa19c', |
| 83 | '#ff9933', | 80 | '#ff9933', |
| 84 | '#c45d01', | 81 | '#c45d01', |
| 85 | '#5d2b03', | 82 | '#5d2b03', |
| 86 | '#ffffcc', | 83 | '#ffffcc', |
| 87 | |||
| 88 | '#ffffcc' | 84 | '#ffffcc' |
| 89 | ] | 85 | ]; |
| 86 | |||
| 87 | |||
| 90 | }); | 88 | }); |
app/scripts/routes.js
| 1 | define([], function(){ | 1 | define([], function(){ |
| 2 | 'use strict'; | 2 | 'use strict'; |
| 3 | return { | 3 | return { |
| 4 | defaultRoutePaths: '/', | 4 | defaultRoutePaths: '/', |
| 5 | routes: { | 5 | routes: { |
| 6 | /* add more routes */ | 6 | /* add more routes */ |
| 7 | '/': { | 7 | '/': { |
| 8 | templateUrl: '/views/main.html', | 8 | templateUrl: '/views/main.html', |
| 9 | dependencies: [ | 9 | dependencies: [ |
| 10 | '/scripts/controllers/main.js', | 10 | '/scripts/controllers/main.js', |
| 11 | '/scripts/controllers/tshirtdesign.js', | 11 | '/scripts/controllers/tshirtdesign.js', |
| 12 | '/scripts/services/illustration.js' | 12 | '/scripts/services/illustration.js', |
| 13 | '/scripts/services/tshirt.js' | ||
| 13 | ] | 14 | ] |
| 14 | } | 15 | } |
| 15 | } | 16 | } |
| 16 | }; | 17 | }; |
| 17 | }); | 18 | }); |
app/scripts/services/tshirt.js
| File was created | 1 | define(['app'], function (app) { | |
| 2 | 'use strict'; | ||
| 3 | |||
| 4 | app.factory('$t_shirt', function ($http, $rootScope) { | ||
| 5 | var DATA = [ | ||
| 6 | { | ||
| 7 | info: { | ||
| 8 | name: '', | ||
| 9 | description: '', | ||
| 10 | price: '', | ||
| 11 | gender: '', | ||
| 12 | image: '' | ||
| 13 | }, | ||
| 14 | place_design: {}, | ||
| 15 | color: [ | ||
| 16 | { | ||
| 17 | name: 'color: 2E GRAY', | ||
| 18 | code: '#d0d0cd', | ||
| 19 | img: { | ||
| 20 | front: 'images/t-shirt/1/gray/front.png', | ||
| 21 | back: 'images/t-shirt/1/gray/back.png' | ||
| 22 | }, | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | name: 'color: 00 BLACK', | ||
| 26 | code: '#23282e', | ||
| 27 | img: { | ||
| 28 | front: 'images/t-shirt/1/black/front.png', | ||
| 29 | back: 'images/t-shirt/1/black/back.png' | ||
| 30 | }, | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | name: 'color: 3B ORANGE', | ||
| 34 | code: '#e2583b', | ||
| 35 | img: { | ||
| 36 | front: 'images/t-shirt/1/orange/front.png', | ||
| 37 | back: 'images/t-shirt/1/orange/back.png' | ||
| 38 | }, | ||
| 39 | } | ||
| 40 | ] | ||
| 41 | }]; | ||
| 42 | |||
| 43 | return { | ||
| 44 | getTShirtColor : function(key) { | ||
| 45 | if (typeof DATA[key] == 'undefined'){ | ||
| 46 | return []; | ||
| 47 | } | ||
| 48 | return DATA[key]['color']; | ||
| 49 | }, | ||
| 50 | |||
| 51 | getAll: function(){ | ||
| 52 | return DATA; | ||
| 53 | }, | ||
| 54 | getList: function(category){ | ||
| 55 | if (typeof DATA[category] == 'undefined'){ | ||
| 56 | return []; | ||
| 57 | } | ||
| 58 | return DATA[category]; | ||
| 59 | } | ||
| 60 | }; | ||
| 61 | }); | ||
| 62 | }); | ||
| 63 |
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 | body { | 3 | body { |
| 4 | font-family: 'Hiragino Kaku Gothic Pro', sans-serif; | 4 | font-family: 'Hiragino Kaku Gothic Pro', sans-serif; |
| 5 | } | 5 | } |
| 6 | .padding-right-0{ | 6 | .padding-right-0{ |
| 7 | padding-right: 0!important; | 7 | padding-right: 0!important; |
| 8 | } | 8 | } |
| 9 | .padding-left-0{ | 9 | .padding-left-0{ |
| 10 | padding-left: 0!important; | 10 | padding-left: 0!important; |
| 11 | } | 11 | } |
| 12 | button.red{ | 12 | button.red{ |
| 13 | color: #ffffff; | 13 | color: #ffffff; |
| 14 | background-color: #ff0000; | 14 | background-color: #ff0000; |
| 15 | border: 1px solid #ff0000; | 15 | border: 1px solid #ff0000; |
| 16 | 16 | ||
| 17 | } | 17 | } |
| 18 | button.white{ | 18 | button.white{ |
| 19 | border: 1px solid #ff8080; | 19 | border: 1px solid #ff8080; |
| 20 | color: #ff8080; | 20 | color: #ff8080; |
| 21 | background-color: #ffffff; | 21 | background-color: #ffffff; |
| 22 | } | 22 | } |
| 23 | button.brown{ | 23 | button.brown{ |
| 24 | background-color: #666666; | 24 | background-color: #666666; |
| 25 | border: 1px solid #666666; | 25 | border: 1px solid #666666; |
| 26 | color: #ffffff; | 26 | color: #ffffff; |
| 27 | border-radius: 5px; | 27 | border-radius: 5px; |
| 28 | } | 28 | } |
| 29 | button.black{ | 29 | button.black{ |
| 30 | border: 1px solid #c9c9c9; | 30 | border: 1px solid #c9c9c9; |
| 31 | background-color: #343434; | 31 | background-color: #343434; |
| 32 | color: #ffffff; | 32 | color: #ffffff; |
| 33 | padding: 1px 6px; | 33 | padding: 1px 6px; |
| 34 | } | 34 | } |
| 35 | #tshirt-container{ | 35 | #tshirt-container{ |
| 36 | border-left: 1px solid #dcdcdc; | 36 | border-left: 1px solid #dcdcdc; |
| 37 | border-right: 1px solid #dcdcdc; | 37 | border-right: 1px solid #dcdcdc; |
| 38 | } | 38 | } |
| 39 | /*HEADER*/ | 39 | /*HEADER*/ |
| 40 | header{ | 40 | header{ |
| 41 | border-bottom: 1px solid #dcdcdc; | 41 | border-bottom: 1px solid #dcdcdc; |
| 42 | } | 42 | } |
| 43 | header .logo{ | 43 | header .logo{ |
| 44 | color: #ed1d24; | 44 | color: #ed1d24; |
| 45 | font-size: 30px; | 45 | font-size: 30px; |
| 46 | text-transform: uppercase; | 46 | text-transform: uppercase; |
| 47 | font-weight: bold; | 47 | font-weight: bold; |
| 48 | } | 48 | } |
| 49 | header .logo img{ | 49 | header .logo img{ |
| 50 | width: 60px; | 50 | width: 60px; |
| 51 | } | 51 | } |
| 52 | /*NAVIGATION*/ | 52 | /*NAVIGATION*/ |
| 53 | nav{ | 53 | nav{ |
| 54 | border-bottom: 1px solid #dcdcdc; | 54 | border-bottom: 1px solid #dcdcdc; |
| 55 | padding: 10px 0; | 55 | padding: 10px 0; |
| 56 | } | 56 | } |
| 57 | nav h2{ | 57 | nav h2{ |
| 58 | font-size: 27px; | 58 | font-size: 27px; |
| 59 | margin: 0 0; | 59 | margin: 0 0; |
| 60 | } | 60 | } |
| 61 | nav ul{ | 61 | nav ul{ |
| 62 | list-style: none; | 62 | list-style: none; |
| 63 | padding-left: 0; | 63 | padding-left: 0; |
| 64 | margin-bottom: 0; | 64 | margin-bottom: 0; |
| 65 | 65 | ||
| 66 | } | 66 | } |
| 67 | nav ul li{ | 67 | nav ul li{ |
| 68 | margin-left: 2px; | 68 | margin-left: 2px; |
| 69 | float: left; | 69 | float: left; |
| 70 | padding: 6px 12px; | 70 | padding: 6px 12px; |
| 71 | background-color: #999999; | 71 | background-color: #999999; |
| 72 | position: relative; | 72 | position: relative; |
| 73 | } | 73 | } |
| 74 | nav ul li i.fa{ | 74 | nav ul li i.fa{ |
| 75 | position: absolute; | 75 | position: absolute; |
| 76 | color: #ffffff; | 76 | color: #ffffff; |
| 77 | font-size: 18px; | 77 | font-size: 18px; |
| 78 | right: -4px; | 78 | right: -4px; |
| 79 | top: 50%; | 79 | top: 50%; |
| 80 | transform: translateX(-50%) translateY(-50%); | 80 | transform: translateX(-50%) translateY(-50%); |
| 81 | -webkit-transform: translateX(-50%) translateY(-50%); | 81 | -webkit-transform: translateX(-50%) translateY(-50%); |
| 82 | } | 82 | } |
| 83 | nav ul li a{ | 83 | nav ul li a{ |
| 84 | color: #ffffff; | 84 | color: #ffffff; |
| 85 | } | 85 | } |
| 86 | nav ul li:hover a{ | 86 | nav ul li:hover a{ |
| 87 | text-decoration: none; | 87 | text-decoration: none; |
| 88 | color: #ffffff; | 88 | color: #ffffff; |
| 89 | } | 89 | } |
| 90 | nav ul li.action{ | 90 | nav ul li.action{ |
| 91 | color: #ffffff; | 91 | color: #ffffff; |
| 92 | background-color: #ed1d24; | 92 | background-color: #ed1d24; |
| 93 | } | 93 | } |
| 94 | /*ASIDE*/ | 94 | /*ASIDE*/ |
| 95 | aside{ | 95 | aside{ |
| 96 | margin: 10px 0; | 96 | margin: 10px 0; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | aside .break-down{ | 99 | aside .break-down{ |
| 100 | padding: 0 0; | 100 | padding: 0 0; |
| 101 | } | 101 | } |
| 102 | aside .break-down i.fa{ | 102 | aside .break-down i.fa{ |
| 103 | font-size: 35px; | 103 | font-size: 35px; |
| 104 | color: #ff0000; | 104 | color: #ff0000; |
| 105 | } | 105 | } |
| 106 | aside .break-line{ | 106 | aside .break-line{ |
| 107 | height: 10px; | 107 | height: 10px; |
| 108 | } | 108 | } |
| 109 | aside .break-line hr{ | 109 | aside .break-line hr{ |
| 110 | border-top: 1px dotted #cccccc; | 110 | border-top: 1px dotted #cccccc; |
| 111 | } | 111 | } |
| 112 | aside .step{ | 112 | aside .step{ |
| 113 | margin: 0 0; | 113 | margin: 0 0; |
| 114 | } | 114 | } |
| 115 | aside .step .title{ | 115 | aside .step .title{ |
| 116 | font-size: 15px; | 116 | font-size: 15px; |
| 117 | line-height: 16px; | 117 | line-height: 16px; |
| 118 | font-weight: bold; | 118 | font-weight: bold; |
| 119 | margin-bottom: 3px; | 119 | margin-bottom: 3px; |
| 120 | } | 120 | } |
| 121 | aside .step .title-notice{ | 121 | aside .step .title-notice{ |
| 122 | font-size: 13px; | 122 | font-size: 13px; |
| 123 | line-height: 16px; | 123 | line-height: 16px; |
| 124 | margin-bottom: 3px; | 124 | margin-bottom: 3px; |
| 125 | } | 125 | } |
| 126 | aside .step .title-notice .require{ | 126 | aside .step .title-notice .require{ |
| 127 | font-size: 10px; | 127 | font-size: 10px; |
| 128 | } | 128 | } |
| 129 | aside .step .step-box{ | 129 | aside .step .step-box{ |
| 130 | border: 2px solid #dcdcdc; | 130 | border: 2px solid #dcdcdc; |
| 131 | font-size: 12px; | 131 | font-size: 12px; |
| 132 | 132 | ||
| 133 | } | 133 | } |
| 134 | /*Step 1*/ | 134 | /*Step 1*/ |
| 135 | aside .step .step-box .tshirt-design{ | 135 | aside .step .step-box .tshirt-design{ |
| 136 | border: 1px solid #cccccc; | 136 | border: 1px solid #cccccc; |
| 137 | background-color: #f5f5f5; | 137 | background-color: #f5f5f5; |
| 138 | margin: 10px 10px; | 138 | margin: 10px 10px; |
| 139 | } | 139 | } |
| 140 | aside .step .step-box .tshirt-design:hover{ | 140 | aside .step .step-box .tshirt-design:hover{ |
| 141 | border: 1px solid #ff0000; | 141 | border: 1px solid #ff0000; |
| 142 | } | 142 | } |
| 143 | aside .step .step-box .tshirt-design button:hover{ | 143 | aside .step .step-box .tshirt-design button:hover{ |
| 144 | background-color: #fa7b7b; | 144 | background-color: #fa7b7b; |
| 145 | border: 1px solid #fa7b7b; | 145 | border: 1px solid #fa7b7b; |
| 146 | } | 146 | } |
| 147 | aside .step .step-box .tshirt-design div{ | 147 | aside .step .step-box .tshirt-design div{ |
| 148 | float: left; | 148 | float: left; |
| 149 | } | 149 | } |
| 150 | aside .step .step-box .tshirt-design .icon{ | 150 | aside .step .step-box .tshirt-design .icon{ |
| 151 | padding: 4px 4px; | 151 | padding: 4px 4px; |
| 152 | border-right: 1px solid #cccccc; | 152 | border-right: 1px solid #cccccc; |
| 153 | 153 | ||
| 154 | } | 154 | } |
| 155 | aside .step .step-box .tshirt-design .icon img{ | 155 | aside .step .step-box .tshirt-design .icon img{ |
| 156 | height: 50px; | 156 | height: 50px; |
| 157 | } | 157 | } |
| 158 | aside .step .step-box .tshirt-design .name{ | 158 | aside .step .step-box .tshirt-design .name{ |
| 159 | padding: 10px 10px; | 159 | padding: 10px 10px; |
| 160 | 160 | ||
| 161 | } | 161 | } |
| 162 | aside .step .step-box .tshirt-design .action{ | 162 | aside .step .step-box .tshirt-design .action{ |
| 163 | padding: 10px 10px; | 163 | padding: 10px 10px; |
| 164 | float: right; | 164 | float: right; |
| 165 | 165 | ||
| 166 | } | 166 | } |
| 167 | aside .step .step-box .tshirt-design .action button{ | 167 | aside .step .step-box .tshirt-design .action button{ |
| 168 | padding: 8px 10px; | 168 | padding: 8px 10px; |
| 169 | } | 169 | } |
| 170 | /*Step 2*/ | 170 | /*Step 2*/ |
| 171 | aside .step .step-box .tshirt-color{ | 171 | aside .step .step-box .tshirt-color{ |
| 172 | padding: 6px 10px; | 172 | padding: 6px 10px; |
| 173 | position: relative; | 173 | position: relative; |
| 174 | } | 174 | } |
| 175 | aside .step .step-box .tshirt-color ul.choice-color{ | 175 | aside .step .step-box .tshirt-color ul.choice-color{ |
| 176 | float: left; | 176 | float: left; |
| 177 | list-style: none; | 177 | list-style: none; |
| 178 | padding-left: 0; | 178 | padding-left: 0; |
| 179 | width: 100%; | 179 | width: 100%; |
| 180 | margin-bottom: 3px; | 180 | margin-bottom: 3px; |
| 181 | } | 181 | } |
| 182 | aside .step .step-box .tshirt-color ul.choice-color li{ | 182 | aside .step .step-box .tshirt-color ul.choice-color li{ |
| 183 | margin: 0 10px 0 0; | 183 | margin: 0 10px 0 0; |
| 184 | border: 1px solid #cccccc; | 184 | border: 1px solid #cccccc; |
| 185 | padding: 2px 2px; | 185 | padding: 2px 2px; |
| 186 | float: left; | 186 | float: left; |
| 187 | cursor: pointer; | 187 | cursor: pointer; |
| 188 | } | 188 | } |
| 189 | aside .step .step-box .tshirt-color ul.choice-color li.action{ | 189 | aside .step .step-box .tshirt-color ul.choice-color li.action{ |
| 190 | border: 1px solid #ff0000; | 190 | border: 1px solid #ff0000; |
| 191 | } | 191 | } |
| 192 | aside .step .step-box .tshirt-color ul.choice-color li:hover{ | 192 | aside .step .step-box .tshirt-color ul.choice-color li:hover{ |
| 193 | border: 1px solid #ff0000; | 193 | border: 1px solid #ff0000; |
| 194 | } | 194 | } |
| 195 | aside .step .step-box .tshirt-color ul.choice-color li div{ | 195 | aside .step .step-box .tshirt-color ul.choice-color li div{ |
| 196 | height: 30px; | 196 | height: 30px; |
| 197 | width: 30px; | 197 | width: 30px; |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | aside .step .step-box .tshirt-color ul.choice-color li.white div{ | 200 | aside .step .step-box .tshirt-color ul.choice-color li.white div{ |
| 201 | background-color: #ece7e4; | 201 | background-color: #ece7e4; |
| 202 | } | 202 | } |
| 203 | aside .step .step-box .tshirt-color ul.choice-color li.blue div{ | 203 | aside .step .step-box .tshirt-color ul.choice-color li.blue div{ |
| 204 | background-color: #e7dfd0; | 204 | background-color: #e7dfd0; |
| 205 | } | 205 | } |
| 206 | aside .step .step-box .tshirt-color .color-name{ | 206 | aside .step .step-box .tshirt-color .color-name{ |
| 207 | width: 100%; | 207 | width: 100%; |
| 208 | font-size: 10px; | 208 | font-size: 10px; |
| 209 | } | 209 | } |
| 210 | aside .step .step-box .tshirt-color .view-more{ | 210 | aside .step .step-box .tshirt-color .view-more{ |
| 211 | position: absolute; | 211 | position: absolute; |
| 212 | bottom: 6px; | 212 | bottom: 6px; |
| 213 | right: 10px; | 213 | right: 10px; |
| 214 | } | 214 | } |
| 215 | /*Step 3*/ | 215 | /*Step 3*/ |
| 216 | aside .step .step-box .tshirt-saveorder{ | 216 | aside .step .step-box .tshirt-saveorder{ |
| 217 | padding: 10px 10px 6px 10px; | 217 | padding: 10px 10px 6px 10px; |
| 218 | } | 218 | } |
| 219 | aside .step .step-box .tshirt-saveorder .action{ | 219 | aside .step .step-box .tshirt-saveorder .action{ |
| 220 | width: 50%; | 220 | width: 50%; |
| 221 | float: left; | 221 | float: left; |
| 222 | } | 222 | } |
| 223 | aside .step .step-box .tshirt-saveorder .action:first-child{ | 223 | aside .step .step-box .tshirt-saveorder .action:first-child{ |
| 224 | padding-right: 5px; | 224 | padding-right: 5px; |
| 225 | } | 225 | } |
| 226 | aside .step .step-box .tshirt-saveorder .action:last-child{ | 226 | aside .step .step-box .tshirt-saveorder .action:last-child{ |
| 227 | padding-left: 5px; | 227 | padding-left: 5px; |
| 228 | } | 228 | } |
| 229 | aside .step .step-box .tshirt-saveorder .action button{ | 229 | aside .step .step-box .tshirt-saveorder .action button{ |
| 230 | padding: 8px 10px; | 230 | padding: 8px 10px; |
| 231 | 231 | ||
| 232 | } | 232 | } |
| 233 | aside .step .step-box .tshirt-saveorder .action button .text{ | 233 | aside .step .step-box .tshirt-saveorder .action button .text{ |
| 234 | float: left; | 234 | float: left; |
| 235 | width: 80%; | 235 | width: 80%; |
| 236 | text-align: center; | 236 | text-align: center; |
| 237 | padding-left: 10px; | 237 | padding-left: 10px; |
| 238 | vertical-align: bottom; | 238 | vertical-align: bottom; |
| 239 | } | 239 | } |
| 240 | aside .step .step-box .tshirt-saveorder .action button .arrow{ | 240 | aside .step .step-box .tshirt-saveorder .action button .arrow{ |
| 241 | float: left; | 241 | float: left; |
| 242 | width: 20%; | 242 | width: 20%; |
| 243 | height: 40px; | 243 | height: 40px; |
| 244 | position: relative; | 244 | position: relative; |
| 245 | } | 245 | } |
| 246 | aside .step .step-box .tshirt-saveorder .action button .arrow i.fa{ | 246 | aside .step .step-box .tshirt-saveorder .action button .arrow i.fa{ |
| 247 | position: absolute; | 247 | position: absolute; |
| 248 | top: 50%; | 248 | top: 50%; |
| 249 | right: -6px; | 249 | right: -6px; |
| 250 | transform: translateX(-50%) translateY(-50%); | 250 | transform: translateX(-50%) translateY(-50%); |
| 251 | -webkit-transform: translateX(-50%) translateY(-50%); | 251 | -webkit-transform: translateX(-50%) translateY(-50%); |
| 252 | } | 252 | } |
| 253 | aside .step .step-box .tshirt-saveorder .notice{ | 253 | aside .step .step-box .tshirt-saveorder .notice{ |
| 254 | padding: 5px 0 0 0; | 254 | padding: 5px 0 0 0; |
| 255 | } | 255 | } |
| 256 | /*Step 4*/ | 256 | /*Step 4*/ |
| 257 | aside .step .title-notice{ | 257 | aside .step .title-notice{ |
| 258 | 258 | ||
| 259 | } | 259 | } |
| 260 | aside .step .step-box .change-design{ | 260 | aside .step .step-box .change-design{ |
| 261 | padding: 4px 4px; | 261 | padding: 4px 4px; |
| 262 | } | 262 | } |
| 263 | aside .step .step-box .change-design table{ | 263 | aside .step .step-box .change-design table{ |
| 264 | 264 | ||
| 265 | } | 265 | } |
| 266 | aside .step .step-box .change-design table tr{ | 266 | aside .step .step-box .change-design table tr{ |
| 267 | border-bottom: 1px dotted #cccccc; | 267 | border-bottom: 1px dotted #cccccc; |
| 268 | } | 268 | } |
| 269 | aside .step .step-box .change-design table tr:last-child{ | 269 | aside .step .step-box .change-design table tr:last-child{ |
| 270 | border-bottom: 0; | 270 | border-bottom: 0; |
| 271 | } | 271 | } |
| 272 | 272 | ||
| 273 | /*Step 5- finish*/ | 273 | /*Step 5- finish*/ |
| 274 | aside .step .finish-design{ | 274 | aside .step .finish-design{ |
| 275 | padding: 20px 0; | 275 | padding: 20px 0; |
| 276 | } | 276 | } |
| 277 | aside .step .finish-design button{ | 277 | aside .step .finish-design button{ |
| 278 | width: 100%; | 278 | width: 100%; |
| 279 | padding: 8px 10px; | 279 | padding: 8px 10px; |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | /*DESIGN CONTENT*/ | 282 | /*DESIGN CONTENT*/ |
| 283 | #tshirt-content{ | 283 | #tshirt-content{ |
| 284 | position: relative; | 284 | position: relative; |
| 285 | } | 285 | } |
| 286 | #tshirt-content .switch-border-design{ | 286 | #tshirt-content .switch-border-design{ |
| 287 | position: absolute; | 287 | position: absolute; |
| 288 | top: 5px; | 288 | top: 5px; |
| 289 | right: 10px; | 289 | right: 10px; |
| 290 | color: red; | 290 | color: red; |
| 291 | font-size: 11px; | 291 | font-size: 11px; |
| 292 | } | 292 | } |
| 293 | #tshirt-content .tshirt-image{ | 293 | #tshirt-content .tshirt-image{ |
| 294 | padding: 20px 0 0 0; | 294 | padding: 20px 0 0 0; |
| 295 | } | 295 | } |
| 296 | #tshirt-content .tshirt-choice{ | 296 | #tshirt-content .tshirt-choice{ |
| 297 | 297 | ||
| 298 | } | 298 | } |
| 299 | #tshirt-content .tshirt-choice ul{ | 299 | #tshirt-content .tshirt-choice ul{ |
| 300 | list-style: none; | 300 | list-style: none; |
| 301 | padding-left: 0; | 301 | padding-left: 0; |
| 302 | display: table; | 302 | display: table; |
| 303 | margin: auto; | 303 | margin: auto; |
| 304 | } | 304 | } |
| 305 | #tshirt-content .tshirt-choice ul li{ | 305 | #tshirt-content .tshirt-choice ul li{ |
| 306 | float: left; | 306 | float: left; |
| 307 | |||
| 308 | margin: 10px 10px; | 307 | margin: 10px 10px; |
| 308 | cursor: pointer; | ||
| 309 | } | 309 | } |
| 310 | #tshirt-content .tshirt-choice ul li .image{ | 310 | #tshirt-content .tshirt-choice ul li .image{ |
| 311 | border: 1px solid #cccccc; | 311 | border: 1px solid #cccccc; |
| 312 | padding: 3px 3px; | 312 | padding: 3px 3px; |
| 313 | } | 313 | } |
| 314 | #tshirt-content .tshirt-choice ul li.focus{ | 314 | #tshirt-content .tshirt-choice ul li.focus{ |
| 315 | 315 | ||
| 316 | } | 316 | } |
| 317 | #tshirt-content .tshirt-choice ul li.focus .image{ | 317 | #tshirt-content .tshirt-choice ul li.focus .image{ |
| 318 | border: 1px solid #ff0000; | 318 | border: 1px solid #ff0000; |
| 319 | } | 319 | } |
| 320 | #tshirt-content .tshirt-choice ul li .image img{ | ||
| 321 | width: 50px; | ||
| 322 | height: auto; | ||
| 323 | } | ||
| 320 | /*MODAL Design*/ | 324 | /*MODAL Design*/ |
| 321 | #tshirt-design{ | 325 | #tshirt-design{ |
| 322 | background-color: #666666; | 326 | background-color: #666666; |
| 323 | } | 327 | } |
| 324 | #tshirt-design .modal-dialog{ | 328 | #tshirt-design .modal-dialog{ |
| 325 | width: 75%; | 329 | width: 75%; |
| 326 | margin: 0 auto; | 330 | margin: 0 auto; |
| 327 | } | 331 | } |
| 328 | #tshirt-design .modal-dialog .modal-content{ | 332 | #tshirt-design .modal-dialog .modal-content{ |
| 329 | background-color: transparent; | 333 | background-color: transparent; |
| 330 | border-radius: 0; | 334 | border-radius: 0; |
| 331 | border: 0; | 335 | border: 0; |
| 332 | -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; | 336 | -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; |
| 333 | box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; | 337 | box-shadow: 0 0 0 rgba(0, 0, 0, .5)!important; |
| 334 | } | 338 | } |
| 335 | #tshirt-design .modal-dialog .modal-content .modal-header{ | 339 | #tshirt-design .modal-dialog .modal-content .modal-header{ |
| 336 | padding: 0 0 10px 0; | 340 | padding: 0 0 10px 0; |
| 337 | border-bottom: 0; | 341 | border-bottom: 0; |
| 338 | border-shadow: none!important; | 342 | border-shadow: none!important; |
| 339 | } | 343 | } |
| 340 | #tshirt-design .modal-dialog .modal-content .modal-body{ | 344 | #tshirt-design .modal-dialog .modal-content .modal-body{ |
| 341 | background-color: #f5f5f5; | 345 | background-color: #f5f5f5; |
| 342 | padding: 0 0; | 346 | padding: 0 0; |
| 343 | } | 347 | } |
| 344 | #tshirt-design header{ | 348 | #tshirt-design header{ |
| 345 | border-bottom: 1px solid #cccccc; | 349 | border-bottom: 1px solid #cccccc; |
| 346 | background-color: #dddddd; | 350 | background-color: #dddddd; |
| 347 | } | 351 | } |
| 348 | #tshirt-design header ul.nav{ | 352 | #tshirt-design header ul.nav{ |
| 349 | padding-left: 0; | 353 | padding-left: 0; |
| 350 | list-style: none; | 354 | list-style: none; |
| 351 | } | 355 | } |
| 352 | #tshirt-design header ul.nav li{ | 356 | #tshirt-design header ul.nav li{ |
| 353 | float: left; | 357 | float: left; |
| 354 | padding: 8px 26px; | 358 | padding: 8px 26px; |
| 355 | border-right: 1px solid #cccccc; | 359 | border-right: 1px solid #cccccc; |
| 356 | font-size: 14px; | 360 | font-size: 14px; |
| 357 | cursor: pointer; | 361 | cursor: pointer; |
| 358 | } | 362 | } |
| 359 | #tshirt-design header ul.nav li:hover, #tshirt-design header ul.nav li.active{ | 363 | #tshirt-design header ul.nav li:hover, #tshirt-design header ul.nav li.active{ |
| 360 | background-color: red; | 364 | background-color: red; |
| 361 | color: #ffffff; | 365 | color: #ffffff; |
| 362 | } | 366 | } |
| 363 | #tshirt-design header ul.nav li:hover i.fa, #tshirt-design header ul.nav li.active i.fa{ | 367 | #tshirt-design header ul.nav li:hover i.fa, #tshirt-design header ul.nav li.active i.fa{ |
| 364 | color: #ffffff; | 368 | color: #ffffff; |
| 365 | } | 369 | } |
| 366 | #tshirt-design header ul.nav li i.fa{ | 370 | #tshirt-design header ul.nav li i.fa{ |
| 367 | color: #fe070f; | 371 | color: #fe070f; |
| 368 | font-size: 20px; | 372 | font-size: 20px; |
| 369 | margin-right: 10px; | 373 | margin-right: 10px; |
| 370 | } | 374 | } |
| 371 | #tshirt-design header .action{ | 375 | #tshirt-design header .action{ |
| 372 | 376 | ||
| 373 | } | 377 | } |
| 374 | #tshirt-design header .action button{ | 378 | #tshirt-design header .action button{ |
| 375 | padding: 2px 10px; | 379 | padding: 2px 10px; |
| 376 | margin: 6px 10px; | 380 | margin: 6px 10px; |
| 377 | } | 381 | } |
| 378 | #tshirt-design header .action button:hover{ | 382 | #tshirt-design header .action button:hover{ |
| 379 | background-color: red; | 383 | background-color: red; |
| 380 | color: #ffffff; | 384 | color: #ffffff; |
| 381 | } | 385 | } |
| 382 | 386 | ||
| 383 | /*Aside modal*/ | 387 | /*Aside modal*/ |
| 384 | .aside{ | 388 | .aside{ |
| 385 | } | 389 | } |
| 386 | .aside #choice-design-option{ | 390 | .aside #choice-design-option{ |
| 387 | list-style: none; | 391 | list-style: none; |
| 388 | padding-left: 0; | 392 | padding-left: 0; |
| 389 | margin-top: 10px; | 393 | margin-top: 10px; |
| 390 | 394 | ||
| 391 | } | 395 | } |
| 392 | .aside #choice-design-option li{ | 396 | .aside #choice-design-option li{ |
| 393 | border: 1px solid #cdcdcd; | 397 | border: 1px solid #cdcdcd; |
| 394 | position: relative; | 398 | position: relative; |
| 395 | cursor: pointer; | 399 | cursor: pointer; |
| 396 | } | 400 | } |
| 397 | .aside #choice-design-option li .hover{ | 401 | .aside #choice-design-option li .hover{ |
| 398 | background-color: #fddad4; | 402 | background-color: #fddad4; |
| 399 | opacity: 0.6; | 403 | opacity: 0.6; |
| 400 | position: absolute; | 404 | position: absolute; |
| 401 | width: 100%; | 405 | width: 100%; |
| 402 | height: 100%; | 406 | height: 100%; |
| 403 | display: none; | 407 | display: none; |
| 404 | } | 408 | } |
| 405 | .aside #choice-design-option li:hover .hover{ | 409 | .aside #choice-design-option li:hover .hover{ |
| 406 | display: block; | 410 | display: block; |
| 407 | } | 411 | } |
| 408 | 412 | ||
| 409 | .aside #choice-design-option li .title{ | 413 | .aside #choice-design-option li .title{ |
| 410 | background: url("../images/bg1.png") repeat #cdcdcd; | 414 | background: url("../images/bg1.png") repeat #cdcdcd; |
| 411 | padding: 3px 10px; | 415 | padding: 3px 10px; |
| 412 | } | 416 | } |
| 413 | .aside #choice-design-option li .title i.fa{ | 417 | .aside #choice-design-option li .title i.fa{ |
| 414 | color: #000000; | 418 | color: #000000; |
| 415 | } | 419 | } |
| 416 | 420 | ||
| 417 | .aside #choice-design-option li .content{ | 421 | .aside #choice-design-option li .content{ |
| 418 | 422 | ||
| 419 | } | 423 | } |
| 420 | .aside #choice-design-option li .content i.fa{ | 424 | .aside #choice-design-option li .content i.fa{ |
| 421 | font-size: 30px; | 425 | font-size: 30px; |
| 422 | color: #fe070f; | 426 | color: #fe070f; |
| 423 | margin: 8px 0; | 427 | margin: 8px 0; |
| 424 | } | 428 | } |
| 425 | .aside #choice-design-option li .content .des{ | 429 | .aside #choice-design-option li .content .des{ |
| 426 | padding: 3px 10px 3px 0; | 430 | padding: 3px 10px 3px 0; |
| 427 | } | 431 | } |
| 428 | 432 | ||
| 429 | 433 | ||
| 430 | .aside #choice-illustration{ | 434 | .aside #choice-illustration{ |
| 431 | list-style: none; | 435 | list-style: none; |
| 432 | padding-left: 0; | 436 | padding-left: 0; |
| 433 | margin-top: 10px; | 437 | margin-top: 10px; |
| 434 | 438 | ||
| 435 | } | 439 | } |
| 436 | .aside #choice-illustration li{ | 440 | .aside #choice-illustration li{ |
| 437 | border: 1px solid #cdcdcd; | 441 | border: 1px solid #cdcdcd; |
| 438 | position: relative; | 442 | position: relative; |
| 439 | } | 443 | } |
| 440 | 444 | ||
| 441 | .aside #choice-illustration li .title{ | 445 | .aside #choice-illustration li .title{ |
| 442 | background: url("../images/bg1.png") repeat #cdcdcd; | 446 | background: url("../images/bg1.png") repeat #cdcdcd; |
| 443 | padding: 3px 10px; | 447 | padding: 3px 10px; |
| 444 | } | 448 | } |
| 445 | 449 | ||
| 446 | .aside #choice-illustration li .content { | 450 | .aside #choice-illustration li .content { |
| 447 | padding: 10px 10px; | 451 | padding: 10px 10px; |
| 448 | } | 452 | } |
| 449 | 453 | ||
| 450 | .aside #choice-illustration li .content select{ | 454 | .aside #choice-illustration li .content select{ |
| 451 | width: 100%; | 455 | width: 100%; |
| 452 | } | 456 | } |
| 453 | 457 | ||
| 454 | .aside #choice-illustration li .content .illustration-list { | 458 | .aside #choice-illustration li .content .illustration-list { |
| 455 | width: 100%; | 459 | width: 100%; |
| 456 | border: #bbb solid 1px; | 460 | border: #bbb solid 1px; |
| 457 | background: #FFF; | 461 | background: #FFF; |
| 458 | margin-top: 5px; | 462 | margin-top: 5px; |
| 459 | } | 463 | } |
| 460 | 464 | ||
| 461 | .aside #choice-illustration li .content .illustration-list .illstration-item{ | 465 | .aside #choice-illustration li .content .illustration-list .illstration-item{ |
| 462 | height: 65px; | 466 | height: 65px; |
| 463 | overflow: hidden; | 467 | overflow: hidden; |
| 464 | float: left; | 468 | float: left; |
| 465 | margin-left: 5px; | 469 | margin-left: 5px; |
| 466 | } | 470 | } |
| 467 | 471 | ||
| 468 | .aside #choice-illustration li .content .illustration-list .illstration-item:hover { | 472 | .aside #choice-illustration li .content .illustration-list .illstration-item:hover { |
| 469 | outline: 2px solid #ed1d24; | 473 | outline: 2px solid #ed1d24; |
| 470 | } | 474 | } |
| 471 | 475 | ||
| 472 | .aside #choice-illustration li .content .illustration-list .illstration-item img { | 476 | .aside #choice-illustration li .content .illustration-list .illstration-item img { |
| 473 | width: 62px; | 477 | width: 62px; |
| 474 | cursor: pointer; | 478 | cursor: pointer; |
| 475 | } | 479 | } |
| 476 | 480 | ||
| 477 | .aside #choice-illustration li .content .color-patterns { | 481 | .aside #choice-illustration li .content .color-patterns { |
| 478 | width: 100%; | 482 | width: 100%; |
| 479 | border: #bbb solid 1px; | 483 | border: #bbb solid 1px; |
| 480 | background: #FFF; | 484 | background: #FFF; |
| 481 | margin-top: 5px; | 485 | margin-top: 5px; |
| 482 | } | 486 | } |
| 483 | 487 | ||
| 484 | .aside #choice-illustration li .content .color-patterns .color-pattern-item{ | 488 | .aside #choice-illustration li .content .color-patterns .color-pattern-item{ |
| 485 | height: 20px; | 489 | height: 20px; |
| 486 | float: left; | 490 | float: left; |
| 487 | margin-left: 4px; | 491 | margin-left: 4px; |
| 488 | margin-top: 2px; | 492 | margin-top: 2px; |
| 489 | width: 20px; | 493 | width: 20px; |
| 490 | cursor: pointer; | 494 | cursor: pointer; |
| 491 | border: 1px solid #ddd; | 495 | border: 1px solid #ddd; |
| 492 | } | 496 | } |
| 493 | 497 | ||
| 494 | .aside #choice-illustration li .content .color-patterns .color-pattern-item:hover { | 498 | .aside #choice-illustration li .content .color-patterns .color-pattern-item:hover { |
| 495 | outline: 1px solid #ed1d24; | 499 | outline: 1px solid #ed1d24; |
| 496 | } | 500 | } |
| 497 | 501 | ||
| 498 | 502 | ||
| 499 | /*Design content*/ | 503 | /*Design content*/ |
| 500 | .tshirt-design-container{ | 504 | .tshirt-design-container{ |
| 501 | position: relative; | 505 | position: relative; |
| 502 | } | 506 | } |
| 503 | .tshirt-design-container .design-content{ | 507 | .tshirt-design-container .design-content{ |
| 504 | padding: 10px 50px 10px 25px; | 508 | padding: 10px 30px 10px 15px; |
| 505 | } | 509 | } |
| 506 | .tshirt-design-container .design-content .content{ | 510 | .tshirt-design-container .design-content .content{ |
| 507 | width: 100%; | 511 | width: 100%; |
| 508 | min-height: 650px; | 512 | min-height: 650px; |
| 509 | background-color: #f0efea; | 513 | background-color: #f0efea; |
| 510 | padding: 40px 85px; | 514 | padding: 40px 40px; |
| 511 | height: 100%; | 515 | height: 100%; |
| 512 | } | 516 | } |
| 513 | .tshirt-design-container .design-content .content .selection-design{ | 517 | .tshirt-design-container .design-content .content .selection-design{ |
| 514 | border: 1px solid #ff0000; | 518 | border: 1px solid #ff0000; |
| 515 | width: 100%; | 519 | width: 100%; |
| 516 | height: 620px; | 520 | height: 620px; |
| 517 | } | 521 | } |
| 518 | .tshirt-design-container .agree-design{ | 522 | .tshirt-design-container .agree-design{ |
| 519 | position: absolute; | 523 | position: absolute; |
| 520 | right: -16px; | 524 | right: -16px; |
| 521 | top: 40%; | 525 | top: 40%; |
| 522 | } | 526 | } |
| 523 | .tshirt-design-container .trash-design{ | 527 | .tshirt-design-container .trash-design{ |
| 524 | position: absolute; | 528 | position: absolute; |
| 525 | right: 5px; | 529 | right: 5px; |
| 526 | bottom: 0; | 530 | bottom: 0; |
| 527 | } | 531 | } |
| 528 | 532 | ||
| 529 | 533 | ||
| 530 | /*FOOTER*/ | 534 | /*FOOTER*/ |
| 531 | footer{ | 535 | footer{ |
| 532 | background-color: #333333; | 536 | background-color: #333333; |
| 533 | } | 537 | } |
| 534 | footer ul.nav-footer{ | 538 | footer ul.nav-footer{ |
| 535 | padding-left: 0; | 539 | padding-left: 0; |
| 536 | list-style: none; | 540 | list-style: none; |
| 537 | } | 541 | } |
| 538 | footer ul.nav-footer li{ | 542 | footer ul.nav-footer li{ |
| 539 | float: left; | 543 | float: left; |
| 540 | padding: 3px 10px; | 544 | padding: 3px 10px; |
| 541 | border-right: 1px dotted #ffffff; | 545 | border-right: 1px dotted #ffffff; |
| 542 | 546 | ||
| 543 | } | 547 | } |
| 544 | footer ul.nav-footer li a{ | 548 | footer ul.nav-footer li a{ |
| 545 | color: #ffffff; | 549 | color: #ffffff; |
| 546 | font-size: 11px; | 550 | font-size: 11px; |
| 547 | } | 551 | } |
| 548 | /* Customize container */ | 552 | /* Customize container */ |
| 549 | @media (min-width: 768px) { | 553 | @media (min-width: 768px) { |
| 550 | .container { | 554 | .container { |
| 551 | /*max-width: 730px;*/ | 555 | /*max-width: 730px;*/ |
| 552 | } | 556 | } |
| 553 | } | 557 | } |
| 554 | 558 | ||
| 555 | /* Responsive: Portrait tablets and up */ | 559 | /* Responsive: Portrait tablets and up */ |
| 556 | @media screen and (min-width: 768px) { | 560 | @media screen and (min-width: 768px) { |
| 557 | /* Remove the padding we set earlier */ | 561 | /* Remove the padding we set earlier */ |
| 558 | 562 | ||
| 559 | } | 563 | } |
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> | 3 | <header> |
| 4 | <div class="logo"> | 4 | <div class="logo"> |
| 5 | <img src="images/logo_mobile_world.png" alt="Logo Mobile World" /> | 5 | <img src="images/logo_mobile_world.png" alt="Logo Mobile World" /> |
| 6 | MOBILE WORLD | 6 | MOBILE WORLD |
| 7 | </div> | 7 | </div> |
| 8 | </header> | 8 | </header> |
| 9 | <nav class="clearfix"> | 9 | <nav class="clearfix"> |
| 10 | <div class="col-sm-12"> | 10 | <div class="col-sm-12"> |
| 11 | <h2 class="pull-left">加工箇所を選択してデザインしてください。</h2> | 11 | <h2 class="pull-left">加工箇所を選択してデザインしてください。</h2> |
| 12 | <ul class="pull-right"> | 12 | <ul class="pull-right"> |
| 13 | <li><a href="#">商品に戻る</a><i class="fa fa-caret-left" aria-hidden="true"></i></li> | 13 | <li><a href="#">商品に戻る</a><i class="fa fa-caret-left" aria-hidden="true"></i></li> |
| 14 | <li><a href="#">加工方法に戻る</a><i class="fa fa-caret-left" aria-hidden="true"></i></li> | 14 | <li><a href="#">加工方法に戻る</a><i class="fa fa-caret-left" aria-hidden="true"></i></li> |
| 15 | <li class="action">デザインする</li> | 15 | <li class="action">デザインする</li> |
| 16 | </ul> | 16 | </ul> |
| 17 | </div> | 17 | </div> |
| 18 | </nav> | 18 | </nav> |
| 19 | <article class="clearfix"> | 19 | <article class="clearfix"> |
| 20 | <aside class="col-sm-5"> | 20 | <aside class="col-sm-5"> |
| 21 | <div class="step"> | 21 | <div class="step"> |
| 22 | <div class="title"> | 22 | <div class="title"> |
| 23 | 1. デザインを作る | 23 | 1. デザインを作る |
| 24 | </div> | 24 | </div> |
| 25 | <div class="step-box"> | 25 | <div class="step-box"> |
| 26 | <div class="tshirt-design clearfix"> | 26 | <div class="tshirt-design clearfix"> |
| 27 | <div class="icon"> | 27 | <div class="icon"> |
| 28 | <img src="images/t-shirt_icon/tshirt1.gif" alt="icon t-shirt" /> | 28 | <img src="images/t-shirt_icon/tshirt1.gif" alt="icon t-shirt" /> |
| 29 | </div> | 29 | </div> |
| 30 | <div class="name"> | 30 | <div class="name"> |
| 31 | 背中背中 (28x22) | 31 | 背中背中 (28x22) |
| 32 | </div> | 32 | </div> |
| 33 | <div class="action"> | 33 | <div class="action"> |
| 34 | <button class="red" ng-click="modalTShirtDesign()"> | 34 | <button class="red" ng-click="modalTShirtDesign()"> |
| 35 | <i class="fa fa-caret-right" aria-hidden="true"></i> デザインを作る | 35 | <i class="fa fa-caret-right" aria-hidden="true"></i> デザインを作る |
| 36 | </button> | 36 | </button> |
| 37 | </div> | 37 | </div> |
| 38 | </div> | 38 | </div> |
| 39 | </div> | 39 | </div> |
| 40 | </div> | 40 | </div> |
| 41 | 41 | ||
| 42 | <!-- BREAK DOWN--> | 42 | <!-- BREAK DOWN--> |
| 43 | <div class="text-center break-down"> | 43 | <div class="text-center break-down"> |
| 44 | <img src="images/bg_step_arrow.gif" alt="arrow" /> | 44 | <img src="images/bg_step_arrow.gif" alt="arrow" /> |
| 45 | </div> | 45 | </div> |
| 46 | 46 | ||
| 47 | <!-- STEP 2--> | 47 | <!-- STEP 2--> |
| 48 | <div class="step"> | 48 | <div class="step"> |
| 49 | <div class="title"> | 49 | <div class="title"> |
| 50 | 2.アイテムカラーを変更する | 50 | 2.アイテムカラーを変更する |
| 51 | </div> | 51 | </div> |
| 52 | <div class="step-box clearfix"> | 52 | <div class="step-box clearfix"> |
| 53 | <div class="tshirt-color"> | 53 | <div class="tshirt-color"> |
| 54 | <ul class="choice-color clearfix"> | 54 | <ul class="choice-color clearfix"> |
| 55 | <li class="white action"><div></div></li> | 55 | <li ng-repeat="(key,color) in tShirtColor" ng-click="choiceTShirtColor(key)" ng-class="key == tShirtColorKey ? 'action' : ''"> |
| 56 | <li class="blue"><div></div></li> | 56 | <div ng-style="{'background-color' : color.code}"></div> |
| 57 | </li> | ||
| 57 | </ul> | 58 | </ul> |
| 58 | <div class="color-name"> | 59 | <div class="color-name" ng-bind="tShirtColorName"></div> |
| 59 | color: 00 WHITE | ||
| 60 | </div> | ||
| 61 | <div class="view-more"> | 60 | <div class="view-more"> |
| 62 | 在庫確認 <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 61 | 在庫確認 <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 63 | </div> | 62 | </div> |
| 64 | </div> | 63 | </div> |
| 65 | </div> | 64 | </div> |
| 66 | </div> | 65 | </div> |
| 67 | 66 | ||
| 68 | <!-- BREAK DOWN--> | 67 | <!-- BREAK DOWN--> |
| 69 | <div class="text-center break-down"> | 68 | <div class="text-center break-down"> |
| 70 | <img src="images/bg_step_arrow.gif" alt="arrow" /> | 69 | <img src="images/bg_step_arrow.gif" alt="arrow" /> |
| 71 | </div> | 70 | </div> |
| 72 | 71 | ||
| 73 | <!-- STEP 3--> | 72 | <!-- STEP 3--> |
| 74 | <div class="step"> | 73 | <div class="step"> |
| 75 | <div class="step-box clearfix"> | 74 | <div class="step-box clearfix"> |
| 76 | <div class="tshirt-saveorder"> | 75 | <div class="tshirt-saveorder"> |
| 77 | <div class="clearfix"> | 76 | <div class="clearfix"> |
| 78 | <div class="action"> | 77 | <div class="action"> |
| 79 | <button class="white"> | 78 | <button class="white"> |
| 80 | <div class="text"> | 79 | <div class="text"> |
| 81 | このデザインを保存する | 80 | このデザインを保存する |
| 82 | </div> | 81 | </div> |
| 83 | <div class="arrow"> | 82 | <div class="arrow"> |
| 84 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 83 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 85 | </div> | 84 | </div> |
| 86 | </button> | 85 | </button> |
| 87 | </div> | 86 | </div> |
| 88 | <div class="action"> | 87 | <div class="action"> |
| 89 | <button class="red"> | 88 | <button class="red"> |
| 90 | <div class="text"> | 89 | <div class="text"> |
| 91 | このデザインで注文する | 90 | このデザインで注文する |
| 92 | </div> | 91 | </div> |
| 93 | <div class="arrow clearfix"> | 92 | <div class="arrow clearfix"> |
| 94 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 93 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 95 | </div> | 94 | </div> |
| 96 | </button> | 95 | </button> |
| 97 | </div> | 96 | </div> |
| 98 | </div> | 97 | </div> |
| 99 | <div class="notice"> | 98 | <div class="notice"> |
| 100 | デザインを保存するには、ログインしてください | 99 | デザインを保存するには、ログインしてください |
| 101 | </div> | 100 | </div> |
| 102 | </div> | 101 | </div> |
| 103 | </div> | 102 | </div> |
| 104 | 103 | ||
| 105 | <!-- BREAL LINE--> | 104 | <!-- BREAL LINE--> |
| 106 | <div class="text-center break-line"> | 105 | <div class="text-center break-line"> |
| 107 | <hr /> | 106 | <hr /> |
| 108 | </div> | 107 | </div> |
| 109 | 108 | ||
| 110 | <!-- STEP 4--> | 109 | <!-- STEP 4--> |
| 111 | <div class="step"> | 110 | <div class="step"> |
| 112 | <div class="title-notice"> | 111 | <div class="title-notice"> |
| 113 | 商品・デザインの変更はこちら <span class="require">作業中のデザインは破棄されます</span> | 112 | 商品・デザインの変更はこちら <span class="require">作業中のデザインは破棄されます</span> |
| 114 | </div> | 113 | </div> |
| 115 | <div class="step-box"> | 114 | <div class="step-box"> |
| 116 | <div class="change-design"> | 115 | <div class="change-design"> |
| 117 | <table> | 116 | <table> |
| 118 | <tr> | 117 | <tr> |
| 119 | <td class="text-center">商品</td> | 118 | <td class="text-center">商品</td> |
| 120 | <td>MENドライカノコポロシャツ・ポケツキ半袖(ホワイト)</td> | 119 | <td>MENドライカノコポロシャツ・ポケツキ半袖(ホワイト)</td> |
| 121 | <td class="text-right"> | 120 | <td class="text-right"> |
| 122 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> | 121 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> |
| 123 | </td> | 122 | </td> |
| 124 | </tr> | 123 | </tr> |
| 125 | <tr> | 124 | <tr> |
| 126 | <td width="10%" class="text-center">加工方法</td> | 125 | <td width="10%" class="text-center">加工方法</td> |
| 127 | <td width="70%">シルク:胸中央 (27×27)</td> | 126 | <td width="70%">シルク:胸中央 (27×27)</td> |
| 128 | <td width="20%" class="text-right"> | 127 | <td width="20%" class="text-right"> |
| 129 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> | 128 | <button class="brown"><i class="fa fa-caret-right" aria-hidden="true"></i> 変更</button> |
| 130 | </td> | 129 | </td> |
| 131 | </tr> | 130 | </tr> |
| 132 | </table> | 131 | </table> |
| 133 | </div> | 132 | </div> |
| 134 | </div> | 133 | </div> |
| 135 | </div> | 134 | </div> |
| 136 | <!-- STEP 5- finish--> | 135 | <!-- STEP 5- finish--> |
| 137 | <div class="step"> | 136 | <div class="step"> |
| 138 | <div class="finish-design"> | 137 | <div class="finish-design"> |
| 139 | <button class="white"> | 138 | <button class="white"> |
| 140 | 自分で保存したデザインを呼び出す <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 139 | 自分で保存したデザインを呼び出す <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 141 | </button> | 140 | </button> |
| 142 | </div> | 141 | </div> |
| 143 | 142 | ||
| 144 | </div> | 143 | </div> |
| 145 | </div> | 144 | </div> |
| 146 | </aside> | 145 | </aside> |
| 147 | <section id="tshirt-content" class="col-sm-7 text-center"> | 146 | <section id="tshirt-content" class="col-sm-7 text-center"> |
| 148 | <div class="switch-border-design"> | 147 | <div class="switch-border-design"> |
| 149 | <i class="fa fa-square-o" aria-hidden="true"></i> 枠線を消す | 148 | <i class="fa fa-square-o" aria-hidden="true"></i> 枠線を消す |
| 150 | </div> | 149 | </div> |
| 151 | <div class="tshirt-image"> | 150 | <div class="tshirt-image"> |
| 152 | <img src="images/t-shirt/front.png" alt="" /> | 151 | <img ng-src="{{ tShirtImg }}" alt="" /> |
| 153 | </div> | 152 | </div> |
| 154 | <div class="tshirt-choice"> | 153 | <div class="tshirt-choice"> |
| 155 | <ul> | 154 | <ul> |
| 156 | <li class="front focus"> | 155 | <li ng-class="'front' === tShirtChoiceBackFrontKey ? 'focus' : ''"> |
| 157 | <div>前</div> | 156 | <div>前</div> |
| 158 | <div class="image"> | 157 | <div class="image" ng-click="choiceTShirtBackFront('front')"> |
| 159 | <img src="images/t-shirt_icon/tshirt1-front.png" alt="" /> | 158 | <img ng-src="{{ tShirtImgFront }}" alt="" /> |
| 160 | </div> | 159 | </div> |
| 161 | 160 | ||
| 162 | </li> | 161 | </li> |
| 163 | <li class="back"> | 162 | <li ng-class="'back' === tShirtChoiceBackFrontKey ? 'focus' : ''"> |
| 164 | <div>後</div> | 163 | <div>後</div> |
| 165 | <div class="image"> | 164 | <div class="image" ng-click="choiceTShirtBackFront('back')"> |
| 166 | <img src="images/t-shirt_icon/tshirt1-back.png" alt="" /> | 165 | <img ng-src="{{ tShirtImgBack }}" alt="" /> |
| 167 | </div> | 166 | </div> |
| 168 | 167 | ||
| 169 | </li> | 168 | </li> |
| 170 | </ul> | 169 | </ul> |
| 171 | </div> | 170 | </div> |
| 172 | </section> | 171 | </section> |
| 173 | </article> | 172 | </article> |
| 174 | <footer class="clearfix"> | 173 | <footer class="clearfix"> |
| 175 | <ul class="nav-footer"> | 174 | <ul class="nav-footer"> |
| 176 | <li><a href="#">店舗検索</a></li> | 175 | <li><a href="#">店舗検索</a></li> |
| 177 | <li><a href="#">お客様窓口</a></li> | 176 | <li><a href="#">お客様窓口</a></li> |
| 178 | <li><a href="#">企業情報</a></li> | 177 | <li><a href="#">企業情報</a></li> |
| 179 | <li><a href="#">採用情報</a></li> | 178 | <li><a href="#">採用情報</a></li> |
| 180 | <li><a href="#">プライバシーポリシー</a></li> | 179 | <li><a href="#">プライバシーポリシー</a></li> |
| 181 | </ul> | 180 | </ul> |
| 182 | </footer> | 181 | </footer> |
| 183 | 182 | ||
| 184 | <!--MODAL CONTENT--> | 183 | <!--MODAL CONTENT--> |
| 185 | <div ng-include="'views/tshirt-design.html'"></div> | 184 | <div ng-include="'views/tshirt-design.html'"></div> |
| 186 | </div> | 185 | </div> |
| 187 | 186 | ||
| 188 | 187 | ||
| 189 | </div> | 188 | </div> |
app/views/tshirt-design.html
| 1 | <!-- Modal --> | 1 | <!-- Modal --> |
| 2 | <div class="modal fade" id="tshirt-design" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ng-controller="TshirtdesignCtrl"> | 2 | <div class="modal fade" id="tshirt-design" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" ng-controller="TshirtdesignCtrl"> |
| 3 | 3 | ||
| 4 | <div class="modal-dialog" role="document"> | 4 | <div class="modal-dialog" role="document"> |
| 5 | <div class="modal-content"> | 5 | <div class="modal-content"> |
| 6 | <div class="modal-header"> | 6 | <div class="modal-header"> |
| 7 | <button class="black" ng-click="modalClose()"><i class="fa fa-times" aria-hidden="true"></i> キャンセル</button> | 7 | <button class="black" ng-click="modalClose()"><i class="fa fa-times" aria-hidden="true"></i> キャンセル</button> |
| 8 | <button class="black"> <i class="fa fa-angle-right" aria-hidden="true"></i> はじめての方へ</button> | 8 | <button class="black"> <i class="fa fa-angle-right" aria-hidden="true"></i> はじめての方へ</button> |
| 9 | </div> | 9 | </div> |
| 10 | <div class="modal-body"> | 10 | <div class="modal-body"> |
| 11 | <header class="clearfix"> | 11 | <header class="clearfix"> |
| 12 | <ul class="nav pull-left"> | 12 | <ul class="nav pull-left"> |
| 13 | <li ng-class="{'active': isShowLeftPanel=='default'}" ng-click="showIllustration('default')"> | 13 | <li ng-class="{'active': isShowLeftPanel=='default'}" ng-click="showIllustration('default')"> |
| 14 | <i class="fa fa-jpy" aria-hidden="true"></i> 文字 | 14 | <i class="fa fa-jpy" aria-hidden="true"></i> 文字 |
| 15 | </li> | 15 | </li> |
| 16 | <li ng-class="{'active': isShowLeftPanel=='illustration'}" ng-click="showIllustration('illustration')"> | 16 | <li ng-class="{'active': isShowLeftPanel=='illustration'}" ng-click="showIllustration('illustration')"> |
| 17 | <i class="fa fa-btc" aria-hidden="true"></i> イラスト・イメージ | 17 | <i class="fa fa-btc" aria-hidden="true"></i> イラスト・イメージ |
| 18 | </li> | 18 | </li> |
| 19 | <li> | 19 | <li> |
| 20 | <i class="fa fa-money" aria-hidden="true"></i> 自分の画像・写真 | 20 | <i class="fa fa-money" aria-hidden="true"></i> 自分の画像・写真 |
| 21 | </li> | 21 | </li> |
| 22 | <li> | 22 | <li> |
| 23 | <i class="fa fa-minus-circle" aria-hidden="true"></i> 全消去 | 23 | <i class="fa fa-minus-circle" aria-hidden="true"></i> 全消去 |
| 24 | </li> | 24 | </li> |
| 25 | </ul> | 25 | </ul> |
| 26 | <div class="action pull-right"> | 26 | <div class="action pull-right"> |
| 27 | <button class="white"> | 27 | <button class="white"> |
| 28 | アルバムを開く | 28 | アルバムを開く |
| 29 | </button> | 29 | </button> |
| 30 | <button class="white"> | 30 | <button class="white"> |
| 31 | アルバムに入れる | 31 | アルバムに入れる |
| 32 | </button> | 32 | </button> |
| 33 | </div> | 33 | </div> |
| 34 | </header> | 34 | </header> |
| 35 | <section class="tshirt-design-container clearfix"> | 35 | <section class="tshirt-design-container clearfix"> |
| 36 | <div class="aside col-xs-4"> | 36 | <div class="aside col-xs-4"> |
| 37 | <ul id="choice-design-option" ng-show="isShowLeftPanel=='default'"> | 37 | <ul id="choice-design-option" ng-show="isShowLeftPanel=='default'"> |
| 38 | <li> | 38 | <li> |
| 39 | <div class="hover"></div> | 39 | <div class="hover"></div> |
| 40 | <div class="title"> | 40 | <div class="title"> |
| 41 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 41 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 42 | 文字を追加 | 42 | 文字を追加 |
| 43 | </div> | 43 | </div> |
| 44 | <div class="content clearfix"> | 44 | <div class="content clearfix"> |
| 45 | <div class="col-xs-2 text-center"> | 45 | <div class="col-xs-2 text-center"> |
| 46 | <i class="fa fa-jpy" aria-hidden="true"></i> | 46 | <i class="fa fa-jpy" aria-hidden="true"></i> |
| 47 | </div> | 47 | </div> |
| 48 | <div class="col-xs-10 des padding-left-0"> | 48 | <div class="col-xs-10 des padding-left-0"> |
| 49 | 書体を選んでお好きな文字を入力できます | 49 | 書体を選んでお好きな文字を入力できます |
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | </li> | 52 | </li> |
| 53 | <li> | 53 | <li> |
| 54 | <div class="hover"></div> | 54 | <div class="hover"></div> |
| 55 | <div class="title"> | 55 | <div class="title"> |
| 56 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 56 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 57 | イラストやイメージを追加 | 57 | イラストやイメージを追加 |
| 58 | </div> | 58 | </div> |
| 59 | <div class="content clearfix"> | 59 | <div class="content clearfix"> |
| 60 | <div class="col-xs-2 text-center"> | 60 | <div class="col-xs-2 text-center"> |
| 61 | <i class="fa fa-btc" aria-hidden="true"></i> | 61 | <i class="fa fa-btc" aria-hidden="true"></i> |
| 62 | </div> | 62 | </div> |
| 63 | <div class="col-xs-10 des padding-left-0"> | 63 | <div class="col-xs-10 des padding-left-0"> |
| 64 | 自由にお使いいただけるデザイン画像をご用意しました | 64 | 自由にお使いいただけるデザイン画像をご用意しました |
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| 67 | </li> | 67 | </li> |
| 68 | <li> | 68 | <li> |
| 69 | <div class="hover"></div> | 69 | <div class="hover"></div> |
| 70 | <div class="title"> | 70 | <div class="title"> |
| 71 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 71 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 72 | 自分の画像・写真を追加 | 72 | 自分の画像・写真を追加 |
| 73 | </div> | 73 | </div> |
| 74 | <div class="content clearfix"> | 74 | <div class="content clearfix"> |
| 75 | <div class="col-xs-2 text-center"> | 75 | <div class="col-xs-2 text-center"> |
| 76 | <i class="fa fa-jpy" aria-hidden="true"></i> | 76 | <i class="fa fa-jpy" aria-hidden="true"></i> |
| 77 | </div> | 77 | </div> |
| 78 | <div class="col-xs-10 des padding-left-0"> | 78 | <div class="col-xs-10 des padding-left-0"> |
| 79 | ご自分で用意した画像をアップロードして使えます | 79 | ご自分で用意した画像をアップロードして使えます |
| 80 | </div> | 80 | </div> |
| 81 | </div> | 81 | </div> |
| 82 | </li> | 82 | </li> |
| 83 | <li> | 83 | <li> |
| 84 | <div class="hover"></div> | 84 | <div class="hover"></div> |
| 85 | <div class="title"> | 85 | <div class="title"> |
| 86 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 86 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 87 | おすすめデザインを使う | 87 | おすすめデザインを使う |
| 88 | </div> | 88 | </div> |
| 89 | <div class="content clearfix"> | 89 | <div class="content clearfix"> |
| 90 | <div class="col-xs-2 text-center"> | 90 | <div class="col-xs-2 text-center"> |
| 91 | <i class="fa fa-jpy" aria-hidden="true"></i> | 91 | <i class="fa fa-jpy" aria-hidden="true"></i> |
| 92 | </div> | 92 | </div> |
| 93 | <div class="col-xs-10 des padding-left-0"> | 93 | <div class="col-xs-10 des padding-left-0"> |
| 94 | おすすめデザインデータをご自由にカスタマイズしてお使いください | 94 | おすすめデザインデータをご自由にカスタマイズしてお使いください |
| 95 | </div> | 95 | </div> |
| 96 | </div> | 96 | </div> |
| 97 | </li> | 97 | </li> |
| 98 | </ul> | 98 | </ul> |
| 99 | <ul id="choice-illustration" ng-show="isShowLeftPanel=='illustration'"> | 99 | <ul id="choice-illustration" ng-show="isShowLeftPanel=='illustration'"> |
| 100 | <li> | 100 | <li> |
| 101 | <div class="hover"></div> | 101 | <div class="hover"></div> |
| 102 | <div class="title"> | 102 | <div class="title"> |
| 103 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 103 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 104 | items | 104 | items |
| 105 | </div> | 105 | </div> |
| 106 | <div class="content clearfix"> | 106 | <div class="content clearfix"> |
| 107 | <select id="illustration-select-category" ui-select2="illustrationSelectConfig" ng-model="currentIllustration" ng-change="changeIllustrationCategory(currentIllustration)" data-placeholder="Choose category" style="width: 100%"> | 107 | <select id="illustration-select-category" ui-select2="illustrationSelectConfig" ng-model="currentIllustration" ng-change="changeIllustrationCategory(currentIllustration)" data-placeholder="Choose category" style="width: 100%"> |
| 108 | <option ng-repeat="(key,cate) in IllustrationList" value="{{key}}">{{cate.name}}</option> | 108 | <option ng-repeat="(key,cate) in IllustrationList" value="{{key}}">{{cate.name}}</option> |
| 109 | </select> | 109 | </select> |
| 110 | <div class="illustration-list"> | 110 | <div class="illustration-list"> |
| 111 | <div class="illstration-item" ng-repeat="item in currentIllustrationCate.list" ng-click="insertSvg(item)"> | 111 | <div class="illstration-item" ng-repeat="item in currentIllustrationCate.list" ng-click="insertSvg(item)"> |
| 112 | <img ng-src="{{item.path}}"/> | 112 | <img ng-src="{{item.path}}"/> |
| 113 | </div> | 113 | </div> |
| 114 | <div class="clearfix"></div> | 114 | <div class="clearfix"></div> |
| 115 | </div> | 115 | </div> |
| 116 | </div> | 116 | </div> |
| 117 | </li> | 117 | </li> |
| 118 | <li> | 118 | <li> |
| 119 | <div class="hover"></div> | 119 | <div class="hover"></div> |
| 120 | <div class="title"> | 120 | <div class="title"> |
| 121 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 121 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 122 | Color to fill | 122 | Color to fill |
| 123 | </div> | 123 | </div> |
| 124 | <div class="content clearfix"> | 124 | <div class="content clearfix"> |
| 125 | <div class="color-patterns"> | 125 | <div class="color-patterns"> |
| 126 | <div class="color-pattern-item" ng-repeat="color in listColorPatterns track by $index" ng-click="changeColorPattern(color)" ng-style="{'background-color': color}"> | 126 | <div class="color-pattern-item" ng-repeat="color in listColorPatterns track by $index" ng-click="changeColorPattern(color)" ng-style="{'background-color': color}"> |
| 127 | </div> | 127 | </div> |
| 128 | <div class="clearfix"></div> | 128 | <div class="clearfix"></div> |
| 129 | </div> | 129 | </div> |
| 130 | </div> | 130 | </div> |
| 131 | </li> | 131 | </li> |
| 132 | <li> | 132 | <li> |
| 133 | <div class="hover"></div> | 133 | <div class="hover"></div> |
| 134 | <div class="title"> | 134 | <div class="title"> |
| 135 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> | 135 | <i class="fa fa-chevron-circle-right" aria-hidden="true"></i> |
| 136 | Layer option | 136 | Layer option |
| 137 | </div> | 137 | </div> |
| 138 | <div class="content clearfix"> | 138 | <div class="content clearfix"> |
| 139 | 139 | ||
| 140 | </div> | 140 | </div> |
| 141 | </li> | 141 | </li> |
| 142 | </ul> | 142 | </ul> |
| 143 | </div> | 143 | </div> |
| 144 | <div class="design-content col-xs-8"> | 144 | <div class="design-content col-xs-8"> |
| 145 | <div class="content"> | 145 | <div class="content" ng-style="{'background-color' : tShirtColorCode}"> |
| 146 | <canvas id="main-design-container" width="400px" height="620px" class="selection-design lower-canvas"> | 146 | <canvas id="main-design-container" width="510px" height="620px" class="selection-design lower-canvas"> |
| 147 | 147 | ||
| 148 | </canvas> | 148 | </canvas> |
| 149 | </div> | 149 | </div> |
| 150 | <div class="agree-design"> | 150 | <div class="agree-design"> |
| 151 | <img src="images/agree-design.png" alt="agree design" /> | 151 | <img src="images/agree-design.png" alt="agree design" /> |
| 152 | </div> | 152 | </div> |
| 153 | <div class="trash-design"> | 153 | <div class="trash-design"> |
| 154 | <img src="images/trash.png" alt="trash design" /> | 154 | <img src="images/trash.png" alt="trash design" /> |
| 155 | </div> | 155 | </div> |
| 156 | </div> | 156 | </div> |
| 157 | </section> | 157 | </section> |
| 158 | </div> | 158 | </div> |
| 159 | </div> | 159 | </div> |
| 160 | </div> | 160 | </div> |
| 161 | </div> | 161 | </div> |