0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 21:34:21 +01:00
gitea/web_src/less/_dashboard.less

193 lines
3.9 KiB
Text
Raw Normal View History

2015-08-25 16:58:34 +02:00
.dashboard {
padding-top: 15px;
2015-08-25 16:58:34 +02:00
&.feeds,
&.issues {
.context.user.menu {
z-index: 101;
min-width: 200px;
2019-05-13 08:26:32 +02:00
.ui.header {
font-size: 1rem;
text-transform: none;
}
}
2019-05-13 08:26:32 +02:00
.filter.menu {
width: initial;
.item {
text-align: left;
2019-05-13 08:26:32 +02:00
.text {
height: 16px;
vertical-align: middle;
2019-05-13 08:26:32 +02:00
&.truncate {
2019-12-17 22:34:11 +01:00
width: 75%;
}
}
2019-05-13 08:26:32 +02:00
.floating.label {
top: 7px;
left: 90%;
width: 15%;
@media only screen and (max-width: 768px) {
top: 10px;
left: auto;
width: auto;
right: 13px;
}
}
}
2015-11-04 18:50:02 +01:00
2019-05-13 08:26:32 +02:00
// Sort
.jump.item {
margin: 1px;
padding-right: 0;
}
.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 */
2019-05-13 08:26:32 +02:00
.dashboard-repos {
margin: 0 1px;
}
.dashboard-navbar {
width: 100vw;
padding: 0 .5rem;
}
2015-11-13 18:05:48 +01:00
}
&.feeds {
.news {
> .ui.grid {
margin-left: auto;
margin-right: auto;
}
2019-05-13 08:26:32 +02:00
.ui.avatar {
margin-top: 13px;
}
2019-05-13 08:26:32 +02:00
.time-since {
font-size: 13px;
}
2019-05-13 08:26:32 +02:00
.issue.title {
width: 80%;
}
2019-05-13 08:26:32 +02:00
.push.news .content ul {
font-size: 13px;
list-style: none;
padding-left: 10px;
2015-11-13 18:05:48 +01:00
img {
margin-bottom: -2px;
}
2019-05-13 08:26:32 +02:00
.text.truncate {
width: 80%;
margin-bottom: -5px;
}
}
2019-05-13 08:26:32 +02:00
.commit-id {
Add lang specific font stacks for CJK (#6007) * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
2019-03-18 13:49:01 +01:00
font-family: @monospaced-fonts, monospace;
}
2019-05-13 08:26:32 +02:00
code {
padding: 1px;
font-size: 85%;
background-color: rgba(0, 0, 0, .04);
border-radius: 3px;
word-break: break-all;
}
}
2015-11-13 18:05:48 +01:00
.list {
.header {
.ui.label {
margin-top: -4px;
padding: 4px 5px;
font-weight: normal;
}
2015-12-12 22:53:16 +01:00
.plus.icon {
margin-top: 5px;
}
}
2019-05-13 08:26:32 +02:00
ul {
list-style: none;
margin: 0;
padding-left: 0;
2015-11-13 18:05:48 +01:00
li {
&:not(:last-child) {
2019-05-14 02:54:23 +02:00
border-bottom: 1px solid #ebebeb;
}
2015-11-13 18:05:48 +01:00
&.private {
background-color: #fcf8e9;
}
2015-11-13 18:05:48 +01:00
a {
padding: 6px 1.2em;
display: block;
Add Octicon SVG spritemap (#10107) * Add octicon SVG sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Static prefix Signed-off-by: jolheiser <john.olheiser@gmail.com> * SVG for all repo icons Signed-off-by: jolheiser <john.olheiser@gmail.com> * make vendor Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap out octicons Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move octicons to top of less imports Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix JS Signed-off-by: jolheiser <john.olheiser@gmail.com> * Definitely not a search/replace Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed regex Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move to more generic calls and webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * make svg -> make webpack Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg-sprite Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Missed a test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Remove svg from makefile Signed-off-by: jolheiser <john.olheiser@gmail.com> * Suggestions Signed-off-by: jolheiser <john.olheiser@gmail.com> * Attempt to fix test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update tests Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert timetracking test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Swap .octicon for .svg in less Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add aria-hidden Signed-off-by: jolheiser <john.olheiser@gmail.com> * Replace mega-octicon Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix webpack globbing on Windows Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert Co-Authored-By: silverwind <me@silverwind.io> * Fix octions from upstream Signed-off-by: jolheiser <john.olheiser@gmail.com> * Fix Vue and missed JS function Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add JS helper and PWA Signed-off-by: jolheiser <john.olheiser@gmail.com> * Preload SVG Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <matti@mdranta.net>
2020-02-11 18:02:41 +01:00
.svg {
2019-05-14 02:54:23 +02:00
color: #888888;
2016-07-16 06:45:13 +02:00
&.rear {
2019-05-13 08:26:32 +02:00
font-size: 15px;
}
}
2019-05-13 08:26:32 +02:00
.star-num {
font-size: 12px;
}
}
}
}
.repo-owner-name-list {
.item-name {
max-width: 70%;
2019-05-13 08:26:32 +02:00
margin-bottom: -4px;
}
}
#collaborative-repo-list {
.owner-and-repo {
max-width: 80%;
2019-05-13 08:26:32 +02:00
margin-bottom: -5px;
}
2019-05-13 08:26:32 +02:00
.owner-name {
max-width: 120px;
2019-05-13 08:26:32 +02:00
margin-bottom: -5px;
}
}
}
}