Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Commit

Permalink
Update deprecated selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
simurai committed Jan 16, 2015
1 parent d64556f commit 77af047
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
4 changes: 2 additions & 2 deletions styles/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
margin-bottom: 0;
}

.styleguide .overlay:after {
.styleguide atom-panel.modal:after {
position: absolute; // prevent overlay backdrop from leaking outside
left: -@component-padding/2;
right: -@component-padding/2;
bottom: -@component-padding/2;
}

.styleguide .overlay:after {
.styleguide atom-panel.modal:after {
position: absolute; // prevent overlay backdrop from leaking outside
}

Expand Down
4 changes: 2 additions & 2 deletions styles/overlays.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.overlay {
atom-panel.modal {
color: @text-color;
background-color: transparent;
padding: @component-padding;
Expand Down Expand Up @@ -77,7 +77,7 @@
}

@-webkit-keyframes overlay-fade {
0% { opacity: 0; }
0% { opacity: 0; }
100% { opacity: 1; }
}

Expand Down
15 changes: 6 additions & 9 deletions styles/panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,19 @@
}
}

.tool-panel.tool-panel {
atom-panel {
.text(normal);
position: relative;
background-color: @tool-panel-background-color;

&.panel-bottom {
border-top: 1px solid @tool-panel-border-color;
}

&.panel-left {
&.left {
border-right: 1px solid @tool-panel-border-color;
}

&.panel-right {
&.right {
border-left: 1px solid @tool-panel-border-color;
}
&.bottom {
border-top: 1px solid @tool-panel-border-color;
}
}

.inset-panel {
Expand Down
18 changes: 10 additions & 8 deletions styles/panes.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,21 @@
}
}

.panes {
atom-pane-container {
atom-pane {
position: relative;
background-color: @app-background-color;
}

.pane-row > * {
border-right: 1px solid @pane-item-border-color;
&:last-child { border-right: none; }
}
atom-pane-axis {
&.horizontal > * {
border-right: 1px solid @pane-item-border-color;
&:last-child { border-right: none; }
}

.pane-column > * {
border-bottom: 1px solid @pane-item-border-color;
&:last-child { border-bottom: none; }
&.vertical > * {
border-bottom: 1px solid @pane-item-border-color;
&:last-child { border-bottom: none; }
}
}
}

0 comments on commit 77af047

Please sign in to comment.