gitlab-org--gitlab-foss/app/assets/stylesheets/pages/environments.scss

290 lines
4.0 KiB
SCSS
Raw Normal View History

@media (max-width: $screen-md-max) {
.deployments-container {
width: 100%;
overflow: auto;
}
}
.environments-folder-name {
font-weight: normal;
padding-top: 20px;
}
.environments-container {
2017-06-06 12:58:29 +00:00
.ci-table {
.deployment-column {
> span {
word-break: break-all;
}
.avatar {
float: none;
}
}
.btn-group {
> a {
color: $gl-text-color-secondary;
}
2016-08-05 17:44:13 +00:00
svg path {
fill: $gl-text-color-secondary;
}
.dropdown {
outline: none;
}
}
2016-08-05 17:44:13 +00:00
.btn .text-center {
display: inline;
}
.commit-title {
margin: 0;
}
2016-08-05 17:44:13 +00:00
.icon-play {
height: 13px;
width: 12px;
2016-08-05 17:44:13 +00:00
}
.external-url,
.dropdown-new {
color: $gl-text-color-secondary;
}
2016-10-24 19:23:40 +00:00
.dropdown-menu {
.fa {
margin-right: 6px;
color: $gl-text-color-secondary;
}
}
2016-10-24 19:23:40 +00:00
.build-link,
.ref-name {
color: $gl-text-color;
}
.stop-env-link,
.external-url {
color: $gl-text-color-secondary;
.stop-env-icon {
font-size: 14px;
}
}
2016-10-24 19:23:40 +00:00
.deployment .build-column {
.build-link {
2016-12-30 20:18:27 +00:00
color: $gl-text-color;
}
2016-10-24 19:23:40 +00:00
.avatar {
float: none;
2017-06-23 07:36:40 +00:00
margin-right: 0;
}
}
2017-02-03 19:47:56 +00:00
.folder-icon {
2017-02-03 19:47:56 +00:00
margin-right: 3px;
color: $gl-text-color-secondary;
display: inline-block;
.fa:nth-child(1) {
margin-right: 3px;
}
2017-02-03 19:47:56 +00:00
}
2016-10-25 13:55:57 +00:00
.folder-name {
cursor: pointer;
color: $gl-text-color-secondary;
display: inline-block;
}
.icon-container {
width: 20px;
text-align: center;
}
2016-10-10 21:21:08 +00:00
.branch-commit {
.commit-sha {
margin-right: 0;
}
}
.no-btn {
border: none;
background: none;
outline: none;
width: 100%;
text-align: left;
}
}
2017-02-03 19:47:56 +00:00
}
2017-06-06 12:58:29 +00:00
.gl-responsive-table-row {
2017-06-06 22:38:39 +00:00
.branch-commit {
max-width: 100%;
}
2017-06-06 12:58:29 +00:00
}
.folder-row {
padding: 15px 0;
border-bottom: 1px solid $white-normal;
@media (max-width: $screen-sm-max) {
border-top: 1px solid $white-normal;
margin-top: 10px;
}
}
.x-axis path,
.y-axis path,
.label-x-axis-line,
.label-y-axis-line {
fill: none;
stroke-width: 1;
shape-rendering: crispEdges;
}
.x-axis path,
.y-axis path {
stroke: $stat-graph-axis-fill;
}
.label-x-axis-line,
.label-y-axis-line {
stroke: $border-color;
}
.y-axis {
line {
stroke: $stat-graph-axis-fill;
stroke-width: 1;
}
}
.metric-area {
opacity: 0.8;
}
.prometheus-graph-overlay {
fill: none;
opacity: 0.0;
pointer-events: all;
}
.rect-text-metric {
fill: $white-light;
stroke-width: 1;
stroke: $gray-darkest;
}
.rect-axis-text {
fill: $white-light;
}
.text-metric {
font-weight: 600;
font-size: 14px;
}
.selected-metric-line {
stroke: $gl-gray-dark;
stroke-width: 1;
}
.deployment-line {
stroke: $black;
stroke-width: 1;
}
.deploy-info-text {
dominant-baseline: text-before-edge;
}
.prometheus-state {
margin-top: 10px;
.state-button-section {
margin-top: 10px;
}
}
.environments-actions {
.external-url,
.monitoring-url,
.terminal-button,
.stop-env-link {
width: 38px;
}
}
.prometheus-panel {
margin-top: 20px;
}
.prometheus-svg-container {
position: relative;
height: 0;
width: 100%;
padding: 0;
padding-bottom: 100%;
.text-metric-bold {
font-weight: 600;
}
}
.prometheus-svg-container > svg {
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
text {
fill: $gl-text-color;
stroke-width: 0;
}
.label-axis-text,
.text-metric-usage {
fill: $black;
font-weight: 500;
font-size: 12px;
}
.legend-axis-text {
fill: $black;
}
.tick > text {
font-size: 12px;
}
.text-metric-title {
font-size: 12px;
}
@media (max-width: $screen-sm-max) {
.label-axis-text,
.text-metric-usage,
.legend-axis-text {
font-size: 8px;
}
.tick > text {
font-size: 8px;
}
}
}
.prometheus-row {
h5 {
font-size: 16px;
}
}