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;
|
2014-01-09 01:39:58 +04:00
|
|
|
display: -webkit-flex;
|
|
|
|
-webkit-flex: 1;
|
|
|
|
|
2015-03-17 10:02:02 +03:00
|
|
|
atom-pane-axis {
|
2014-01-09 01:39:58 +04:00
|
|
|
display: -webkit-flex;
|
|
|
|
-webkit-flex: 1;
|
2015-03-17 10:02:02 +03:00
|
|
|
|
|
|
|
& > atom-pane-resize-handle {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
atom-pane-axis.vertical {
|
2014-01-09 01:39:58 +04:00
|
|
|
-webkit-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-17 10:02:02 +03:00
|
|
|
width: 100%;
|
2015-03-09 08:16:30 +03:00
|
|
|
height: 8px;
|
2015-03-17 10:02:02 +03:00
|
|
|
margin-top: -4px;
|
2015-06-09 11:06:45 +03:00
|
|
|
cursor: row-resize;
|
2015-03-09 08:16:30 +03:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
2014-01-09 01:39:58 +04:00
|
|
|
}
|
|
|
|
|
2014-10-08 22:32:58 +04:00
|
|
|
atom-pane-axis.horizontal {
|
2014-01-09 01:39:58 +04:00
|
|
|
-webkit-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
|
|
|
width: 8px;
|
2015-03-17 10:02:02 +03:00
|
|
|
height: 100%;
|
|
|
|
margin-left: -4px;
|
2015-06-09 11:06:45 +03:00
|
|
|
cursor: col-resize;
|
2015-03-09 08:16:30 +03:00
|
|
|
border-right: none;
|
|
|
|
}
|
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;
|
2014-01-11 06:02:19 +04:00
|
|
|
display: -webkit-flex;
|
2014-01-09 01:39:58 +04:00
|
|
|
-webkit-flex: 1;
|
2014-01-11 06:02:19 +04:00
|
|
|
-webkit-flex-direction: column;
|
2015-03-31 03:19:18 +03:00
|
|
|
overflow: visible;
|
2014-01-09 01:39:58 +04:00
|
|
|
|
|
|
|
.item-views {
|
|
|
|
-webkit-flex: 1;
|
|
|
|
display: -webkit-flex;
|
|
|
|
min-height: 0;
|
2014-01-12 06:13:00 +04:00
|
|
|
min-width: 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|