diff --git a/src/order-ojek/css/stylesheet.css b/src/order-ojek/css/stylesheet.css new file mode 100644 index 0000000000000000000000000000000000000000..5c2dde592bb169ebd484e75d35ba058fe2ccb67a --- /dev/null +++ b/src/order-ojek/css/stylesheet.css @@ -0,0 +1,120 @@ +.header-box { + border: 1px solid black; + padding: 10px 10px 10px 10px; + font-size: 30px; + font-family: sans-serif; + text-align: center; + flex: 1; +} + +.header-box:first-child { + background-color: #244224; + color: white; +} + +.container { + display: flex; + flex-direction: row; + margin-top: 10px; +} + +.step-container { + display: flex; + flex-direction: row; + margin-bottom: 20px; +} + +.step-box:first-child { + margin-left: 0; + background-color: #fbff96; +} + + +.step-box { + flex: 1; + display: flex; + flex-direction: row; + text-align: center; + border: 1px solid black; + margin-left: 40px; +} + +.round-num { + text-align: center; + line-height: 40px; + background-color: grey; + border-radius: 50%; + width: 40px; + height: 40px; + margin: 5px 5px 5px 5px; +} + +.step-box p { + flex: 1; +} + + +.page-header { + display: flex; + flex-direction: row; + flex: 1; +} + +.user-info { + flex: 1; + text-align: right; +} + +.page-header div p { + margin: 0 0 5px 0; +} +.company-name { + font-size: 35px; +} + +.company-name span { + color: red; + font-weight: bold; +} +.company-name span:first-child { + color: green; +} + +.company-tagline { + color: green; +} + +.user-name span { + font-weight: bold; +} + +.logout { + text-decoration: underline; + color: blue; +} + +.dest-input { + display: flex; + flex-direction: row; +} + +.dest-input p { + text-align: center; + font-size: 25px; +} +.dest-input * { + flex: 1; + margin: 20px; +} + + +.next-button { + background-color: #7ecc20; + border-radius: 8px; + border: 1px solid black; + font-size: 20px; + width: 100px; + text-align: center; + margin: auto; + padding: 10px 0 10px 0; +} diff --git a/src/order-ojek/index.html b/src/order-ojek/index.html new file mode 100644 index 0000000000000000000000000000000000000000..b001c5cb1ce239399ceff7d9eb8d9649f02df5f7 --- /dev/null +++ b/src/order-ojek/index.html @@ -0,0 +1,60 @@ +<!DOCTYPE HTML> +<html> + <head> + <title>Complete order</title> + <link type="text/css" rel="stylesheet" href="css/stylesheet.css"/> + </head> + + <body> + + <div class="page-header"> + <div class="company-info"> + <p class="company-name"><span>PR</span>-<span>OJEK</span></p> + <p class="company-tagline">wushh.. wush.. wush.. ngeeeeng...</p> + + </div> + <div class="user-info"> + <p class="user-name">Hi, <span>pikapikapikachu</span> !</p> + <p class="logout">Logout</p></div> + </div> + + <div class="container"> + <div class="header-box">ORDER</div> + <div class="header-box">HISTORY</div> + <div class="header-box">MY PROFILE </div> + </div> + + <h1>MAKE AN ORDER</h1> + <div class="step-container"> + <div class="step-box"> + <div class="round-num">1</div> + <p>Select Destination</p> + </div> + <div class="step-box"> + <div class="round-num">2</div> + <p>Select a Driver</p> + </div> + <div class="step-box"> + <div class="round-num">3</div> + <p>Complete your order</p> + </div> + </div> + + + + <div class="dest-input"> + <p>Picking point</p> + <input placeholder=" insert picking point"></input> + </div> + <div class="dest-input"> + <p>Destination</p> + <input placeholder=" insert destination"></input> + </div> + <div class="dest-input"> + <p>Preferred Driver</p> + <input placeholder=" (optional)"></input> + </div> + <div class="next-button">NEXT</div> + + </body> +</html>