datasciencedojo commited on
Commit
80cb406
·
1 Parent(s): 7e8c213

button css changes

Browse files
Files changed (1) hide show
  1. app.py +39 -0
app.py CHANGED
@@ -51,6 +51,45 @@ def predict_insurance(sex,smoker,children,age_grp,bmi):
51
  css = """
52
  footer {display:none !important}
53
  .output-markdown{display:none !important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  """
55
  with gr.Blocks(title="Insurance Price Prediction | Data Science Dojo", css=css) as demo:
56
  with gr.Row():
 
51
  css = """
52
  footer {display:none !important}
53
  .output-markdown{display:none !important}
54
+
55
+ .gr-button-lg {
56
+ z-index: 14;
57
+ width: 113px;
58
+ height: 30px;
59
+ left: 0px;
60
+ top: 0px;
61
+ padding: 0px;
62
+ cursor: pointer !important;
63
+ background: none rgb(17, 20, 45) !important;
64
+ border: none !important;
65
+ text-align: center !important;
66
+ font-size: 14px !important;
67
+ font-weight: 500 !important;
68
+ color: rgb(255, 255, 255) !important;
69
+ line-height: 1 !important;
70
+ border-radius: 6px !important;
71
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
72
+ box-shadow: none !important;
73
+ }
74
+ .gr-button-lg:hover{
75
+ z-index: 14;
76
+ width: 113px;
77
+ height: 30px;
78
+ left: 0px;
79
+ top: 0px;
80
+ padding: 0px;
81
+ cursor: pointer !important;
82
+ background: none rgb(37, 56, 133) !important;
83
+ border: none !important;
84
+ text-align: center !important;
85
+ font-size: 14px !important;
86
+ font-weight: 500 !important;
87
+ color: rgb(255, 255, 255) !important;
88
+ line-height: 1 !important;
89
+ border-radius: 6px !important;
90
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
91
+ box-shadow: rgb(0 0 0 / 23%) 0px 1px 7px 0px !important;
92
+ }
93
  """
94
  with gr.Blocks(title="Insurance Price Prediction | Data Science Dojo", css=css) as demo:
95
  with gr.Row():