2013-09-06 21:42:45 +04:00
|
|
|
@import "ui-variables";
|
|
|
|
|
2013-09-06 22:07:08 +04:00
|
|
|
// Pane-items are things that go inside a pane. Like the UI-Demo, the
|
|
|
|
// settings-view, the archive-view, the image-view. Etc. Basically a non-
|
|
|
|
// editor resource with a tab.
|
2014-10-08 22:36:31 +04:00
|
|
|
atom-pane-container {
|
2015-03-17 10:02:02 +03:00
|
|
|
position: relative;
|
2016-06-29 07:15:20 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2016-06-28 09:18:37 +03:00
|
|
|
min-width: 0;
|
2016-09-07 09:38:00 +03:00
|
|
|
min-height: 0;
|
2014-01-09 01:39:58 +04:00
|
|
|
|
2015-03-17 10:02:02 +03:00
|
|
|
atom-pane-axis {
|
2016-09-01 17:06:06 +03:00
|
|
|
position: relative;
|
2016-06-29 07:15:20 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2016-06-28 09:18:37 +03:00
|
|
|
min-width: 0;
|
2016-09-07 09:38:00 +03:00
|
|
|
min-height: 0;
|
2015-03-17 10:02:02 +03:00
|
|
|
|
|
|
|
& > atom-pane-resize-handle {
|
2016-08-26 18:33:33 +03:00
|
|
|
position: relative;
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
2015-03-17 10:02:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
atom-pane-axis.vertical {
|
2016-06-29 07:15:20 +03:00
|
|
|
flex-direction: column;
|
2015-03-09 08:16:30 +03:00
|
|
|
|
2015-03-10 12:02:34 +03:00
|
|
|
& > atom-pane-resize-handle {
|
2015-03-09 08:16:30 +03:00
|
|
|
border-bottom: none;
|
2016-08-26 18:33:33 +03:00
|
|
|
&:before {
|
|
|
|
height: 8px;
|
|
|
|
top: -4px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
cursor: row-resize;
|
|
|
|
}
|
2015-03-09 08:16:30 +03:00
|
|
|
}
|
2014-01-09 01:39:58 +04:00
|
|
|
}
|
|
|
|
|
2014-10-08 22:32:58 +04:00
|
|
|
atom-pane-axis.horizontal {
|
2016-06-29 07:15:20 +03:00
|
|
|
flex-direction: row;
|
2015-03-09 08:16:30 +03:00
|
|
|
|
2015-03-10 12:02:34 +03:00
|
|
|
& > atom-pane-resize-handle {
|
2015-03-09 08:16:30 +03:00
|
|
|
border-right: none;
|
2016-08-26 18:33:33 +03:00
|
|
|
&:before {
|
|
|
|
width: 8px;
|
|
|
|
left: -4px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
cursor: col-resize;
|
|
|
|
}
|
2015-03-09 08:16:30 +03:00
|
|
|
}
|
2014-01-09 01:39:58 +04:00
|
|
|
}
|
|
|
|
|
2014-10-08 21:36:07 +04:00
|
|
|
atom-pane {
|
2014-01-09 02:31:46 +04:00
|
|
|
position: relative;
|
2016-06-29 07:15:20 +03:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
2015-03-31 03:19:18 +03:00
|
|
|
overflow: visible;
|
2016-05-30 15:49:29 +03:00
|
|
|
min-width: 0;
|
2016-09-07 09:38:00 +03:00
|
|
|
min-height: 0;
|
2014-01-09 01:39:58 +04:00
|
|
|
|
|
|
|
.item-views {
|
2016-06-29 07:15:20 +03:00
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2014-01-12 06:13:00 +04:00
|
|
|
min-width: 0;
|
2016-09-07 09:38:00 +03:00
|
|
|
min-height: 0;
|
2014-01-11 06:02:19 +04:00
|
|
|
position: relative;
|
|
|
|
|
2015-01-08 02:12:22 +03:00
|
|
|
.pane-item {
|
|
|
|
color: @text-color;
|
|
|
|
background-color: @pane-item-background-color;
|
|
|
|
}
|
|
|
|
|
2014-10-09 01:11:57 +04:00
|
|
|
> *, > atom-text-editor.react > * {
|
2014-01-11 06:02:19 +04:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2014-01-09 01:39:58 +04:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 21:42:45 +04:00
|
|
|
}
|
2015-06-17 03:18:16 +03:00
|
|
|
|
|
|
|
// Windows doesn't have row- and col-resize cursors
|
|
|
|
.platform-win32 {
|
|
|
|
atom-pane-container {
|
|
|
|
atom-pane-axis.vertical {
|
|
|
|
& > atom-pane-resize-handle {
|
|
|
|
cursor: ns-resize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-17 03:23:41 +03:00
|
|
|
atom-pane-axis.horizontal {
|
2015-06-17 03:18:16 +03:00
|
|
|
& > atom-pane-resize-handle {
|
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|