Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Issue 483163002: Make table text the same size as body text. Add styles to support table reformatting. (Closed)

Created:
6 years, 4 months ago by jpmedley
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Make table text the same size as body text. Add styles to support table reformatting. BUG=none R= mkearney@chromium.org, smain@chromium.org, binji@chromium.org, binji@google.com, kalman@chromium.org TEST=none NOTRY=true (documentation only change) Committed: https://crrev.com/6b1e161b900e9e7f714b55eb96b907f173cf0296 Cr-Commit-Position: refs/heads/master@{#292305}

Patch Set 1 #

Patch Set 2 : Changing source code for site.css. #

Total comments: 1

Patch Set 3 : Replace exact table font size with $body-font-size variable. #

Total comments: 2

Patch Set 4 : Generate site.css. #

Total comments: 1

Patch Set 5 : Undo keyboard mistake. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M chrome/common/extensions/docs/static/css/out/site.css View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/static/sass/_typography.scss View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
jpmedley
6 years, 4 months ago (2014-08-19 01:57:34 UTC) #1
smain
Is there a better way to show the actual diffs you made in the CSS? ...
6 years, 4 months ago (2014-08-19 15:03:05 UTC) #2
mkearney1
On 2014/08/19 15:03:05, smain wrote: > Is there a better way to show the actual ...
6 years, 4 months ago (2014-08-19 15:28:21 UTC) #3
chromium-reviews
The CSS has had all the white space squeezed out of it making it a ...
6 years, 4 months ago (2014-08-19 16:05:25 UTC) #4
chromium-reviews
I want to make sure I'm getting this. Site.css is composited. I need to change ...
6 years, 4 months ago (2014-08-19 16:08:19 UTC) #5
chromium-reviews
Yep. site.css brings together several .scss files. So you need to figure out which one ...
6 years, 4 months ago (2014-08-19 17:51:44 UTC) #6
chromium-reviews
Do you know which script makes site.css? Joe Medley | Technical Writer | jmedley@google.com | ...
6 years, 4 months ago (2014-08-19 18:16:36 UTC) #7
chromium-reviews
Yep. You will need a copy of it. It's not in the folder! I will ...
6 years, 4 months ago (2014-08-19 18:17:43 UTC) #8
jpmedley
PTAL Here's a picture of what the changes would do: https://plus.google.com/photos/108653480353422372181/albums/6049647704676477985/6051963247476942674?pid=6051963247476942674&oid=108653480353422372181
6 years, 3 months ago (2014-08-26 19:54:55 UTC) #9
binji
On 2014/08/26 19:54:55, jmedley wrote: > PTAL > > Here's a picture of what the ...
6 years, 3 months ago (2014-08-26 20:28:54 UTC) #10
chromium-reviews
Try again. Joe Medley | Technical Writer | jmedley@google.com | 816-678-7195 On Tue, Aug 26, ...
6 years, 3 months ago (2014-08-26 20:39:34 UTC) #11
binji
binji@chromium.org changed reviewers: + binji@chromium.org
6 years, 3 months ago (2014-08-26 22:05:06 UTC) #12
binji
https://codereview.chromium.org/483163002/diff/20001/chrome/common/extensions/docs/static/sass/_typography.scss File chrome/common/extensions/docs/static/sass/_typography.scss (right): https://codereview.chromium.org/483163002/diff/20001/chrome/common/extensions/docs/static/sass/_typography.scss#newcode118 chrome/common/extensions/docs/static/sass/_typography.scss:118: font-size: 14px; should this use $body-font-size?
6 years, 3 months ago (2014-08-26 22:05:07 UTC) #13
jpmedley
Yes. PTAL
6 years, 3 months ago (2014-08-26 23:11:05 UTC) #14
jpmedley
https://codereview.chromium.org/483163002/diff/40001/chrome/common/extensions/docs/static/sass/_typography.scss File chrome/common/extensions/docs/static/sass/_typography.scss (right): https://codereview.chromium.org/483163002/diff/40001/chrome/common/extensions/docs/static/sass/_typography.scss#newcode18 chrome/common/extensions/docs/static/sass/_typography.scss:18: font-size: $body-font-size; Didn't mean to swap this. It's a ...
6 years, 3 months ago (2014-08-26 23:12:18 UTC) #15
binji
https://codereview.chromium.org/483163002/diff/40001/chrome/common/extensions/docs/static/css/out/site.css File chrome/common/extensions/docs/static/css/out/site.css (right): https://codereview.chromium.org/483163002/diff/40001/chrome/common/extensions/docs/static/css/out/site.css#newcode1 chrome/common/extensions/docs/static/css/out/site.css:1: /*! Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 3 months ago (2014-08-26 23:26:57 UTC) #16
jpmedley
Sorry about that. PTAL
6 years, 3 months ago (2014-08-27 15:12:26 UTC) #17
binji
lgtm (though you'll still need OWNERS approval)
6 years, 3 months ago (2014-08-27 15:27:21 UTC) #18
chromium-reviews
Who's the owner? Joe Medley | Technical Writer | jmedley@google.com | 816-678-7195 On Wed, Aug ...
6 years, 3 months ago (2014-08-27 15:35:32 UTC) #19
chromium-reviews
+kalman@chromium.org On Wed, Aug 27, 2014 at 8:35 AM, Joe Medley <jmedley@google.com> wrote: > Who's ...
6 years, 3 months ago (2014-08-27 15:37:25 UTC) #20
not at google - send to devlin
kalman@chromium.org changed reviewers: + kalman@chromium.org
6 years, 3 months ago (2014-08-27 19:30:24 UTC) #21
not at google - send to devlin
lgtm but please either add a BUG or remove the blank BUG= field (preferably the ...
6 years, 3 months ago (2014-08-27 19:30:24 UTC) #22
chromium-reviews
Thanks for the heads up on BUG=. I'm new here. The other item is a ...
6 years, 3 months ago (2014-08-27 21:15:34 UTC) #23
not at google - send to devlin
On 2014/08/27 21:15:34, chromium-reviews wrote: > Thanks for the heads up on BUG=. I'm new ...
6 years, 3 months ago (2014-08-27 21:17:46 UTC) #24
jpmedley
Fixed. I'm committing.
6 years, 3 months ago (2014-08-28 01:11:23 UTC) #25
jpmedley
The CQ bit was checked by jmedley@chromium.org
6 years, 3 months ago (2014-08-28 01:11:37 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jmedley@chromium.org/483163002/80001
6 years, 3 months ago (2014-08-28 01:12:58 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 01:14:05 UTC) #28
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-28 01:14:06 UTC) #29
jpmedley
The CQ bit was checked by jmedley@chromium.org
6 years, 3 months ago (2014-08-28 03:29:49 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jmedley@chromium.org/483163002/80001
6 years, 3 months ago (2014-08-28 03:31:41 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001) as a81e2e0717faed718e15919ed94fd16973de7d2c
6 years, 3 months ago (2014-08-28 03:32:53 UTC) #32
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/6b1e161b900e9e7f714b55eb96b907f173cf0296 Cr-Commit-Position: refs/heads/master@{#292305}
6 years, 3 months ago (2014-09-10 02:56:57 UTC) #33
pearlchen
6 years, 3 months ago (2014-09-12 19:53:40 UTC) #34
Message was sent while issue was closed.
@jmedley	You may want to revisit this patch. I ended up finding this patch
because I had to hunt down quite a few discrepancies between: the CSS that's
live, the CSS that's committed to origin/master, and the CSS that gets generated
from the committed SASS files. 

In the next CSS update, you might notice some of your changes disappear because
they are not in the SCSS files. If you really want these changes in, please
create a new CL with these in the SCSS files and re-generate a new CSS file.

Here's a list of the main differences I found but you can run your own diff to
find the exact line numbers:

(1)
html {
  font-size: 100%
  line-height: 1.5em
}

versus

html {
  font-size: 16px;
  line-height: 1.5em
}

**** note: html font sizing is coming from _normalize.scss so I'm not sure you
meant to change it??  ****

(2)
pre strike {
  text-decoration: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 7px, #cc1f1f 7px, #cc1f1f
9px, rgba(0, 0, 0, 0) 9px)
}

versus 
pre strike {
  text-decoration: none;
  background-image: linear-gradient(transparent 7px, #cc1f1f 7px, #cc1f1f 9px,
transparent 9px)
}

**** note: I would keep transparent here, no need to switch to rgba ****

(3) In a few spots:

background-image: linear-gradient(top ...
background-image: linear-gradient(bottom ...

versus

background-image: linear-gradient(to bottom, #008dfd 0%, #0370ea 100%);
background-image: linear-gradient(to top, #dcdcdc 46%, #fafafa 87%);

**** note: This is a correct update (currently blue buttons on DCC don't
properly show the gradient) but your change is no where to be found in the SCSS
file ****

Powered by Google App Engine
This is Rietveld 408576698