Skip to content

Commit

Permalink
[Redesign] Revert the installation instructions (#8765)
Browse files Browse the repository at this point in the history
Reverts the installation instructions added in #8690.

Addresses #8762
  • Loading branch information
loic-sharma committed Aug 27, 2021
1 parent c98395f commit 2f3fdd3
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 250 deletions.
75 changes: 40 additions & 35 deletions src/Bootstrap/dist/css/bootstrap-theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 0 additions & 53 deletions src/Bootstrap/dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions src/Bootstrap/less/buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
.btn-danger {
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
}
// Blue button for installation instructions
.btn-blue {
.button-variant(@btn-default-color; #0078D4; @btn-default-border);
}


// Link buttons
// -------------------------
Expand Down
91 changes: 49 additions & 42 deletions src/Bootstrap/less/theme/page-display-package-v2.less
Original file line number Diff line number Diff line change
Expand Up @@ -160,48 +160,6 @@
margin-bottom: 15px;
}

.installation-instructions {
background-color: #F3F2F1;

.installation-instructions-dropdown {
font-size: 14px;
background-color: #F3F2F1;
height: 31px;
border-left: 0px;
border-top: 0px;
border-right: 0px;
}

.installation-instruction {
background-color: #FAF9F8;
font-size: 14px;

pre {
background-color: #FAF9F8;
border: 0px;
margin-bottom: 0px;
width: 100%;
}

.alert {
margin-top: 0px;
}
}
}

button {
width: 32px;
height: 32px;
float: right;
padding: 0px;

.ms-Icon--Copy {
color: #FFFFFF;
width: 16px;
height: 16px;
}
}

.package-details-main {
.break-word;

Expand Down Expand Up @@ -420,6 +378,55 @@
font-weight: 600;
text-decoration: underline;
}

.tab-content {
.tab-pane {
> div {
display: table;
height: 1px;
}

.install-script-row {
display: table-row;
height: 100%;

.install-script {
display: table-cell;
background-color: @panel-footer-bg;
font-family: @font-family-monospace;
font-size: 1em;
color: #fff;
width: 100%;
max-width: 1px;
line-height: 1.5;
white-space: pre-wrap;
// Add a border with the same color as the background to support visual callout
// in high contrast mode (since borders are shown).
border-color: @panel-footer-bg;
border-style: solid;
border-width: 1px 0 1px 1px;
user-select: all;
vertical-align: middle;
word-break: break-word;
}

.copy-button {
height: 100%;

button {
height: 100%;
min-height: 42px;
line-height: 1.5;
}
}
}

.alert {
margin: 0;
width: 100%;
}
}
}
}

.body-tabs {
Expand Down
Loading

0 comments on commit 2f3fdd3

Please sign in to comment.