Commit Graph
9 Commits
Author SHA1 Message Date
silverwindandzeripath 1019913eab move CSS build to webpack (#9983)
- added new 'make webpack' target
- deprecated 'make js' and 'make css'
- extend webpack config to load the less files
- updated docs

I had to rename the source file of `arc-green.less` to avoid generating
a useless JS entrypoint via webpack-fix-style-only-entries which would
not work with different source/destination filenames. I hear that there
should be cleaner solutions possible once we upgrade to Webpack 5.

Co-authored-by: zeripath <[email protected]>
2020-01-28 07:30:39 +00:00
Lauris BHandGitHub 81cfe243f9 Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
7d7ab1eeae Issue/PR Context Popups (#9822)
* Add data-index attribute to issue anchors

Signed-off-by: jolheiser <[email protected]>

* Init JS

Signed-off-by: jolheiser <[email protected]>

* Add required data to anchor

Signed-off-by: jolheiser <[email protected]>

* Finish popup

Signed-off-by: jolheiser <[email protected]>

* Revert changes to html.go

Signed-off-by: jolheiser <[email protected]>

* Better octicon contexts

Signed-off-by: jolheiser <[email protected]>

* Split out popup function for re-use

Signed-off-by: jolheiser <[email protected]>

* Style changes, test fixes, and cross-reference support

Signed-off-by: jolheiser <[email protected]>

* Prefer em to px

Signed-off-by: jolheiser <[email protected]>

* Move label margin to base CSS

Signed-off-by: jolheiser <[email protected]>

* Move JS to separate file.

Signed-off-by: jolheiser <[email protected]>

* Move JS to features and fix module

Signed-off-by: jolheiser <[email protected]>

* Remove query-string and hash

Co-Authored-By: silverwind <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: Antoine GIRARD <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-01-19 23:39:21 -05:00
Alexey 〒erentyevandtechknowlogick 4147cc91ed Fix background reactions in the arc-green theme (#9421)
* Fixed arc-green theme reactions background

Signed-off-by: Alexey Terentyev <[email protected]>

* Added MD5 AppVer

Signed-off-by: Alexey Terentyev <[email protected]>
2019-12-18 22:35:03 -05:00
techknowlogickandGitHub 590d56dbb3 switch to fomantic-ui (#9374) 2019-12-17 16:34:11 -05:00
jaqraandtechknowlogick 8875586570 Change some label colors (#9051)
* Change label colors

* Override black basic label background for green theme on label list
2019-12-03 20:39:58 -05:00
Cherrgandtechknowlogick 1c911aa825 wiki - add 'write' 'preview' buttons to wiki edit like in issues (#7241)
* Add add 'write' 'preview' buttons to wiki edit like in issues

affects #6975

Signed-off-by: Michael Gnehr <[email protected]>

* update dark theme

Signed-off-by: Michael Gnehr <[email protected]>

* fix css lint warnings - missing spaces

Signed-off-by: Michael Gnehr <[email protected]>

* hide preview button on no fullscreen toolbar

Signed-off-by: Michael Gnehr <[email protected]>
2019-11-17 14:42:44 -05:00
CherrgandLunny Xiao 6fbfffeeb8 wiki - editor - enable side-by-side button (#7242)
* wiki - enable side-by-side button in editor

and add some delay so side-by-side live preview is updated
* every 10th keypress
* if keypress < 10 -> apter no input for 1 sec

affects #5436


Signed-off-by: Michael Gnehr <[email protected]>

* decrease timeinterval user need to stop before rendering is triggered

Signed-off-by: Michael Gnehr <[email protected]>

* removed not needed code with simpleMDE placeholder

Signed-off-by: Michael Gnehr <[email protected]>

* run highlight.js on markdown preview

Signed-off-by: Michael Gnehr <[email protected]>

* fix white border around side-by-side preview

Signed-off-by: Michael Gnehr <[email protected]>
2019-11-16 10:20:07 +08:00
Lunny XiaoandAntoine GIRARD e4e6d48e30 Move less from public/ to web_src/ so that it will not be packe… (#8908) 2019-11-12 10:22:16 +01:00