Clean less files (#6921)

This commit is contained in:
Xaver Maierhofer
2019-05-13 08:26:32 +02:00
committed by zeripath
parent 0b785481d7
commit 6fb58a8cdc
17 changed files with 1545 additions and 1159 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -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%;
@ -35,28 +40,31 @@
}
}
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
}
.menu {
max-height: 300px;
overflow-x: auto;
right: 0!important;
left: auto!important;
}
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
}
@media only screen and (max-width: 768px) {
width: 100%;
}
}
.right.stackable.menu > .item.active {
color: #d9453d;
}
.menu {
max-height: 300px;
overflow-x: auto;
right: 0 !important;
left: auto !important;
}
@media only screen and (max-width: 768px) {
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;
@ -141,9 +157,10 @@
color: #888;
&.rear {
font-size: 15px;
font-size: 15px;
}
}
.star-num {
font-size: 12px;
}
@ -154,18 +171,19 @@
.repo-owner-name-list {
.item-name {
max-width: 70%;
margin-bottom: -4px;
margin-bottom: -4px;
}
}
#collaborative-repo-list {
.owner-and-repo {
max-width: 80%;
margin-bottom: -5px;
margin-bottom: -5px;
}
.owner-name {
max-width: 120px;
margin-bottom: -5px;
margin-bottom: -5px;
}
}
}

View File

@ -1,19 +1,24 @@
.CodeMirror {
font: 14px @monospaced-fonts, monospace;
&.cm-s-default {
border-radius: 3px;
padding: 0 !important;
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;

View File

@ -9,12 +9,12 @@
background-color: #FAFAFA !important;
border-width: 1px !important;
.octicon {
width: 16px;
text-align: center;
margin-right: 5px;
}
}
.octicon {
width: 16px;
text-align: center;
margin-right: 5px;
}
}
}
.ui.repository.list {
@ -38,23 +38,26 @@
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;
}
}
}
.ui.repository.branches {
.time{
.ui.repository.branches {
.time {
font-size: 12px;
color: #808080;
}
@ -83,6 +86,7 @@
a {
color: #333;
&:hover {
text-decoration: underline;
}

View File

@ -6,10 +6,13 @@
display: inline-block;
}
}
.ui.attached.header {
background: #f0f0f0;
.right {
margin-top: -5px;
.button {
padding: 8px 10px;
font-weight: normal;
@ -19,64 +22,76 @@
@create-page-form-input-padding: 250px !important;
#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;
}
}
@media only screen and (max-width: 767px) {
.optional .title {
margin-left: 15px;
}
.inline.field > label {
display: block;
}
}
}
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;
}
}
@media only screen and (max-width: 767px) {
.optional .title {
margin-left: 15px;
}
.inline.field > label {
display: block;
}
}
}
}
.signin {
.oauth2{
.oauth2 {
div {
display: inline-block;
display: inline-block;
p {
margin: 10px 5px 0 0;
float: left;
margin: 10px 5px 0 0;
float: left;
}
}
a {
margin-right: 3px;
margin-right: 3px;
&:last-child {
margin-right: 0px;
margin-right: 0;
}
}
img {
width: 32px;
height: 32px;
&.openidConnect {
width: auto;
}
width: 32px;
height: 32px;
&.openidConnect {
width: auto;
}
}
}
}
@ -88,10 +103,11 @@
padding-left: 30px;
}
}
@media screen and (max-height: 575px){
@media screen and (max-height: 575px) {
#rc-imageselect, .g-recaptcha {
transform:scale(0.77);
transform-origin:0 0;
transform: scale(0.77);
transform-origin: 0 0;
}
}
@ -102,12 +118,15 @@
.user.signup {
@input-padding: 200px;
#create-page-form;
form {
width: 700px!important;
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;
margin-top: -7px !important;
padding-bottom: 5px;
}
.text {
margin-right: 0!important;
margin-right: 0 !important;
i {
margin-right: 0!important;
margin-right: 0 !important;
}
}
}
.header {
padding-left: 0 !important;
text-align: center;
@ -156,23 +179,23 @@
}
}
&.new.repo {
.ui.form {
@media only screen and (min-width: 768px) {
#auto-init {
margin-left: @create-page-form-input-padding+15px;
}
}
&.new.repo {
.ui.form {
@media only screen and (min-width: 768px) {
#auto-init {
margin-left: @create-page-form-input-padding+15px;
}
}
.selection.dropdown:not(.owner) {
width: 50%!important;
.selection.dropdown:not(.owner) {
width: 50% !important;
@media only screen and (max-width: 768px) {
width: 100% !important;
}
}
}
}
@media only screen and (max-width: 768px) {
width: 100% !important;
}
}
}
}
}
.new.webhook {
@ -198,14 +221,14 @@
}
.new.org .ui.form {
@media only screen and (max-width: 768px) {
.field button, .field a{
margin-bottom: 1em;
width: 100%;
}
@media only screen and (max-width: 768px) {
.field button, .field a {
margin-bottom: 1em;
width: 100%;
}
.field input {
width: 100% !important;
}
}
.field input {
width: 100% !important;
}
}
}

View File

@ -1,42 +1,50 @@
.home {
.logo {
max-width: 220px;
}
.hero {
@media only screen and (max-width: 767px) {
h1 {
font-size: 3.5em;
}
h2 {
font-size: 2em;
}
}
@media only screen and (min-width: 768px) {
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;
}
.logo {
max-width: 220px;
}
.hero {
@media only screen and (max-width: 767px) {
h1 {
font-size: 3.5em;
}
h2 {
font-size: 2em;
}
}
@media only screen and (min-width: 768px) {
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;
}
}
.signup {
@ -44,11 +52,11 @@
}
footer {
.ui.container .left, .ui.container .right {
@media only screen and (max-width: 880px) {
display: block;
text-align: center;
float: none;
}
}
.ui.container .left, .ui.container .right {
@media only screen and (max-width: 880px) {
display: block;
text-align: center;
float: none;
}
}
}

View File

@ -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;
}

File diff suppressed because it is too large Load Diff

View File

@ -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;
}

View File

@ -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;
}
@ -791,7 +790,7 @@
.content {
margin-left: 4em;
>.header {
> .header {
#avatar-arrow;
font-weight: normal;
padding: auto 15px;
@ -818,7 +817,7 @@
font-style: italic;
}
>.bottom.segment {
> .bottom.segment {
background: #f3f4f5;
.ui.images::after {
@ -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 {
@ -1036,12 +1033,12 @@
list-style: none;
padding-top: 15px;
>.item {
> .item {
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed #AAA;
>a {
> a {
padding-top: 5px;
padding-right: 10px;
color: #000;
@ -1078,7 +1075,7 @@
.operate {
margin-top: -15px;
>a {
> a {
font-size: 15px;
padding-top: 5px;
padding-right: 10px;
@ -1234,7 +1231,7 @@
background: #fff;
line-height: 30px;
>div:after {
> div:after {
clear: both;
content: "";
display: block;
@ -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;
}
@ -1509,7 +1505,7 @@
margin-top: 20px;
padding-top: 15px;
>li {
> li {
list-style: none;
.meta,
@ -1545,7 +1541,7 @@
.download {
margin-top: 20px;
>a {
> a {
.octicon {
margin-left: 5px;
margin-right: 5px;
@ -1686,7 +1682,7 @@
text-transform: none;
}
>.markdown {
> .markdown {
padding: 15px 30px;
h1,
@ -1715,7 +1711,7 @@
.collaborator.list {
padding: 0;
>.item {
> .item {
margin: 0;
line-height: 2em;
@ -1839,11 +1835,11 @@
right: 0 !important;
left: auto !important;
>.header {
> .header {
margin: 0.75rem 0 .5rem;
}
>.item {
> .item {
float: left;
padding: .5rem .5rem !important;
@ -1864,7 +1860,7 @@
cursor: default;
}
>img {
> img {
height: 1.5em !important;
}
}
@ -1954,7 +1950,7 @@
.issue.list {
list-style: none;
>.item {
> .item {
padding-top: 15px;
padding-bottom: 10px;
border-bottom: 1px dashed #AAA;
@ -2042,14 +2038,14 @@
.content {
margin-top: 2px;
>.header,
> .header,
.segment {
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
}
}
.list {
>.item {
> .item {
.green {
color: #21BA45;
}
@ -2060,11 +2056,11 @@
margin: 15px -1rem -1rem -1rem;
}
>.mega-octicon {
> .mega-octicon {
display: table-cell;
}
>.mega-octicon+.content {
> .mega-octicon + .content {
display: table-cell;
padding: 0 0 0 .5em;
vertical-align: top;
@ -2088,13 +2084,13 @@
}
&.email {
>.item:not(:first-child) {
> .item:not(:first-child) {
min-height: 60px;
}
}
&.collaborator {
>.item {
> .item {
padding: 0;
}
}
@ -2191,7 +2187,7 @@
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
.tab-size-@{i} {
tab-size: @i !important;
tab-size: @i !important;
}
.generate-tab-size(@n, (@i + 1));
@ -2220,7 +2216,7 @@ tbody.commit-list {
@media only screen and (max-width: 767px) {
.ui.stackable.menu {
&.mobile--margin-between-items>.item {
&.mobile--margin-between-items > .item {
margin-top: 5px;
margin-bottom: 5px;
}
@ -2247,7 +2243,7 @@ tbody.commit-list {
#new-dependency-drop-list {
&.ui.selection.dropdown {
min-width: 0;
width: 100%;
width: 100%;
border-radius: 4px 0 0 4px;
border-right: 0;
white-space: nowrap;
@ -2263,7 +2259,7 @@ tbody.commit-list {
font-size: 12px;
}
.label+#manage_topic {
.label + #manage_topic {
margin-left: 5px;
}
@ -2294,7 +2290,7 @@ tbody.commit-list {
box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important;
}
.repo-buttons .ui.labeled.button>.label {
.repo-buttons .ui.labeled.button > .label {
border-left: none !important;
margin: 0 !important;
}

View File

@ -12,7 +12,7 @@
transform: scale(1, 1);
&:hover {
transform: scale(1.2, 1.2);
transform: scale(1.2, 1.2);
}
}
@ -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 {
@ -85,14 +81,14 @@
display: inline-block;
margin: 5px 0;
font-size: 12px;
color: rgba(0,0,0,.6)
color: rgba(0, 0, 0, .6)
}
.ui.right.floated {
padding-top: 6px;
}
&:after{
&:after {
clear: both;
content: "";
display: block;
@ -110,5 +106,5 @@
.file-comment {
font: 12px @monospaced-fonts, monospace;
color: rgba(0,0,0,.87);
color: rgba(0, 0, 0, .87);
}

View File

@ -1,26 +1,31 @@
.tribute-container {
box-shadow: 0px 1px 3px 1px #c7c7c7;
ul {
background: #ffffff;
}
li {
padding: 8px 12px;
border-bottom: 1px solid #dcdcdc;
img {
display: inline-block;
vertical-align: middle;
width: 28px;
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;
}
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;
width: 28px;
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;
}
}

View File

@ -8,6 +8,7 @@
.username {
display: block;
}
.extra.content {
padding: 0;
@ -58,7 +59,7 @@
margin-top: 25px;
}
#loading-heatmap{
#loading-heatmap {
margin-bottom: 1em;
}
}
@ -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