Browse Source

SONAR-21656 Remove legacy css from styles.css

tags/10.5.0.89998
Jeremy Davis 2 months ago
parent
commit
d1b63f4204

+ 0
- 126
server/sonar-web/src/main/js/app/styles/style.css View File

@@ -17,59 +17,12 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
.tabs {
height: 20px;
border-bottom: 1px solid #ddd;
margin: 0;
padding: 0;
font-size: 93%;
}

.tabs li {
display: inline;
list-style-type: none;
font-weight: normal;
color: var(--secondFontColor);
vertical-align: baseline;
white-space: nowrap;
margin: 0;
border: 0;
padding: 0;
}

.tabs li a {
float: left;
color: var(--secondFontColor);
vertical-align: bottom;
height: 17px;
margin: 0 1px 0 0;
padding: 1px 5px;
border-bottom: none;
transition: none;
}

.tabs li a.selected {
text-decoration: none;
color: #555 !important;
font-weight: bold;
margin: 0 1px 0 0;
}

.rule-desc,
.markdown {
line-height: 1.5;
}

.cut-margins > *:first-child,
.cut-margins > .markdown-content > *:first-child {
margin-top: 0 !important;
}

.cut-margins > *:last-child,
.cut-margins > .markdown-content > *:last-child {
margin-bottom: 0 !important;
}

.rule-desc p,
.markdown p,
.rule-desc ul,
@@ -217,82 +170,3 @@ code.rule {
padding: 5px 10px;
border: 1px solid var(--barBorderColor);
}

.property p {
margin-top: 10px;
}

.property pre,
.coding-rules-detail-parameter pre {
display: inline-block;
min-width: 100%;
margin: 10px 0 !important;
padding: 10px !important;
border: 1px dashed #aaa;
box-sizing: border-box;
font-size: var(--smallFontSize);
font-family: var(--sourceCodeFontFamily);
}

.property blockquote,
.coding-rules-detail-parameter blockquote {
margin-top: 10px;
padding: 10px;
}

.property ul {
list-style-type: disc;
list-style-position: inside;
margin: 10px;
}

.property ol {
list-style-type: decimal;
list-style-position: inside;
margin: 10px;
}

.property {
margin-bottom: 10px;
}

.property h3 {
float: none;
max-width: 20em;
}

.property > th,
.property > td {
vertical-align: top;
padding: 10px;
}

.property > th {
text-align: right;
}

.property table.data {
width: 480px;
}

.property textarea {
vertical-align: text-top;
}

.shortcuts-modal h3 {
margin-bottom: 0;
}

.shortcuts-modal table {
width: 100%;
margin-top: 0;
}

.shortcuts-modal th {
padding: 3px 10px;
font-size: var(--verySmallFontSize);
}

.shortcuts-modal td {
padding: 3px 10px;
}

+ 1
- 1
server/sonar-web/src/main/js/apps/settings/components/inputs/InputForFormattedText.tsx View File

@@ -49,7 +49,7 @@ export default function InputForFormattedText(props: DefaultSpecializedInputProp
<InputTextArea
size="large"
aria-label={getPropertyName(setting.definition)}
className="settings-large-input text-top sw-mr-2"
className="settings-large-input sw-mr-2"
name={name}
onChange={handleInputChange}
rows={5}

+ 0
- 25
server/sonar-web/src/main/js/components/issue/Issue.css View File

@@ -142,31 +142,6 @@
color: var(--secondFontColor);
}

.issue-comment-text {
flex: 1;
min-width: 0;
margin-left: 5px;
margin-right: 5px;
line-height: 18px;
line-height: 1.5;
overflow: hidden;
outline: none;
}

.issue-comment-text.markdown pre {
float: none;
height: auto;
margin: 0;
padding: var(--gridSize);
background-color: var(--codeBackground);
border: none;
border-radius: 3px;
}

.issue-comment-text.markdown br ~ pre {
margin-top: var(--gridSize);
}

.issue-comment-actions {
flex-shrink: 0;
padding-left: 5px;

Loading…
Cancel
Save