Subbu1304 commited on
Commit
c382b75
·
verified ·
1 Parent(s): eb4c992

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +4 -48
templates/menu.html CHANGED
@@ -11,7 +11,7 @@
11
 
12
 
13
  /* subbu */
14
- /* .addbutton .btn {
15
  background: linear-gradient(135deg, #28a745, #006400); /* Gradient green */
16
  color: white; /* Make the text color white */
17
  border: none; /* Remove the border */
@@ -30,39 +30,9 @@
30
  color: #28a745; /* Same color as the "ADD" button */
31
  font-size: 14px; /* Same font size as the "ADD" button */
32
  margin: 0;
33
- } */
34
 
35
- .addbutton .btn {
36
- background: linear-gradient(135deg, #28a745, #006400); /* Gradient green */
37
- color: white; /* Make the text color white */
38
- border: none; /* Remove the border */
39
- padding: 6px 15px; /* Smaller padding */
40
- font-size: 14px; /* Smaller font size */
41
- border-radius: 5px; /* Optional: round the corners */
42
- transition: background 0.3s ease; /* Add transition effect for hover */
43
- }
44
-
45
- .addbutton .btn:hover {
46
- background: linear-gradient(135deg, #006400, #28a745); /* Reverse gradient for hover effect */
47
- }
48
-
49
- .customisable-text {
50
- color: #28a745; /* Same color as the "ADD" button */
51
- font-size: 14px; /* Same font size as the "ADD" button */
52
- margin: 0;
53
- }
54
 
55
- /* Ensure the button is aligned to the right */
56
- .d-flex.justify-content-end {
57
- width: 100%; /* Make sure the parent div takes the full width */
58
- justify-content: flex-end; /* Align the button to the right */
59
- }
60
-
61
- /* Center the "Customisable" text */
62
- .d-flex.text-center {
63
- width: 100%; /* Ensure the div takes the full width */
64
- text-align: center; /* Center the text */
65
- }
66
 
67
 
68
 
@@ -593,7 +563,7 @@ form-check-input addon-option{
593
  <h5 class="card-title">{{ item.Name }}</h5>
594
  <p class="card-text">${{ item.Price__c }}</p>
595
  </div>
596
- <!-- <div class= "d-flex flex-column align-item-center justify-content-center">
597
  <!-- <button class="btn btn-primary>ADD</button> -->
598
 
599
  <div >
@@ -609,22 +579,8 @@ form-check-input addon-option{
609
 
610
 
611
 
612
- </div> -->
613
- <div class="d-flex flex-column align-items-center justify-content-center">
614
- <!-- Container for the button -->
615
- <div class="d-flex justify-content-end w-100">
616
- <button class="btn btn-primary"
617
- data-bs-toggle="modal" data-bs-target="#itemModal"
618
- onclick="showItemDetails('{{ item.Name }}', '{{ item.Price__c }}', '{{ item.Image2__c }}', '{{ item.Description__c }}', '{{ item.Section__c }}','{{ selected_category }}')">
619
- ADD
620
- </button>
621
- </div>
622
 
623
- <!-- Customisable text centered below the button -->
624
- <div class="w-100 text-center">
625
- <h5 class="customisable-text">Customisable</h5>
626
- </div>
627
- </div>
628
 
629
 
630
 
 
11
 
12
 
13
  /* subbu */
14
+ .addbutton .btn {
15
  background: linear-gradient(135deg, #28a745, #006400); /* Gradient green */
16
  color: white; /* Make the text color white */
17
  border: none; /* Remove the border */
 
30
  color: #28a745; /* Same color as the "ADD" button */
31
  font-size: 14px; /* Same font size as the "ADD" button */
32
  margin: 0;
33
+ }
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
 
38
 
 
563
  <h5 class="card-title">{{ item.Name }}</h5>
564
  <p class="card-text">${{ item.Price__c }}</p>
565
  </div>
566
+ <div class= "d-flex flex-column align-item-center justify-content-center">
567
  <!-- <button class="btn btn-primary>ADD</button> -->
568
 
569
  <div >
 
579
 
580
 
581
 
582
+ </div>
 
 
 
 
 
 
 
 
 
583
 
 
 
 
 
 
584
 
585
 
586