datasciencedojo commited on
Commit
bfa51bf
1 Parent(s): 563a02c

button css changes

Browse files
Files changed (1) hide show
  1. app.py +40 -0
app.py CHANGED
@@ -68,6 +68,46 @@ css = """
68
  footer {display:none !important}
69
  .output-markdown{display:none !important}
70
  footer {visibility: hidden}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  """
72
 
73
  with gr.Blocks(title="Brain Stroke Prediction | Data Science Dojo", css = css) as demo:
 
68
  footer {display:none !important}
69
  .output-markdown{display:none !important}
70
  footer {visibility: hidden}
71
+
72
+ .gr-button-lg {
73
+ z-index: 14;
74
+ width: 113px;
75
+ height: 30px;
76
+ left: 0px;
77
+ top: 0px;
78
+ padding: 0px;
79
+ cursor: pointer !important;
80
+ background: none rgb(17, 20, 45) !important;
81
+ border: none !important;
82
+ text-align: center !important;
83
+ font-size: 14px !important;
84
+ font-weight: 500 !important;
85
+ color: rgb(255, 255, 255) !important;
86
+ line-height: 1 !important;
87
+ border-radius: 6px !important;
88
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
89
+ box-shadow: none !important;
90
+ }
91
+ .gr-button-lg:hover{
92
+ z-index: 14;
93
+ width: 113px;
94
+ height: 30px;
95
+ left: 0px;
96
+ top: 0px;
97
+ padding: 0px;
98
+ cursor: pointer !important;
99
+ background: none rgb(37, 56, 133) !important;
100
+ border: none !important;
101
+ text-align: center !important;
102
+ font-size: 14px !important;
103
+ font-weight: 500 !important;
104
+ color: rgb(255, 255, 255) !important;
105
+ line-height: 1 !important;
106
+ border-radius: 6px !important;
107
+ transition: box-shadow 200ms ease 0s, background 200ms ease 0s !important;
108
+ box-shadow: rgb(0 0 0 / 23%) 0px 1px 7px 0px !important;
109
+ }
110
+
111
  """
112
 
113
  with gr.Blocks(title="Brain Stroke Prediction | Data Science Dojo", css = css) as demo: