Fix button backgrounds

This commit is contained in:
Teemu Patja 2017-10-27 19:28:54 +03:00
parent 2a63690b6c
commit 46273fdb39
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
3 changed files with 11 additions and 3 deletions

View File

@ -67,7 +67,7 @@
[:div.item [:div.item
[user-dropdown @user [[:update-address "Update address" {}] [user-dropdown @user [[:update-address "Update address" {}]
["/logout" "Sign out" {:class "logout-link"}]]]]] ["/logout" "Sign out" {:class "logout-link"}]]]]]
[:a.ui.button.small {:href js/authorizeUrl} "LOG IN \u2192"])))) [:a.ui.button.small.login-button {:href js/authorizeUrl} "LOG IN \u2192"]))))
(defn tabs [] (defn tabs []
(let [user (rf/subscribe [:user]) (let [user (rf/subscribe [:user])

View File

@ -10,7 +10,7 @@
[:div.ui.button.small.repo-added-button (add-busy-styles {}) [:div.ui.button.small.repo-added-button (add-busy-styles {})
[:i.icon.check] [:i.icon.check]
"ADDED"] "ADDED"]
[:div.ui.button.small [:div.ui.button.small.add-repo-button
(add-busy-styles {:on-click on-click}) (add-busy-styles {:on-click on-click})
"ADD"])] "ADD"])]

View File

@ -30,10 +30,18 @@
} }
.ui.small.button { .ui.small.button {
font-size: 13px!important; font-size: 13px!important;
background-color: rgba(255,255,255,0.2);
color: #fff!important; color: #fff!important;
} }
.add-repo-button {
background-color: #57a7ed!important;
}
.login-button {
background-color: rgba(255,255,255,0.2)!important;
}
.commiteth-header { .commiteth-header {
background-color: #57a7ed!important; background-color: #57a7ed!important;
border-radius: 0em; border-radius: 0em;