Skip to content

Commit

Permalink
fix: chatbot changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ameeshagireesh committed Nov 17, 2022
1 parent e781880 commit 0481325
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 2 deletions.
33 changes: 33 additions & 0 deletions frontend/chat/chat.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,46 @@ body {
flex-flow: column wrap;
justify-content: space-between;
width: 100%;
height: 77% !important;
max-width: 386px;
top: 5em !important;
margin: 25px 10px;
border-radius: 10px;
height: calc(100% - 100px);
background: var(--msger-bg);
box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}
.header{
position: fixed;
top:0; left:0; right:0;
z-index: 1000;
background: var(--dark-purp);
box-shadow: var(--box-shadow);
display: flex;
align-items: center;
padding:1.2rem 7%;
/* font-weight: ; */
}

#mainNavbar .navbar-brand{
font-size: 1.5rem;
font-weight: bold;
padding-left: 1em;
}

#mainNavbar{
background-color: #DDDCFF;
padding: 1em;
font-size: 1.10rem;
font-weight: bold !important;
margin-bottom: 50px;
}

#navLinks{
font-weight: 500;
padding-right: 5em;
text-decoration: underline;
}
.msger-header {
display: flex;
justify-content: center;
Expand Down
33 changes: 31 additions & 2 deletions frontend/chat/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,39 @@
<script src="https://kit.fontawesome.com/070428bd88.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="chat.css">
<title>ChatBot </title>

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;600&display=swap" rel="stylesheet" class="bold-header">
<link href="https://fonts.googleapis.com/css2?family=Figtree:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap" rel="stylesheet">
</head>

<body>
<section class="msger">
<nav id="mainNavbar" class="navbar navbar-light navbar-expand-lg fixed-top shadow-sm">
<a href="home.html" class="navbar-brand">Chota Vyapar.</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navLinks" aria-label="toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navLinks">
<ul class="navbar-nav">
<li class="nav-item">
<a href="../src/home.html" class="nav-link">HOME</a>
</li>
<li class="nav-item">
<a href="../src/shop.html" class="nav-link">SHOP</a>
</li>
<li class="nav-item">
<a href="../src/sell.html" class="nav-link">SELL</a>
</li>
<li class="nav-item">
<a href="../src/chat.html" class="nav-link">CHAT</a>
</li>
</ul>
</div>
</nav>

<section class="msger mt-5" style="top: 5em;">
<header class="msger-header">
<div class="msger-header-title">
<img src="robot.png" alt="" srcset="">
Expand Down Expand Up @@ -46,7 +75,7 @@
</div>

<div class="msg-text">
...
Hi there
</div>
</div>
</div>
Expand Down

0 comments on commit 0481325

Please sign in to comment.