Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
Ecsite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shoei.kanno
Ecsite
Commits
91827d3e
Commit
91827d3e
authored
Oct 17, 2020
by
shoei.kanno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
カート画面モック完成(ルーティングはしていない)
parent
ecd78aef
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
0 deletions
+85
-0
style.css
src/main/resources/static/css/style.css
+73
-0
cart.js
src/main/resources/static/js/cart.js
+12
-0
cart.html
src/main/resources/templates/cart.html
+0
-0
No files found.
src/main/resources/static/css/style.css
View file @
91827d3e
...
...
@@ -1681,3 +1681,76 @@ label {
color
:
white
;
margin-top
:
10px
;
}
/* カート画面 */
.th
,
.td
{
font-size
:
20px
;
}
.td
{
margin
:
50px
0
;
}
.tr
{
/*margin: 60px 0;*/
border-bottom
:
1px
solid
#555252
;
}
.tr
:first-child
{
border-top
:
1px
solid
#555252
;
}
#cart-p-text
{
font-size
:
40px
;
text-align
:
center
;
margin
:
100px
0
;
}
#cart-text
{
border-bottom
:
2px
solid
#1abc9c
;
color
:
#555252
;
}
#cart-table
{
color
:
#000
;
width
:
100%
;
}
.navbar-brand
{
text-align
:
left
;
margin-left
:
0
;
}
.textP
{
margin-top
:
70px
;
}
#theadTr
{
margin-bottom
:
50px
;
}
/* カート画面モーダル */
#buy
{
text-align
:
center
;
margin-bottom
:
100px
;
}
#buy-btn
{
width
:
150px
;
height
:
50px
;
margin-top
:
50px
;
font-weight
:
bold
;
background-color
:
#1abc9c
;
border-radius
:
3px
;
border
:
none
;
color
:
#000
;
}
#total-price
{
font-size
:
large
;
}
#total-price-span
{
margin-left
:
20px
;
}
src/main/resources/static/js/cart.js
0 → 100644
View file @
91827d3e
//モーダル表示
$
(
function
(){
$
(
'.js-modal-open'
).
on
(
'click'
,
function
(){
$
(
'.js-modal'
).
fadeIn
();
return
false
;
});
$
(
'.js-modal-close'
).
on
(
'click'
,
function
(){
$
(
'.js-modal'
).
fadeOut
();
return
false
;
});
});
\ No newline at end of file
src/main/resources/templates/cart.html
0 → 100644
View file @
91827d3e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment