Skip to content

Commit c424e7a

Browse files
authored
Merge pull request #100 from orderedlist/docks-and-settings
Docks and settings
2 parents 0513f3f + ca57314 commit c424e7a

File tree

3 files changed

+85
-0
lines changed

3 files changed

+85
-0
lines changed

index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
@import "styles/badges";
66
@import "styles/buttons";
7+
@import "styles/docks";
78
@import "styles/editor";
89
@import "styles/git";
910
@import "styles/lists";

styles/docks.less

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
.atom-dock-inner.atom-dock-open {
2+
&.left {
3+
border-right: 1px solid @tree-view-border-color;
4+
}
5+
6+
&.right {
7+
border-left: 1px solid @tree-view-border-color;
8+
}
9+
}
10+
11+
.atom-dock-toggle-button {
12+
width: 200px;
13+
height: 200px;
14+
15+
&.left,
16+
&.right {
17+
width: 50px;
18+
}
19+
20+
.atom-dock-toggle-button-inner {
21+
width: 200px;
22+
height: 200px;
23+
border-radius: 100%;
24+
border: 0;
25+
background: rgba(0,0,0,0.4);
26+
27+
28+
&.left {
29+
.icon {
30+
font-size: 64px;
31+
transform: translateX(71px) translateY(-10px);
32+
33+
&:before {
34+
font-size: 32px;
35+
}
36+
}
37+
}
38+
39+
&.right {
40+
.icon {
41+
font-size: 64px;
42+
transform: translateX(-71px) translateY(-10px);
43+
44+
&:before {
45+
font-size: 32px;
46+
}
47+
}
48+
}
49+
}
50+
}
51+
52+
.atom-dock-resize-handle {
53+
position: absolute;
54+
top: 0;
55+
bottom: 0;
56+
z-index: 100;
57+
58+
&.left {
59+
right: -3px;
60+
width: 8px;
61+
}
62+
63+
&.right {
64+
left: -3px;
65+
width: 8px;
66+
}
67+
}

styles/settings.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,27 @@
103103
padding:0 @component-padding;
104104
line-height:@component-padding*3;
105105
color:@text-color;
106+
display: block;
106107

107108
.btn {
108109
top:5px;
110+
111+
&.pull-right {
112+
margin-left: @component-padding/2;
113+
}
109114
}
110115

111116
& + .container {
112117
padding-top:0;
113118
}
114119
}
115120

121+
.updates-heading-container .section-heading {
122+
border: 0;
123+
background: none;
124+
margin: 0;
125+
}
126+
116127
.sub-section {
117128
margin-top:@component-padding;
118129
clear:both;
@@ -123,6 +134,12 @@
123134
}
124135
}
125136

137+
.updates-heading-container {
138+
border-bottom:1px solid fade(@pane-item-border-color, 20%);
139+
background:@tool-panel-background-color;
140+
margin: -@component-padding -@component-padding @component-padding;
141+
}
142+
126143
.table {
127144
th {
128145
border:none;

0 commit comments

Comments
 (0)