From 025ee03cb1c72b564bc015c836149a02ad74ed15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Sj=C3=B6lander?= Date: Tue, 13 Feb 2018 09:08:01 -0800 Subject: [PATCH] Add copywrite headers to css files Reviewed By: danielbuechele Differential Revision: D6976529 fbshipit-source-id: 7f0c3fdd70105cbe055fa49f10eac3bdaf84b5c2 --- website/src/components/DocsSidebar.css | 11 ++++++++++- website/src/components/Padded.css | 11 ++++++++++- website/src/components/Page.css | 9 +++++++++ website/src/components/Playground/Code.css | 11 ++++++++++- website/src/components/Playground/Editor.css | 11 ++++++++++- website/src/components/Playground/InfoText.css | 11 ++++++++++- website/src/components/Playground/PositionGuide.css | 11 ++++++++++- website/src/components/Playground/Sidebar.css | 11 ++++++++++- website/src/components/Playground/YogaEnumSelect.css | 11 ++++++++++- website/src/components/Playground/YogaNode.css | 11 ++++++++++- .../src/components/Playground/YogaPositionEditor.css | 11 ++++++++++- website/src/components/Playground/index.css | 11 ++++++++++- website/src/components/Toolbar.css | 9 +++++++++ website/src/pages/docs/index.css | 10 +++++++++- website/src/pages/index.css | 11 ++++++++++- website/src/templates/index.css | 11 ++++++++++- 16 files changed, 157 insertions(+), 14 deletions(-) diff --git a/website/src/components/DocsSidebar.css b/website/src/components/DocsSidebar.css index a0f73f45..b0809ecf 100644 --- a/website/src/components/DocsSidebar.css +++ b/website/src/components/DocsSidebar.css @@ -1,4 +1,13 @@ -.DocsSidebar { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .DocsSidebar { height: 100%; width: 350px; padding: 20px; diff --git a/website/src/components/Padded.css b/website/src/components/Padded.css index bcfa5430..5eb9cb2c 100644 --- a/website/src/components/Padded.css +++ b/website/src/components/Padded.css @@ -1,4 +1,13 @@ -.Padded { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .Padded { width: 100%; max-width: 1200px; padding: 0 50px; diff --git a/website/src/components/Page.css b/website/src/components/Page.css index 6a3269f6..b7eb3b6f 100644 --- a/website/src/components/Page.css +++ b/website/src/components/Page.css @@ -1,3 +1,12 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Source+Code+Pro'); html, diff --git a/website/src/components/Playground/Code.css b/website/src/components/Playground/Code.css index 2b68fb1e..aa5141e7 100644 --- a/website/src/components/Playground/Code.css +++ b/website/src/components/Playground/Code.css @@ -1,4 +1,13 @@ -.Code { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .Code { display: flex; flex-direction: column; max-height: 100%; diff --git a/website/src/components/Playground/Editor.css b/website/src/components/Playground/Editor.css index 6a6f0166..ebf930aa 100644 --- a/website/src/components/Playground/Editor.css +++ b/website/src/components/Playground/Editor.css @@ -1,4 +1,13 @@ -.Editor { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .Editor { display: flex; flex-direction: column; height: 100%; diff --git a/website/src/components/Playground/InfoText.css b/website/src/components/Playground/InfoText.css index cc344d1e..5629917b 100644 --- a/website/src/components/Playground/InfoText.css +++ b/website/src/components/Playground/InfoText.css @@ -1,4 +1,13 @@ -.InfoText { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .InfoText { max-width: 230px; line-height: 130%; } diff --git a/website/src/components/Playground/PositionGuide.css b/website/src/components/Playground/PositionGuide.css index 455971c2..5be90750 100644 --- a/website/src/components/Playground/PositionGuide.css +++ b/website/src/components/Playground/PositionGuide.css @@ -1,4 +1,13 @@ -.PositionGuide { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .PositionGuide { position: absolute; pointer-events: none; display: flex; diff --git a/website/src/components/Playground/Sidebar.css b/website/src/components/Playground/Sidebar.css index 9e2ff1ab..c6594608 100644 --- a/website/src/components/Playground/Sidebar.css +++ b/website/src/components/Playground/Sidebar.css @@ -1,4 +1,13 @@ -.Sidebar { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .Sidebar { position: absolute; z-index: 3; top: 0; diff --git a/website/src/components/Playground/YogaEnumSelect.css b/website/src/components/Playground/YogaEnumSelect.css index 57a4ec1b..f5dc2ed3 100644 --- a/website/src/components/Playground/YogaEnumSelect.css +++ b/website/src/components/Playground/YogaEnumSelect.css @@ -1,4 +1,13 @@ -.YogaEnumSelect { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .YogaEnumSelect { display: flex; } diff --git a/website/src/components/Playground/YogaNode.css b/website/src/components/Playground/YogaNode.css index ef65f0d8..042d69a2 100644 --- a/website/src/components/Playground/YogaNode.css +++ b/website/src/components/Playground/YogaNode.css @@ -1,4 +1,13 @@ -.YogaNode { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .YogaNode { background: white; position: absolute; transform: scale(1); diff --git a/website/src/components/Playground/YogaPositionEditor.css b/website/src/components/Playground/YogaPositionEditor.css index 1e6b4a72..43f81476 100644 --- a/website/src/components/Playground/YogaPositionEditor.css +++ b/website/src/components/Playground/YogaPositionEditor.css @@ -1,4 +1,13 @@ -.YogaPositionEditor { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .YogaPositionEditor { text-align: center; margin-top: 20px; margin-bottom: 20px; diff --git a/website/src/components/Playground/index.css b/website/src/components/Playground/index.css index bf1eb2dc..97691196 100644 --- a/website/src/components/Playground/index.css +++ b/website/src/components/Playground/index.css @@ -1,4 +1,13 @@ -.PlaygroundContainer { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .PlaygroundContainer { display: flex; flex-direction: row; flex-grow: 1; diff --git a/website/src/components/Toolbar.css b/website/src/components/Toolbar.css index b96e6a9f..240b7101 100644 --- a/website/src/components/Toolbar.css +++ b/website/src/components/Toolbar.css @@ -1,3 +1,12 @@ +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + .Toolbar { display: flex; padding: 20px 15px; diff --git a/website/src/pages/docs/index.css b/website/src/pages/docs/index.css index 8d773636..ec6dde46 100644 --- a/website/src/pages/docs/index.css +++ b/website/src/pages/docs/index.css @@ -1,4 +1,12 @@ - +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + .docs-landing .heading { padding-top: 50px; padding-bottom: 50px; diff --git a/website/src/pages/index.css b/website/src/pages/index.css index 25337e44..0775f73a 100644 --- a/website/src/pages/index.css +++ b/website/src/pages/index.css @@ -1,4 +1,13 @@ -.landing-page .hero { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .landing-page .hero { padding-top: 100px; padding-bottom: 100px; display: flex; diff --git a/website/src/templates/index.css b/website/src/templates/index.css index a343e327..46bd1313 100644 --- a/website/src/templates/index.css +++ b/website/src/templates/index.css @@ -1,4 +1,13 @@ -.doc-block.playground { +/** + * Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + + .doc-block.playground { height: 1vh; }