mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 10:06:20 +00:00
Merge branch 'develop' into doc/development_workflow
This commit is contained in:
commit
2f48fed480
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -25,7 +25,11 @@ def dockerreponame = "statusim/openbounty-app"
|
||||
}
|
||||
|
||||
stage('Deploy') {
|
||||
build job: 'status-openbounty/openbounty-cluster', parameters: [[$class: 'StringParameterValue', name: 'DEPLOY_ENVIRONMENT', value: "dev"], [$class: 'StringParameterValue', name: 'BRANCH', value: env.BRANCH_NAME]]
|
||||
if ( currentBuild.rawBuild.getCauses()[0].toString().contains('UserIdCause') ){
|
||||
build job: 'status-openbounty/openbounty-cluster', parameters: [[$class: 'StringParameterValue', name: 'DEPLOY_ENVIRONMENT', value: "dev"], [$class: 'StringParameterValue', name: 'BRANCH', value: env.BRANCH_NAME]]
|
||||
} else {
|
||||
echo "No deployment on automatic trigger, go to Jenkins and push build button to deliver it."
|
||||
}
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
|
39
README.md
39
README.md
@ -13,6 +13,15 @@ Live testnet (Ropsten) version:
|
||||
https://openbounty.status.im:444
|
||||
The `develop` branch is automatically deployed here.
|
||||
|
||||
## Table of contents
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Application config](#application-config)
|
||||
- [GitHub integration](#github-integration)
|
||||
- [Running](#running)
|
||||
- [Testing](#testing)
|
||||
- [More info](#more-info)
|
||||
|
||||
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@ -47,16 +56,6 @@ brew install https://raw.githubusercontent.com/web3j/homebrew-web3j/881cf369b551
|
||||
brew pin web3j
|
||||
```
|
||||
|
||||
## Running
|
||||
|
||||
Launch following commands each in its own shell:
|
||||
|
||||
```
|
||||
lein run
|
||||
lein figwheel
|
||||
lein less auto
|
||||
```
|
||||
|
||||
## Application config
|
||||
|
||||
Make sure to create `/config-dev.edn` and populate it correctly, which is based on `env/dev/resources/config.edn`. Description of config fields is given below:
|
||||
@ -92,20 +91,32 @@ Follow the steps [here](https://developer.github.com/apps/building-github-apps/c
|
||||
|
||||
## Running
|
||||
|
||||
Lauch a local geth node with the bot account unlocked:
|
||||
### Geth
|
||||
Launch a local geth node with the bot account unlocked:
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
geth --fast --testnet --cache=1024 --datadir=$HOME/.ropsten --verbosity 4 --port 50100 --ipcpath ~/.ropsten/geth.ipc --rpc --rpcaddr 127.0.0.1 --rpcport 8545 --rpcapi db,eth,net,web3,personal --rpccorsdomain "https://wallet.ethereum.org" --unlock "0xYOUR_ADDR" --password <(echo "YOUR_PASSPHRASE")
|
||||
```
|
||||
|
||||
### CSS auto-compilation
|
||||
Launch the following command in a separate shell:
|
||||
|
||||
```
|
||||
lein less auto
|
||||
```
|
||||
|
||||
Next you want to start a REPL on the backend and the frontend.
|
||||
### Clojure app without REPL
|
||||
Launch following commands each in its own shell:
|
||||
|
||||
```
|
||||
lein run
|
||||
lein figwheel
|
||||
```
|
||||
|
||||
### Clojure app with REPL
|
||||
|
||||
You'll have to start a REPL on the backend and the frontend.
|
||||
|
||||
```
|
||||
lein repl
|
||||
@ -174,8 +185,8 @@ Landing page is static and different CSS and JS due to time constraints.
|
||||
This copies over necessary artifacts to `resources` dir.
|
||||
|
||||
|
||||
### Troubleshooting
|
||||
See the [Cookbook](doc/cookbook.md).
|
||||
## More info
|
||||
Detailed information on code structure, troubleshooting, etc. can be found [here](doc/README.md).
|
||||
|
||||
## License
|
||||
|
||||
|
@ -42,7 +42,6 @@
|
||||
[cheshire "5.8.0"]
|
||||
[mpg "1.3.0"]
|
||||
[pandect "0.6.1"]
|
||||
[cljsjs/moment "2.17.1-1"]
|
||||
[org.clojure/tools.nrepl "0.2.13"]
|
||||
[com.cemerick/piggieback "0.2.2"]
|
||||
[jarohen/chime "0.2.2"]
|
||||
|
35
resources/migrations/20171226182259-hide-user.down.sql
Normal file
35
resources/migrations/20171226182259-hide-user.down.sql
Normal file
@ -0,0 +1,35 @@
|
||||
BEGIN;
|
||||
|
||||
-- restore the previous version of the view
|
||||
CREATE OR REPLACE VIEW "public"."claims_view" AS
|
||||
SELECT
|
||||
i.title AS issue_title,
|
||||
i.issue_number,
|
||||
r.repo AS repo_name,
|
||||
r.owner AS repo_owner,
|
||||
COALESCE(u.name, u.login) AS user_name,
|
||||
u.avatar_url AS user_avatar_url,
|
||||
i.payout_receipt,
|
||||
p.updated,
|
||||
i.updated AS issue_updated,
|
||||
i.balance_eth,
|
||||
i.tokens,
|
||||
i.value_usd,
|
||||
p.state AS pr_state,
|
||||
i.is_open AS issue_open,
|
||||
(case when u.address IS NULL THEN false ELSE true END) AS user_has_address
|
||||
FROM issues i,
|
||||
users u,
|
||||
repositories r,
|
||||
pull_requests p
|
||||
WHERE r.repo_id = i.repo_id
|
||||
AND p.issue_id = i.issue_id
|
||||
AND p.user_id = u.id
|
||||
AND i.contract_address IS NOT NULL
|
||||
AND i.comment_id IS NOT NULL
|
||||
ORDER BY p.updated;
|
||||
|
||||
ALTER TABLE users
|
||||
DROP COLUMN is_hidden_in_hunters;
|
||||
|
||||
COMMIT;
|
35
resources/migrations/20171226182259-hide-user.up.sql
Normal file
35
resources/migrations/20171226182259-hide-user.up.sql
Normal file
@ -0,0 +1,35 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE users
|
||||
ADD COLUMN is_hidden_in_hunters BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
CREATE OR REPLACE VIEW "public"."claims_view" AS
|
||||
SELECT
|
||||
i.title AS issue_title,
|
||||
i.issue_number,
|
||||
r.repo AS repo_name,
|
||||
r.owner AS repo_owner,
|
||||
COALESCE(u.name, u.login) AS user_name,
|
||||
u.avatar_url AS user_avatar_url,
|
||||
i.payout_receipt,
|
||||
p.updated,
|
||||
i.updated AS issue_updated,
|
||||
i.balance_eth,
|
||||
i.tokens,
|
||||
i.value_usd,
|
||||
p.state AS pr_state,
|
||||
i.is_open AS issue_open,
|
||||
(case when u.address IS NULL THEN false ELSE true END) AS user_has_address
|
||||
FROM issues i,
|
||||
users u,
|
||||
repositories r,
|
||||
pull_requests p
|
||||
WHERE r.repo_id = i.repo_id
|
||||
AND p.issue_id = i.issue_id
|
||||
AND p.user_id = u.id
|
||||
AND i.contract_address IS NOT NULL
|
||||
AND i.comment_id IS NOT NULL
|
||||
AND NOT u.is_hidden_in_hunters -- added
|
||||
ORDER BY p.updated;
|
||||
|
||||
COMMIT;
|
@ -17,6 +17,12 @@ WHERE NOT exists(SELECT 1
|
||||
WHERE id = :id)
|
||||
RETURNING id, login, name, email, avatar_url, address, created;
|
||||
|
||||
-- :name user-exists? :? :1
|
||||
-- :doc Checks where a user exists in the database.
|
||||
select 1
|
||||
from users u
|
||||
where u.id = :id;
|
||||
|
||||
-- :name update-user! :! :n
|
||||
-- :doc updates an existing user record
|
||||
UPDATE users
|
||||
@ -571,6 +577,7 @@ WHERE
|
||||
pr.commit_sha = i.commit_sha
|
||||
AND u.id = pr.user_id
|
||||
AND i.payout_receipt IS NOT NULL
|
||||
AND NOT u.is_hidden_in_hunters
|
||||
GROUP BY u.id
|
||||
ORDER BY total_usd DESC
|
||||
LIMIT 5;
|
||||
|
@ -27,7 +27,6 @@
|
||||
:migration-table-name "schema_migrations"
|
||||
:db db}]
|
||||
(migratus/migrate migratus-config)
|
||||
(conman/bind-connection db "sql/queries.sql")
|
||||
(conman/connect! {:jdbc-url db})
|
||||
db))
|
||||
|
||||
@ -85,3 +84,11 @@
|
||||
(sql-value [value] (to-pg-json value))
|
||||
IPersistentVector
|
||||
(sql-value [value] (to-pg-json value)))
|
||||
|
||||
(defmacro with-tx [& body]
|
||||
"Performs a set of queries in transaction."
|
||||
`(conman/with-transaction [*db*]
|
||||
~@body))
|
||||
|
||||
(defn update! [& args]
|
||||
(apply jdbc/update! *db* args))
|
||||
|
@ -5,6 +5,7 @@
|
||||
[compojure.api.meta :refer [restructure-param]]
|
||||
[buddy.auth.accessrules :refer [restrict]]
|
||||
[buddy.auth :refer [authenticated?]]
|
||||
[commiteth.db.core :as db]
|
||||
[commiteth.db.users :as users]
|
||||
[commiteth.db.usage-metrics :as usage-metrics]
|
||||
[commiteth.db.repositories :as repositories]
|
||||
@ -214,26 +215,35 @@
|
||||
(do
|
||||
(log/debug "/usage-metrics" user)
|
||||
(ok (usage-metrics/usage-metrics-by-day))))
|
||||
|
||||
(context "/user" []
|
||||
|
||||
(GET "/" {:keys [params]}
|
||||
:auth-rules authenticated?
|
||||
:current-user user
|
||||
(ok (handle-get-user user (:token params))))
|
||||
(POST "/address" []
|
||||
|
||||
(POST "/" []
|
||||
:auth-rules authenticated?
|
||||
:body-params [user-id :- Long, address :- String]
|
||||
:summary "Update user address"
|
||||
(if-not (eth/valid-address? address)
|
||||
(do
|
||||
(log/debug "POST /address: invalid input" address)
|
||||
{:status 400
|
||||
:body (str "Invalid Ethereum address '" address "'")})
|
||||
(let [result (users/update-user-address
|
||||
user-id
|
||||
address)]
|
||||
(if (= 1 result)
|
||||
(ok)
|
||||
(internal-server-error)))))
|
||||
:current-user user
|
||||
:body [body {:address s/Str
|
||||
:is_hidden_in_hunters s/Bool}]
|
||||
:summary "Updates user's fields."
|
||||
|
||||
(let [user-id (:id user)
|
||||
{:keys [address]} body]
|
||||
|
||||
(when-not (eth/valid-address? address)
|
||||
(log/debugf "POST /user: Wrong address %s" address)
|
||||
(bad-request! (format "Invalid Ethereum address: %s" address)))
|
||||
|
||||
(db/with-tx
|
||||
(when-not (db/user-exists? {:id user-id})
|
||||
(not-found! "No such a user."))
|
||||
(db/update! :users body ["id = ?" user-id]))
|
||||
|
||||
(ok)))
|
||||
|
||||
(GET "/repositories" {:keys [params]}
|
||||
:auth-rules authenticated?
|
||||
:current-user user
|
||||
|
@ -1,7 +1,7 @@
|
||||
(ns commiteth.activity
|
||||
(:require [re-frame.core :as rf]
|
||||
[reagent.core :as r]
|
||||
[commiteth.common :refer [moment-timestamp
|
||||
[commiteth.common :refer [relative-time
|
||||
items-per-page
|
||||
display-data-page
|
||||
issue-url]]))
|
||||
@ -54,7 +54,7 @@
|
||||
^{:key (random-uuid)}
|
||||
[:div.balance-badge.token
|
||||
(str (subs (str tla) 1) " " balance)])])
|
||||
[:div.time (moment-timestamp updated)]]]])
|
||||
[:div.time (relative-time updated)]]]])
|
||||
|
||||
(defn activity-list [{:keys [items item-count page-number total-count]
|
||||
:as activity-page-data}
|
||||
|
@ -1,7 +1,7 @@
|
||||
(ns commiteth.bounties
|
||||
(:require [reagent.core :as r]
|
||||
[re-frame.core :as rf]
|
||||
[commiteth.common :refer [moment-timestamp
|
||||
[commiteth.common :refer [relative-time
|
||||
display-data-page
|
||||
items-per-page
|
||||
issue-url]]
|
||||
@ -33,7 +33,7 @@
|
||||
[:div.open-bounty-item-content
|
||||
[:div.header issue-link]
|
||||
[:div.bounty-item-row
|
||||
[:div.time (moment-timestamp updated)]
|
||||
[:div.time (relative-time updated)]
|
||||
[:span.bounty-repo-label repo-link]]
|
||||
|
||||
[:div.footer-row
|
||||
|
@ -2,7 +2,7 @@
|
||||
(:require [reagent.core :as r]
|
||||
[re-frame.core :as rf]
|
||||
[clojure.string :as str]
|
||||
[cljsjs.moment]))
|
||||
[goog.date.relative]))
|
||||
|
||||
(defn input [val-ratom props]
|
||||
(fn []
|
||||
@ -12,21 +12,22 @@
|
||||
:on-change #(reset! val-ratom (-> % .-target .-value))})]))
|
||||
|
||||
(defn dropdown [props title val-ratom items]
|
||||
"If val-ratom is set, preselect it in the dropdown.
|
||||
Otherwise, prepend title as a disabled option."
|
||||
(fn []
|
||||
(if (= 1 (count items))
|
||||
(reset! val-ratom (first items)))
|
||||
[:select.ui.basic.selection.dropdown
|
||||
(merge props {:on-change
|
||||
#(reset! val-ratom (-> % .-target .-value))})
|
||||
(doall (for [item items]
|
||||
^{:key item} [:option
|
||||
{:value item}
|
||||
item]))]))
|
||||
#(reset! val-ratom (-> % .-target .-value))
|
||||
:default-value (or @val-ratom title)})
|
||||
(for [item items]
|
||||
^{:key item} [:option {:value item
|
||||
:disabled (= item title)}
|
||||
item])]))
|
||||
|
||||
(defn moment-timestamp [time]
|
||||
(let [now (.now js/Date.)
|
||||
js-time (clj->js time)]
|
||||
(.to (js/moment.utc) js-time)))
|
||||
(defn relative-time [time]
|
||||
"converts time in milliseconds to a relative form of '1 hour ago'"
|
||||
(let [js-time (clj->js time)]
|
||||
(goog.date.relative/format js-time)))
|
||||
|
||||
(defn issue-url [owner repo number]
|
||||
(str "https://github.com/" owner "/" repo "/issues/" number))
|
||||
|
@ -217,8 +217,8 @@
|
||||
[:div.ui.container.top-hunters
|
||||
[:h3.top-hunters-header "Top 5 hunters"]
|
||||
[:div.top-hunters-subheader "All time"]
|
||||
[top-hunters]]])]]
|
||||
[footer]]])))
|
||||
[top-hunters]]])]]]
|
||||
[footer]])))
|
||||
|
||||
(secretary/set-config! :prefix "#")
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
(def default-db
|
||||
{:page :bounties
|
||||
:user nil
|
||||
:user-profile-loaded? false
|
||||
:repos-loading? false
|
||||
:repos {}
|
||||
:activity-feed-loading? false
|
||||
|
@ -62,7 +62,6 @@
|
||||
(fn [db [_ path value]]
|
||||
(assoc-in db path value)))
|
||||
|
||||
|
||||
(reg-event-db
|
||||
:set-active-page
|
||||
(fn [db [_ page]]
|
||||
@ -225,7 +224,8 @@
|
||||
:set-user-profile
|
||||
(fn [{:keys [db]} [_ user-profile]]
|
||||
{:db
|
||||
(assoc db :user (:user user-profile))
|
||||
(assoc db :user (:user user-profile)
|
||||
:user-profile-loaded? true)
|
||||
:dispatch-n [[:load-user-repos]
|
||||
[:load-owner-bounties]]}))
|
||||
|
||||
@ -318,32 +318,38 @@
|
||||
{:db db
|
||||
:dispatch [:set-active-page :update-address]}))
|
||||
|
||||
(reg-event-db
|
||||
:update-user
|
||||
(fn [db [_ fields]]
|
||||
(update db :user merge fields)))
|
||||
|
||||
(reg-event-fx
|
||||
:save-user-address
|
||||
(fn [{:keys [db]} [_ user-id address]]
|
||||
(prn "save-user-address" user-id address)
|
||||
{:db (assoc db :updating-address true)
|
||||
:save-user-fields
|
||||
(fn [{:keys [db]} [_ fields]]
|
||||
{:dispatch [:set-updating-user]
|
||||
:http {:method POST
|
||||
:url "/api/user/address"
|
||||
:url "/api/user"
|
||||
:on-success #(do
|
||||
(dispatch [:assoc-in [:user [:address] address]])
|
||||
(dispatch [:update-user fields])
|
||||
(dispatch [:set-flash-message
|
||||
:success
|
||||
"Address saved"]))
|
||||
:on-error #(do
|
||||
(println %)
|
||||
(dispatch [:set-flash-message
|
||||
:error
|
||||
(:response %)]))
|
||||
:finally #(dispatch [:clear-updating-address])
|
||||
:params {:user-id user-id :address address}}}))
|
||||
"Settings saved"]))
|
||||
:on-error #(dispatch [:set-flash-message
|
||||
:error
|
||||
(:response %)])
|
||||
:finally #(dispatch [:clear-updating-user])
|
||||
:params fields}}))
|
||||
|
||||
|
||||
(reg-event-db
|
||||
:clear-updating-address
|
||||
:set-updating-user
|
||||
(fn [db _]
|
||||
(dissoc db :updating-address)))
|
||||
(assoc db :updating-user true)))
|
||||
|
||||
(reg-event-db
|
||||
:clear-updating-user
|
||||
(fn [db _]
|
||||
(dissoc db :updating-user)))
|
||||
|
||||
(reg-event-fx
|
||||
:save-payout-hash
|
||||
|
@ -1,6 +1,6 @@
|
||||
(ns commiteth.manage-payouts
|
||||
(:require [re-frame.core :as rf]
|
||||
[commiteth.common :refer [moment-timestamp]]))
|
||||
[commiteth.common :refer [relative-time]]))
|
||||
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
[:div.description (if paid?
|
||||
(str "(paid to " winner-login ")")
|
||||
(str "(" (if merged? "merged" "open") ")"))]
|
||||
[:div.time (moment-timestamp updated)]
|
||||
[:div.time (relative-time updated)]
|
||||
[:button.ui.button
|
||||
(merge (if (and merged? (not paid?))
|
||||
{}
|
||||
|
@ -19,6 +19,11 @@
|
||||
(fn [db _]
|
||||
(:user db)))
|
||||
|
||||
(reg-sub
|
||||
:user-profile-loaded?
|
||||
(fn [db _]
|
||||
(:user-profile-loaded? db)))
|
||||
|
||||
(reg-sub
|
||||
:repos-loading?
|
||||
(fn [db _]
|
||||
|
@ -87,8 +87,8 @@
|
||||
::bounty-filter-type.category ::bounty-filter-type-category|multiple-dynamic-options
|
||||
::bounty-filter-type.re-frame-subs-key-for-options :commiteth.subscriptions/open-bounties-currencies
|
||||
::bounty-filter-type.predicate (fn [filter-value bounty]
|
||||
(or (and (contains? #{"ETH"} filter-value)
|
||||
(< 0 (:balance-eth bounty)))
|
||||
(or (and (contains? filter-value "ETH")
|
||||
(< 0 (js/parseFloat (:balance-eth bounty))))
|
||||
(not-empty
|
||||
(set/intersection
|
||||
(->> filter-value (remove #{"ETH"}) set)
|
||||
|
@ -3,42 +3,77 @@
|
||||
[commiteth.common :refer [input dropdown]]
|
||||
[reagent.core :as r]
|
||||
[reagent.crypt :as crypt]
|
||||
[clojure.string :as str]
|
||||
[cljs-web3.eth :as web3-eth]))
|
||||
|
||||
|
||||
(defn update-address-page []
|
||||
(defn update-address-page-contents []
|
||||
(let [db (rf/subscribe [:db])
|
||||
user (rf/subscribe [:user])
|
||||
updating-address (rf/subscribe [:get-in [:updating-address]])
|
||||
address (r/atom @(rf/subscribe [:get-in [:user :address]]))]
|
||||
updating-user (rf/subscribe [:get-in [:updating-user]])
|
||||
address (r/atom @(rf/subscribe [:get-in [:user :address]]))
|
||||
hidden (r/atom @(rf/subscribe [:get-in [:user :is_hidden_in_hunters]]))]
|
||||
|
||||
(fn []
|
||||
(let [web3 (:web3 @db)
|
||||
web3-accounts (when web3
|
||||
(web3-eth/accounts web3))]
|
||||
(println "web3-accounts" web3-accounts)
|
||||
[:div.ui.container.grid
|
||||
[:div.ui.form.sixteen.wide.column
|
||||
[:h3 "Update address"]
|
||||
[:p "Insert your Ethereum address in hex format."]
|
||||
[:div.field
|
||||
(if-not (empty? web3-accounts)
|
||||
[dropdown {:class "address-input"} "Select address"
|
||||
address
|
||||
(vec
|
||||
(for [acc web3-accounts]
|
||||
acc))]
|
||||
; Add value of address if it's missing from items list.
|
||||
; If address is empty, add title
|
||||
(let [accounts (map str/lower-case web3-accounts)
|
||||
addr @address
|
||||
title "Select address"
|
||||
addr-not-in-web3? (and addr (as-> web3-accounts acc
|
||||
(map str/lower-case acc)
|
||||
(set acc)
|
||||
(contains? acc addr)
|
||||
(not acc)))
|
||||
items (cond->> web3-accounts
|
||||
addr-not-in-web3? (into [addr])
|
||||
(not addr) (into [title]))]
|
||||
[dropdown {:class "address-input"}
|
||||
title
|
||||
address
|
||||
items])
|
||||
[:div.ui.input.address-input
|
||||
[input address {:placeholder "0x0000000000000000000000000000000000000000"
|
||||
[input address {:placeholder "0x0000000000000000000000000000000000000000"
|
||||
:auto-complete "off"
|
||||
:auto-correct "off"
|
||||
:spell-check "false"
|
||||
:max-length 42}]])]
|
||||
|
||||
[:h3 "Settings"]
|
||||
|
||||
[:div
|
||||
[:input
|
||||
{:type :checkbox
|
||||
:disabled @updating-user
|
||||
:id :input-hidden
|
||||
:checked @hidden
|
||||
:on-change
|
||||
(fn [e]
|
||||
(let [value (-> e .-target .-checked)]
|
||||
(reset! hidden value)))}]
|
||||
|
||||
[:label {:for :input-hidden} "Disguise myself from the top hunters and activity lists."]]
|
||||
|
||||
[:button
|
||||
(merge {:on-click
|
||||
#(rf/dispatch [:save-user-address
|
||||
(:id @user)
|
||||
@address])
|
||||
#(rf/dispatch [:save-user-fields {:address @address
|
||||
:is_hidden_in_hunters @hidden}])
|
||||
:class (str "ui button small update-address-button"
|
||||
(when @updating-address
|
||||
(when @updating-user
|
||||
" busy loading"))})
|
||||
"UPDATE"]]]))))
|
||||
|
||||
(defn update-address-page []
|
||||
(let [loaded? @(rf/subscribe [:user-profile-loaded?])]
|
||||
(if loaded?
|
||||
[update-address-page-contents]
|
||||
[:div.view-loading-container
|
||||
[:div.ui.active.inverted.dimmer
|
||||
[:div.ui.text.loader.view-loading-label "Loading"]]])))
|
||||
|
@ -41,17 +41,26 @@
|
||||
|
||||
.update-address-button {
|
||||
background-color: #57a7ed!important;
|
||||
margin-top: 10px !important;
|
||||
&:hover {
|
||||
background-color: #57a7ed!important;
|
||||
}
|
||||
}
|
||||
|
||||
label[for="input-hidden"] {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
#input-hidden {
|
||||
vertical-align: bottom;
|
||||
position: relative;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
.login-button {
|
||||
background-color: rgba(255,255,255,0.2)!important;
|
||||
}
|
||||
|
||||
|
||||
.commiteth-header {
|
||||
background-color: #57a7ed!important;
|
||||
border-radius: 0em;
|
||||
@ -864,6 +873,8 @@
|
||||
box-shadow: none;
|
||||
border-radius: 0.3em;
|
||||
|
||||
min-height: calc(~"100vh - 400px");
|
||||
|
||||
h3 {
|
||||
color: #474951;
|
||||
}
|
||||
@ -986,7 +997,6 @@
|
||||
z-index: -1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
@ -1285,5 +1295,3 @@ body {
|
||||
color: #8d99a4;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user