Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend cleaning #3563

Merged
merged 25 commits into from
May 11, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[submodule "lib/assets/javascripts/cdb"]
path = lib/assets/javascripts/cdb
url = git://github.com/CartoDB/cartodb.js.git
[submodule "app/assets/stylesheets/common"]
path = app/assets/stylesheets/common
url = git://github.com/CartoDB/cartodb.js.git
[submodule "app/assets/stylesheets/old_common"]
path = app/assets/stylesheets/old_common
url = git://github.com/CartoDB/cartodb.css.git
[submodule "lib/sql"]
path = lib/sql
Expand Down
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
3.10.2 ()
---------
* Ongoing backend refactor and migration from Sequel to ActiveRecord.
* Frontend assets cleaning [PR 3563](https://github.com/CartoDB/cartodb/pull/3563).

#### Steps to avoid problems with submodules changes
```shell
# Before get last changes from master, let's remove the
# common submodule
git submodule deinit app/assets/stylesheets/common
git pull origin master
git submodule sync
git submodule update --init
```

3.10.1 (2015-05-05)
-------------------
Expand Down
Binary file removed app/assets/images/sprites/dashboard/burguer.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/burguer_line.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/feed.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/feed_error.png
Binary file not shown.
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/prohibited.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/square.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/star.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/t.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/t_plus.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/trash.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/v.png
Binary file not shown.
Binary file removed app/assets/images/sprites/dashboard/x.png
Binary file not shown.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/cdb.css.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/stylesheets/common
Submodule common deleted from 332cb1
5 changes: 0 additions & 5 deletions app/assets/stylesheets/common.css.scss

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../new_variables/progress-bar";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/progress-bar";

// Background importer item styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

// Background importer styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.Badge {
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Buttons
// --------------------------------------------------

@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.Button {
@include display-flex();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.ChangePrivacy-upgradeBanner {
padding: 20px 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

.ContentFooter {
@include display-flex();
Expand Down
11 changes: 11 additions & 0 deletions app/assets/stylesheets/common/create/create_dialog.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";


.Dialog-body.CreateDialog-body {
position: relative;
width: 100%;
padding: 35px 0 0;
overflow: auto;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";

// Create dialog footer styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";


.CreateDialog-header {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";

// Create dialog listing block styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";

// Create dialog preview block styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../new_variables/mixins";
@import "../../new_variables/colors";
@import "../../new_variables/sizes";
@import "../../variables/mixins";
@import "../../variables/colors";
@import "../../variables/sizes";

// Map templates styles
$w: 700px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Default import panel styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Selected dataset styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Import twitter view styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";
@import "compass/css3/images";

// Imports styles
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Navigation styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Service list styles within import panel

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../../new_variables/mixins";
@import "../../../new_variables/colors";
@import "../../../new_variables/sizes";
@import "../../../variables/mixins";
@import "../../../variables/colors";
@import "../../../variables/sizes";

// Map template video styles

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

$standardColor: #D0D0D0;
$blueColor: #3190DB;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

/* compensate for the negative margins and border */
$selectedItemPaddingOnSides: $sMargin-element - 1px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Default description for datasets and maps
// --------------------------------------------------

@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../new_variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/mixins";

.DefaultDescription {
font-size: $sFontSize-normal;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../new_variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/mixins";

.DefaultParagraph {
font-size: $sFontSize-large;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Default secondary paragraph texts
// --------------------------------------------------

@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/colors";
@import "../variables/sizes";

.DefaultSecondary {
font-size: $sFontSize-large;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Default tags for datasets and maps
// --------------------------------------------------

@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../new_variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/mixins";

.DefaultTags {
color: $cTypography-secondary;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Time diff indicator (2 weeks ago by ...)
// --------------------------------------------------

@import "../new_variables/colors";
@import "../new_variables/mixins";
@import "../new_variables/sizes";
@import "../variables/colors";
@import "../variables/mixins";
@import "../variables/sizes";

.DefaultTimeDiff {
@include display-flex();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/colors";
@import "../variables/sizes";

// Default title for datasets and maps
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
// --------------------------------------------------------------------------------------------------------------------

@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../new_variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";
@import "../variables/mixins";

* {
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

/* set by base dialog */
body.is-inDialog {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../new_variables/sizes";
@import "../variables/mixins";
@import "../variables/colors";
@import "../variables/sizes";

// Append a standard dropdown triangle icon next to he right of the text of the link, like "foobar v".
// Usage is as simple as:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* The tick can be placed horizontally by .tick_left/center/right, or vertically by .tick_top/middle/bottom, in
* combination with horizontal_left/right and vertical_top/bottom.
*/
@import "../new_variables/mixins";
@import "../new_variables/colors";
@import "../variables/mixins";
@import "../variables/colors";

.Dropdown {
position: absolute;
Expand Down
Loading