From 5b48108ae66b356ce0778f7da5b9a15e9e943dcb Mon Sep 17 00:00:00 2001 From: Galen Wolfe-Pauly Date: Wed, 3 Jun 2015 17:29:56 -0700 Subject: [PATCH] formatting, &c --- base/ape/bit/core.hook | 4 +-- base/pub/oct3/src/main.css | 74 +++++++++++++++++++------------------- base/pub/oct3/src/main.js | 4 +-- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/base/ape/bit/core.hook b/base/ape/bit/core.hook index 37d946135..f590e7d2e 100644 --- a/base/ape/bit/core.hook +++ b/base/ape/bit/core.hook @@ -46,11 +46,11 @@ $: cred=(unit ,[app-secret=@t client-id=@t]) ++ redirect-uri [hostname `/~~/home/pub/bit/fab ~] ++ hostname ^- hart ?+ (clan our.hid) !! - %czar [| ?+(our.hid !! %~zod `8.443, %~fyr `8.444) `/localhost] + %czar [| ?+(our.hid `8.443 %~fyr `8.444) `/localhost] %duke [| ~ `/org/urbit/(crip +:)] == ++ auth-url - %+ weld "https://www.coinbase.com/oauth/authorize" + %+ weld "https://sandbox.coinbase.com/oauth/authorize" %- tail:earn :~ 'response_type'^%code 'client_id'^client-id:(need cred.vat) diff --git a/base/pub/oct3/src/main.css b/base/pub/oct3/src/main.css index 97258b45c..01d32c5d2 100644 --- a/base/pub/oct3/src/main.css +++ b/base/pub/oct3/src/main.css @@ -1,37 +1,37 @@ -#what, #bord, #audi { width: 600px; text-align: center; position: absolute; - left: 50%; margin-left: -300px; } -#what { height: 36px; top: 18px; } -#bord { height: 600px; position: absolute; top: 111px; opacity: .3; } -#audi { top: 760px; } -.turn #bord { opacity: 1; } -#message { position:absolute; left: 0; top: 0; width: 100%; height: 90px; - line-height: 90px; background-color: #000; color: #fff; - text-align: center; } -#message .ship { display: inline; } -#what { font-family: "bau"; } -#what div { display: inline-block; } -.ship { padding: .3rem; font-weight: 400; letter-spacing: 1px; - text-transform: uppercase; line-height:2rem; } -.ship:before { content: "~"; font-weight: 500; font-size: 1rem; } -.waiting.ship:before { content: "Waiting"; color: #ccc; } -#what #x, #what #o { border: 2px solid #fff; } -.x #what #x, .o #what #o { border: 2px solid red; } -#what #ship, #what #user { padding: .6rem; } -#what .as { width: 1.6rem; } -#audi h1, -#vs { margin: 0 1rem; padding: .3rem; color: #fff; background-color: #000; } -#audi h1 { font-size: .9rem; text-transform: uppercase; display: - inline-block; background-color: #ccc; } -#audi h1:after { content: ""; margin: 0; } -#audi .ship { color: #ccc; } -.spac { font-size: 100px; line-height: 200px; } -.spac { width: 198px; height: 198px; border: 1px solid #000; - text-align: center; float: left; cursor: pointer; } -.spac[data-index="0-0"], .spac[data-index="1-0"], .spac[data-index="2-0"] - { border-left: 0; } -.spac[data-index="0-0"], .spac[data-index="0-1"], .spac[data-index="0-2"] - { border-top: 0; } -.spac[data-index="2-0"], .spac[data-index="2-1"], .spac[data-index="2-2"] - { border-bottom: 0; } -.spac[data-index="0-2"], .spac[data-index="1-2"], .spac[data-index="2-2"] - { border-right: 0; } +#what,#bord,#audi { width:600px; text-align:center; position:absolute; + left:50%; margin-left:-300px; } +#what { height:36px; top:18px; } +#bord { height:600px; position:absolute; top:111px; opacity:.3; } +#audi { top:760px; } +.turn #bord { opacity:1; } +#message { position:absolute; left:0; top:0; width:100%; height:90px; + line-height:90px; background-color:#000; color:#fff; + text-align:center; } +#message .ship { display:inline; } +#what { font-family:"bau"; } +#what div { display:inline-block; } +.ship { padding:.3rem; font-weight:400; letter-spacing:1px; + text-transform:uppercase; line-height:2rem; } +.ship:before { content:"~"; font-weight:500; font-size:1rem; } +.waiting.ship:before { content:"Waiting"; color:#ccc; } +#what #x,#what #o { border:2px solid #fff; } +.x #what #x,.o #what #o { border:2px solid red; } +#what #ship,#what #user { padding:.6rem; } +#what .as { width:1.6rem; } +#audi h1,#vs { margin:0 1rem; padding:.3rem; color:#fff; + background-color:#000; } +#audi h1 { font-size:.9rem; text-transform:uppercase; + display:inline-block; background-color:#ccc; } +#audi h1:after { content:""; margin:0; } +#audi .ship { color:#ccc; } +.spac { font-size:100px; line-height:200px; } +.spac { width:198px; height:198px; border:1px solid #000; + text-align:center; float:left; cursor:pointer; } +.spac[data-index="0-0"],.spac[data-index="1-0"],.spac[data-index="2-0"] + { border-left:0; } +.spac[data-index="0-0"],.spac[data-index="0-1"],.spac[data-index="0-2"] + { border-top:0; } +.spac[data-index="2-0"],.spac[data-index="2-1"],.spac[data-index="2-2"] + { border-bottom:0; } +.spac[data-index="0-2"],.spac[data-index="1-2"],.spac[data-index="2-2"] + { border-right:0; } diff --git a/base/pub/oct3/src/main.js b/base/pub/oct3/src/main.js index 21fc08054..4d3a1c5fe 100644 --- a/base/pub/oct3/src/main.js +++ b/base/pub/oct3/src/main.js @@ -53,9 +53,9 @@ $(function() { state.plo = "" if(!state.plx) state.plx = "" - $('#o .ship').toggleClass('waiting', (state.plo=="")). + $('#o .ship').toggleClass('anyone', (state.plo=="")). text(state.plo.slice(1)) - $('#x .ship').toggleClass('waiting', (state.plx=="")). + $('#x .ship').toggleClass('anyone', (state.plx=="")). text(state.plx.slice(1)) }