Sylvain Filoni commited on
Commit
bebe771
1 Parent(s): b15b6e4

added css share btn

Browse files
Files changed (1) hide show
  1. app.py +44 -16
app.py CHANGED
@@ -75,24 +75,52 @@ css = '''
75
  height: 40px;
76
  }
77
  .footer {
78
- margin-bottom: 45px;
79
- margin-top: 10px;
80
- text-align: center;
81
- border-bottom: 1px solid #e5e5e5;
82
- }
83
- .footer>p {
84
- font-size: .8rem;
85
- display: inline-block;
86
- padding: 0 10px;
87
- transform: translateY(10px);
88
- background: white;
89
- }
90
- .dark .footer {
91
- border-color: #303030;
 
 
 
 
 
 
 
 
 
 
92
  }
93
- .dark .footer>p {
94
- background: #0b0f19;
95
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  '''
97
 
98
 
 
75
  height: 40px;
76
  }
77
  .footer {
78
+ margin-bottom: 45px;
79
+ margin-top: 10px;
80
+ text-align: center;
81
+ border-bottom: 1px solid #e5e5e5;
82
+ }
83
+ .footer>p {
84
+ font-size: .8rem;
85
+ display: inline-block;
86
+ padding: 0 10px;
87
+ transform: translateY(10px);
88
+ background: white;
89
+ }
90
+ .dark .footer {
91
+ border-color: #303030;
92
+ }
93
+ .dark .footer>p {
94
+ background: #0b0f19;
95
+ }
96
+ .animate-spin {
97
+ animation: spin 1s linear infinite;
98
+ }
99
+ @keyframes spin {
100
+ from {
101
+ transform: rotate(0deg);
102
  }
103
+ to {
104
+ transform: rotate(360deg);
105
  }
106
+ }
107
+ #share-btn-container {
108
+ display: flex; padding-left: 0.5rem !important; padding-right: 0.5rem !important; background-color: #000000; justify-content: center; align-items: center; border-radius: 9999px !important; width: 13rem;
109
+ }
110
+ #share-btn {
111
+ all: initial; color: #ffffff;font-weight: 600; cursor:pointer; font-family: 'IBM Plex Sans', sans-serif; margin-left: 0.5rem !important; padding-top: 0.25rem !important; padding-bottom: 0.25rem !important;right:0;
112
+ }
113
+ #share-btn * {
114
+ all: unset;
115
+ }
116
+ #share-btn-container div:nth-child(-n+2){
117
+ width: auto !important;
118
+ min-height: 0px !important;
119
+ }
120
+ #share-btn-container .wrap {
121
+ display: none !important;
122
+ }
123
+
124
  '''
125
 
126