All panel styling into panels.less
Esse commit está contido em:
@@ -1,62 +0,0 @@
|
||||
@import "ui-variables";
|
||||
|
||||
.overlay,
|
||||
atom-panel[location="modal"] {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
width: 500px;
|
||||
margin-left: -250px;
|
||||
z-index: 9999;
|
||||
box-sizing: border-box;
|
||||
|
||||
color: @text-color;
|
||||
background-color: @overlay-background-color;
|
||||
|
||||
padding: 10px;
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
color: @text-color-highlight;
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
atom-text-editor.mini {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding-top: 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
&.mini {
|
||||
width: 200px;
|
||||
margin-left: -100px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.overlay.from-top, // TODO: Remove the .from-* classes
|
||||
atom-panel[location="modal"] {
|
||||
top: 0;
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
// TODO: Remove these!
|
||||
.overlay.from-bottom {
|
||||
bottom: 0;
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.overlay.floating {
|
||||
left: auto;
|
||||
}
|
||||
+97
-11
@@ -1,17 +1,7 @@
|
||||
@import "ui-variables";
|
||||
|
||||
atom-panel-container[location="left"],
|
||||
atom-panel-container[location="right"] {
|
||||
display: -webkit-flex;
|
||||
-webkit-flex-direction: row;
|
||||
-webkit-align-items: stretch;
|
||||
height: 100%;
|
||||
atom-panel {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
// Override bootstrap styles here.
|
||||
|
||||
.panel {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
@@ -25,6 +15,8 @@ atom-panel-container[location="right"] {
|
||||
}
|
||||
}
|
||||
|
||||
// interstitial panels
|
||||
|
||||
.inset-panel {
|
||||
.panel-heading {
|
||||
border-radius: @component-border-radius @component-border-radius 0 0;
|
||||
@@ -48,3 +40,97 @@ atom-panel-container[location="right"] {
|
||||
top: -5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Tool panels
|
||||
|
||||
atom-panel-container[location="left"],
|
||||
atom-panel-container[location="right"] {
|
||||
display: -webkit-flex;
|
||||
-webkit-flex-direction: row;
|
||||
-webkit-align-items: stretch;
|
||||
height: 100%;
|
||||
atom-panel {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
atom-panel {
|
||||
display: block;
|
||||
}
|
||||
|
||||
atom-panel[location="top"],
|
||||
atom-panel[location="bottom"],
|
||||
atom-panel[location="left"],
|
||||
atom-panel[location="right"] {
|
||||
background-color: @tool-panel-background-color;
|
||||
}
|
||||
|
||||
// deprecated
|
||||
.tool-panel {
|
||||
position: relative;
|
||||
background-color: @tool-panel-background-color;
|
||||
}
|
||||
|
||||
// Modal panels
|
||||
|
||||
.overlay, // deprecated .overlay
|
||||
atom-panel[location="modal"] {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
width: 500px;
|
||||
margin-left: -250px;
|
||||
z-index: 9999;
|
||||
box-sizing: border-box;
|
||||
|
||||
color: @text-color;
|
||||
background-color: @overlay-background-color;
|
||||
|
||||
padding: 10px;
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
color: @text-color-highlight;
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
atom-text-editor.mini {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding-top: 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
&.mini {
|
||||
width: 200px;
|
||||
margin-left: -100px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
// deprecated: from-top, from-bottom
|
||||
.overlay.from-top,
|
||||
atom-panel[location="modal"] {
|
||||
top: 0;
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
// TODO: Remove these!
|
||||
.overlay.from-bottom {
|
||||
bottom: 0;
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.overlay.floating {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário