1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/webroot/rsrc/css/application/config/config-options.css
epriestley cd2f9786bf Shuffle various parts of the config edit UI around
Summary:
Fixes T9339.

  - Don't show edit control for locked config at all.
  - Don't show a "Cancel" button either.
  - Change "Value" label to "Database Value" for non-custom config.
  - Highlight effective value.
  - Move examples under current state.
  - Tweak some formatting.

Test Plan: {F777878}

Reviewers: chad, avivey

Reviewed By: chad, avivey

Subscribers: avivey

Maniphest Tasks: T9339

Differential Revision: https://secure.phabricator.com/D14054
2015-09-03 12:15:30 -07:00

56 lines
1 KiB
CSS

/**
* @provides config-options-css
*/
.config-option-table {
width: 100%;
border-collapse: collapse;
border: 1px solid {$lightgreyborder};
background: #fff;
}
.config-option-table th,
.config-option-table td {
padding: 4px 12px;
border: 1px solid {$lightgreyborder};
}
.config-option-table th {
background: {$lightgreybackground};
color: {$bluetext};
text-align: right;
white-space: nowrap;
}
.config-option-table th em,
.config-option-table td em {
font-weight: normal;
color: {$greytext};
}
.config-option-table td {
color: {$darkgreytext};
width: 100%;
white-space: pre-wrap;
}
.config-option-table .column-labels th {
font-weight: bold;
color: {$bluetext};
text-align: center;
background: {$greybackground};
}
.config-options-current-value {
padding: 0 8px 6px;
white-space: pre-wrap;
}
.config-options-current-value span {
color: {$greytext};
}
.config-options-effective-value,
.config-option-table .config-options-effective-value th {
background: {$lightyellow};
}