Clean less files (#6921)

tokarchuk/v1.17
Xaver Maierhofer 6 years ago committed by zeripath
parent 0b785481d7
commit 6fb58a8cdc
  1. 2
      public/css/index.css
  2. 2
      public/css/theme-arc-green.css
  3. 2
      public/less/_admin.less
  4. 92
      public/less/_base.less
  5. 18
      public/less/_dashboard.less
  6. 5
      public/less/_editor.less
  7. 4
      public/less/_explore.less
  8. 25
      public/less/_form.less
  9. 8
      public/less/_home.less
  10. 8
      public/less/_install.less
  11. 14
      public/less/_markdown.less
  12. 9
      public/less/_organization.less
  13. 22
      public/less/_repository.less
  14. 12
      public/less/_review.less
  15. 7
      public/less/_tribute.less
  16. 7
      public/less/_user.less
  17. 233
      public/less/themes/arc-green.less

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -28,6 +28,7 @@
}
}
}
.ui.header,
.ui.segment {
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
@ -46,6 +47,7 @@
dd {
margin-left: 275px;
}
dt {
font-weight: bolder;
float: left;

@ -1,4 +1,3 @@
@font-face {
font-family: 'Lato';
src: url('../vendor/assets/lato-fonts/lato-regular.eot');
@ -87,8 +86,7 @@
.ui.statistic > .label,
.ui.steps .step .title,
.ui.text.container,
.ui.language > .menu > .item&
{
.ui.language > .menu > .item& {
font-family: Lato, @fonts, sans-serif;
}
}
@ -131,17 +129,22 @@ body {
img {
border-radius: 3px;
}
table {
border-collapse: collapse;
}
a {
cursor: pointer;
}
.rounded {
border-radius: .28571429rem !important;
}
pre, code {
font: 12px @monospaced-fonts, monospace;
&.raw {
padding: 7px 12px;
margin: 10px 0;
@ -152,6 +155,7 @@ pre, code {
line-height: 1.5;
overflow: auto;
}
&.wrap {
white-space: pre-wrap;
word-break: break-all;
@ -159,69 +163,87 @@ pre, code {
word-wrap: break-word;
}
}
.dont-break-out {
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
hyphens: auto;
}
.full.height {
flex-grow: 1;
padding-bottom: 80px;
}
.following.bar {
z-index: 900;
left: 0;
margin: 0 !important;
&.light {
background-color: white;
border-bottom: 1px solid #DDDDDD;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
}
.column .menu {
margin-top: 0;
}
.top.menu a.item.brand {
padding-left: 0;
}
.brand .ui.mini.image {
width: 30px;
}
.top.menu a.item:hover,
.top.menu .dropdown.item:hover,
.top.menu .dropdown.item.active {
background-color: transparent;
}
.top.menu a.item:hover {
color: rgba(0, 0, 0, .45);
}
.top.menu .menu {
z-index: 900;
}
.octicon {
&.fitted {
margin-right: 0;
}
margin-right: .75em;
}
.searchbox {
background-color: rgb(244, 244, 244) !important;
&:focus {
background-color: rgb(233, 233, 233) !important;
}
}
.text .octicon {
width: 16px;
text-align: center;
}
#navbar {
width: 100vw;
min-height: 52px;
padding: 0 .5rem;
}
#navbar .brand {
margin: 0;
}
@media only screen and (max-width: 767px) {
#navbar:not(.shown) > *:not(:first-child) {
display: none;
@ -243,6 +265,7 @@ pre, code {
&.left {
float: left;
}
&.right {
float: right;
}
@ -281,9 +304,11 @@ pre, code {
/* Overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
/* This fixes the commit graph button on the commits page */
.menu:not(.vertical) .item > .button.compact {
padding: .58928571em 1.125em;
}
.menu:not(.vertical) .item > .button.small {
font-size: .92857143rem;
}
@ -303,49 +328,64 @@ pre, code {
.text {
&.red {
color: #d95c5c !important;
a {
color: #d95c5c !important;
&:hover {
color: #E67777 !important;
}
}
}
&.blue {
color: #428bca !important;
a {
color: #15c !important;
&:hover {
color: #428bca !important;
}
}
}
&.black {
color: #444;
&:hover {
color: #000;
}
}
&.grey {
color: #767676 !important;
a {
color: #444 !important;
&:hover {
color: #000 !important;
}
}
}
&.light.grey {
color: #888 !important;
}
&.green {
color: #6cc644 !important;
}
&.purple {
color: #6e5494 !important;
}
&.yellow {
color: #FBBD08 !important;
}
&.gold {
color: #a1882b !important;
}
@ -353,18 +393,23 @@ pre, code {
&.left {
text-align: left !important;
}
&.right {
text-align: right !important;
}
&.small {
font-size: 0.75em;
}
&.normal {
font-weight: normal;
}
&.bold {
font-weight: bold;
}
&.italic {
font-style: italic;
}
@ -393,9 +438,11 @@ pre, code {
font-weight: bold;
text-align: left;
color: black;
.pull-right {
color: black;
}
& > span, .pull-right > span {
color: #21ba45;
}
@ -405,26 +452,33 @@ pre, code {
padding-left: 0.75rem;
vertical-align: middle;
}
.warning {
&.header {
background-color: #F9EDBE !important;
border-color: #F0C36D;
}
&.segment {
border-color: #F0C36D;
}
}
.info {
&.segment {
border: 1px solid #c5d5dd;
&.top {
background-color: #e6f1f6 !important;
h3, h4 {
margin-top: 0;
}
h3:last-child {
margin-top: 4px;
}
> :last-child {
margin-bottom: 0;
}
@ -473,27 +527,35 @@ pre, code {
&.red {
background-color: #d95c5c !important;
}
&.blue {
background-color: #428bca !important;
}
&.black {
background-color: #444;
}
&.grey {
background-color: #767676 !important;
}
&.light.grey {
background-color: #888 !important;
}
&.green {
background-color: #6cc644 !important;
}
&.purple {
background-color: #6e5494 !important;
}
&.yellow {
background-color: #FBBD08 !important;
}
&.gold {
background-color: #a1882b !important;
}
@ -522,7 +584,7 @@ pre, code {
.ui.floating.dropdown {
.overflow.menu {
.scrolling.menu.items {
border-radius: 0px !important;
border-radius: 0 !important;
box-shadow: none !important;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
@ -546,18 +608,22 @@ footer {
width: 100%;
flex-basis: 40px;
color: #888888;
.container {
width: 100vw !important;
padding: 0 .5rem;
.fa {
width: 16px;
text-align: center;
color: #428bca;
}
.links > * {
border-left: 1px solid #d6d6d6;
padding-left: 8px;
margin-left: 5px;
&:first-child {
border-left: none;
}
@ -579,13 +645,16 @@ footer {
.hide {
display: none;
&.show-outdated {
display: none !important;
}
&.hide-outdated {
display: none !important;
}
}
.center {
text-align: center;
}
@ -604,12 +673,14 @@ footer {
.mobile-only, .ui.button.mobile-only {
display: none;
}
// has the same behaviour of sr-only, hiding the content for
// non-screenreaders, but is shown on mobile devices.
.sr-mobile-only {
.sr-only();
}
}
@media only screen and (max-width: 767px) {
.not-mobile {
display: none;
@ -627,6 +698,7 @@ footer {
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
@ -664,19 +736,24 @@ footer {
justify-content: left !important;
padding-bottom: 5px;
}
.ui.menu.new-menu::-webkit-scrollbar {
height: 8px;
display: none;
}
.ui.menu.new-menu:hover::-webkit-scrollbar {
display: block;
}
.ui.menu.new-menu::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.01);
}
.ui.menu.new-menu::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2);
}
.ui.menu.new-menu:after {
position: absolute;
margin-top: -15px;
@ -690,6 +767,7 @@ footer {
clear: none;
visibility: visible;
}
.ui.menu.new-menu a.item:last-child {
padding-right: 30px !important;
}
@ -753,10 +831,6 @@ footer {
color: lighten(#000, 70%) !important;
}
.archived-icon{
color: lighten(#000, 70%) !important;
}
.oauth2-authorize-application-box {
margin-top: 3em !important;
}
@ -765,9 +839,11 @@ footer {
.ui.tabular.menu .item {
color: rgba(0, 0, 0, .5);
}
.ui.tabular.menu .item:hover {
color: rgba(0, 0, 0, .8);
}
.ui.tabular.menu .item.active {
color: rgba(0, 0, 0, .9);
}

@ -6,21 +6,26 @@
.context.user.menu {
z-index: 101;
min-width: 200px;
.ui.header {
font-size: 1rem;
text-transform: none;
}
}
.filter.menu {
.item {
text-align: left;
.text {
height: 16px;
vertical-align: middle;
&.truncate {
width: 85%;
}
}
.floating.label {
top: 7px;
left: 90%;
@ -40,6 +45,7 @@
margin: 1px;
padding-right: 0;
}
.menu {
max-height: 300px;
overflow-x: auto;
@ -51,12 +57,14 @@
width: 100%;
}
}
.right.stackable.menu > .item.active {
color: #d9453d;
}
}
/* Accomodate for Semantic's 1px hacks on .attached elements */
.dashboard-repos {
margin: 0 1px;
}
@ -73,15 +81,19 @@
margin-left: auto;
margin-right: auto;
}
.ui.avatar {
margin-top: 13px;
}
.time-since {
font-size: 13px;
}
.issue.title {
width: 80%;
}
.push.news .content ul {
font-size: 13px;
list-style: none;
@ -90,14 +102,17 @@
img {
margin-bottom: -2px;
}
.text.truncate {
width: 80%;
margin-bottom: -5px;
}
}
.commit-id {
font-family: @monospaced-fonts, monospace;
}
code {
padding: 1px;
font-size: 85%;
@ -119,6 +134,7 @@
margin-top: 5px;
}
}
ul {
list-style: none;
margin: 0;
@ -144,6 +160,7 @@
font-size: 15px;
}
}
.star-num {
font-size: 12px;
}
@ -163,6 +180,7 @@
max-width: 80%;
margin-bottom: -5px;
}
.owner-name {
max-width: 120px;
margin-bottom: -5px;

@ -1,19 +1,24 @@
.CodeMirror {
font: 14px @monospaced-fonts, monospace;
&.cm-s-default {
border-radius: 3px;
padding: 0 !important;
}
.cm-comment {
background: inherit !important;
}
}
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: none !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: none;
border-right: none;

@ -38,15 +38,18 @@
color: #888;
font-size: 14px;
font-weight: normal;
span:not(:last-child) {
margin-right: 5px;
}
}
}
.time {
font-size: 12px;
color: #808080;
}
.ui.tags {
margin-bottom: 1em;
}
@ -83,6 +86,7 @@
a {
color: #333;
&:hover {
text-decoration: underline;
}

@ -6,10 +6,13 @@
display: inline-block;
}
}
.ui.attached.header {
background: #f0f0f0;
.right {
margin-top: -5px;
.button {
padding: 8px 10px;
font-weight: normal;
@ -21,25 +24,31 @@
#create-page-form {
form {
margin: auto;
.ui.message {
text-align: center;
}
@media only screen and (min-width: 768px) {
width: 800px !important;
.header {
padding-left: @create-page-form-input-padding+30px;
}
.inline.field > label {
text-align: right;
width: @create-page-form-input-padding;
word-wrap: break-word;
}
.help {
margin-left: @create-page-form-input-padding+15px;
}
.optional .title {
margin-left: @create-page-form-input-padding;
}
input,
textarea {
width: 50% !important;
@ -49,6 +58,7 @@
.optional .title {
margin-left: 15px;
}
.inline.field > label {
display: block;
}
@ -60,20 +70,25 @@
.oauth2 {
div {
display: inline-block;
p {
margin: 10px 5px 0 0;
float: left;
}
}
a {
margin-right: 3px;
&:last-child {
margin-right: 0px;
margin-right: 0;
}
}
img {
width: 32px;
height: 32px;
&.openidConnect {
width: auto;
}
@ -88,6 +103,7 @@
padding-left: 30px;
}
}
@media screen and (max-height: 575px) {
#rc-imageselect, .g-recaptcha {
transform: scale(0.77);
@ -102,12 +118,15 @@
.user.signup {
@input-padding: 200px;
#create-page-form;
form {
width: 700px !important;
.header {
padding-left: 0 !important;
text-align: center;
}
.inline.field > label {
width: @input-padding;
}
@ -125,19 +144,23 @@
&.new.migrate,
&.new.fork {
#create-page-form;
form {
.dropdown {
.dropdown.icon {
margin-top: -7px !important;
padding-bottom: 5px;
}
.text {
margin-right: 0 !important;
i {
margin-right: 0 !important;
}
}
}
.header {
padding-left: 0 !important;
text-align: center;

@ -2,11 +2,13 @@
.logo {
max-width: 220px;
}
.hero {
@media only screen and (max-width: 767px) {
h1 {
font-size: 3.5em;
}
h2 {
font-size: 2em;
}
@ -15,25 +17,31 @@
h1 {
font-size: 5.5em;
}
h2 {
font-size: 3em;
}
}
.octicon {
color: #5aa509;
font-size: 40px;
width: 50px;
}
&.header {
font-size: 20px;
}
}
p.large {
font-size: 16px
}
.stackable {
padding-top: 30px;
}
a {
color: #5aa509;
}

@ -1,27 +1,35 @@
.install {
padding-top: 45px;
form {
@input-padding: 320px !important;
label {
text-align: right;
width: @input-padding;
}
input {
width: 35% !important;
}
.field {
text-align: left;
.help {
margin-left: @input-padding+15px;
}
&.optional .title {
margin-left: 38%;
}
}
}
.ui {
.checkbox {
margin-left: 40% !important;
label {
width: auto !important;
}

@ -154,7 +154,8 @@
}
h6 {
font-size:1em;color:#777;
font-size: 1em;
color: #777;
}
h6 .anchor {
@ -171,6 +172,7 @@
margin-top: 0;
margin-bottom: 16px;
}
blockquote {
margin-left: 0;
}
@ -368,9 +370,7 @@
code,
tt {
padding:0;
padding-top:0.2em;
padding-bottom:0.2em;
padding: 0.2em 0;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
@ -478,7 +478,8 @@
.csv-data .blob-num {
padding: 10px 8px 9px;
text-align: right;
background:#fff;border:0;
background: #fff;
border: 0;
}
.csv-data tr {
@ -487,7 +488,8 @@
.csv-data th {
font-weight: bold;
background:#f8f8f8;border-top:0;
background: #f8f8f8;
border-top: 0;
}
.ui.list .list, ol.ui.list ol, ul.ui.list ul {

@ -8,6 +8,7 @@
font-size: 1.6rem;
margin-left: 15px;
}
.ui.right {
margin-top: 5px;
}
@ -16,6 +17,7 @@
&.new.org {
#create-page-form;
form {
.header {
padding-left: 0 !important;
@ -42,10 +44,12 @@
font-size: 36px;
margin-bottom: 0;
}
.desc {
font-size: 16px;
margin-bottom: 10px;
}
.meta {
.item {
display: inline-block;
@ -84,8 +88,7 @@
&.invite {
#invite-box {
margin: auto;
margin-top: 50px;
margin: 50px auto auto;
width: 500px !important;
#search-user-box {
@ -94,6 +97,7 @@
width: 300px;
}
}
.ui.button {
margin-left: 5px;
margin-top: -3px;
@ -112,6 +116,7 @@
width: 48px;
height: 48px;
}
.meta {
line-height: 24px;
}

@ -89,7 +89,7 @@
}
.item {
padding: 0px;
padding: 0;
}
.label.color {
@ -181,7 +181,7 @@
.ui.tabs {
&.container {
margin-top: 14px;
margin-bottom: 0px;
margin-bottom: 0;
.ui.menu {
border-bottom: none;
@ -524,7 +524,7 @@
input {
vertical-align: middle;
box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 2px inset;
box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
width: inherit;
padding: 7px 8px;
margin-right: 5px;
@ -696,8 +696,7 @@
&.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
padding: 10px 0 0;
box-shadow: none;
background-color: inherit;
}
@ -871,8 +870,7 @@
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
padding: 10px 0 0;
}
textarea {
@ -926,7 +924,7 @@
&.octicon-eye {
margin-top: 3px;
margin-left: -35px;
margin-right: 0px;
margin-right: 0;
font-size: 22px;
}
@ -991,8 +989,7 @@
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
padding: 10px 0 0;
}
textarea {
@ -1281,7 +1278,7 @@
.detail-files {
background: #fff;
margin: 0px;
margin: 0;
}
}
@ -1351,8 +1348,7 @@
font-size: 12px;
td {
padding: 0;
padding-left: 10px;
padding: 0 0 0 10px;
border-top: none;
}

@ -23,12 +23,9 @@
.comment-code-cloud {
padding: 4px;
margin: 0 auto;
position: relative;
border: 1px solid #f1f1f1;
margin-top: 13px;
margin-right: 10px;
margin-bottom: 5px;
margin: 13px 10px 5px auto;
&:before {
content: " ";
@ -42,8 +39,7 @@
top: -13px;
}
.attached
{
.attached {
&.tab {
border: none;
padding: 0;
@ -66,7 +62,7 @@
}
.ui.form textarea {
border: 0px;
border: 0;
}
.ui.attached.tabular.menu {
@ -74,7 +70,7 @@
border: 1px solid #d4d4d5;
padding-top: 5px;
padding-left: 5px;
margin-top: 0px;
margin-top: 0;
}
.footer {

@ -1,11 +1,14 @@
.tribute-container {
box-shadow: 0px 1px 3px 1px #c7c7c7;
box-shadow: 0 1px 3px 1px #c7c7c7;
ul {
background: #ffffff;
}
li {
padding: 8px 12px;
border-bottom: 1px solid #dcdcdc;
img {
display: inline-block;
vertical-align: middle;
@ -13,12 +16,14 @@
height: 28px;
margin-right: 5px;
}
span.fullname {
font-weight: normal;
font-size: 0.8rem;
margin-left: 3px;
}
}
li.highlight, li:hover {
background: #2185D0;
color: #ffffff;

@ -8,6 +8,7 @@
.username {
display: block;
}
.extra.content {
padding: 0;
@ -82,6 +83,7 @@
float: left;
font-size: 2em;
}
.content {
float: left;
margin-left: 7px;
@ -105,21 +107,26 @@
&.green {
color: #21ba45;
}
&.red {
color: #d01919;
}
&.purple {
color: #a333c8;
}
&.blue {
color: #2185d0;
}
}
}
&.link-account:not(.icon) {
padding-top: 15px;
padding-bottom: 5px;
}
&.settings {
.iconFloat {
float: left;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save